:root {
  --navy: #0b1d3a;
  --navy-deep: #061020;
  --navy-mid: #14294b;
  --gold: #c9a227;
  --gold-soft: #e4c766;
  --ivory: #f7f5ef;
  --white: #ffffff;
  --ink: #1c2733;
  --ink-soft: #55606e;
  --line: rgba(11, 29, 58, 0.1);

  --font-fa: "Vazirmatn", sans-serif;
  --font-latin: "Space Grotesk", sans-serif;

  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* fluid spacing/type helpers */
  --nav-h: 78px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
   
    font-family: 'IRANSansFanum', var(--font-fa), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
 
    direction: rtl;  
    text-align: right;
    
    color: var(--ink);
    background: var(--white);
    overflow-x: hidden;
}
h1, h2, h3, h4, .display-font {
  font-family: 'IRANSansFanum', var(--font-fa), sans-serif;  
  font-weight: 800;
}
.latin {
  font-family: var(--font-latin);
  letter-spacing: 0.02em;
}

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

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
  /* font-family: var(--font-latin); */
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
  flex-shrink: 0;
}
/* تعریف فونت IRANSansfanum */
@font-face {
    font-family: 'IRANSansFanum';
    src: url('/assets/fonts/iransansfanum/woff2/IRANSansWeb(FaNum).woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* باعث می‌شود متن سریعتر نمایش داده شود */
}

@font-face {
    font-family: 'IRANSansFanum';
    src: url('/assets/fonts/iransansfanum/woff2/IRANSansWeb(FaNum)_Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
.btn-gold {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: var(--navy-deep);
  border: none;
  font-weight: 700;
  padding: 0.85rem 2.1rem;
  border-radius: var(--radius-sm);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
  box-shadow: 0 6px 18px rgba(201, 162, 39, 0.22);
}
.btn-gold::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.55) 48%,
    transparent 66%
  );
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(201, 162, 39, 0.32);
  color: var(--navy-deep);
}
.btn-gold:hover::before {
  transform: translateX(120%);
}
.btn-outline-lux {
  position: relative;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  background: transparent;
  padding: 0.82rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  z-index: 0;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease),
    letter-spacing 0.4s var(--ease);
}
.btn-outline-lux::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.btn-outline-lux:hover {
  color: var(--navy-deep);
  border-color: var(--gold);
  letter-spacing: 0.03em;
}
.btn-outline-lux:hover::before {
  transform: scaleX(1);
}

/* ===== Header ===== */
#mainNav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.4s var(--ease);
  background: linear-gradient(
    to bottom,
    rgba(6, 16, 32, 0.65),
    rgba(6, 16, 32, 0)
  );
}
#mainNav::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
#mainNav.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 30px rgba(11, 29, 58, 0.1);
  padding: 0.55rem 0;
}
#mainNav.scrolled::after {
  opacity: 1;
}

/* ---- Brand / logo badge (shared by desktop nav + mobile offcanvas) ---- */
.brandmark {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  min-width: 0;
}
.logo-badge {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(160deg, #ffffff, #f2ede0 120%);
  border: 1px solid rgba(201, 162, 39, 0.45);
  box-shadow: 0 10px 26px rgba(2, 8, 20, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s var(--ease);
}
.logo-badge img {
  width: 38px;
  height: auto;
  display: block;
}
#mainNav.scrolled .logo-badge {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  box-shadow: 0 5px 16px rgba(11, 29, 58, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}
#mainNav.scrolled .logo-badge img {
  width: 31px;
}

.brand-text {
  line-height: 1;
  white-space: nowrap;
}
.brand-text .word {
  font-family: 'IRANSansFanum', var(--font-fa), sans-serif; /* تغییر این خط */
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0;
  color: #fff;
  transition: 0.3s;
  display: inline-flex; /* اضافه شده برای جلوگیری از تداخل خطوط */
  align-items: center;
}
#mainNav.scrolled .brand-text .word {
  color: var(--navy);
}
.brand-gold {
  color: var(--gold-soft);
  transition: color 0.3s ease;
}
#mainNav.scrolled .brand-gold {
  color: var(--gold);
}

#mainNav .btn-gold {
  padding: 0.6rem 1.8rem;
  font-size: 0.9rem;
}

