:root {

  /* =====================================================
     BASE BACKGROUNDS
  ===================================================== */

  --cream-light: #faf8f3;
  --cream: #f5f2ea;
  --cream-2: #ebe7dc;
  --cream-3: #e4e0d4;
  --cream-4: #ddd9cc;
  --cream-5: #d6d2c6;

  /* =====================================================
     SAGE PALETTE (Brand)
  ===================================================== */

  --sage-soft: #b8c9a8;
  --sage-accent: #a4b891;
  --sage: #8fa377;
  --sage-dark: #6b8456;
  --sage-deeper: #4a5d3a;

  /* aliases برای هماهنگی کد */
  --sage-alt: var(--sage);
  --sage-alt-dark: var(--sage-deeper);

  /* =====================================================
     GOLD ACCENT
  ===================================================== */

  --gold: #d4af37;
  --gold-soft: #e2c76b;
  --gold-bright: #f0d879;
  --gold-bright-border: #e6c85c;

  /* =====================================================
     TEXT COLORS
  ===================================================== */

  --charcoal: #2d2d2d;
  --charcoal-2: #5a5a5a;
  --charcoal-light: #4a4a4a;
  --white: #ffffff;

  /* =====================================================
     FOOTER COLORS
  ===================================================== */

  --footer-text: rgba(255,255,255,0.92);
  --footer-muted: rgba(255,255,255,0.68);
  --footer-bottom: rgba(255,255,255,0.55);

  /* =====================================================
     INPUT / UI
  ===================================================== */

  --placeholder: #9a9a9a;

  /* =====================================================
     SHADOW SYSTEM
  ===================================================== */

  --shadow-soft: 0 2px 12px rgba(143,163,119,0.08);
  --shadow-medium: 0 4px 20px rgba(143,163,119,0.12);
  --shadow-strong: 0 8px 30px rgba(143,163,119,0.16);

  --shadow-sm: 0 4px 14px rgba(45,47,43,0.06);
  --shadow-md: 0 10px 30px rgba(45,47,43,0.10);
  --shadow-lg: 0 20px 50px rgba(45,47,43,0.14);

  /* =====================================================
     MOTION
  ===================================================== */

  --transition-base: 0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 0.5s cubic-bezier(0.4,0,0.2,1);
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);

  /* =====================================================
     LAYOUT
  ===================================================== */

  --radius: 18px;
  --radius-lg: 28px;

  --maxw: 1180px;

}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Vazirmatn', system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(1200px 600px at 100% -10%, var(--cream-light) 0%, transparent 60%),
    radial-gradient(1000px 500px at -10% 10%, var(--cream-2) 0%, transparent 55%),
    repeating-linear-gradient(
      45deg,
      rgba(143, 163, 119, 0.03) 0px,
      rgba(143, 163, 119, 0.03) 2px,
      transparent 2px,
      transparent 10px
    ),
    var(--cream-2);  /* از cream-2 استفاده کن به جای cream که تیره‌تر و خاکی‌تره */
  color: var(--charcoal);
  line-height: 1.85;
  overflow-x: hidden;
}
/* Justify all paragraph-like texts */
p,
li,
.section-sub,
.hero-note p,
.media-card__desc,
.about-intro-box p,
.about-necessity-text p,
.dual-card p,
.vision-box p,
.mission-box p,
.mission-end,
.qr-note,
.footer-brand p,
.campaign-box p {
  text-align: justify;
  text-justify: inter-word;
  line-height: 2;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.section { padding: 76px 0; }

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--charcoal);
  text-align: center;
  margin-bottom: 12px;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 64px; height: 4px;
  margin: 14px auto 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--sage), var(--gold));
}
.section-sub {
  text-align: center;
  color: var(--charcoal-2);
  max-width: 760px;
  margin: 0 auto 44px;
  font-size: 1rem;
}

.tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 99px;
  background: rgba(124, 140, 108, 0.12);
  color: var(--sage-dark);
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

.vision-box{
  display:flex;
  align-items:center;
  gap:40px;
}

.vision-content{
  flex:1;
  text-align:right;
}

.vision-image{
  width:320px;
  flex-shrink:0;
}

.vision-image img{
  width:100%;
  height:auto;
  display:block;
  border-radius:20px;
}

