/* ==================================================================
   تارنمای اداره کل ثبت اسناد و املاک استان زنجان — نسخهٔ استاتیک
   تم رسمی «سبزِ دیوانی» — دارک + سبز + طلایی
   RTL — فارسی — Vazirmatn
   ================================================================== */

/* ---------------- فونت وزیرمتن ---------------- */
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ---------------- متغیرهای پالت ---------------- */
:root {
  --radius: 0.75rem;

  --background: #050b09;
  --foreground: #e4f1e9;

  --card: #0a130f;
  --card-foreground: #e4f1e9;

  --primary: #14b07f;
  --primary-foreground: #04130d;
  --primary-glow: rgba(20, 176, 127, 0.35);

  --secondary: #0e1e17;
  --secondary-foreground: #a9dcc4;

  --muted: #0d1813;
  --muted-foreground: #8ba698;

  --accent: #11271d;
  --accent-foreground: #6ee7b7;

  --border: #1a2f26;
  --input: #1b3329;
  --ring: #14b07f;

  --gold: #d9b45c;
  --gold-soft: #f0d79b;

  --surface: #0a130f;
  --surface-2: #0d1a14;
  --line: #182b22;

  --shadow-lg: 0 24px 60px -24px rgba(0, 0, 0, 0.6);
  --header-h: 0px;
}

/* ---------------- ریست و پایه ---------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}
* {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: "Vazirmatn", "Tahoma", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  letter-spacing: 0;
  overflow-x: hidden;
  /* انیمیشن ورود صفحه */
  animation: page-in 0.55s ease both;
}
@keyframes page-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
/* خروج نرم هنگام ناوبری داخلی */
body.page-leaving {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}
input,
textarea,
select {
  font-family: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}
::selection {
  background: rgba(20, 176, 127, 0.35);
  color: #f0fdf7;
}
:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------------- اسکرول‌بار سبز ---------------- */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #070f0c;
}
::-webkit-scrollbar-thumb {
  background: #1d3a2d;
  border-radius: 8px;
  border: 2px solid #070f0c;
}
::-webkit-scrollbar-thumb:hover {
  background: #27523e;
}
html {
  scrollbar-width: thin;
  scrollbar-color: #1d3a2d #070f0c;
}

/* ---------------- ابزارها ---------------- */
/* اندازهٔ پایهٔ همهٔ آیکون‌های SVG (جلوگیری از بزرگ‌شدن) */
svg.icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}
.dropdown .t svg.icon {
  width: 12px;
  height: 12px;
  opacity: 0.6;
  margin-inline-start: 0.25rem;
}
.container {
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  right: -9999px;
  top: 0.5rem;
  z-index: 100;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}
.skip-link:focus {
  right: 0.5rem;
}

/* الگوی هندسی اسلامی */
.islamic-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%2314b07f' stroke-opacity='0.07'%3E%3Cpath d='M40 8 L56 24 L40 40 L24 24 Z'/%3E%3Cpath d='M40 40 L56 56 L40 72 L24 56 Z'/%3E%3Cpath d='M0 8 L16 24 L0 40 L-16 24 Z'/%3E%3Cpath d='M80 8 L96 24 L80 40 L64 24 Z'/%3E%3Cpath d='M0 48 L16 64 L0 80 L-16 64 Z'/%3E%3Cpath d='M80 48 L96 64 L80 80 L64 64 Z'/%3E%3Ccircle cx='40' cy='40' r='6'/%3E%3C/g%3E%3C/svg%3E");
}
.islamic-pattern-gold {
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23d9b45c' stroke-opacity='0.09'%3E%3Cpath d='M40 8 L56 24 L40 40 L24 24 Z'/%3E%3Cpath d='M40 40 L56 56 L40 72 L24 56 Z'/%3E%3Cpath d='M0 8 L16 24 L0 40 L-16 24 Z'/%3E%3Cpath d='M80 8 L96 24 L80 40 L64 24 Z'/%3E%3Cpath d='M0 48 L16 64 L0 80 L-16 64 Z'/%3E%3Cpath d='M80 48 L96 64 L80 80 L64 64 Z'/%3E%3Ccircle cx='40' cy='40' r='6'/%3E%3C/g%3E%3C/svg%3E");
}

/* خط تزئینی زیر عناوین */
.section-line {
  background: linear-gradient(to left, transparent, var(--primary), transparent);
  height: 1px;
}
/* متن گرادیانی + درخشش متحرک */
.text-gradient-green {
  background: linear-gradient(120deg, #6ee7b7 0%, #14b07f 55%, #d9b45c 130%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 5s linear infinite;
}
@keyframes shine {
  to { background-position: 200% center; }
}
/* کارت با حاشیه گرادیانی */
.grad-border {
  position: relative;
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, rgba(20, 176, 127, 0.45), rgba(217, 180, 92, 0.18), rgba(20, 176, 127, 0.1)) border-box;
  border: 1px solid transparent;
}
.glass {
  background: rgba(10, 19, 15, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
/* درخشش نرم */
@keyframes glow-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
.glow-pulse {
  animation: glow-pulse 4.5s ease-in-out infinite;
}

/* ==================================================================
   PRELOADER — پرده بارگذاری با انیمیشن ترازو
   ================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--background);
  display: grid;
  place-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.preloader__logo {
  width: 84px;
  height: 84px;
  animation: preloader-float 2.4s ease-in-out infinite;
  filter: drop-shadow(0 0 24px rgba(20, 176, 127, 0.4));
}
@keyframes preloader-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.04); }
}
.preloader__ring {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 2px solid rgba(20, 176, 127, 0.15);
  border-top-color: var(--primary);
  border-left-color: var(--gold);
  animation: spin 1.1s linear infinite;
  position: absolute;
}
.preloader__logo-wrap {
  position: relative;
  display: grid;
  place-items: center;
}
.preloader__text {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  letter-spacing: 0.2em;
}
.preloader__text b {
  color: var(--gold);
  font-weight: 600;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.preloader__bar {
  width: 180px;
  height: 3px;
  border-radius: 99px;
  background: rgba(20, 176, 127, 0.15);
  overflow: hidden;
}
.preloader__bar span {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  animation: loading-bar 1.15s ease-in-out infinite;
}
@keyframes loading-bar {
  0% { transform: translateX(140%); }
  100% { transform: translateX(-260%); }
}

/* ==================================================================
   نوار پیشرفت اسکرول
   ================================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(to left, var(--primary), var(--gold));
  z-index: 90;
  box-shadow: 0 0 12px rgba(20, 176, 127, 0.6);
  transition: width 0.08s linear;
}

/* ==================================================================
   درخشش نشانگر ماوس (دسکتاپ)
   ================================================================== */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(20, 176, 127, 0.075) 0%, transparent 65%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  will-change: transform;
}
body.cursor-active .cursor-glow {
  opacity: 1;
}

/* ==================================================================
   نوار بالایی (بسم الله + تاریخ + ابزارها)
   ================================================================== */
.topbar {
  background: rgba(3, 7, 5, 0.6);
  border-bottom: 1px solid rgba(20, 176, 127, 0.15);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 55;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  font-size: 11px;
  color: var(--muted-foreground);
  gap: 1rem;
}
.topbar__bism {
  font-weight: 500;
  color: rgba(217, 180, 92, 0.9);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.topbar__tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.fontsize-group,
.contrast-btn,
.topbar__bism {
  white-space: nowrap;
  flex-shrink: 0;
}
.topbar__date {
  display: none;
}
.fontsize-group {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  background: var(--surface);
  overflow: hidden;
}
.fontsize-btn {
  padding: 0.125rem 0.5rem;
  font-weight: 700;
  color: var(--muted-foreground);
  transition: all 0.2s;
}
.fontsize-btn:hover {
  color: var(--primary);
  background: rgba(20, 176, 127, 0.1);
}
.fontsize-btn.is-active {
  background: var(--primary);
  color: var(--primary-foreground);
}
.fontsize-btn[data-size="sm"] { font-size: 10px; }
.fontsize-btn[data-size="md"] { font-size: 12px; }
.fontsize-btn[data-size="lg"] { font-size: 14px; }
.contrast-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  padding: 0.25rem 0.5rem;
  color: var(--muted-foreground);
  transition: all 0.2s;
}
.contrast-btn:hover {
  color: var(--gold);
  border-color: rgba(217, 180, 92, 0.4);
}
.contrast-btn.is-active {
  border-color: rgba(217, 180, 92, 0.6);
  background: rgba(217, 180, 92, 0.15);
  color: var(--gold);
}
.contrast-btn .label {
  display: none;
}

/* ==================================================================
   سربرگ اصلی
   ================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-main {
  background: var(--surface);
  border-bottom: 1px solid rgba(20, 176, 127, 0.15);
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
  position: relative;
  z-index: 30; /* جعبهٔ جستجو و نتایج زندهٔ آن همیشه بالاتر از نوار منو */
}
.site-header.scrolled .header-main {
  background: rgba(10, 19, 15, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.55);
}
.header-main__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 0.85rem;
  transition: padding 0.3s;
}
.site-header.scrolled .header-main__inner {
  padding-block: 0.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-align: start;
}
.brand__logo {
  width: 52px;
  height: 52px;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(20, 176, 127, 0.2), rgba(217, 180, 92, 0.1));
  border: 1px solid rgba(20, 176, 127, 0.3);
  transition: border-color 0.3s, transform 0.4s;
}
.brand:hover .brand__logo {
  border-color: rgba(20, 176, 127, 0.6);
  transform: rotate(-6deg) scale(1.05);
}
.brand__logo img {
  width: 40px;
  height: 40px;
}
.brand__org {
  display: block;
  font-size: 10px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.03em;
}
.brand__name {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
}
.brand__sub {
  display: none;
  font-size: 10px;
  color: var(--muted-foreground);
  margin-top: 2px;
}
.search-box {
  display: none;
  flex: 1;
  justify-content: center;
}
.search-box__field {
  position: relative;
  width: 100%;
  max-width: 26rem;
}
.search-box__field .icon {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--muted-foreground);
  pointer-events: none;
}
.search-box__input {
  width: 100%;
  height: 44px;
  border-radius: 0.75rem;
  background: rgba(5, 11, 9, 0.7);
  border: 1px solid var(--border);
  padding-inline: 2.5rem 5.5rem;
  color: var(--foreground);
  font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-box__input::placeholder {
  color: rgba(139, 166, 152, 0.7);
}
.search-box__input:focus {
  outline: none;
  border-color: rgba(20, 176, 127, 0.5);
  box-shadow: 0 0 0 3px rgba(20, 176, 127, 0.15);
}
.search-box__submit {
  position: absolute;
  left: 0.375rem;
  top: 50%;
  transform: translateY(-50%);
  height: 32px;
  padding-inline: 0.75rem;
  border-radius: 0.5rem;
  background: rgba(20, 176, 127, 0.15);
  color: var(--primary);
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s;
}
.search-box__submit:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}
.btn-service {
  display: none;
  align-items: center;
  gap: 0.5rem;
  height: 44px;
  padding-inline: 1.25rem;
  border-radius: 0.75rem;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.875rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: all 0.25s;
}
.btn-service:hover {
  background: rgba(20, 176, 127, 0.9);
  box-shadow: 0 0 28px rgba(20, 176, 127, 0.4);
  transform: translateY(-1px);
}
.btn-service .icon {
  width: 16px;
  height: 16px;
}
.btn-service .ext {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}
.btn-mobile {
  margin-inline-start: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: rgba(5, 11, 9, 0.6);
  transition: border-color 0.2s, color 0.2s;
}
.btn-mobile:hover {
  border-color: rgba(20, 176, 127, 0.5);
  color: var(--primary);
}
.btn-mobile .icon {
  width: 20px;
  height: 20px;
}

/* ---------------- ناوبری دسکتاپ ---------------- */
.nav-bar {
  display: none;
  background: rgba(6, 16, 9, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(20, 176, 127, 0.15);
  position: relative;
  z-index: 10; /* پنل مگا داخل همین لایه است و زیر نتایج جستجو می‌ماند */
}
.nav-list {
  display: flex;
  align-items: stretch;
  gap: 0.15rem;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 0.6rem;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  color: rgba(228, 241, 233, 0.85);
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-link .icon {
  width: 16px;
  height: 16px;
}
.nav-link:hover,
.nav-item.open > .nav-link {
  color: var(--primary);
  border-bottom-color: rgba(20, 176, 127, 0.4);
}
.nav-link.is-active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.nav-link .chev {
  width: 14px;
  height: 14px;
  transition: transform 0.25s;
}
.nav-item.open .nav-link .chev {
  transform: rotate(180deg);
}
/* مگا‌منو */
.dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 300px;
  background: rgba(10, 19, 15, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(20, 176, 127, 0.2);
  border-radius: 1rem;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.65);
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 60;
}
.nav-item.open .dropdown {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}
.dropdown__inner {
  padding: 0.5rem;
}
.dropdown a {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 0.75rem;
  transition: background 0.2s;
}
.dropdown a:hover {
  background: rgba(20, 176, 127, 0.1);
}
.dropdown .dot {
  margin-top: 0.4rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  transition: background 0.2s;
}
.dropdown a:hover .dot {
  background: var(--primary);
}
.dropdown .t {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.dropdown a:hover .t {
  color: var(--primary);
}
.dropdown .d {
  display: block;
  font-size: 12px;
  color: var(--muted-foreground);
  margin-top: 2px;
}

/* ---------------- منوی موبایل (نسخهٔ بازطراحی‌شدهٔ ۳) ---------------- */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 5, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 70;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s ease, visibility 0.32s;
}
.mobile-overlay.show {
  opacity: 1;
  visibility: visible;
}
.mobile-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  inset-inline-start: 0;
  z-index: 80;
  width: 88vw;
  max-width: 25rem;
  background: linear-gradient(180deg, #0a1912 0%, var(--surface) 34%, var(--surface) 100%);
  border-inline-end: 1px solid rgba(20, 176, 127, 0.22);
  box-shadow: -30px 0 70px -30px rgba(0, 0, 0, 0.8);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(105%);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  visibility: hidden;
  padding-bottom: 1.5rem;
}
[dir="ltr"] .mobile-menu {
  inset-inline-start: auto;
  inset-inline-end: 0;
  transform: translateX(-105%);
  box-shadow: 30px 0 70px -30px rgba(0, 0, 0, 0.8);
}
.mobile-menu.show {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu::before {
  content: "";
  position: sticky;
  top: 0;
  display: block;
  height: 0;
}
.mobile-menu__head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.1rem 1rem;
  background: linear-gradient(135deg, rgba(20, 176, 127, 0.16), rgba(216, 161, 58, 0.08) 60%, transparent);
  border-bottom: 1px solid rgba(20, 176, 127, 0.22);
  overflow: hidden;
}
.mobile-menu__head::after {
  content: "";
  position: absolute;
  inset-inline-start: -40px;
  top: -40px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 176, 127, 0.25), transparent 70%);
  pointer-events: none;
}
.mobile-menu__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}
.mobile-menu__brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(20, 176, 127, 0.12);
  border: 1px solid rgba(20, 176, 127, 0.3);
  padding: 4px;
  flex-shrink: 0;
}
.mobile-menu__brand strong {
  display: block;
  font-size: 0.9rem;
  color: #e4f1e9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobile-menu__brand small {
  display: block;
  font-size: 10.5px;
  color: var(--muted-foreground);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobile-menu__close {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(2, 8, 5, 0.4);
  transition: border-color 0.2s, color 0.2s, transform 0.25s;
}
.mobile-menu__close:hover {
  border-color: rgba(20, 176, 127, 0.55);
  color: var(--primary);
  transform: rotate(90deg);
}
.mobile-menu__close .icon { width: 16px; height: 16px; }

.mobile-menu__search {
  padding: 0.9rem 1rem 0.2rem;
}
.mobile-menu__search-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.85rem;
  height: 46px;
  border-radius: 14px;
  background: rgba(2, 8, 5, 0.55);
  border: 1px solid rgba(20, 176, 127, 0.25);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.mobile-menu__search-field:focus-within {
  border-color: rgba(20, 176, 127, 0.6);
  box-shadow: 0 0 0 3px rgba(20, 176, 127, 0.15);
}
.mobile-menu__search-field .icon {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
}
.mobile-menu__search-field input {
  width: 100%;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--foreground);
  font: inherit;
  font-size: 0.875rem;
}