/* ===== منوی ناوبری دسکتاپ ===== */
.nav-link-lux {
  color: rgba(255, 255, 255, 0.82) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s var(--ease);
  position: relative;
}
#mainNav.scrolled .nav-link-lux {
  color: var(--ink-soft) !important;
}
.nav-link-lux:hover {
  color: #fff !important;
}
#mainNav.scrolled .nav-link-lux:hover {
  color: var(--navy) !important;
}
.nav-link-lux::after {
  content: "";
  position: absolute;
  bottom: 0.15rem;
  right: 1rem;
  left: 1rem;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav-link-lux:hover::after {
  transform: scaleX(1);
}

/* ===== مگا منو (زیرمجموعه‌ها) — دسکتاپ ===== */
.has-mega {
  position: relative;
}
.mega-panel {
  position: absolute;
  top: 100%;
  right: -70px;
  left: auto;
  width: 680px;
  max-width: calc(100vw - 2.5rem);
  background: #fff;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 30px 60px rgba(11, 29, 58, 0.16);
  padding: 2.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transition: all 0.35s var(--ease);
  pointer-events: none;
  z-index: 999;
}
.has-mega:hover .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
#mainNav.scrolled .mega-panel {
  box-shadow: 0 30px 60px rgba(11, 29, 58, 0.2);
}
.mega-item {
  display: block;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  color: var(--navy);
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  border: 1px solid transparent;
  border-right: 2px solid transparent;
}
.mega-item:hover {
  background: var(--ivory);
  border-color: var(--line);
  border-right-color: var(--gold);
}
.mega-item .n {
  font-family: var(--font-latin);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  display: inline-block;
  margin-bottom: 4px;
}
.mega-item h6 {
  margin: 0.35rem 0 0.2rem;
  font-weight: 700;
  font-size: 1rem;
}
.mega-item p {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ===== دکمه همبرگری (موبایل) ===== */
.navbar-toggler {
  border: none;
  padding: 8px;
  color: #fff;
  transition: all 0.3s;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}
#mainNav.scrolled .navbar-toggler {
  color: var(--navy);
  background: rgba(11, 29, 58, 0.06);
}
.navbar-toggler:hover {
  opacity: 0.8;
}

/* ===== منوی موبایل (Offcanvas) ===== */
.offcanvas {
  visibility: hidden;
  z-index: 1055;
}
.offcanvas.show {
  visibility: visible;
}
.offcanvas-backdrop {
  z-index: 1050;
}
.offcanvas.offcanvas-start {
  width: min(86vw, 320px);
  direction: rtl;
  background: var(--navy);
  color: #fff;
}
.offcanvas-header {
  padding: 1.1rem 1.25rem;
}
.offcanvas .brandmark .logo-badge {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.offcanvas .brandmark .logo-badge img {
  width: 34px;
}
.offcanvas .brandmark .word {
  color: #fff !important;
  font-size: 1.1rem;
}

.offcanvas-body {
  padding: 1.1rem 1rem 1.5rem;
}
.offcanvas-body > a,
.offcanvas-body .mobile-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border-right: 2px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.offcanvas-body a:hover,
.offcanvas-body a:focus-visible {
  background: rgba(201, 162, 39, 0.12);
  border-right-color: var(--gold);
}

/* آکاردئون زیرمجموعه‌ها در موبایل */
.mobile-sub-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
}
.mobile-sub-toggle svg {
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}
.mobile-sub-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.mobile-sub-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.35rem 0.5rem 0.5rem 1.1rem;
}
.mobile-sub-list a {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-right: 2px solid rgba(201, 162, 39, 0.35);
  transition: all 0.2s ease;
}
.mobile-sub-list a:hover {
  background: rgba(201, 162, 39, 0.12);
  border-right-color: var(--gold);
}
.mobile-sub-list .n {
  font-family: var(--font-latin);
  color: var(--gold-soft);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}
.mobile-sub-list .t {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}
.mobile-sub-list .d {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

.offcanvas hr {
  border-color: rgba(255, 255, 255, 0.12);
  margin: 1rem 0;
}
.offcanvas-body .btn-gold {
  font-size: 1rem;
  padding: 0.85rem;
  width: 100%;
  text-align: center;
}

/* ===== Hero ===== */
.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  color: #fff;
  padding-top: 7rem;
  padding-bottom: 4rem;
  overflow: hidden;

  background-image: url("../img/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero .container {
  position: relative;
  z-index: 1;
}

.hero .glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(201, 162, 39, 0.16),
    transparent 70%
  );
  top: -10%;
  left: -10%;
  filter: blur(60px);
  z-index: 0;
}
.hero-eyebrow {
  color: var(--gold-soft);
  justify-content: flex-start;
}
.hero h1 {
  font-size: clamp(1.85rem, 5.2vw, 3.6rem);
  line-height: 1.3;
  font-weight: 800;
  margin: 1.1rem 0 1.3rem;
  text-wrap: balance;
}
.hero h1 span {
  color: var(--gold-soft);
}
.hero p.lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.98rem, 1.6vw, 1.12rem);
  max-width: 520px;
  margin-bottom: 2rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-cta .btn {
  white-space: nowrap;
}