@media (max-width:768px){
  .vision-box{
    flex-direction:column;
  }

  .vision-content{
    width:100%;
  }

  .vision-image{
    width:100%;
    max-width:350px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: var(--charcoal);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-sage { background: linear-gradient(135deg, var(--sage), var(--sage-dark)); color: var(--white); }
.btn-outline {
  background: transparent;
  border: 1px solid rgba(124,140,108,0.3);
  color: var(--sage-dark);
  box-shadow: none;
}
.btn-outline:hover {
  background: rgba(124,140,108,0.08);
  box-shadow: none;
}

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(235, 230, 215, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(124, 140, 108, 0.14);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.25rem; color: var(--charcoal);
}
.logo .mark {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sage), var(--sage-dark));
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.logo .brand-en {
  font-size: 0.72rem;
  color: var(--sage-dark);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 8px 14px; border-radius: 99px; font-size: 0.95rem; font-weight: 500;
  color: var(--charcoal-2); transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--sage-dark);
  background: rgba(124, 140, 108, 0.12);
}

.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 12px; color: var(--charcoal); }
.nav-toggle svg { width: 24px; height: 24px; margin: auto; }

/* =====================================================
   SLIDER
===================================================== */
.slider {
  position: relative;
  width: 100%;
  height: min(78vh, 700px);
  min-height: 420px;
  overflow: hidden;
  background: var(--cream-2);
}
.slides { width: 100%; height: 100%; position: relative; }
.slide {
  position: absolute; inset: 0;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1s ease, transform 6s ease;
  pointer-events: none;
}
.slide.active { opacity: 1; transform: scale(1); pointer-events: auto; }
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide-caption {
  position: absolute; z-index: 2; right: 0; left: 0; bottom: 0;
  padding: 0 24px 68px;
  text-align: center; color: var(--white);
}
.slide-caption h2 {
  font-size: clamp(1.7rem, 5vw, 3.3rem);
  font-weight: 800;
  margin-bottom: 10px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.3);
}
.slide-caption p {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  max-width: 700px;
  margin: 0 auto 22px;
  opacity: 0.96;
}
.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255,255,255,0.85); color: var(--charcoal);
  display: grid; place-items: center; box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.slider-arrow:hover { background: var(--white); transform: translateY(-50%) scale(1.08); }
.slider-arrow svg { width: 24px; height: 24px; }
.slider-arrow.prev { right: 18px; }
.slider-arrow.next { left: 18px; }

.slider-dots {
  position: absolute; bottom: 22px; right: 0; left: 0; z-index: 5;
  display: flex; justify-content: center; gap: 10px;
}
.dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: rgba(255,255,255,0.55); transition: var(--transition);
}
.dot.active { background: var(--gold); width: 30px; border-radius: 99px; }

/* =====================================================
   HERO NOTE
===================================================== */
.hero-note {
  background: linear-gradient(135deg, var(--cream-light), var(--cream-2));
  border: 1px solid rgba(124, 140, 108, 0.18);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
  margin-top: -50px;
  position: relative;
  padding: 28px;
  z-index: 5;
}
.hero-note-grid {
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 26px;
  align-items: center;
}
.hero-note h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: var(--charcoal);
  line-height: 1.9;
}
.hero-note p {
  color: var(--charcoal-2);
  line-height: 2.1;
  margin-bottom: 12px;
  text-align: justify;
  text-justify: inter-word;
}
.hero-info {
  background: rgba(124,140,108,0.08);
  border: 1px solid rgba(124,140,108,0.14);
  border-radius: 20px;
  padding: 20px;
}
.hero-info h4 {
  margin-bottom: 10px;
  color: var(--sage-dark);
  font-size: 1rem;
}
.hero-info ul {
  padding-right: 18px;
  color: var(--charcoal-2);
}
.hero-info li { margin: 10px 0; line-height: 1.9; }

.hero-lead {
  font-weight: 600;
  color: var(--charcoal);
  border-right: 4px solid rgba(124,140,108,0.55);
  padding-right: 10px;
  margin-bottom: 14px;
}

.more-text { display: none; }
.more-text.open { display: block; }