.mobile-menu nav { padding: 0.75rem; position: relative; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 0.2rem; }
.mobile-menu__row {
  display: flex;
  align-items: stretch;
  gap: 0.25rem;
  flex-wrap: wrap;
}
.mobile-menu.show .mobile-menu__row {
  animation: zs-menu-item-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.mobile-menu.show .mobile-menu__row:nth-child(1) { animation-delay: 0.04s; }
.mobile-menu.show .mobile-menu__row:nth-child(2) { animation-delay: 0.07s; }
.mobile-menu.show .mobile-menu__row:nth-child(3) { animation-delay: 0.1s; }
.mobile-menu.show .mobile-menu__row:nth-child(4) { animation-delay: 0.13s; }
.mobile-menu.show .mobile-menu__row:nth-child(5) { animation-delay: 0.16s; }
.mobile-menu.show .mobile-menu__row:nth-child(6) { animation-delay: 0.19s; }
.mobile-menu.show .mobile-menu__row:nth-child(7) { animation-delay: 0.22s; }
.mobile-menu.show .mobile-menu__row:nth-child(8) { animation-delay: 0.25s; }
.mobile-menu.show .mobile-menu__row:nth-child(9) { animation-delay: 0.28s; }
.mobile-menu.show .mobile-menu__row:nth-child(n + 10) { animation-delay: 0.31s; }
@keyframes zs-menu-item-in {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}
.mobile-menu__item {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 0.8rem;
  border-radius: 14px;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: start;
  color: rgba(228, 241, 233, 0.9);
  background: linear-gradient(90deg, rgba(20, 176, 127, 0.06), transparent 60%);
  border: 1px solid rgba(20, 176, 127, 0.1);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.mobile-menu__item:hover,
.mobile-menu__item:active {
  background: rgba(20, 176, 127, 0.12);
  border-color: rgba(20, 176, 127, 0.3);
  color: var(--primary);
  transform: translateX(-3px);
}
.mobile-menu__item.is-active {
  background: rgba(20, 176, 127, 0.18);
  color: var(--primary);
  border-color: rgba(20, 176, 127, 0.35);
}
.mobile-menu__item .icon { width: 17px; height: 17px; color: var(--primary); flex-shrink: 0; opacity: 0.9; }
.mobile-menu__toggle {
  width: 42px;
  min-height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(20, 176, 127, 0.16);
  background: rgba(2, 8, 5, 0.35);
  color: var(--primary);
  flex-shrink: 0;
}
.mobile-menu__toggle .icon { width: 15px; height: 15px; transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.mobile-menu__toggle[aria-expanded="true"] .icon,
.mobile-menu__toggle.is-open .icon { transform: rotate(180deg); }
.mobile-sub {
  width: 100%;
  margin: 0.15rem 0.35rem 0.35rem;
  padding: 0.3rem 0.75rem 0.4rem 0.3rem;
  border-inline-start: 2px solid rgba(20, 176, 127, 0.28);
  border-radius: 0 12px 12px 0;
}
.mobile-sub a {
  display: block;
  padding: 0.55rem 0.6rem;
  font-size: 12.5px;
  color: var(--muted-foreground);
  border-radius: 10px;
  transition: all 0.2s;
}
.mobile-sub a:hover {
  color: var(--primary);
  background: rgba(20, 176, 127, 0.09);
  padding-inline-start: 0.9rem;
}
.mobile-menu__service {
  margin: 1rem 1rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #0d8a63);
  color: #04140c;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 14px 30px -12px rgba(20, 176, 127, 0.55);
  transition: transform 0.2s, box-shadow 0.2s;
}
.mobile-menu__service:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -12px rgba(20, 176, 127, 0.65);
}
.mobile-menu__service .icon { width: 17px; height: 17px; }

/* ==================================================================
   نوار اطلاعیه متحرک (تیکر)
   ================================================================== */
.ticker {
  position: relative;
  border-block: 1px solid rgba(20, 176, 127, 0.2);
  background: linear-gradient(to left, rgba(20, 176, 127, 0.1), transparent, rgba(217, 180, 92, 0.05));
  overflow: hidden;
}
.ticker__inner {
  display: flex;
  align-items: center;
  height: 44px;
  gap: 1rem;
}
.ticker__label {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 99px;
  background: rgba(217, 180, 92, 0.15);
  border: 1px solid rgba(217, 180, 92, 0.4);
  color: var(--gold);
  padding: 0.2rem 0.75rem;
  font-size: 11px;
  font-weight: 700;
}
.ticker__label .icon { width: 14px; height: 14px; }
.ticker__viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.ticker__viewport::before,
.ticker__viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  z-index: 2;
  pointer-events: none;
}
.ticker__viewport::before {
  right: 0;
  background: linear-gradient(to left, rgba(5, 11, 9, 0.9), transparent);
}
.ticker__viewport::after {
  left: 0;
  background: linear-gradient(to right, rgba(5, 11, 9, 0.9), transparent);
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 4rem;
  white-space: nowrap;
  width: max-content;
  animation: ticker-rtl 46s linear infinite;
}
.ticker:hover .ticker__track {
  animation-play-state: paused;
}
.ticker__track span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13px;
  color: rgba(228, 241, 233, 0.9);
}
.ticker__track span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
@keyframes ticker-rtl {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}

/* ==================================================================
   هیرو
   ================================================================== */
.hero {
  position: relative;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__bg > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  transform: scale(1.05);
  animation: hero-zoom 24s ease-in-out infinite alternate;
}
@keyframes hero-zoom {
  from { transform: scale(1.02) translateY(0); }
  to { transform: scale(1.1) translateY(-12px); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5, 11, 9, 0.85), rgba(5, 11, 9, 0.78), var(--background));
}
.hero__pattern {
  position: absolute;
  inset: 0;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  will-change: transform;
}
.orb--green {
  width: 420px;
  height: 420px;
  top: -128px;
  right: 22%;
  background: rgba(20, 176, 127, 0.15);
  animation: glow-pulse 5s ease-in-out infinite, orb-drift-a 14s ease-in-out infinite alternate;
}
.orb--gold {
  width: 300px;
  height: 300px;
  bottom: -96px;
  left: 18%;
  background: rgba(217, 180, 92, 0.1);
  animation: orb-drift-b 18s ease-in-out infinite alternate;
}
@keyframes orb-drift-a {
  from { transform: translate(0, 0); }
  to { transform: translate(60px, 40px); }
}
@keyframes orb-drift-b {
  from { transform: translate(0, 0); }
  to { transform: translate(-70px, -30px); }
}
.hero__content {
  position: relative;
  padding-block: 3.5rem 4rem;
}
.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.hero__text { text-align: center; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 99px;
  border: 1px solid rgba(217, 180, 92, 0.3);
  background: rgba(217, 180, 92, 0.1);
  color: var(--gold);
  padding: 0.35rem 1rem;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero__badge .icon { width: 14px; height: 14px; }
.hero__title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.hero__desc {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 2;
  max-width: 36rem;
  margin-inline: auto;
}
.hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
/* نشان‌های اعتماد */
.trust-points {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2rem;
  font-size: 11px;
  color: var(--muted-foreground);
}
.trust-points span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.trust-points span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
/* کارت‌های شناور هیرو */
.hero-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.fcard {
  text-align: start;
  border-radius: 1rem;
  padding: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.fcard:nth-child(even) {
  transform: translateY(1.25rem);
}
.fcard:hover {
  box-shadow: 0 16px 44px -12px rgba(20, 176, 127, 0.35);
}
.fcard__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 0.75rem;
  background: rgba(20, 176, 127, 0.15);
  color: var(--primary);
  margin-bottom: 0.75rem;
  transition: all 0.3s;
}
.fcard:hover .fcard__icon {
  background: var(--primary);
  color: var(--primary-foreground);
  transform: scale(1.08) rotate(-4deg);
}
.fcard__icon .icon { width: 20px; height: 20px; }
.fcard__title {
  display: block;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}
.fcard__desc {
  display: block;
  font-size: 12px;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* ==================================================================
   دکمه‌ها
   ================================================================== */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 48px;
  padding-inline: 1.5rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.25s;
  isolation: isolate;
}
.btn .icon { width: 17px; height: 17px; }
.btn .ext { width: 14px; height: 14px; opacity: 0.7; }
.btn--primary {
  background: var(--primary);
  color: var(--primary-foreground);
}
.btn--primary:hover {
  background: rgba(20, 176, 127, 0.9);
  box-shadow: 0 0 32px rgba(20, 176, 127, 0.45);
  transform: translateY(-2px);
}
.btn--soft {
  border: 1px solid rgba(20, 176, 127, 0.4);
  background: rgba(20, 176, 127, 0.1);
  color: var(--primary);
}
.btn--soft:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  transform: translateY(-2px);
}
.btn--ghost {
  border: 1px solid var(--border);
  color: rgba(228, 241, 233, 0.8);
  font-weight: 500;
}
.btn--ghost:hover {
  border-color: rgba(217, 180, 92, 0.5);
  color: var(--gold);
}
.btn--gold {
  background: rgba(217, 180, 92, 0.15);
  border: 1px solid rgba(217, 180, 92, 0.4);
  color: var(--gold);
  height: 40px;
  font-weight: 700;
}
.btn--gold:hover {
  background: var(--gold);
  color: #000;
}
/* برق لغزان روی دکمه‌ها */
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  right: -60%;
  background: linear-gradient(to left, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: skewX(20deg);
  transition: right 0.55s ease;
  z-index: -1;
}
.btn:hover::after {
  right: 130%;
}
/* موج کلیک */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: ripple 0.65s ease-out forwards;
  pointer-events: none;
  z-index: 0;
}
@keyframes ripple {
  to { transform: scale(4); opacity: 0; }
}

/* ==================================================================
   بخش‌ها و تیترها
   ================================================================== */
.section {
  padding-block: 4rem;
}
.section--tight { padding-block: 3rem; }
.section--alt {
  background: rgba(13, 26, 20, 0.5);
}
.section--pattern {
  background: rgba(13, 26, 20, 0.5);
}
.section-heading {
  margin-bottom: 2.5rem;
  text-align: center;
}
.section-heading .kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 99px;
  border: 1px solid rgba(20, 176, 127, 0.25);
  background: rgba(20, 176, 127, 0.1);
  color: var(--primary);
  padding: 0.25rem 1rem;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 1rem;
}
.section-heading .kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
.section-heading h2 {
  font-size: 1.5rem;
  font-weight: 700;
}
.section-heading .section-line {
  width: 10rem;
  margin: 1rem auto 0;
}
.section-heading .desc {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 2;
  max-width: 42rem;
  margin-inline: auto;
}

/* ==================================================================
   شبکه‌های کارت
   ================================================================== */
.grid-4 {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.grid-3 {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.grid-5 {
  display: grid;
  gap: 0.875rem;
  grid-template-columns: repeat(2, 1fr);
}

/* کارت خدمات */
.scard {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  text-align: start;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.25rem;
  transition: border-color 0.3s, background 0.3s, transform 0.3s, box-shadow 0.3s;
  will-change: transform;
}
.scard:hover {
  border-color: rgba(20, 176, 127, 0.5);
  background: var(--surface-2);
  transform: translateY(-5px);
  box-shadow: 0 18px 40px -18px rgba(20, 176, 127, 0.28);
}
.scard__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.icon-box {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(20, 176, 127, 0.2), rgba(20, 176, 127, 0.05));
  color: var(--primary);
  border: 1px solid rgba(20, 176, 127, 0.2);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.icon-box .icon { width: 24px; height: 24px; }
.scard:hover .icon-box {
  transform: scale(1.1) rotate(-4deg);
}
.icon-box--gold {
  background: linear-gradient(135deg, rgba(217, 180, 92, 0.2), rgba(217, 180, 92, 0.05));
  color: var(--gold);
  border-color: rgba(217, 180, 92, 0.25);
}
.scard__ext,
.scard__arrow {
  width: 16px;
  height: 16px;
  color: var(--muted-foreground);
  transition: all 0.3s;
  margin-top: 0.35rem;
}
.scard:hover .scard__ext,
.scard:hover .scard__arrow {
  color: var(--primary);
}
.scard:hover .scard__arrow {
  transform: translateX(-4px);
}
.scard__title {
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}
.scard:hover .scard__title {
  color: var(--primary);
}
.scard__desc {
  font-size: 12px;
  color: var(--muted-foreground);
  line-height: 1.9;
}
.scard__items {
  margin-block: 0.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: 10rem;
  overflow-y: auto;
  padding-inline-end: 0.25rem;
  scrollbar-width: thin;
}
.scard__items li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 11px;
  color: rgba(228, 241, 233, 0.75);
}
.scard__items li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.scard__footer {
  margin-top: auto;
}
.scard__hint {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted-foreground);
}
.scard__hint .icon { width: 14px; height: 14px; }
.btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 40px;
  padding-inline: 1rem;
  border-radius: 0.75rem;
  font-size: 12px;
  font-weight: 600;
  background: var(--primary);
  color: var(--primary-foreground);
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.btn-sm:hover {
  box-shadow: 0 0 20px rgba(20, 176, 127, 0.4);
  transform: translateY(-1px);
}
.btn-sm .icon { width: 14px; height: 14px; }
.btn-sm--soft {
  background: rgba(20, 176, 127, 0.1);
  border: 1px solid rgba(20, 176, 127, 0.4);
  color: var(--primary);
}
.btn-sm--soft:hover {
  background: rgba(20, 176, 127, 0.2);
}