.scroll-cue {
  position: absolute;
  bottom: 1.6rem;
  right: 50%;
  transform: translateX(50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  animation: floaty 2.4s ease-in-out infinite;
  z-index: 1;
}
@keyframes floaty {
  0%,
  100% {
    transform: translate(50%, 0);
  }
  50% {
    transform: translate(50%, 8px);
  }
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
  .hero {
    padding-top: 6rem;
    padding-bottom: 3.5rem;
  }
}

@media (max-width: 576px) {
  .brandmark {
    gap: 0.6rem;
  }
  .logo-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .logo-badge img {
    width: 28px;
  }
  #mainNav.scrolled .logo-badge {
    width: 40px;
    height: 40px;
  }
  #mainNav.scrolled .logo-badge img {
    width: 26px;
  }
  .brand-text .word {
    font-size: 1rem;
  }

  #mainNav .btn-gold {
    display: none !important;
  } /* دکمه CTA در موبایل داخل offcanvas است */

  .hero {
    background-image: url("../img/hero-bg-mobile.jpg");
    background-size: contain; /* به‌جای cover — کل عکس نمایش داده می‌شود */
    background-repeat: no-repeat;
    background-position: top center;
    background-color: var(--navy-deep); /* رنگ پرکننده فضای خالی اطراف عکس */
    padding-top: 5.5rem;
    min-height: 100svh;
    text-align: right;
  }
  /* لایه تیرگی فقط در موبایل، برای خوانایی متن روی تصویر پس‌زمینه */
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(6, 16, 32, 0.55) 0%,
      rgba(6, 16, 32, 0.35) 45%,
      rgba(6, 16, 32, 0.8) 100%
    );
    z-index: 0;
  }
  .hero h1 {
    font-size: clamp(1.5rem, 6.5vw, 2rem);
    margin: 0.9rem 0 1rem;
  }
  .hero p.lead {
    font-size: 0.95rem;
    max-width: none;
    margin-bottom: 1.6rem;
  }
  .hero-cta {
    flex-direction: column;
  }
  .hero-cta .btn {
    width: 100%;
    text-align: center;
  }
  .scroll-cue {
    display: none;
  }
}

/* ============================================================
   بخش‌های زیر هیرو — زیرمجموعه‌ها / اکوسیستم / چرا ما / تیم / اخبار
   ============================================================ */

.section {
  padding: 6rem 0;
}
.section-tight {
  padding: 4.5rem 0;
}
.bg-cream {
  background: var(--ivory);
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3.2rem;
}
.section-head .eyebrow {
  justify-content: center;
  color: var(--gold);
}
.section-head .eyebrow::before {
  display: none;
}
.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0 0 0.75rem;
  color: var(--navy);
}
.section-head p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin: 0;
}