.btn-more {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 20px;
  border: 1px solid var(--sage-soft);
  background: var(--cream-light);
  color: var(--sage-dark);
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.25s ease;
}
.btn-more:hover {
  background: var(--sage-soft);
  color: var(--white);
  border-color: var(--sage);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

/* =====================================================
   MEDIA SECTION
===================================================== */


.media-section { padding: 84px 0 64px; }

.media-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
  direction: rtl;
}
.media-tabs [data-tab] {
  appearance: none;
  border: 1px solid rgba(124, 140, 108, 0.22);
  background: linear-gradient(180deg, rgba(255, 253, 247, 0.95), rgba(243, 239, 227, 0.95));
  color: var(--sage-dark);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(34, 40, 31, 0.06);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  min-height: 42px;
}
.media-tabs [data-tab]:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(34, 40, 31, 0.12);
  border-color: rgba(124, 140, 108, 0.35);
}
.media-tabs [data-tab].active,
.media-tabs [data-tab][aria-selected="true"] {
  background: linear-gradient(135deg, var(--sage), var(--sage-dark));
  color: var(--white);
}
.media-tabs [data-tab]:focus-visible {
  outline: 3px solid rgba(124, 140, 108, 0.28);
  outline-offset: 2px;
}

.media-panel { display: none; }
.media-panel.active { display: block; }
.media-section .media-panels { margin-top: 1rem; }

/* Media Cards - هماهنگ با طراحی سایت */
.media-card {
  background: linear-gradient(135deg, var(--cream-light), var(--white));
  border: 1px solid rgba(124, 140, 108, 0.18);
  border-radius: 24px;
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.media-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 140, 108, 0.32);
  box-shadow: var(--shadow-md);
}
.media-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.22), rgba(124,140,108,0.06));
  pointer-events: none;
}
.media-card h4 {
  margin: 0 0 0.4rem;
  color: var(--sage-dark);
}
.media-card .desc,
.media-card .meta {
  margin: 0;
  color: var(--charcoal-2);
}
.media-card__title {
  margin: 0 0 0.4rem;
  color: var(--sage-dark);
}
.media-card__desc {
  margin: 0;
  color: var(--charcoal-2);
}

/* Media Hero Actions */
.media-hero-actions {
  display: flex;
  justify-content: center;
  margin: 16px 0;
  padding: 14px;
}

.media-download-all {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: 22px;
  text-decoration: none;
  color: var(--white);
  background: linear-gradient(135deg, var(--sage-alt) 0%, var(--sage-alt-dark) 100%);
  box-shadow: 0 16px 36px rgba(85, 102, 74, 0.22), inset 0 1px 0 rgba(255,255,255,0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.media-download-all:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 42px rgba(85, 102, 74, 0.30), inset 0 1px 0 rgba(255,255,255,0.15);
  filter: saturate(1.05);
}
.media-download-all .btn-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  font-size: 1.15rem;
  flex: none;
}
.media-download-all strong {
  display: block;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 800;
}
.media-download-all small {
  display: block;
  margin-top: 2px;
  color: rgba(255,255,255,0.82);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* Panel Head */
.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.panel-head h3 { margin: 0 0 8px; }
.panel-head p { margin: 0; }

/* Media Grid */
.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

/* Card Actions */
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

/* Buttons for Media */
.btn-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid rgba(124, 140, 108, 0.18);
  color: var(--charcoal);
  background: linear-gradient(180deg, var(--cream-light) 0%, var(--cream-3) 100%);
  box-shadow: 0 8px 18px rgba(41, 41, 35, 0.05), inset 0 1px 0 rgba(255,255,255,0.85);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  font-weight: 700;
}
.btn-soft:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 140, 108, 0.32);
  box-shadow: 0 12px 24px rgba(41, 41, 35, 0.08), inset 0 1px 0 rgba(255,255,255,0.95);
  background: linear-gradient(180deg, var(--white) 0%, var(--cream-2) 100%);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 14px;
  border: 1px dashed rgba(124, 140, 108, 0.28);
  background: rgba(255, 255, 255, 0.52);
  color: var(--charcoal-2);
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
  font-weight: 700;
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 140, 108, 0.44);
  background: rgba(124, 140, 108, 0.08);
  color: var(--charcoal);
}