/* ==================================================================
   اخبار
   ================================================================== */
.news-top {
  display: grid;
  gap: 1.5rem;
}
.news-featured {
  position: relative;
  display: block;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 340px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.news-featured:hover {
  border-color: rgba(20, 176, 127, 0.45);
  box-shadow: 0 24px 60px -20px rgba(20, 176, 127, 0.3);
}
.news-featured > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.news-featured:hover > img {
  transform: scale(1.06);
}
.news-featured__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 8, 5, 0.95), rgba(3, 8, 5, 0.7) 55%, transparent);
}
.news-featured__body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.5rem;
}
.news-featured__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 99px;
  font-size: 10px;
  padding: 0.2rem 0.7rem;
  font-weight: 700;
}
.badge--primary {
  background: var(--primary);
  color: var(--primary-foreground);
}
.badge--dark {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  backdrop-filter: blur(6px);
}
.badge--gold {
  background: rgba(217, 180, 92, 0.12);
  border: 1px solid rgba(217, 180, 92, 0.3);
  color: var(--gold);
  font-weight: 400;
}
.badge .icon { width: 12px; height: 12px; }
.news-featured__title {
  font-weight: 700;
  font-size: 1rem;
  line-height: 2;
  transition: color 0.3s;
}
.news-featured:hover .news-featured__title {
  color: var(--primary);
}
.news-featured__excerpt {
  margin-top: 0.5rem;
  font-size: 12px;
  color: var(--muted-foreground);
  line-height: 1.9;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-featured__more {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
}
.news-featured__more .icon {
  width: 14px;
  height: 14px;
  transition: transform 0.3s;
}
.news-featured:hover .news-featured__more .icon {
  transform: translateX(-5px);
}
.news-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.news-row {
  flex: 1;
  display: flex;
  gap: 1rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1rem;
  min-height: 110px;
  transition: all 0.3s;
}
.news-row:hover {
  border-color: rgba(20, 176, 127, 0.4);
  background: var(--surface-2);
  transform: translateX(-4px);
}
.news-row__img {
  position: relative;
  width: 110px;
  height: 100%;
  min-height: 96px;
  border-radius: 0.75rem;
  overflow: hidden;
  flex-shrink: 0;
}
.news-row__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-row:hover .news-row__img img {
  transform: scale(1.08);
}
.news-row__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 10px;
  color: var(--gold);
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}
.news-row__meta .icon { width: 12px; height: 12px; }
.news-row__meta .sep { margin-inline: 0.25rem; opacity: 0.4; }
.news-row__meta .cat { color: rgba(20, 176, 127, 0.8); }
.news-row__title {
  font-weight: 700;
  font-size: 13px;
  line-height: 1.9;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s;
}
.news-row:hover .news-row__title {
  color: var(--primary);
}
.news-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
.ncard {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  display: block;
  transition: all 0.3s;
}
.ncard:hover {
  border-color: rgba(20, 176, 127, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 18px 44px -16px rgba(20, 176, 127, 0.3);
}
.ncard__img {
  position: relative;
  height: 10rem;
  overflow: hidden;
}
.ncard__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.ncard:hover .ncard__img img {
  transform: scale(1.08);
}
.ncard__img .badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
}
.ncard__body { padding: 1rem; }
.ncard__date {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 10px;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.ncard__date .icon { width: 12px; height: 12px; }
.ncard__title {
  font-weight: 700;
  font-size: 13px;
  line-height: 1.95;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}
.ncard:hover .ncard__title { color: var(--primary); }
.ncard__excerpt {
  font-size: 12px;
  color: var(--muted-foreground);
  line-height: 1.9;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ncard__more {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
}
.ncard__more .icon { width: 14px; height: 14px; transition: transform 0.3s; }
.ncard:hover .ncard__more .icon { transform: translateX(-4px); }
.center-cta {
  margin-top: 2.5rem;
  text-align: center;
}

/* ==================================================================
   آمار
   ================================================================== */
.stats {
  position: relative;
  padding-block: 3.5rem;
  border-block: 1px solid rgba(20, 176, 127, 0.2);
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(20, 176, 127, 0.08), transparent, rgba(217, 180, 92, 0.08));
}
.stats__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.stat { text-align: center; }
.stat__value {
  font-size: 1.75rem;
  font-weight: 800;
}
.stat__label {
  margin-top: 0.5rem;
  font-size: 12px;
  color: var(--muted-foreground);
  line-height: 1.8;
}

/* ==================================================================
   واحدها
   ================================================================== */
.ucard {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.25rem;
  text-align: center;
  display: block;
  transition: all 0.3s;
}
.ucard:hover {
  border-color: rgba(20, 176, 127, 0.5);
  transform: translateY(-5px);
}
.ucard__icon {
  margin: 0 auto 0.75rem;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(20, 176, 127, 0.1);
  color: var(--primary);
  border: 1px solid rgba(20, 176, 127, 0.2);
  transition: all 0.3s;
}
.ucard:hover .ucard__icon {
  background: var(--primary);
  color: var(--primary-foreground);
  transform: scale(1.1);
}
.ucard__icon .icon { width: 20px; height: 20px; }
.ucard__city {
  display: block;
  font-weight: 700;
  font-size: 0.875rem;
}
.ucard__type {
  display: block;
  font-size: 10px;
  color: var(--muted-foreground);
}
.ucard--gold {
  border: 1px dashed rgba(217, 180, 92, 0.4);
  background: rgba(217, 180, 92, 0.05);
}
.ucard--gold:hover { border-color: var(--gold); }
.ucard--gold .ucard__icon {
  background: rgba(217, 180, 92, 0.1);
  color: var(--gold);
  border-color: rgba(217, 180, 92, 0.25);
}
.ucard--gold .ucard__city { color: var(--gold); }

/* ==================================================================
   نظرسنجی و پرسش‌ها
   ================================================================== */
.split-2 {
  display: grid;
  gap: 1.5rem;
}
.panel {
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.panel__title {
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.panel__title .icon { width: 20px; height: 20px; }
.panel__title .icon--gold { color: var(--gold); }
.panel__title .icon--green { color: var(--primary); }
.panel__desc {
  font-size: 12px;
  color: var(--muted-foreground);
  margin-bottom: 1.25rem;
  line-height: 1.9;
}
.poll__options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.poll__option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.7rem 1rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.25s;
}
.poll__option:hover {
  border-color: rgba(20, 176, 127, 0.4);
  background: rgba(20, 176, 127, 0.05);
}
.poll__option.selected {
  border-color: var(--primary);
  background: rgba(20, 176, 127, 0.12);
  color: var(--primary);
}
.poll__option input {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}
.poll__submit {
  margin-top: 1.25rem;
  height: 44px;
  border-radius: 0.75rem;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.poll__submit:hover:not(:disabled) {
  box-shadow: 0 0 24px rgba(20, 176, 127, 0.4);
}
.poll__submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.poll__results {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  flex: 1;
}
.poll__result-row .labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 0.35rem;
}
.poll__result-row .pct { color: var(--gold); }
.poll__bar {
  height: 8px;
  border-radius: 99px;
  background: var(--background);
  overflow: hidden;
}
.poll__bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(to left, var(--primary), var(--gold));
  transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.poll__total {
  font-size: 11px;
  color: var(--muted-foreground);
  padding-top: 0.25rem;
}
/* آکاردئون */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.accordion__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.85rem 1rem;
  text-align: start;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}
.accordion__head:hover { color: var(--primary); }
.accordion__head .chev {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--muted-foreground);
  transition: transform 0.3s, color 0.3s;
}
.accordion__item {
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: rgba(5, 11, 9, 0.5);
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}
.accordion__item.open {
  border-color: rgba(20, 176, 127, 0.5);
  background: var(--surface-2);
}
.accordion__item.open .accordion__head {
  color: var(--primary);
}
.accordion__item.open .accordion__head .chev {
  transform: rotate(180deg);
  color: var(--primary);
}
.accordion__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.accordion__item.open .accordion__body {
  grid-template-rows: 1fr;
}
.accordion__body > div { overflow: hidden; }
.accordion__body p {
  padding: 0 1rem 1rem;
  font-size: 12px;
  color: var(--muted-foreground);
  line-height: 2;
}
.panel__link {
  font-size: 12px;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s;
}
.panel__link:hover { color: var(--gold); }
.panel__link .icon { width: 14px; height: 14px; }
.panel__header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.panel__header-row .panel__title { margin-bottom: 0; }

/* ==================================================================
   پیوندها
   ================================================================== */
.lcard {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.25rem;
  display: block;
  transition: all 0.3s;
}
.lcard:hover {
  border-color: rgba(217, 180, 92, 0.5);
  transform: translateY(-4px);
}
.lcard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.lcard__head .icon-box {
  width: 36px;
  height: 36px;
  border-radius: 0.6rem;
}
.lcard__head .icon-box .icon { width: 18px; height: 18px; }
.lcard__head .ext {
  width: 14px;
  height: 14px;
  color: var(--muted-foreground);
  transition: color 0.3s;
}
.lcard:hover .lcard__head .ext { color: var(--gold); }
.lcard__title {
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  transition: color 0.3s;
}
.lcard:hover .lcard__title { color: var(--gold); }
.lcard__desc {
  font-size: 11px;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* ==================================================================
   سربرگ صفحات داخلی
   ================================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(20, 176, 127, 0.15);
}
.page-hero__glow {
  position: absolute;
  top: -96px;
  right: 30%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(20, 176, 127, 0.12);
  filter: blur(110px);
}
.page-hero__inner {
  position: relative;
  padding-block: 3rem 2.5rem;
}
.breadcrumbs ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 11px;
  color: var(--muted-foreground);
  margin-bottom: 1.25rem;
}
.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s;
}
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs a .icon { width: 14px; height: 14px; }
.breadcrumbs .chev { width: 12px; height: 12px; opacity: 0.5; }
.breadcrumbs .current {
  color: var(--foreground);
  font-weight: 500;
}
.page-hero h1 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.page-hero .section-line { width: 7rem; }
.page-hero .desc {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 2.2;
  max-width: 48rem;
}

/* ==================================================================
   قوانین
   ================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.filter-chip {
  height: 40px;
  padding-inline: 1.25rem;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  transition: all 0.25s;
}
.filter-chip:hover {
  color: var(--primary);
  border-color: rgba(20, 176, 127, 0.4);
}
.filter-chip.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
}
.law-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.25rem;
  transition: all 0.3s;
}
.law-card:hover {
  border-color: rgba(20, 176, 127, 0.45);
  transform: translateY(-3px);
}
.law-card.is-hidden { display: none; }
.law-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.law-card__head .icon-box {
  width: 44px;
  height: 44px;
}
.law-card__head .icon-box .icon { width: 20px; height: 20px; }
.law-card__title {
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.9;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}
.law-card:hover .law-card__title { color: var(--primary); }
.law-card__desc {
  font-size: 12px;
  color: var(--muted-foreground);
  line-height: 1.9;
  margin-bottom: 1rem;
}
.law-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}
.law-card__download {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
  color: var(--primary);
  transition: color 0.2s;
  margin-inline-start: auto;
}
.law-card__download:hover { color: var(--gold); }
.law-card__download .icon { width: 14px; height: 14px; }

/* ==================================================================
   اخبار — صفحه جزئیات
   ================================================================== */