/* ---- زیرمجموعه‌ها: کارت‌ها ---- */
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}
.card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.7rem 2.1rem;
  text-align: center;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    border-color 0.45s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 55px -26px rgba(11, 29, 58, 0.24);
  border-color: transparent;
}
.card:hover::before {
  transform: scaleX(1);
}
.card-num {
  position: absolute;
  top: 1.2rem;
  left: 1.4rem;
  font-family: var(--font-latin);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(11, 29, 58, 0.16);
  transition: color 0.4s var(--ease);
}
.card:hover .card-num {
  color: rgba(201, 162, 39, 0.55);
}
.card .icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.35rem;
  box-shadow: 0 10px 22px -12px rgba(11, 29, 58, 0.18);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.card:hover .icon-wrap {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 14px 28px -12px rgba(201, 162, 39, 0.35);
}
.card h3 {
  font-size: 1.08rem;
  font-weight: 800;
  margin: 0 0 0.65rem;
  color: var(--navy);
}
.card p {
  font-size: 0.87rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 1.4rem;
  min-height: 44px;
}
.card-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid transparent;
  transition: gap 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.card:hover .card-link {
  gap: 0.7rem;
  color: var(--navy);
  border-color: rgba(11, 29, 58, 0.15);
}
.card-link svg {
  transition: transform 0.35s var(--ease);
}
.card:hover .card-link svg {
  transform: translateX(-3px);
}
.icon-green {
  background: linear-gradient(155deg, #eef9f2, #dbf1e3);
  color: #1f8a4f;
}
.icon-purple {
  background: linear-gradient(155deg, #f3eefc, #e6dbf8);
  color: #6d43c4;
}
.icon-orange {
  background: linear-gradient(155deg, #fef1e6, #fbe1cc);
  color: #c56a1f;
}
.icon-blue {
  background: linear-gradient(155deg, #eaf4fd, #d9ebfa);
  color: #265f9c;
}
.center-btn {
  text-align: center;
  margin-top: 2.8rem;
}

/* دکمه سومِ ست دکمه‌ها — outline تیره برای زمینه‌های روشن */
.btn-outline-dark {
  position: relative;
  overflow: hidden;
  z-index: 0;
  border: 1.5px solid rgba(11, 29, 58, 0.25);
  color: var(--navy);
  background: transparent;
  padding: 0.82rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn-outline-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.btn-outline-dark:hover {
  color: #fff;
  border-color: var(--navy);
}
.btn-outline-dark:hover::before {
  transform: scaleX(1);
}

/* ---- اکوسیستم (دایاگرام تیره) ---- */
.ecosystem {
  background: radial-gradient(
    circle at 50% 30%,
    var(--navy-mid) 0%,
    var(--navy-deep) 70%
  );
  color: #fff;
  position: relative;
  overflow: hidden;
}
.eco-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.eco-copy .eyebrow {
  color: var(--gold-soft);
}
.eco-copy h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 1rem;
  color: #fff;
}
.eco-copy p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.98rem;
  margin: 0 0 1.8rem;
  max-width: 440px;
}

.eco-diagram {
  position: relative;
  height: 420px;
}
.eco-diagram svg.lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.eco-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--navy-mid), var(--navy-deep));
  border: 1px solid rgba(201, 162, 39, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  box-shadow: 0 0 60px rgba(201, 162, 39, 0.15),
    inset 0 0 30px rgba(0, 0, 0, 0.4);
  z-index: 3;
}
.eco-center .p-mark {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, var(--gold-soft), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--navy-deep);
  font-family: var(--font-latin);
}
.eco-center span {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}
.eco-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  backdrop-filter: blur(4px);
  z-index: 2;
}
.eco-node .ico {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(201, 162, 39, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-soft);
  flex: none;
}
.eco-node b {
  display: block;
  font-size: 0.8rem;
  color: #fff;
}
.eco-node small {
  display: block;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.5);
}
.eco-node.n1 {
  top: 0;
  right: 0;
}
.eco-node.n2 {
  top: 2%;
  left: 0;
}
.eco-node.n3 {
  bottom: 2%;
  right: 4%;
}
.eco-node.n4 {
  bottom: 0;
  left: 6%;
}