/* =====================================================
   AUDIO PLAYER
===================================================== */
.audio-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: linear-gradient(135deg, var(--cream-light), var(--cream-2));
  border: 1px solid rgba(124, 140, 108, 0.16);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}
.audio-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.audio-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--sage), var(--sage-dark));
  color: var(--white);
  box-shadow: 0 10px 22px rgba(124, 140, 108, 0.25);
  flex: none;
}
.audio-meta { min-width: 0; }
.audio-meta h4 {
  margin: 0;
  color: var(--charcoal);
  font-size: 1.02rem;
  line-height: 1.5;
}
.audio-meta p {
  margin: 4px 0 0;
  color: var(--charcoal-2);
  font-size: 0.92rem;
  line-height: 1.7;
}

.audio-player {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.audio-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.audio-play {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--white);
  background: linear-gradient(135deg, var(--sage), var(--sage-dark));
  box-shadow: 0 10px 24px rgba(124, 140, 108, 0.26);
  flex: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.audio-play:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(124, 140, 108, 0.30);
}
.audio-play:active { transform: scale(0.98); }
.audio-time {
  margin-inline-start: auto;
  color: var(--charcoal-2);
  font-size: 0.88rem;
  white-space: nowrap;
}
[dir="rtl"] .audio-time {
  margin-inline-start: 0;
  margin-inline-end: auto;
}

.audio-progress {
  width: 100%;
  height: 8px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  appearance: none;
  background: linear-gradient(
    to left,
    var(--gold) 0%,
    var(--gold) var(--progress, 0%),
    rgba(124, 140, 108, 0.12) var(--progress, 0%),
    rgba(124, 140, 108, 0.12) 100%
  );
}
.audio-progress:focus { outline: none; }
.audio-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold-bright);
  border: 2px solid var(--gold-bright-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.audio-progress::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: none;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.audio-progress::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(124, 140, 108, 0.10);
}

/* =====================================================
   ABOUT MANIFEST
===================================================== */
.about-manifest { max-width: 1080px; }
.about-intro { text-align: center; margin-bottom: 54px; }
.about-main-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.about-subtitle {
  font-size: 1.08rem;
  color: var(--sage-dark);
  font-weight: 800;
  text-align: center;
}

.about-divider {
  border: none;
  height: 1px;
  background: rgba(124,140,108,0.22);
  margin: 18px auto 24px;
  max-width: 240px;
}
.about-intro-box {
  max-width: 860px;
  margin: 0 auto;
  padding: 22px 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(124,140,108,0.10), rgba(194,161,77,0.10));
  border: 1px solid rgba(124,140,108,0.16);
  box-shadow: var(--shadow-sm);
}
.about-intro-box p {
  margin: 0;
  color: var(--charcoal);
  line-height: 2.1;
  font-size: 1.04rem;
}
.about-block {
  margin-bottom: 34px;
  padding: 28px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--cream-3), var(--cream-4));
  border: 1px solid rgba(124,140,108,0.12);
  box-shadow: var(--shadow-md);
}
.about-block-head { margin-bottom: 24px; }
.about-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(124,140,108,0.12);
  color: var(--sage-dark);
  font-size: 0.84rem;
  font-weight: 800;
}
.about-block-head h3 {
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  font-weight: 850;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.about-teaser {
  color: var(--gold);
  font-weight: 800;
  font-size: 0.98rem;
}
.about-necessity-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}
.about-necessity-text p {
  color: var(--charcoal-2);
  line-height: 2.05;
  margin-bottom: 14px;
}
.about-mini-quote {
  display: inline-block;
  margin-bottom: 16px;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(194,161,77,0.14);
  color: var(--charcoal);
  font-weight: 800;
}
.money-flow-card {
  position: relative;
  height: 100%;
  min-height: 320px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}