.detail-grid {
  display: grid;
  gap: 2rem;
}
.detail-main {
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}
.detail-main__img {
  position: relative;
  height: 16rem;
}
@media (min-width: 640px) {
  .detail-main__img { height: 20rem; }
}
.detail-main__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-main__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--surface), transparent 60%);
}
.detail-main__img .badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
}
.detail-main__body { padding: 1.5rem; }
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 12px;
  color: var(--muted-foreground);
  margin-bottom: 1.25rem;
}
.detail-meta .gold {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--gold);
}
.detail-meta .author {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.detail-meta .icon { width: 16px; height: 16px; }
.detail-main__body h1 {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 2.2;
  margin-bottom: 1.5rem;
}
.prose-fa {
  line-height: 2.3;
  font-size: 0.95rem;
  color: rgba(228, 241, 233, 0.9);
}
.prose-fa p {
  margin-bottom: 1rem;
  text-align: justify;
}
.detail-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  transition: color 0.2s;
}
.back-link:hover { color: var(--gold); }
.back-link .icon { width: 16px; height: 16px; }
.detail-aside__title {
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.detail-aside__title::before {
  content: "";
  width: 4px;
  height: 16px;
  border-radius: 99px;
  background: var(--gold);
}
.related-card {
  width: 100%;
  display: flex;
  gap: 0.875rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.875rem;
  text-align: start;
  transition: all 0.3s;
  margin-bottom: 1rem;
}
.related-card:hover {
  border-color: rgba(20, 176, 127, 0.4);
  background: var(--surface-2);
  transform: translateX(-4px);
}
.related-card__img {
  width: 80px;
  height: 80px;
  border-radius: 0.75rem;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.related-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.related-card .min {
  min-width: 0;
  flex: 1;
}
.related-card .date {
  display: block;
  font-size: 10px;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.related-card h3 {
  font-weight: 700;
  font-size: 12px;
  line-height: 1.9;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s;
}
.related-card:hover h3 { color: var(--primary); }

/* ==================================================================
   اطلاع‌رسانی
   ================================================================== */
.announce-card {
  position: relative;
  border-radius: 1rem;
  border: 1px solid rgba(20, 176, 127, 0.25);
  background: linear-gradient(to left, rgba(20, 176, 127, 0.08), transparent);
  padding: 1.25rem;
  transition: border-color 0.3s, transform 0.3s;
}
.announce-card:hover {
  border-color: rgba(20, 176, 127, 0.5);
  transform: translateX(-4px);
}
.announce-card__row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.announce-card .icon-box {
  width: 44px;
  height: 44px;
  background: rgba(217, 180, 92, 0.12);
  color: var(--gold);
  border-color: rgba(217, 180, 92, 0.3);
}
.announce-card .icon-box .icon { width: 20px; height: 20px; }
.announce-card p {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 2;
  margin-bottom: 0.35rem;
}
.announce-card .date {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 10px;
  color: var(--gold);
}
.announce-card .date .icon { width: 12px; height: 12px; }
.callout {
  border-radius: 1rem;
  border: 1px solid rgba(217, 180, 92, 0.4);
  background: rgba(217, 180, 92, 0.08);
  padding: 1.5rem;
}
.callout--green {
  border-color: rgba(20, 176, 127, 0.25);
  background: rgba(20, 176, 127, 0.05);
  text-align: center;
}
.callout h3 {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.callout h3 .icon { width: 18px; height: 18px; }
.callout p {
  font-size: 12px;
  line-height: 2.2;
  color: rgba(228, 241, 233, 0.85);
  text-align: justify;
}
.inquiry-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.25rem;
  transition: all 0.3s;
  cursor: pointer;
}
.inquiry-card:hover {
  border-color: rgba(20, 176, 127, 0.4);
  transform: translateX(-4px);
}
.inquiry-card h3 {
  font-weight: 700;
  font-size: 13px;
  line-height: 2;
  margin-bottom: 0.35rem;
  transition: color 0.3s;
}
.inquiry-card:hover h3 { color: var(--primary); }
.inquiry-card p {
  font-size: 11px;
  color: var(--muted-foreground);
  line-height: 1.9;
  margin-bottom: 0.75rem;
}
.side-title {
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.side-title .icon { width: 20px; height: 20px; }

/* ==================================================================
   واحدها — کارت اطلاعات
   ================================================================== */
.unit-card {
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.5rem;
  transition: all 0.3s;
}
.unit-card:hover {
  border-color: rgba(20, 176, 127, 0.45);
  transform: translateY(-5px);
  box-shadow: 0 18px 44px -18px rgba(20, 176, 127, 0.25);
}
.unit-card__head {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1rem;
}
.unit-card__head .icon-box {
  width: 48px;
  height: 48px;
  border-radius: 1rem;
}
.unit-card__head h2 {
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.8;
}
.unit-card__head .type {
  display: block;
  font-size: 10px;
  color: var(--gold);
}
.unit-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 12px;
  color: var(--muted-foreground);
}
.unit-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.unit-card li .icon {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

/* ==================================================================
   فرم‌ها
   ================================================================== */
.form-panel {
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.5rem;
}
.form-panel h2 {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}
.form-panel > p {
  font-size: 12px;
  color: var(--muted-foreground);
  line-height: 2;
  margin-bottom: 1.5rem;
}
.form-grid {
  display: grid;
  gap: 1rem;
}
.field { display: block; }
.field > span {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.input,
.textarea {
  width: 100%;
  height: 44px;
  border-radius: 0.75rem;
  background: var(--background);
  border: 1px solid var(--input);
  padding-inline: 1rem;
  color: var(--foreground);
  font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.textarea {
  height: auto;
  padding: 0.75rem 1rem;
  resize: vertical;
  min-height: 120px;
}
.input::placeholder,
.textarea::placeholder {
  color: rgba(139, 166, 152, 0.55);
}
.input:focus,
.textarea:focus {
  outline: none;
  border-color: rgba(20, 176, 127, 0.5);
  box-shadow: 0 0 0 3px rgba(20, 176, 127, 0.15);
}
/* انتخاب نوع درخواست (شکایت/پیشنهاد/انتقاد) */
.kind-grid {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.kind-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.25rem;
  text-align: start;
  transition: all 0.25s;
}
.kind-card:hover { border-color: rgba(20, 176, 127, 0.4); }
.kind-card.selected {
  border-color: var(--primary);
  background: rgba(20, 176, 127, 0.12);
  box-shadow: 0 0 24px rgba(20, 176, 127, 0.15);
}
.kind-card .k-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}
.kind-card .k-title .icon {
  width: 18px;
  height: 18px;
  color: var(--muted-foreground);
  transition: color 0.25s;
}
.kind-card.selected .k-title .icon { color: var(--primary); }
.kind-card .k-desc {
  font-size: 11px;
  color: var(--muted-foreground);
  line-height: 1.9;
  display: block;
}
/* پیام موفقیت */
.success-box {
  border-radius: 1.5rem;
  border: 1px solid rgba(20, 176, 127, 0.4);
  background: rgba(20, 176, 127, 0.08);
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.success-box__icon {
  margin: 0 auto 1.25rem;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(20, 176, 127, 0.15);
  color: var(--primary);
  border: 1px solid rgba(20, 176, 127, 0.4);
  animation: success-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.success-box__icon .icon { width: 32px; height: 32px; }
@keyframes success-pop {
  from { transform: scale(0.3); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.success-box h2 {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.success-box p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 2.2;
  max-width: 32rem;
  margin-inline: auto;
}
.success-box .code {
  font-weight: 700;
  color: var(--gold);
}

/* ==================================================================
   درباره
   ================================================================== */
.about-intro {
  border-radius: 1.5rem;
  border: 1px solid rgba(20, 176, 127, 0.2);
  background: linear-gradient(135deg, rgba(20, 176, 127, 0.1), transparent);
  padding: 2rem;
}
.about-intro .icon-box {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
}
.about-intro h2 {
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 2.2;
  margin-bottom: 1rem;
}
.about-card {
  display: flex;
  gap: 1rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.25rem;
  transition: all 0.3s;
}
.about-card:hover {
  border-color: rgba(20, 176, 127, 0.4);
  transform: translateX(-4px);
}
.about-card .icon-box {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.about-card h3 {
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}
.about-card p {
  font-size: 12px;
  color: var(--muted-foreground);
  line-height: 2.1;
  text-align: justify;
}
.values-title {
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.values-title::before,
.values-title::after {
  content: "";
  height: 1px;
  width: 40px;
  background: rgba(20, 176, 127, 0.4);
}
.value-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: all 0.3s;
}
.value-card:hover {
  border-color: rgba(20, 176, 127, 0.4);
  transform: translateY(-5px);
}
.value-card .icon-box {
  margin: 0 auto 1rem;
  width: 52px;
  height: 52px;
  border-radius: 1rem;
}
.value-card h3 {
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}
.value-card p {
  font-size: 11px;
  color: var(--muted-foreground);
  line-height: 1.9;
}
.contact-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.25rem;
  transition: all 0.3s;
}
.contact-card:hover {
  border-color: rgba(20, 176, 127, 0.4);
  transform: translateY(-4px);
}
.contact-card .icon-box {
  margin-bottom: 1rem;
  width: 44px;
  height: 44px;
}
.contact-card h2 {
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}
.contact-card p,
.contact-card a {
  font-size: 12px;
  color: var(--muted-foreground);
  line-height: 1.9;
  transition: color 0.2s;
  display: block;
}
.contact-card a:hover { color: var(--primary); }
.map-card {
  position: relative;
  min-height: 320px;
  height: 100%;
  border-radius: 1.5rem;
  border: 1px solid rgba(20, 176, 127, 0.25);
  overflow: hidden;
  background: var(--surface);
}
.map-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20, 176, 127, 0.12), transparent, rgba(217, 180, 92, 0.08));
}
.map-card__inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.map-card__pin {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(20, 176, 127, 0.15);
  border: 1px solid rgba(20, 176, 127, 0.4);
  color: var(--primary);
  margin-bottom: 1.25rem;
  position: relative;
}
.map-card__pin .icon { width: 28px; height: 28px; }
/* موج پین */
.map-card__pin::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(20, 176, 127, 0.5);
  animation: pin-wave 2.2s ease-out infinite;
}
@keyframes pin-wave {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.7); opacity: 0; }
}
.map-card h2 {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.map-card p {
  font-size: 12px;
  color: var(--muted-foreground);
  line-height: 2.2;
  max-width: 22rem;
}
.map-card .btn-sm {
  margin-top: 1.25rem;
  background: rgba(20, 176, 127, 0.15);
  border: 1px solid rgba(20, 176, 127, 0.4);
  color: var(--primary);
}
.map-card .btn-sm:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}
.about-privacy {
  border-radius: 1.5rem;
  border: 1px solid rgba(217, 180, 92, 0.25);
  background: rgba(217, 180, 92, 0.05);
  padding: 1.5rem;
}
.about-privacy h2 {
  font-weight: 700;
  font-size: 1rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.about-privacy h2 .icon { width: 20px; height: 20px; }
.about-privacy .prose-fa {
  font-size: 12px;
  color: var(--muted-foreground);
}

/* ==================================================================
   فوتر
   ================================================================== */
.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(20, 176, 127, 0.2);
  background: rgba(3, 8, 6, 0.93);
}
.footer-grid {
  display: grid;
  gap: 2rem;
  padding-block: 2.5rem;
}
.footer-about .brand {
  margin-bottom: 1rem;
}
.footer-about .brand__logo {
  width: 44px;
  height: 44px;
}
.footer-about .brand__logo img { width: 28px; height: 28px; }
.footer-about p {
  font-size: 12px;
  line-height: 2.2;
  color: var(--muted-foreground);
  text-align: justify;
}
.footer-about .official {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 11px;
  color: var(--muted-foreground);
}
.footer-about .official .icon { width: 16px; height: 16px; color: var(--primary); }
.footer-col h3 {
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-col h3::before {
  content: "";
  width: 4px;
  height: 16px;
  border-radius: 99px;
  background: var(--primary);
}
.footer-col h3.gold-line::before { background: var(--gold); }
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 12px;
  color: var(--muted-foreground);
}
.footer-col li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.footer-col li .icon {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.25rem;
}
.footer-col li a {
  transition: color 0.2s;
}
.footer-col li a:hover { color: var(--primary); }
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem 1rem;
  font-size: 12px;
}
.footer-links a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted-foreground);
  transition: color 0.2s, transform 0.2s;
}
.footer-links a:hover {
  color: var(--primary);
  transform: translateX(-3px);
}
.footer-links a::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(20, 176, 127, 0.5);
  flex-shrink: 0;
}
.footer-ext-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 12px;
  max-height: 11rem;
  overflow-y: auto;
  padding-inline-end: 0.25rem;
  scrollbar-width: thin;
}
.footer-ext-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}
.footer-ext-list a:hover { color: var(--primary); }
.footer-ext-list a .icon { width: 12px; height: 12px; flex-shrink: 0; }
.footer-badges {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.badge-box {
  width: 64px;
  height: 64px;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 9px;
  line-height: 1.5;
  padding: 0.5rem;
  transition: transform 0.3s;
}
.badge-box:hover { transform: scale(1.08); }
.badge-box--gold {
  border: 1px solid rgba(217, 180, 92, 0.3);
  background: rgba(217, 180, 92, 0.05);
  color: var(--gold);
}
.badge-box--green {
  border: 1px solid rgba(20, 176, 127, 0.3);
  background: rgba(20, 176, 127, 0.05);
  color: var(--primary);
}
.footer-stats {
  border-top: 1px solid rgba(20, 176, 127, 0.1);
  background: rgba(5, 11, 9, 0.6);
}
.footer-stats__inner {
  padding-block: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 2rem;
  font-size: 11px;
  color: var(--muted-foreground);
}
.footer-stats__inner span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.footer-stats__inner .icon { width: 14px; height: 14px; color: var(--primary); }
.zip-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 99px;
  border: 1px solid rgba(20, 176, 127, 0.3);
  background: rgba(20, 176, 127, 0.1);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  transition: all 0.25s;
}
.zip-link:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}
.zip-link .icon { width: 14px; height: 14px; }
.footer-copy {
  border-top: 1px solid rgba(20, 176, 127, 0.1);
}
.footer-copy__inner {
  padding-block: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 11px;
  color: var(--muted-foreground);
}
.footer-copy__inner .law-note {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.footer-copy__inner .law-note .icon {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

/* ==================================================================
   توست اعلان
   ================================================================== */
.toast-stack {
  position: fixed;
  bottom: 1rem;
  right: 50%;
  transform: translateX(50%);
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: min(92vw, 26rem);
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(20, 176, 127, 0.35);
  background: rgba(10, 19, 15, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  padding: 0.9rem 1rem;
  animation: toast-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
  position: relative;
  overflow: hidden;
}
.toast.leaving {
  animation: toast-out 0.3s ease both;
}
.toast::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(to left, var(--primary), var(--gold));
  animation: toast-timer 4s linear forwards;
}
.toast--error {
  border-color: rgba(229, 72, 77, 0.5);
}
.toast--error::after { background: var(--destructive, #e5484d); }
.toast__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--primary);
  margin-top: 0.15rem;
}
.toast--error .toast__icon { color: #e5484d; }
.toast b {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.15rem;
}
.toast p {
  font-size: 12px;
  color: var(--muted-foreground);
  line-height: 1.9;
}
@keyframes toast-in {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes toast-out {
  to { opacity: 0; transform: translateY(10px) scale(0.97); }
}
@keyframes toast-timer {
  from { width: 100%; }
  to { width: 0%; }
}

/* ==================================================================
   بازگشت به بالا + حلقه پیشرفت
   ================================================================== */
.to-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 85;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(10, 19, 15, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(20, 176, 127, 0.35);
  color: var(--primary);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all 0.3s;
}
.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 0 24px rgba(20, 176, 127, 0.45);
}
.to-top .icon { width: 20px; height: 20px; position: relative; z-index: 2; }
.to-top svg.ring {
  position: absolute;
  inset: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  transform: rotate(-90deg);
  z-index: 1;
}
.to-top svg.ring circle {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
}

/* ==================================================================
   جستجوی اخبار + ردیف کارت‌ها
   ================================================================== */
.search-info {
  display: none;
  margin-bottom: 1.5rem;
  padding: 0.85rem 1.25rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(20, 176, 127, 0.35);
  background: rgba(20, 176, 127, 0.08);
  font-size: 13px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.search-info.show { display: flex; }
.ncard.is-hidden { display: none; }
.laws-empty {
  text-align: center;
  padding: 2rem;
  font-size: 13px;
  color: var(--muted-foreground);
}
/* ردیف آیتم منوی موبایل (لینک + دکمه زیرمنو) */
.mobile-menu__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.mobile-menu__row .mobile-menu__item { flex: 1; min-width: 0; }
.mobile-menu__row .mobile-sub { width: 100%; }
.law-card__download {
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
}

/* ==================================================================
   سیستم انیمیشن اسکرول (reveal)
   ================================================================== */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
[data-reveal="up"] { transform: translateY(28px); }
[data-reveal="down"] { transform: translateY(-24px); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="left"] { transform: translateX(-36px); }
[data-reveal="zoom"] { transform: scale(0.92); }
[data-reveal="flip"] { transform: perspective(900px) rotateX(10deg) translateY(20px); }
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* ==================================================================
   اندازه فونت و کنتراست (دسترس‌پذیری)
   ================================================================== */
html[data-fontsize="sm"] { font-size: 14px; }
html[data-fontsize="md"] { font-size: 16px; }
html[data-fontsize="lg"] { font-size: 18px; }
html.hc-on {
  --background: #010503;
  --foreground: #ffffff;
  --card: #020a06;
  --card-foreground: #ffffff;
  --muted-foreground: #cfe8da;
  --border: #2f6a4f;
  --secondary-foreground: #d7fbe9;
  --gold: #ffd766;
}

/* ==================================================================
   ریسپانسیو
   ================================================================== */
@media (min-width: 480px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 640px) {
  .topbar__date { display: inline; }
  .hero__title { font-size: 2.25rem; }
  .hero__desc { font-size: 1rem; }
  .section-heading h2 { font-size: 1.875rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .detail-main__body { padding: 2rem; }
  .page-hero h1 { font-size: 1.875rem; }
  .hero__text { text-align: center; }
  .stat__value { font-size: 2.25rem; }
}
@media (min-width: 768px) {
  .search-box { display: flex; }
  .topbar__inner { font-size: 12px; }
  .contrast-btn .label { display: inline; }
  .brand__name { font-size: 1.05rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .news-top { grid-template-columns: repeat(2, 1fr); }
  .split-2 { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 2fr 1fr; }
  .info-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 1.5rem;
  }
  .contact-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 1.5rem;
  }
  .about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: center;
  }
  .footer-copy__inner {
    flex-direction: row;
  }
  .form-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .kind-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .nav-bar { display: block; }
  .btn-service { display: inline-flex; }
  .btn-mobile { display: none; }
  .mobile-menu, .mobile-overlay { display: none; }
  .topbar__tools { gap: 1.25rem; }
  .brand__sub { display: block; }
  .hero__content { padding-block: 5rem 6rem; }
  .hero__grid { grid-template-columns: repeat(12, 1fr); }
  .hero__text { grid-column: span 7; text-align: start; }
  .hero__desc { margin-inline: 0; }
  .hero__actions { justify-content: flex-start; }
  .trust-points { justify-content: flex-start; }
  .hero-cards { grid-column: span 5; }
  .hero__title { font-size: 2.75rem; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
  .news-grid { grid-template-columns: repeat(3, 1fr); }
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .section { padding-block: 5rem; }
  .news-featured { min-height: 380px; }
  .news-featured__body { padding: 2rem; }
  .btn-mobile { margin-inline-start: 0; }
}
@media (min-width: 1280px) {
  .nav-link { padding-inline: 0.875rem; }
}

/* ---------------- حالت چاپ ---------------- */
@media print {
  .site-header, .site-footer, .to-top, .cursor-glow,
  .scroll-progress, .preloader, .ticker { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------------- کاهش حرکت (دسترس‌پذیری) ---------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .ticker__track { animation: none; }
}

/* ==================================================================
   نسخهٔ ۳.۰.۰ — ماژول‌های جدید
   لایو سرچ، مناسبت‌ها، تصویر ۴:۵، واحدها با نقشه، شکایات،
   چارت سازمانی، فلوچارت، رفع اسکرول افقی
   ================================================================== */

/* ---------------- رفع اسکرول افقی موبایل ---------------- */
html, body {
  max-width: 100%;
  overflow-x: clip;
}
@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}
.grid-4 > *, .grid-5 > *, .news-grid > *, .news-top > *, .hero__grid > *, .split-2 > * {
  min-width: 0;
}
img, svg, video { max-width: 100%; }

/* ---------------- زیرمنوی تو در تو (دسکتاپ) ---------------- */
.dropdown--sub {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  margin: 0.3rem 0.6rem 0.4rem 1.4rem;
  border: 0;
  border-inline-start: 2px solid rgba(20, 176, 127, 0.3);
  border-radius: 0 10px 10px 0;
  box-shadow: none;
  background: rgba(4, 12, 8, 0.45);
  backdrop-filter: none;
}
.dropdown--sub .dropdown__inner { padding: 0.2rem; }
.dropdown--sub a { padding: 0.45rem 0.6rem; font-size: 13px; }
.dropdown--sub .dot { width: 4px; height: 4px; margin-top: 0.45rem; }

/* ==================================================================
   جستجوی زندهٔ هدر
   ================================================================== */
.search-box {
  position: relative;
}
.ls-results {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-start: 0;
  width: min(430px, 92vw);
  background: rgba(8, 17, 12, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(20, 176, 127, 0.28);
  border-radius: 16px;
  box-shadow: 0 32px 70px -24px rgba(0, 0, 0, 0.8);
  z-index: 300; /* همیشه بالای منوها و مگامنو */
  overflow: hidden;
  animation: zs-ls-in 0.18s ease both;
}
@keyframes zs-ls-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.ls-results__body {
  max-height: 340px;
  overflow-y: auto;
  padding: 0.45rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(20, 176, 127, 0.5) transparent;
}
.ls-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.65rem;
  border-radius: 12px;
  transition: background 0.15s;
}
.ls-item:hover, .ls-item.is-active {
  background: rgba(20, 176, 127, 0.12);
}
.ls-item__thumb {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(20, 176, 127, 0.1);
  border: 1px solid rgba(20, 176, 127, 0.2);
}
.ls-item__thumb--ph {
  display: grid;
  place-items: center;
  color: var(--primary);
}
.ls-item__thumb--ph .icon { width: 18px; height: 18px; }
.ls-item__main { min-width: 0; flex: 1; }
.ls-item__title {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ls-item:hover .ls-item__title { color: var(--primary); }
.ls-item__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3px;
  font-size: 11px;
  color: var(--muted-foreground);
}
.ls-item__type {
  padding: 1px 8px;
  border-radius: 99px;
  background: rgba(20, 176, 127, 0.14);
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
}
.ls-item__excerpt {
  display: block;
  font-size: 11px;
  color: var(--muted-foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}
.ls-results__empty {
  padding: 1.4rem 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted-foreground);
}
.ls-results__empty .icon { width: 26px; height: 26px; opacity: 0.5; display: block; margin: 0 auto 0.5rem; }
.ls-results__more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem;
  border-top: 1px solid rgba(20, 176, 127, 0.18);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(20, 176, 127, 0.06);
  transition: background 0.15s;
}
.ls-results__more:hover { background: rgba(20, 176, 127, 0.14); }
.ls-results__more .icon { width: 13px; height: 13px; }
.ls-searching .search-box__submit, .ls-searching .mobile-menu__search-field {
  opacity: 0.6;
}
.ls-spinner {
  display: block;
  width: 22px;
  height: 22px;
  margin: 0.9rem auto;
  border: 2px solid rgba(20, 176, 127, 0.25);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: zs-spin 0.7s linear infinite;
}
@keyframes zs-spin { to { transform: rotate(360deg); } }

/* ==================================================================
   مناسبت‌ها + تصویر عمودی ۴:۵
   ================================================================== */
.occ-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: 1.5rem;
  align-items: stretch;
}
.occ-grid--full { grid-template-columns: minmax(0, 1fr); }
.occ-grid--poster-only {
  grid-template-columns: minmax(0, 380px);
  justify-content: center;
}
.occ-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr));
  gap: 0.9rem;
  align-content: start;
}
.occ-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.05rem 1.1rem;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(20, 176, 127, 0.07), rgba(10, 19, 15, 0.7) 45%);
  border: 1px solid rgba(20, 176, 127, 0.18);
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s, box-shadow 0.25s;
}
.occ-card::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), transparent);
  opacity: 0.55;
  transition: opacity 0.25s;
}
.occ-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 176, 127, 0.4);
  box-shadow: 0 24px 44px -22px rgba(20, 176, 127, 0.4);
}
.occ-card:hover::before { opacity: 1; }
.occ-card--hl {
  background: linear-gradient(160deg, rgba(20, 176, 127, 0.2), rgba(10, 19, 15, 0.75) 55%);
  border-color: rgba(20, 176, 127, 0.45);
}
.occ-card--hl::after {
  content: "برجسته";
  position: absolute;
  top: 12px;
  inset-inline-end: -1px;
  padding: 2px 10px 2px 8px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #04140c;
  background: linear-gradient(90deg, transparent, var(--primary) 18%);
  border-radius: 8px 0 0 8px;
}
.occ-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  font-size: 22px;
  border-radius: 14px;
  background: rgba(2, 8, 5, 0.5);
  border: 1px solid rgba(20, 176, 127, 0.25);
  box-shadow: inset 0 0 18px rgba(20, 176, 127, 0.12);
}
.occ-card__body { min-width: 0; flex: 1; }
.occ-card__title {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.7;
  margin: 0;
}
.occ-card__desc {
  font-size: 12px;
  color: var(--muted-foreground);
  line-height: 1.9;
  margin: 4px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.occ-card__date {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
  margin-top: 2px;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--gold);
  background: rgba(216, 161, 58, 0.1);
  border: 1px solid rgba(216, 161, 58, 0.3);
}
.occ-card__date .icon { width: 12px; height: 12px; }
.occ-card--hl .occ-card__date {
  color: #6fffc8;
  background: rgba(20, 176, 127, 0.14);
  border-color: rgba(20, 176, 127, 0.4);
}