/* ---- چرا پویا هلدینگ ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.1rem;
}
.why-item {
  text-align: center;
  padding: 1.75rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  transition: border-color 0.3s ease, transform 0.3s var(--ease);
}
.why-item:hover {
  border-color: rgba(201, 162, 39, 0.4);
  transform: translateY(-3px);
}
.why-item .icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f7ecd4;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.why-item h4 {
  font-size: 0.94rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--navy);
}
.why-item p {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ---- بپیوندید به تیم ---- */
.join {
  background: var(--navy-deep);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.join-photo {
  position: relative;
  min-height: 420px;
  background: linear-gradient(
      100deg,
      rgba(6, 16, 32, 0.15),
      rgba(6, 16, 32, 0.75)
    ),
    linear-gradient(135deg, var(--navy-mid), var(--navy-deep) 60%, var(--navy));
}
.join-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      circle at 20% 30%,
      rgba(201, 162, 39, 0.18),
      transparent 45%
    ),
    radial-gradient(circle at 80% 70%, rgba(60, 110, 180, 0.2), transparent 50%);
}
.join-photo .avatars {
  position: absolute;
  bottom: 1.75rem;
  right: 1.75rem;
  display: flex;
}
.join-photo .avatars .av {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid var(--navy-deep);
  background: linear-gradient(150deg, var(--gold-soft), var(--navy-mid));
  margin-right: -16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
}
.join-copy {
  padding: 3.5rem 3rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.join-copy h2 {
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  margin: 0 0 0.9rem;
  color: #fff;
}
.join-copy p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  margin: 0 0 1.9rem;
}
.join-points {
  display: flex;
  gap: 1.6rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.join-point {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.join-point .ico {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(201, 162, 39, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-soft);
}
.join-point span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
}

/* ---- اخبار ---- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.news-card {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 45px -25px rgba(11, 29, 58, 0.22);
}
.news-thumb {
  height: 180px;
  position: relative;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-deep));
}
.news-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 30% 30%,
    rgba(201, 162, 39, 0.25),
    transparent 55%
  );
}
.news-tag {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
}
.news-body {
  padding: 1.4rem;
}
.news-body h3 {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 0.75rem;
  color: var(--navy);
}
.news-date {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

/* ---- نمایش تدریجی هنگام اسکرول ---- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- ریسپانسیو بخش‌های جدید ---- */
@media (max-width: 991.98px) {
  .cards-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .eco-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .eco-diagram {
    height: 340px;
  }
  .eco-node small {
    display: none;
  }
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .join {
    grid-template-columns: 1fr;
  }
  .join-photo {
    min-height: 240px;
  }
  .join-copy {
    padding: 2.2rem 1.8rem;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 4rem 0;
  }
  .section-tight {
    padding: 3rem 0;
  }
  .cards-4 {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .join-points {
    gap: 1rem;
  }
  .join-copy {
    padding: 1.8rem 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .scroll-cue {
    animation: none;
  }
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  background: radial-gradient(
    circle at 50% 0%,
    var(--navy-mid) 0%,
    var(--navy-deep) 65%
  );
  color: rgba(255, 255, 255, 0.75);
  padding-top: 5rem;
  overflow: hidden;
}
.footer-glow {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(201, 162, 39, 0.14),
    transparent 70%
  );
  bottom: -20%;
  left: -8%;
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
}

.footer-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---- ستون برند ---- */
.footer-brand-col {
  padding-left: 1rem;
}
.footer-brand {
  display: inline-flex;
  margin-bottom: 1.3rem;
}
.footer-brand .logo-badge {
  width: auto;
  height: auto;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-brand .logo-badge img {
  width: 44px;
  height: auto;
}
.footer-brand .brand-text .word {
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
}
.footer-about {
  font-size: 0.86rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.55);
  max-width: 340px;
  margin-bottom: 1.6rem;
}
.footer-social {
  display: flex;
  gap: 0.6rem;
}
.social-ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}
.social-ico:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-3px);
}

/* ---- عناوین ستون‌ها ---- */
.footer-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.4rem;
  position: relative;
  padding-bottom: 0.7rem;
}
.footer-title::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--gold);
}

/* ---- لینک‌ها ---- */
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.86rem;
  transition: color 0.3s var(--ease), padding-right 0.3s var(--ease);
  position: relative;
  padding-right: 0;
}
.footer-links a::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  transition: width 0.3s var(--ease), margin 0.3s var(--ease);
}
.footer-links a:hover {
  color: #fff;
  padding-right: 0.4rem;
}
.footer-links a:hover::before {
  width: 10px;
  margin-left: 0.4rem;
}

/* ---- تماس ---- */
.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}
.footer-contact .ico {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(201, 162, 39, 0.12);
  color: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-contact a,
.footer-contact span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  line-height: 1.6;
  padding-top: 0.35rem;
}
.footer-contact a:hover {
  color: var(--gold-soft);
}

/* ---- نوار پایینی ---- */
.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.6rem 0 1.9rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.footer-bottom-links a:hover {
  color: var(--gold-soft);
}
.footer-bottom-links .dot {
  color: rgba(255, 255, 255, 0.25);
}

/* ---- ریسپانسیو ---- */
@media (max-width: 991.98px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    row-gap: 2.6rem;
  }
  .footer-brand-col {
    grid-column: 1 / -1;
    padding-left: 0;
  }
}

@media (max-width: 576px) {
  .site-footer {
    padding-top: 3.5rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
  }
}

/* ============================================================
   USER ICON BUTTON (ورود / ثبت‌نام) — کنار دکمه «همکاری با ما»
   ============================================================ */
.user-icon-btn {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}
.user-icon-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-1px);
}
#mainNav.scrolled .user-icon-btn {
  border-color: rgba(11, 29, 58, 0.18);
  color: var(--navy);
}
#mainNav.scrolled .user-icon-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}