.money-flow-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.money-flow-card::after {
  content: "";
  position: absolute;
  inset: 0;
  /* background: linear-gradient(180deg, rgba(46,48,44,0.10), rgba(46,48,44,0.68)); */
}
.money-flow-overlay {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 22px;
  color: var(--white);
  font-size: 1.18rem;
  font-weight: 850;
  margin-bottom: 8px;
}
.money-flow-overlay p {
  margin: 0;
  opacity: 0.92;
  line-height: 1.9;
  font-size: 0.95rem;
}
.layers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.layer-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 22px;
  background: rgba(124,140,108,0.06);
  border: 1px solid rgba(124,140,108,0.12);
  transition: var(--transition);
}
.layer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.layer-num {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--sage), var(--sage-dark));
  color: var(--white);
}
.layer-body h4 {
  font-size: 1rem;
  font-weight: 850;
  margin-bottom: 6px;
  color: var(--charcoal);
}
.layer-body p {
  margin: 0;
  color: var(--charcoal-2);
  line-height: 1.95;
  font-size: 0.96rem;
}
.dual-model-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.dual-card,
.vision-box,
.mission-box {
  padding: 22px;
  border-radius: 22px;
  background: rgba(124,140,108,0.06);
  border: 1px solid rgba(124,140,108,0.12);
}
.dual-card h4 {
  font-size: 1.02rem;
  font-weight: 850;
  color: var(--sage-dark);
  margin-bottom: 10px;
}
.dual-card p,
.vision-box p,
.mission-box p {
  margin: 0;
  color: var(--charcoal-2);
  line-height: 2;
}
.about-check-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.about-check-list li {
  position: relative;
  padding-right: 28px;
  margin: 12px 0;
  color: var(--charcoal-2);
  line-height: 1.95;
}
.about-check-list li::before {
  content: "•";
  position: absolute;
  right: 8px;
  top: 0;
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 900;
}
.mission-end {
  margin-top: 18px !important;
  font-weight: 700;
  color: var(--charcoal) !important;
}

/* =====================================================
   INSTALL APP
===================================================== */
.install-wrap {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.install-card { flex: 1 1 100%; }
.qr-card { flex: 1 1 340px; }
.install-card,
.qr-card {
  background: rgba(124,140,108,0.06);
  border: 1px solid rgba(124,140,108,0.12);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.launch-timer {
  margin-top: 22px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(124,140,108,0.06);
  border: 1px dashed rgba(124,140,108,0.25);
  text-align: center;
}
.timer-title {
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--sage-dark);
}
.timer-grid {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.timer-box {
  min-width: 70px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(124,140,108,0.08);
  border: 1px solid rgba(124,140,108,0.18);
}
.timer-box span {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--sage-dark);
}
.timer-box small {
  font-size: .75rem;
  opacity: .7;
}

/* =====================================================
   CAMPAIGN
===================================================== */
.campaign-box {
  max-width: 980px;
  margin: 0 auto;
  background: rgba(124,140,108,0.06);
  border: 1px solid rgba(124,140,108,0.12);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.campaign-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.campaign-box h2 {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  margin-bottom: 16px;
  color: var(--sage-dark);
}
.campaign-box p {
  color: var(--charcoal);
  opacity: .85;
  line-height: 2;
  margin-bottom: 22px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.campaign-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* =====================================================
   MODAL
===================================================== */
.modal { display: none; }
.modal.active { display: block; }
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(46, 48, 44, 0.45);
  backdrop-filter: blur(2px);
  z-index: 999;
}
.modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 440px);
  background: linear-gradient(135deg, var(--white), var(--cream-5));
  border: 1px solid rgba(124,140,108,0.18);
  border-radius: 22px;
  padding: 22px;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
  direction: rtl;
}
.modal-content h3 {
  margin-bottom: 8px;
  color: var(--charcoal);
  font-size: 1.3rem;
  font-weight: 850;
}
.modal-content > p {
  color: var(--charcoal-2);
  margin-bottom: 14px;
}
.modal-close {
  position: absolute;
  left: 10px;
  top: 8px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(124,140,108,0.2);
  background: rgba(124,140,108,0.08);
  color: var(--sage-dark);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover { background: rgba(124,140,108,0.16); }

#campaignForm {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}
#campaignForm input,
#campaignForm button {
  height: 46px;
  border-radius: 12px;
  padding: 0 12px;
  font-family: inherit !important;
  font-size: 0.95rem;
}
#campaignForm input {
  border: 1px solid rgba(124,140,108,0.24);
  background: var(--white);
}
#campaignForm input::placeholder {
  color: var(--placeholder);
  font-family: inherit !important;
}
#campaignForm input:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(124,140,108,0.16);
}
#campaignForm button {
  border: none;
  color: var(--charcoal);
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
#campaignForm button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.form-message {
  min-height: 20px;
  margin: 2px 0 0;
  font-size: 0.88rem;
  color: var(--charcoal-2);
}