/* تصویر عمودی ویژه */
.occ-poster {
  position: relative;
  margin: 0;
  align-self: stretch;
}
.occ-poster__frame {
  position: relative;
  height: 100%;
  min-height: 420px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(20, 176, 127, 0.3);
  box-shadow: 0 34px 70px -30px rgba(0, 0, 0, 0.75);
}
.occ-poster__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.occ-poster:hover .occ-poster__frame img { transform: scale(1.045); }
.occ-poster__caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 3.4rem 1.2rem 1.15rem;
  background: linear-gradient(180deg, transparent, rgba(3, 10, 6, 0.92) 55%);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.occ-poster__caption strong { font-size: 0.95rem; color: #fff; }
.occ-poster__caption > span {
  font-size: 12px;
  color: rgba(228, 241, 233, 0.82);
  line-height: 1.8;
}
.occ-poster__more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
}
.occ-poster__more .icon { width: 13px; height: 13px; transition: transform 0.2s; }
.occ-poster__more:hover .icon { transform: translateX(-4px); }
.occ-poster__glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(closest-side at 50% 60%, rgba(20, 176, 127, 0.18), transparent);
  filter: blur(8px);
  z-index: -1;
  pointer-events: none;
}

/* ==================================================================
   واحدهای ثبتی — حالت نقشه
   ================================================================== */
.ucard--map {
  cursor: pointer;
}
.ucard__phone {
  font-size: 11px;
  color: var(--muted-foreground);
  letter-spacing: 0.03em;
}
.ucard__hint {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 2px;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 10.5px;
  font-weight: 700;
  color: #6fffc8;
  background: rgba(20, 176, 127, 0.14);
  border: 1px solid rgba(20, 176, 127, 0.35);
  opacity: 0.75;
  transition: opacity 0.2s, background 0.2s;
}
.ucard__hint .icon { width: 11px; height: 11px; }
.ucard--map:hover .ucard__hint {
  opacity: 1;
  background: rgba(20, 176, 127, 0.25);
}

/* ==================================================================
   صفحهٔ شکایات — گام‌ها و آمار
   ================================================================== */
.zsp-steps {
  padding: 1.6rem 0 0.4rem;
}
.zsp-steps__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.zsp-step {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.1rem 1.2rem;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(20, 176, 127, 0.08), rgba(10, 19, 15, 0.6) 50%);
  border: 1px solid rgba(20, 176, 127, 0.18);
  transition: transform 0.25s, border-color 0.25s;
}
.zsp-step:hover { transform: translateY(-3px); border-color: rgba(20, 176, 127, 0.38); }
.zsp-step__num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 13px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #04140c;
  background: linear-gradient(135deg, var(--primary), #0d8a63);
  box-shadow: 0 10px 22px -8px rgba(20, 176, 127, 0.55);
}
.zsp-step h3 { margin: 0 0 4px; font-size: 0.92rem; font-weight: 700; }
.zsp-step p { margin: 0; font-size: 12px; color: var(--muted-foreground); line-height: 1.9; }
.zsp-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
  padding: 0.85rem 1.2rem;
  border-radius: 16px;
  background: rgba(20, 176, 127, 0.07);
  border: 1px dashed rgba(20, 176, 127, 0.3);
  font-size: 13px;
  color: rgba(228, 241, 233, 0.85);
}
.zsp-stats strong { color: var(--primary); }
.zsp-stats .sep { width: 1px; height: 18px; background: rgba(20, 176, 127, 0.3); }
.zsp-stats .icon { width: 15px; height: 15px; color: var(--primary); vertical-align: -2px; }
.zs-notice {
  padding: 1.1rem 1.3rem;
  border-radius: 16px;
  background: rgba(216, 161, 58, 0.08);
  border: 1px solid rgba(216, 161, 58, 0.3);
  color: #f0dcae;
  font-size: 0.9rem;
  line-height: 2;
}

/* ==================================================================
   فرم شکایات و پیگیری (zscf)
   ================================================================== */
.zscf {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(20, 176, 127, 0.09), rgba(10, 19, 15, 0.9) 40%);
  border: 1px solid rgba(20, 176, 127, 0.25);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}
.zscf::before {
  content: "";
  position: absolute;
  top: -140px;
  inset-inline-end: -140px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 176, 127, 0.16), transparent 70%);
  pointer-events: none;
}
.zscf__tabs {
  position: relative;
  display: flex;
  gap: 0.25rem;
  padding: 0.9rem 1rem 0;
  border-bottom: 1px solid rgba(20, 176, 127, 0.18);
}
.zscf__tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.8rem 1.15rem;
  border: 0;
  background: transparent;
  color: var(--muted-foreground);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 14px 14px 0 0;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.zscf__tab .icon { width: 16px; height: 16px; }
.zscf__tab:hover { color: var(--foreground); background: rgba(20, 176, 127, 0.06); }
.zscf__tab.is-active {
  color: var(--primary);
  background: rgba(20, 176, 127, 0.12);
}
.zscf__tab-line {
  position: absolute;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), rgba(20, 176, 127, 0.2));
  transition: inset-inline-start 0.3s cubic-bezier(0.22, 1, 0.36, 1), width 0.3s;
  border-radius: 2px;
}
.zscf__pane { display: none; padding: 1.6rem; }
.zscf__pane.is-active { display: block; animation: zs-pane-in 0.3s ease both; }
@keyframes zs-pane-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* کارت‌های نوع پیام */
.zscf__type-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}
.zscf__type {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 1rem 0.7rem 0.85rem;
  text-align: center;
  border-radius: 16px;
  background: rgba(2, 8, 5, 0.4);
  border: 1px solid rgba(20, 176, 127, 0.16);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.zscf__type:hover { border-color: rgba(20, 176, 127, 0.4); transform: translateY(-2px); }
.zscf__type-icon { font-size: 24px; line-height: 1; transition: transform 0.25s; }
.zscf__type:hover .zscf__type-icon { transform: scale(1.15) rotate(-6deg); }
.zscf__type-label { font-size: 0.9rem; font-weight: 700; color: rgba(228, 241, 233, 0.9); }
.zscf__type-desc { font-size: 10.5px; color: var(--muted-foreground); line-height: 1.7; }
.sr-only:checked + .zscf__type {
  background: linear-gradient(160deg, rgba(20, 176, 127, 0.25), rgba(10, 19, 15, 0.8));
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(20, 176, 127, 0.18), 0 14px 30px -14px rgba(20, 176, 127, 0.5);
}
.sr-only:checked + .zscf__type .zscf__type-label { color: var(--primary); }
.sr-only:focus-visible + .zscf__type { outline: 2px dashed var(--primary); outline-offset: 3px; }

/* فیلدها */
.zscf__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.1rem;
}
.zscf__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.zscf__field--full { grid-column: 1 / -1; }
.zscf__field label {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(228, 241, 233, 0.88);
}
.zscf__field label em { color: #ff8f8f; font-style: normal; }
.zscf__field .zscf__hint { color: var(--muted-foreground); font-weight: 400; font-size: 11px; }
.zscf__field input[type="text"],
.zscf__field input[type="tel"],
.zscf__field input[type="email"],
.zscf__field input[type="url"],
.zscf__field select,
.zscf__field textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border-radius: 13px;
  background: rgba(2, 8, 5, 0.55);
  border: 1px solid rgba(20, 176, 127, 0.22);
  color: var(--foreground);
  font: inherit;
  font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.zscf__field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--primary) 50%), linear-gradient(135deg, var(--primary) 50%, transparent 50%);
  background-position: calc(0% + 18px) 55%, calc(0% + 23px) 55%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.zscf__field textarea { resize: vertical; min-height: 110px; line-height: 2; }
.zscf__field input:focus, .zscf__field select:focus, .zscf__field textarea:focus {
  outline: 0;
  border-color: rgba(20, 176, 127, 0.65);
  background: rgba(2, 8, 5, 0.75);
  box-shadow: 0 0 0 3px rgba(20, 176, 127, 0.16);
}
.zscf__field input:user-invalid, .zscf__field textarea:user-invalid {
  border-color: rgba(224, 82, 82, 0.6);
}
.zscf__field--captcha input { max-width: 140px; }
.zscf__consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border-radius: 13px;
  background: rgba(20, 176, 127, 0.06);
  border: 1px dashed rgba(20, 176, 127, 0.3);
  cursor: pointer;
  font-size: 12.5px !important;
  line-height: 1.9;
}
.zscf__consent input { margin-top: 4px; accent-color: var(--primary); width: 16px; height: 16px; flex-shrink: 0; }

.zscf__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.4rem;
}
.zscf__submit {
  position: relative;
  min-width: 260px;
  height: 52px;
}
.zscf__submit .zscf__spinner {
  display: none;
  position: absolute;
  top: 50%;
  inset-inline-end: 16px;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border: 2px solid rgba(4, 20, 12, 0.35);
  border-top-color: #04140c;
  border-radius: 50%;
  animation: zs-spin 0.7s linear infinite;
}
.zscf__submit.is-busy { opacity: 0.75; pointer-events: none; }
.zscf__submit.is-busy .zscf__spinner { display: block; }
.zscf__note { margin: 0; font-size: 11px; color: var(--muted-foreground); line-height: 1.9; max-width: 460px; }
.zscf__msg {
  margin-top: 1rem;
  padding: 0.85rem 1.1rem;
  border-radius: 13px;
  font-size: 0.85rem;
  line-height: 1.9;
  border: 1px solid rgba(224, 82, 82, 0.4);
  background: rgba(224, 82, 82, 0.1);
  color: #ffc9c9;
}
.zscf__msg.is-ok {
  border-color: rgba(20, 176, 127, 0.4);
  background: rgba(20, 176, 127, 0.1);
  color: #b8f5dd;
}

/* پنل موفقیت */
.zscf__success {
  text-align: center;
  padding: 2.4rem 1.4rem;
  animation: zs-pane-in 0.35s ease both;
}
.zscf__success-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: 0 auto 1.1rem;
  border-radius: 24px;
  color: var(--primary);
  background: rgba(20, 176, 127, 0.12);
  border: 1px solid rgba(20, 176, 127, 0.4);
  box-shadow: 0 0 0 10px rgba(20, 176, 127, 0.06);
  animation: zs-pop-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes zs-pop-in {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}
.zscf__success-icon .icon { width: 34px; height: 34px; }
.zscf__success h3 { margin: 0 0 8px; font-size: 1.2rem; }
.zscf__success-text { max-width: 520px; margin: 0 auto; color: var(--muted-foreground); font-size: 0.88rem; line-height: 2; }
.zscf__code-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 1.3rem auto;
  padding: 1.1rem 2.2rem;
  border-radius: 18px;
  background: rgba(2, 8, 5, 0.6);
  border: 1px dashed rgba(20, 176, 127, 0.5);
}
.zscf__code-label { font-size: 11px; color: var(--muted-foreground); }
.zscf__code {
  font-size: 1.55rem;
  letter-spacing: 0.14em;
  color: var(--primary);
  text-shadow: 0 0 24px rgba(20, 176, 127, 0.5);
}
.zscf__copy {
  margin-top: 6px;
  padding: 4px 14px;
  border-radius: 99px;
  border: 1px solid rgba(20, 176, 127, 0.35);
  background: rgba(20, 176, 127, 0.1);
  color: var(--primary);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.zscf__copy:hover { background: rgba(20, 176, 127, 0.22); }
.zscf__success-note { max-width: 520px; margin: 0.4rem auto 1.2rem; font-size: 12px; color: var(--gold); }

/* پیگیری */
.zscf__track-row { display: flex; gap: 0.8rem; align-items: flex-end; flex-wrap: wrap; }
.zscf__field--grow { flex: 1; min-width: 220px; }
.zscf__track-btn { height: 50px; display: inline-flex; align-items: center; gap: 0.5rem; }
.zscf__track-btn .icon { width: 16px; height: 16px; }
.zscf__msg--track { margin-top: 1rem; }
.zscf__result {
  margin-top: 1.5rem;
  padding: 1.4rem;
  border-radius: 18px;
  background: rgba(2, 8, 5, 0.45);
  border: 1px solid rgba(20, 176, 127, 0.2);
  animation: zs-pane-in 0.3s ease both;
}
.zscf__result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.3rem;
}
.zscf__result-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  color: #04140c;
  background: var(--primary);
  margin-bottom: 8px;
}
.zscf__result-subject { margin: 0 0 6px; font-size: 1.05rem; }
.zscf__result-meta { margin: 0; font-size: 12px; color: var(--muted-foreground); }
.zscf__result-code {
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  background: rgba(20, 176, 127, 0.1);
  border: 1px dashed rgba(20, 176, 127, 0.45);
}
.zscf__timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  counter-reset: zsstep;
}
.zscf__step {
  position: relative;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(10, 19, 15, 0.6);
  border: 1px solid rgba(20, 176, 127, 0.14);
  opacity: 0.55;
  transition: opacity 0.3s, border-color 0.3s, background 0.3s;
}
.zscf__step-dot {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid rgba(20, 176, 127, 0.35);
  background: transparent;
}
.zscf__step::after {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-start: 100%;
  width: 0.8rem;
  height: 2px;
  background: rgba(20, 176, 127, 0.2);
}
.zscf__step:last-child::after { display: none; }
.zscf__step.is-done, .zscf__step.is-current {
  opacity: 1;
}
.zscf__step.is-done { border-color: rgba(20, 176, 127, 0.35); }
.zscf__step.is-done .zscf__step-dot {
  background: var(--primary);
  border-color: var(--primary);
}
.zscf__step.is-done .zscf__step-dot::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
  color: #04140c;
}
.zscf__step.is-current {
  border-color: rgba(20, 176, 127, 0.55);
  background: rgba(20, 176, 127, 0.09);
  box-shadow: 0 0 0 4px rgba(20, 176, 127, 0.07);
}
.zscf__step.is-current .zscf__step-dot {
  border-color: var(--primary);
  animation: zs-pulse-dot 1.6s ease-in-out infinite;
}
@keyframes zs-pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(20, 176, 127, 0.4); }
  50% { box-shadow: 0 0 0 7px rgba(20, 176, 127, 0); }
}
.zscf__step.is-current .zscf__step-dot::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--primary);
}
.zscf__step-body strong { display: block; font-size: 0.85rem; }
.zscf__step-body span { display: block; font-size: 11px; color: var(--muted-foreground); margin-top: 3px; line-height: 1.8; }
.zscf__reply {
  margin-top: 1.2rem;
  padding: 1.1rem 1.2rem;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(20, 176, 127, 0.12), rgba(10, 19, 15, 0.6) 55%);
  border: 1px solid rgba(20, 176, 127, 0.35);
}
.zscf__reply h4 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: var(--primary);
}
.zscf__reply h4 .icon { width: 15px; height: 15px; }
.zscf__reply-text { margin: 0; font-size: 0.88rem; line-height: 2.1; white-space: pre-wrap; }
.zscf__reply-date { display: block; margin-top: 8px; font-size: 11px; color: var(--muted-foreground); }

/* ==================================================================
   چارت سازمانی
   ================================================================== */
.org-chart-wrap {
  direction: ltr;
  overflow: visible;
  padding: 0.5rem 0.5rem 1.2rem;
  transform-origin: top center;
  will-change: transform;
}
.org-tree, .org-children {
  list-style: none;
  margin: 0;
  padding: 0;
}
.org-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: max-content;
  margin: 0 auto;
}
.org-children {
  position: relative;
  display: flex;
  padding-top: 26px;
}
/* خط عمودی از والد */
.org-children::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 26px;
  background: linear-gradient(180deg, rgba(20, 176, 127, 0.55), rgba(20, 176, 127, 0.25));
}
.org-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 9px 0;
}
/* خطوط اتصال افقی + عمودی هر گره */
.org-node::before, .org-node::after {
  content: "";
  position: absolute;
  top: 0;
  width: 50%;
  height: 26px;
  border-top: 2px solid rgba(20, 176, 127, 0.25);
}
.org-node::before { right: 50%; }
.org-node::after { left: 50%; border-left: 2px solid rgba(20, 176, 127, 0.25); }
.org-node:first-child::before { border: 0; }
.org-node:last-child::after { border-top: 0; border-left: 0; }
.org-node:only-child { padding-top: 0; }
.org-node:only-child::before, .org-node:only-child::after { display: none; }
.org-node:only-child .org-children::before { height: 26px; }

.org-card {
  direction: rtl;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 172px;
  padding: 1rem 0.7rem 0.85rem;
  text-align: center;
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(20, 176, 127, 0.09), rgba(10, 19, 15, 0.92) 50%);
  border: 1px solid rgba(20, 176, 127, 0.25);
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.7);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s, box-shadow 0.25s;
}
.org-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 176, 127, 0.5);
  box-shadow: 0 26px 50px -24px rgba(20, 176, 127, 0.45);
}
.org-card--root {
  width: 210px;
  border-color: rgba(20, 176, 127, 0.55);
  background: linear-gradient(165deg, rgba(20, 176, 127, 0.28), rgba(10, 19, 15, 0.95) 60%);
  box-shadow: 0 0 0 5px rgba(20, 176, 127, 0.08), 0 30px 60px -28px rgba(20, 176, 127, 0.5);
}
.org-card--group {
  width: 190px;
  border-style: dashed;
  border-color: rgba(216, 161, 58, 0.45);
  background: linear-gradient(165deg, rgba(216, 161, 58, 0.1), rgba(10, 19, 15, 0.9) 55%);
}
.org-card__photo {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(20, 176, 127, 0.45);
  background: rgba(2, 8, 5, 0.6);
  box-shadow: 0 0 0 4px rgba(20, 176, 127, 0.08);
}
.org-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.org-card__photo--letter {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  background: linear-gradient(160deg, rgba(20, 176, 127, 0.25), rgba(2, 8, 5, 0.7));
}
.org-card__photo--group .icon { width: 24px; height: 24px; color: var(--gold); }
.org-card--root .org-card__photo { width: 66px; height: 66px; }
.org-card__name {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.6;
  color: #fff;
}
.org-card__pos {
  font-size: 10.5px;
  line-height: 1.8;
  color: #6fffc8;
}
.org-card--group .org-card__name { color: var(--gold); }
.org-card__unit {
  font-size: 10px;
  color: var(--muted-foreground);
  background: rgba(2, 8, 5, 0.5);
  border: 1px solid rgba(20, 176, 127, 0.2);
  padding: 2px 9px;
  border-radius: 99px;
  white-space: nowrap;
}
.org-bio {
  width: 100%;
  margin-top: 6px;
}
.org-bio summary {
  cursor: pointer;
  font-size: 10.5px;
  color: var(--primary);
  list-style: none;
  opacity: 0.8;
}
.org-bio summary::-webkit-details-marker { display: none; }
.org-bio[open] summary { opacity: 1; }
.org-bio p {
  margin: 6px 0 0;
  padding: 8px;
  font-size: 10.5px;
  line-height: 1.9;
  color: var(--muted-foreground);
  background: rgba(2, 8, 5, 0.5);
  border-radius: 10px;
  direction: rtl;
  text-align: right;
}
.org-chart-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  margin: 0.6rem auto 0;
  font-size: 12px;
  color: var(--muted-foreground);
}
.org-chart-note .icon { width: 14px; height: 14px; color: var(--primary); }

/* موبایل چارت: فهرست عمودی */
@media (max-width: 860px) {
  .org-chart-wrap { overflow-x: visible; }
  .org-tree { min-width: 0; width: 100%; }
  .org-children {
    flex-direction: column;
    width: 100%;
    padding-top: 10px;
    margin-inline-start: 14px;
    border-inline-start: 2px solid rgba(20, 176, 127, 0.25);
  }
  .org-children::before { display: none; }
  .org-node {
    width: 100%;
    padding: 0 0 10px;
    align-items: stretch;
  }
  .org-node::before, .org-node::after { display: none; }
  .org-node:not(:first-child) .org-card { margin-top: 2px; }
  .org-node:last-child { padding-bottom: 0; }
  .org-card { width: 100%; flex-direction: row; text-align: start; align-items: center; gap: 0.8rem; }
  .org-card__body-wrap { flex: 1; }
}