/* =====================================================
   BANNERS (در صورت نیاز)
===================================================== */
.banners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.banner-card {
  position: relative;
  min-height: 290px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.banner-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(46,48,44,0.10), rgba(46,48,44,0.78));
  z-index: 1;
}
.banner-content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 24px;
  color: var(--white);
}
.banner-content h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.banner-content p {
  opacity: 0.92;
  font-size: 0.96rem;
  margin-bottom: 16px;
  line-height: 1.9;
}

/* =====================================================
   FOOTER
===================================================== */
.site-footer {
  background: linear-gradient(135deg, var(--sage-deeper), #2f3a28);
  color: var(--white);
  padding: 56px 0 26px;
  margin-top: 40px;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(184,201,168,0.10), transparent 60%);
  pointer-events: none;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand .logo { color: var(--white); }
.footer-brand .logo .brand-en { color: var(--gold-soft); }
.footer-brand p {
  margin-top: 14px;
  max-width: 360px;
  color: var(--footer-muted);
  font-size: 0.95rem;
}
.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.footer-socials a {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.1);
  transition: var(--transition);
}
.footer-socials a:hover {
  background: var(--gold);
  color: var(--charcoal);
  transform: translateY(-3px);
}
.footer-socials svg { width: 22px; height: 22px; }
.footer-links h4 {
  color: var(--white);
  margin-bottom: 14px;
  font-size: 1rem;
}
.footer-links a {
  display: block;
  color: var(--footer-muted);
  padding: 4px 0;
  font-size: 0.92rem;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--gold-soft);
  padding-inline-start: 6px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 36px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--footer-bottom);
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 980px) {
  .hero-note-grid,
  .install-wrap {
    grid-template-columns: 1fr;
  }
  .banners-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .about-necessity-grid,
  .layers-grid,
  .dual-model-grid {
    grid-template-columns: 1fr;
  }
  .panel-head {
    flex-direction: column;
    align-items: stretch;
  }
  .media-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(124,140,108,0.16);
    box-shadow: var(--shadow-md);
    padding: 8px 16px 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding-block: 0;
  }
  .nav-links.open {
    max-height: 420px;
    padding-block: 8px 16px;
  }
  .nav-links a {
    padding: 12px 14px;
    border-radius: 12px;
  }
  .nav-toggle {
    display: grid;
    place-items: center;
  }
}

@media (max-width: 768px) {
  .slider {
    height: 38vh;
    min-height: 240px;
  }
  .media-section {
    padding: 72px 0 56px;
  }
  .media-tabs {
    gap: 10px;
  }
  .media-tabs [data-tab] {
    padding: 9px 14px;
    font-size: 0.92rem;
  }
  .media-card {
    padding: 16px;
    border-radius: 20px;
  }
  .media-hero-actions {
    padding: 12px;
  }
  .about-block {
    padding: 22px 18px;
    border-radius: 20px;
  }
  .about-main-title {
    line-height: 1.45;
  }
  .about-intro-box {
    padding: 18px;
  }
  .money-flow-card {
    min-height: 260px;
  }
  .about-intro-box p,
  .about-necessity-text p,
  .layer-body p,
  .dual-card p,
  .vision-box p,
  .mission-box p,
  .about-check-list li {
    font-size: 0.97rem;
  }
}

@media (max-width: 480px) {
  .section { padding: 56px 0; }
  .slider {
    height: 28vh;
    min-height: 180px;
  }
  .slide-caption { padding-bottom: 60px; }
  .hero-actions,
  .media-actions,
  .install-actions,
  .campaign-actions {
    flex-direction: column;
  }
  .hero-actions .btn,
  .media-actions .btn,
  .install-actions .btn,
  .campaign-actions .btn {
    width: 100%;
  }
  .media-tabs {
    justify-content: stretch;
  }
  .media-tabs [data-tab] {
    width: 100%;
  }
  .media-download-all {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}