/* ==================================================================
   فلوچارت — [zs_flowchart]
   ================================================================== */
.zs-flow {
  position: relative;
  max-width: 780px;
  margin: 2rem auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.zs-flow__terminal {
  align-self: center;
  position: relative;
  padding: 0.7rem 3.2rem;
  border-radius: 99px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #04140c;
  background: linear-gradient(135deg, var(--primary), #0d8a63);
  box-shadow: 0 16px 34px -14px rgba(20, 176, 127, 0.6);
}
.zs-flow__terminal--end {
  background: linear-gradient(135deg, var(--gold), #b98430);
  box-shadow: 0 16px 34px -14px rgba(216, 161, 58, 0.55);
}
.zs-flow__terminal::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 22px;
  background: rgba(20, 176, 127, 0.45);
}
.zs-flow__step {
  position: relative;
  margin: 34px 0 0;
}
.zs-flow__step::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 22px;
  background: linear-gradient(180deg, rgba(20, 176, 127, 0.6), rgba(20, 176, 127, 0.25));
}
.zs-flow__step::after {
  content: "";
  position: absolute;
  bottom: calc(100% + 13px);
  left: 50%;
  width: 9px;
  height: 9px;
  margin-left: -4.5px;
  transform: rotate(45deg);
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  opacity: 0.85;
}
.zs-flow__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.95rem 1.2rem;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(20, 176, 127, 0.08), rgba(10, 19, 15, 0.85) 45%);
  border: 1px solid rgba(20, 176, 127, 0.28);
  counter-increment: zsflow;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.zs-flow__card:hover {
  transform: translateY(-3px);
  border-color: rgba(20, 176, 127, 0.5);
  box-shadow: 0 22px 44px -22px rgba(20, 176, 127, 0.4);
}
.zs-flow__num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 11px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  background: rgba(20, 176, 127, 0.12);
  border: 1px solid rgba(20, 176, 127, 0.35);
}
.zs-flow__num::before { content: counter(zsflow, persian); }
.zs-flow__text { flex: 1; min-width: 0; font-size: 0.88rem; line-height: 2; }
.zs-flow__badge {
  flex-shrink: 0;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  background: rgba(216, 161, 58, 0.1);
  border: 1px solid rgba(216, 161, 58, 0.35);
  white-space: nowrap;
}
.zs-flow__title {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.4rem;
}
.zs-flow__desc {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted-foreground);
  margin: 0 0 1.6rem;
}

/* ==================================================================
   ریسپانسیو ماژول‌های ۳.۰.۰
   ================================================================== */
@media (max-width: 1024px) {
  .occ-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 320px); }
}
@media (max-width: 900px) {
  .occ-grid,
  .occ-grid--full,
  .occ-grid--poster-only { grid-template-columns: minmax(0, 1fr); }
  .occ-poster { max-width: 420px; margin: 0 auto; width: 100%; }
  .occ-poster__frame { min-height: 0; aspect-ratio: 4 / 5; position: relative; }
  .zsp-steps__inner { grid-template-columns: minmax(0, 1fr); }
  .zscf__timeline { grid-template-columns: minmax(0, 1fr); }
  .zscf__step::after { display: none; }
}
@media (max-width: 640px) {
  .zscf__type-row { grid-template-columns: minmax(0, 1fr); }
  .zscf__grid { grid-template-columns: minmax(0, 1fr); }
  .zscf__pane { padding: 1.1rem 0.9rem; }
  .zscf__track-row { align-items: stretch; }
  .zscf__track-btn { width: 100%; justify-content: center; }
  .occ-card { flex-wrap: wrap; }
  .occ-card__date { order: -1; }
  .occ-list { grid-template-columns: minmax(0, 1fr); }
  .search-box { position: static; }
  .ls-results { position: fixed; top: auto; bottom: 0; inset-inline: 0; width: 100%; border-radius: 20px 20px 0 0; max-height: 62vh; }
  .ls-results__body { max-height: 44vh; }
}

/* حرکت کاهش‌یافته */
@media (prefers-reduced-motion: reduce) {
  .mobile-menu.show .mobile-menu__row,
  .zscf__pane.is-active,
  .ls-results,
  .occ-card, .occ-poster__frame img, .org-card, .zscf__success-icon { animation: none !important; transition: none !important; }
}

/* بدنهٔ کارت چارت سازمانی */
.org-card__body-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 0;
}
.org-card__body-wrap .org-card__unit { margin-top: 2px; }
@media (max-width: 860px) {
  .org-card__body-wrap { flex: 1; align-items: flex-start; text-align: start; }
}

/* ==================================================================
   نسخهٔ ۴.۰.۰ — مگامنو، تم شب/روز، تصویر جایگزین میز خدمت،
   نوار تصویر ۴:۵ با دسترسی سریع و بزرگنمایی چارت سازمانی
   ================================================================== */

/* ---------------- مگامنوی دسکتاپ (جایگزین دراپ‌داون ستونی) ---------------- */
.mega {
  position: absolute;
  top: 100%;
  inset-inline-start: 50%;
  transform: translateX(50%) translateY(10px) scale(0.985);
  width: min(720px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  background: rgba(8, 16, 11, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(20, 176, 127, 0.25);
  border-radius: 1.25rem;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(20, 176, 127, 0.05);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s cubic-bezier(0.22, 1, 0.36, 1), transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.24s;
  z-index: 40;
}
.nav-item.open .mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(50%) translateY(0) scale(1);
}
.mega__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  padding: 1rem;
  max-height: min(540px, calc(100vh - 220px));
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(20, 176, 127, 0.45) transparent;
}
.mega__inner::-webkit-scrollbar { width: 6px; }
.mega__inner::-webkit-scrollbar-thumb { background: rgba(20, 176, 127, 0.35); border-radius: 99px; }
.mega__link {
  flex: 0 0 calc(50% - 0.5rem);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.62rem 0.7rem;
  border-radius: 0.8rem;
  border: 1px solid transparent;
  text-align: start;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  position: relative;
}
.mega__link:hover {
  background: rgba(20, 176, 127, 0.1);
  border-color: rgba(20, 176, 127, 0.25);
  transform: translateX(-3px);
}
.mega__ico {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(20, 176, 127, 0.12);
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.25s, background 0.25s;
}
.mega__ico .icon { width: 13px; height: 13px; }
.mega__link:hover .mega__ico { transform: scale(1.08) rotate(-8deg); background: rgba(20, 176, 127, 0.22); }
.mega__ico--dot {
  width: 8px;
  height: 8px;
  margin: 0 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 180, 92, 0.15);
}
.mega__link:hover .mega__ico--dot { transform: none; background: var(--primary); box-shadow: 0 0 0 3px rgba(20, 176, 127, 0.18); }
.mega__txt { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.mega__txt .t { font-size: 0.85rem; font-weight: 600; color: var(--foreground); transition: color 0.2s; line-height: 1.7; }
.mega__link:hover .mega__txt .t { color: var(--primary); }
.mega__txt .d { display: block; font-size: 11px; color: var(--muted-foreground); line-height: 1.8; }
.mega__arrow {
  width: 14px;
  height: 14px;
  color: var(--primary);
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.mega__arrow .icon { width: 14px; height: 14px; }
.mega__link:hover .mega__arrow { opacity: 1; transform: translateX(0); }
/* ستون گروهی (سرصفحه + زیرمجموعه‌ها) */
.mega__col {
  flex: 0 0 calc(50% - 0.5rem);
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0.55rem 0.5rem 0.6rem;
  border-radius: 0.9rem;
  background: rgba(20, 176, 127, 0.05);
  border: 1px solid rgba(20, 176, 127, 0.14);
}
.mega__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.4rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
}
.mega__head .icon { width: 15px; height: 15px; color: var(--gold); }
.mega__head .t { position: relative; padding-bottom: 4px; }
.mega__head .t::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.mega__col .mega__link { flex: 1 1 auto; padding: 0.42rem 0.5rem; }
.mega__col .mega__txt .t { font-size: 0.8rem; font-weight: 500; }
/* انیمیشن ورود پلکانی لینک‌ها */
.nav-item.open .mega__link,
.nav-item.open .mega__col { animation: mega-in 0.32s cubic-bezier(0.22, 1, 0.36, 1) both; }
.nav-item.open .mega__link:nth-child(1) { animation-delay: 0.02s; }
.nav-item.open .mega__link:nth-child(2) { animation-delay: 0.05s; }
.nav-item.open .mega__link:nth-child(3) { animation-delay: 0.08s; }
.nav-item.open .mega__link:nth-child(4) { animation-delay: 0.11s; }
.nav-item.open .mega__link:nth-child(5) { animation-delay: 0.14s; }
.nav-item.open .mega__link:nth-child(n + 6) { animation-delay: 0.17s; }
@keyframes mega-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------------- دکمهٔ شب و روز ---------------- */
.theme-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  padding: 0.25rem 0.5rem;
  color: var(--muted-foreground);
  background: transparent;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.2s;
  overflow: hidden;
  white-space: nowrap;
  flex-shrink: 0;
}
.theme-btn:hover {
  color: var(--gold);
  border-color: rgba(217, 180, 92, 0.45);
  background: rgba(217, 180, 92, 0.08);
}
.theme-btn:active { transform: scale(0.94); }
.theme-btn__icons {
  position: relative;
  width: 16px;
  height: 16px;
  display: inline-block;
}
.theme-btn__icon {
  position: absolute;
  inset: 0;
  width: 16px;
  height: 16px;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s, filter 0.3s;
}
/* در حالت شب: ماه جلو، خورشید پشت */
.theme-btn__icon--sun {
  opacity: 0;
  transform: rotate(120deg) scale(0.4);
  color: var(--gold);
}
.theme-btn__icon--moon {
  opacity: 1;
  transform: rotate(0) scale(1);
  color: var(--secondary-foreground);
}
html[data-theme="light"] .theme-btn__icon--sun {
  opacity: 1;
  transform: rotate(0) scale(1);
  filter: drop-shadow(0 0 5px rgba(217, 180, 92, 0.65));
}
html[data-theme="light"] .theme-btn__icon--moon {
  opacity: 0;
  transform: rotate(-120deg) scale(0.4);
}
/* ستاره‌های کوچک کنار ماه در حالت شب */
.theme-btn__stars { position: relative; width: 0; height: 0; }
.theme-btn__stars i {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold-soft);
  opacity: 0;
  transition: opacity 0.3s;
}
.theme-btn__stars i:nth-child(1) { top: -11px; inset-inline-start: -8px; }
.theme-btn__stars i:nth-child(2) { top: -14px; inset-inline-start: -2px; width: 2px; height: 2px; }
.theme-btn__stars i:nth-child(3) { top: -8px; inset-inline-start: 2px; width: 2px; height: 2px; }
html:not([data-theme="light"]) .theme-btn__stars i { animation: star-twinkle 2.4s ease-in-out infinite; opacity: 1; }
html:not([data-theme="light"]) .theme-btn__stars i:nth-child(2) { animation-delay: 0.5s; }
html:not([data-theme="light"]) .theme-btn__stars i:nth-child(3) { animation-delay: 1.1s; }
@keyframes star-twinkle {
  0%, 100% { opacity: 0.15; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}
html[data-theme="light"] .theme-btn__stars i { opacity: 0; animation: none; }
.theme-btn__label { font-size: 10.5px; font-weight: 600; }
@media (max-width: 640px) {
  .theme-btn__label { display: none; }
}

/* ---------------- تصویر جایگزین دکمهٔ میز خدمت ---------------- */
.btn-service { display: none !important; } /* دکمهٔ متنی قدیمی حذف شد */
.service-img-btn {
  position: relative;
  display: none;
  align-items: center;
  height: 44px;
  flex-shrink: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
  box-shadow: 0 10px 26px -12px rgba(20, 176, 127, 0.55);
  animation: service-pulse 3.2s ease-in-out infinite;
}
@keyframes service-pulse {
  0%, 100% { box-shadow: 0 10px 26px -12px rgba(20, 176, 127, 0.55); }
  50% { box-shadow: 0 14px 34px -10px rgba(20, 176, 127, 0.8); }
}
.service-img-btn img {
  height: 100%;
  width: auto;
  display: block;
  border-radius: 0.75rem;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s;
}
.service-img-btn:hover { transform: translateY(-2px); animation-play-state: paused; }
.service-img-btn:hover img { transform: scale(1.05); filter: brightness(1.08) saturate(1.1); }
.service-img-btn:active { transform: translateY(0) scale(0.98); }
/* هالهٔ نورانی پشت تصویر */
.service-img-btn__glow {
  position: absolute;
  inset: -14px;
  background: radial-gradient(closest-side, rgba(20, 176, 127, 0.4), transparent 72%);
  opacity: 0;
  transition: opacity 0.35s;
  z-index: -1;
  pointer-events: none;
}
.service-img-btn:hover .service-img-btn__glow { opacity: 1; }
/* درخشش عبوری از روی تصویر */
.service-img-btn__shine {
  position: absolute;
  top: -60%;
  bottom: -60%;
  width: 34%;
  inset-inline-start: -45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-18deg);
  z-index: 1;
  pointer-events: none;
  animation: service-shine 3.6s ease-in-out infinite;
}
@keyframes service-shine {
  0%, 55% { inset-inline-start: -45%; }
  85%, 100% { inset-inline-start: 130%; }
}
@media (min-width: 1024px) {
  .service-img-btn { display: inline-flex; }
}

/* ---------------- نوار تصویر ۴:۵ + دسترسی سریع (زیر اطلاعیه‌ها) ---------------- */
.poster-strip { padding-block: 3.2rem; }
.poster-row {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}
.poster-row .occ-poster { margin: 0; }
.occ-poster--strip .occ-poster__frame {
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(20, 176, 127, 0.3);
  box-shadow: var(--shadow-lg);
  min-height: 0;
}
.poster-side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}
.poster-side__head .kicker { display: inline-flex; align-items: center; gap: 0.4rem; }
.poster-side__title {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 800;
  margin-top: 0.35rem;
}
.poster-side__head .section-line { margin-top: 0.7rem; }
.poster-quick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
.quick-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s, box-shadow 0.28s;
}
.quick-card::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 18%;
  bottom: 18%;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--primary), rgba(217, 180, 92, 0.7));
  opacity: 0;
  transform: scaleY(0.3);
  transition: opacity 0.25s, transform 0.25s;
}
.quick-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 176, 127, 0.45);
  box-shadow: 0 22px 44px -20px rgba(20, 176, 127, 0.35);
}
.quick-card:hover::before { opacity: 1; transform: scaleY(1); }
.quick-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 0.9rem;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(20, 176, 127, 0.16), rgba(217, 180, 92, 0.1));
  border: 1px solid rgba(20, 176, 127, 0.25);
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.3s, background 0.3s;
}
.quick-card__icon .icon { width: 20px; height: 20px; }
.quick-card:hover .quick-card__icon { transform: scale(1.08) rotate(-6deg); background: var(--primary); color: var(--primary-foreground); }
.quick-card__txt { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.quick-card__title { font-size: 0.92rem; font-weight: 700; transition: color 0.2s; }
.quick-card:hover .quick-card__title { color: var(--primary); }
.quick-card__desc {
  font-size: 11.5px;
  color: var(--muted-foreground);
  line-height: 1.8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.quick-card__arrow {
  width: 16px;
  height: 16px;
  color: var(--primary);
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.quick-card__arrow .icon { width: 16px; height: 16px; }
.quick-card:hover .quick-card__arrow { opacity: 1; transform: translateX(0); }
.poster-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.05rem;
  border-radius: 1rem;
  background: linear-gradient(120deg, rgba(20, 176, 127, 0.09), rgba(217, 180, 92, 0.06));
  border: 1px dashed rgba(20, 176, 127, 0.35);
}
.poster-chips__label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}
.poster-chips__label .icon { width: 13px; height: 13px; }
.poster-chip {
  padding: 0.32rem 0.85rem;
  border-radius: 99px;
  background: var(--card);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--foreground);
  transition: all 0.22s;
}
.poster-chip:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -10px rgba(20, 176, 127, 0.55);
}
@media (max-width: 1024px) {
  .poster-row { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .poster-row { grid-template-columns: minmax(0, 1fr); }
  .occ-poster--strip { max-width: 400px; margin: 0 auto; width: 100%; }
}
@media (max-width: 560px) {
  .poster-quick { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------- بزرگنمایی چارت سازمانی (بدون اسکرول) ---------------- */
.org-zoom {
  position: relative;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  background: var(--surface-2);
  overflow: hidden;
}
.org-zoom__bar {
  position: absolute;
  top: 0.8rem;
  inset-inline-end: 0.8rem;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem 0.45rem;
  border-radius: 99px;
  background: rgba(10, 19, 15, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(20, 176, 127, 0.3);
  box-shadow: 0 12px 28px -14px rgba(0, 0, 0, 0.6);
}
.org-zoom__btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--secondary-foreground);
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.org-zoom__btn .icon { width: 15px; height: 15px; }
.org-zoom__btn:hover { background: rgba(20, 176, 127, 0.18); color: var(--primary); }
.org-zoom__btn:active { transform: scale(0.9); }
.org-zoom__btn--fit { color: var(--gold); }
.org-zoom__btn--fit:hover { background: rgba(217, 180, 92, 0.16); color: var(--gold); }
.org-zoom__value {
  min-width: 44px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}
.org-zoom__sep { width: 1px; height: 18px; background: var(--border); margin-inline: 0.2rem; }
.org-zoom__viewport {
  overflow: hidden;
  padding: 2.6rem 0.6rem 1rem;
  min-height: 220px;
}
.org-zoom__sizer {
  position: relative;
  transition: height 0.25s ease;
  display: flex;
  justify-content: center; /* چارت عریض، دوطرف به‌طور مساوی سرریز می‌شود و پس از fit در وسط می‌ماند */
}
.org-zoom__sizer .org-chart-wrap {
  flex: 0 0 auto;
  width: max-content;
  max-width: none;
}
/* پیوست‌ها: حالت فهرستی موبایل بدون بزرگنمایی */
@media (max-width: 860px) {
  .org-zoom__bar { display: none; }
  .org-zoom__viewport { padding: 0.6rem 0.2rem 0.6rem; overflow: visible; }
  .org-zoom__sizer .org-chart-wrap { width: 100%; transform: none !important; }
}

/* ==================================================================
   تم روز (روشن) — همان هویت سبز، فقط رنگ‌بندی روشن
   ================================================================== */
:root[data-theme="light"] {
  --background: #eef6f1;
  --foreground: #132a20;

  --card: #ffffff;
  --card-foreground: #132a20;

  --primary: #0e9c72;
  --primary-foreground: #ffffff;
  --primary-glow: rgba(14, 156, 114, 0.25);

  --secondary: #dcefe5;
  --secondary-foreground: #0b5c41;

  --muted: #e7f0ea;
  --muted-foreground: #5d7468;

  --accent: #d8ede2;
  --accent-foreground: #0a6b4d;

  --border: #d5e4da;
  --input: #ffffff;
  --ring: #0e9c72;

  --gold: #b8862e;
  --gold-soft: #9a6d1f;

  --surface: #ffffff;
  --surface-2: #f3f9f5;
  --line: #e0ebe4;

  --shadow-lg: 0 24px 60px -28px rgba(19, 42, 32, 0.25);
}
/* سطوح اصلی */
html[data-theme="light"] ::selection { background: rgba(14, 156, 114, 0.25); color: #0b2e1f; }
html[data-theme="light"] ::-webkit-scrollbar { background: #e6f0ea; }
html[data-theme="light"] ::-webkit-scrollbar-thumb { background: #b9d4c5; border: 2px solid #e6f0ea; }
html[data-theme="light"] ::-webkit-scrollbar-thumb:hover { background: #93bfa8; }
html[data-theme="light"] { scrollbar-color: #b9d4c5 #e6f0ea; color-scheme: light; }
html[data-theme="light"] .glass { background: rgba(255, 255, 255, 0.78); }
html[data-theme="light"] .topbar { background: rgba(255, 255, 255, 0.72); border-bottom-color: rgba(14, 156, 114, 0.18); }
html[data-theme="light"] .site-header.scrolled .header-main { background: rgba(255, 255, 255, 0.85); box-shadow: 0 18px 40px -22px rgba(19, 42, 32, 0.3); }
html[data-theme="light"] .search-box__field { background: var(--surface-2); border-color: var(--border); }
html[data-theme="light"] .btn-mobile { background: rgba(255, 255, 255, 0.7); }
html[data-theme="light"] .nav-bar { background: rgba(255, 255, 255, 0.94); border-bottom-color: rgba(14, 156, 114, 0.16); }
html[data-theme="light"] .dropdown { background: rgba(255, 255, 255, 0.96); }
html[data-theme="light"] .mega { background: rgba(255, 255, 255, 0.96); box-shadow: 0 40px 80px -34px rgba(19, 42, 32, 0.4); }
html[data-theme="light"] .mega__col { background: rgba(14, 156, 114, 0.055); border-color: rgba(14, 156, 114, 0.16); }
html[data-theme="light"] .ls-results { background: rgba(255, 255, 255, 0.98); box-shadow: 0 32px 70px -28px rgba(19, 42, 32, 0.45); }
html[data-theme="light"] .mobile-menu { background: rgba(250, 253, 251, 0.97); }
html[data-theme="light"] .mobile-menu::before { opacity: 0.5; }
html[data-theme="light"] .mobile-menu__close { color: var(--foreground); }
html[data-theme="light"] .mobile-menu__item { color: var(--foreground); }
html[data-theme="light"] .mobile-sub { background: rgba(14, 156, 114, 0.06); }
html[data-theme="light"] .mobile-overlay { background: rgba(19, 42, 32, 0.4); }
html[data-theme="light"] .preloader { background: var(--background); }
html[data-theme="light"] .hero__overlay { background: linear-gradient(to bottom, rgba(238, 246, 241, 0.8), rgba(238, 246, 241, 0.72), var(--background)); }
html[data-theme="light"] .hero__bg > img { opacity: 0.5; }
html[data-theme="light"] .hero__badge { background: rgba(184, 134, 46, 0.08); border-color: rgba(184, 134, 46, 0.3); }
html[data-theme="light"] .ticker { background: linear-gradient(to left, rgba(14, 156, 114, 0.08), rgba(255, 255, 255, 0.65), rgba(184, 134, 46, 0.06)); }
html[data-theme="light"] .ticker__viewport::before { background: linear-gradient(to left, rgba(255, 255, 255, 0.95), transparent); }
html[data-theme="light"] .ticker__viewport::after { background: linear-gradient(to right, rgba(255, 255, 255, 0.95), transparent); }
html[data-theme="light"] .fcard { background: var(--card); }
html[data-theme="light"] .section--pattern { background-color: var(--background); }
html[data-theme="light"] .islamic-pattern { opacity: 0.55; }
html[data-theme="light"] .occ-card { background: linear-gradient(160deg, rgba(14, 156, 114, 0.08), rgba(255, 255, 255, 0.92) 55%); }
html[data-theme="light"] .occ-card--hl { background: linear-gradient(160deg, rgba(217, 180, 92, 0.14), rgba(255, 255, 255, 0.95) 60%); }
html[data-theme="light"] .ucard { background: var(--card); }
html[data-theme="light"] .org-zoom { background: var(--surface); }
html[data-theme="light"] .org-zoom__bar { background: rgba(255, 255, 255, 0.9); }
html[data-theme="light"] .org-card { background: linear-gradient(165deg, rgba(14, 156, 114, 0.08), rgba(255, 255, 255, 0.95) 55%); box-shadow: 0 20px 40px -26px rgba(19, 42, 32, 0.35); }
html[data-theme="light"] .zscf__type { background: var(--surface-2); }
html[data-theme="light"] .zscf__type-label { color: var(--foreground); }
html[data-theme="light"] .zscf__field input, html[data-theme="light"] .zscf__field select, html[data-theme="light"] .zscf__field textarea { background: var(--card); color: var(--foreground); }
html[data-theme="light"] .zscf__result, html[data-theme="light"] .zscf__reply { background: var(--surface-2); }
html[data-theme="light"] .toast { background: rgba(255, 255, 255, 0.97); color: var(--foreground); }
html[data-theme="light"] .to-top { background: rgba(255, 255, 255, 0.9); color: var(--primary); }
html[data-theme="light"] .stat__value { filter: none; }
html[data-theme="light"] .text-gradient-green { background: linear-gradient(120deg, #0a7a57 0%, #0e9c72 55%, #a67c1f 130%); -webkit-background-clip: text; background-clip: text; }
html[data-theme="light"] .footer-update strong { color: var(--foreground); }
html[data-theme="light"] .org-chart-note, html[data-theme="light"] .occ-poster__caption strong { color: #ffffff; }
/* فوتر روشن */
html[data-theme="light"] .site-footer { background: var(--surface-2); }
html[data-theme="light"] .footer-copy { background: var(--surface); border-top-color: var(--border); }
/* فرم‌ها و ورودی‌ها */
html[data-theme="light"] input, html[data-theme="light"] select, html[data-theme="light"] textarea { color: var(--foreground); }
/* سایه‌های نرم‌تر */
html[data-theme="light"] .fcard, html[data-theme="light"] .scard, html[data-theme="light"] .panel, html[data-theme="light"] .lcard { box-shadow: 0 18px 40px -28px rgba(19, 42, 32, 0.28); }
/* گذار نرم بین دو تم */
.site-header, .header-main, .topbar, .nav-bar, .site-footer, .footer-copy,
.fcard, .scard, .panel, .ucard, .occ-card, .quick-card, .poster-chip, .mega, .ls-results,
.mobile-menu, .org-zoom, .org-card, .hero__overlay, .ticker, .theme-btn, .btn-mobile {
  transition-property: background, background-color, border-color, color, box-shadow, transform, opacity;
}

/* تکمیل تم روشن — کنتراست لینک‌ها و سطوح ورودی */
html[data-theme="light"] .btn--ghost { color: rgba(19, 42, 32, 0.8); }
html[data-theme="light"] .btn--ghost:hover { color: var(--gold); }
html[data-theme="light"] .nav-link { color: rgba(19, 42, 32, 0.82); }
html[data-theme="light"] .nav-link:hover,
html[data-theme="light"] .nav-item.open > .nav-link { color: var(--primary); }
html[data-theme="light"] .search-box__input { background: #ffffff; color: var(--foreground); }
html[data-theme="light"] .search-box__input::placeholder { color: rgba(93, 116, 104, 0.75); }
html[data-theme="light"] .search-box__submit { background: rgba(14, 156, 114, 0.12); }
html[data-theme="light"] .theme-btn { color: var(--muted-foreground); }
html[data-theme="light"] .theme-btn__icon--moon { color: var(--muted-foreground); }
html[data-theme="light"] .fontsize-group { background: var(--surface); }
html[data-theme="light"] .stat__label { color: var(--muted-foreground); }
html[data-theme="light"] .topbar__bism { color: var(--gold); }
html[data-theme="light"] .ticker__label { color: var(--gold); }
html[data-theme="light"] .hero__badge { color: var(--gold); }
html[data-theme="light"] .service-img-btn { box-shadow: 0 10px 26px -14px rgba(19, 42, 32, 0.45); }
html[data-theme="light"] .brand__logo { background: linear-gradient(135deg, rgba(14, 156, 114, 0.12), rgba(184, 134, 46, 0.1)); }
html[data-theme="light"] .ls-item__title { color: var(--foreground); }
html[data-theme="light"] .footer-copy { color: var(--muted-foreground); }
html[data-theme="light"] .footer-copy__inner { color: var(--muted-foreground); }
html[data-theme="light"] .site-footer { color: var(--foreground); }
html[data-theme="light"] .footer-update strong { color: var(--foreground); }
/* دکمهٔ شب/روز در حالت روشن */
html[data-theme="light"] .theme-btn:hover { color: var(--gold); }

/* متن کارت چارت سازمانی در تم روشن */
html[data-theme="light"] .org-card__name { color: var(--foreground); }
html[data-theme="light"] .org-card__pos { color: #0a7a57; }
html[data-theme="light"] .org-card--group .org-card__name { color: var(--gold); }
html[data-theme="light"] .org-card__unit { background: var(--surface-2); border-color: var(--border); }
html[data-theme="light"] .org-card__photo { border-color: rgba(14, 156, 114, 0.4); }
html[data-theme="light"] .org-card__photo--letter { background: rgba(14, 156, 114, 0.12); color: var(--primary); }
html[data-theme="light"] .org-node::before, html[data-theme="light"] .org-node::after { border-top-color: rgba(14, 156, 114, 0.3); }
html[data-theme="light"] .org-node::after { border-left-color: rgba(14, 156, 114, 0.3); }
html[data-theme="light"] .org-children::before { background: linear-gradient(180deg, rgba(14, 156, 114, 0.55), rgba(14, 156, 114, 0.25)); }

/* حالت بدون تصویر: دسترسی سریع تمام‌عرض */
.poster-row--no-poster { grid-template-columns: minmax(0, 1fr); }
.poster-row--no-poster .poster-quick { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) {
  .poster-row--no-poster .poster-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
