/* فوتر صفحه اصلی — طرح مینیمال وسط‌چین (موبایل‌فرست): لوگوی متنی، آیکون‌های سوشیال، کپی‌رایت */
.cm-ft {
  margin: 6px 0 0;
  padding: 44px 20px calc(96px + env(safe-area-inset-bottom, 0px));
  background: transparent;
  border-radius: 0;
  color: #fff;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 34px;
}
body:has(.cm-home-page) #pageContent { padding-bottom: 0; }
.cm-home-page { padding-bottom: 0 !important; }

/* اسم برند با فونت گرد (Fredoka) — بارگذاری از گوگل‌فونتز در index.html */
.cm-ft-wordmark {
  margin: 0;
  font-family: 'Fredoka', 'Baloo 2', 'Nunito', 'Varela Round', ui-rounded, 'SF Pro Rounded', system-ui, sans-serif;
  font-weight: 600;
  font-size: 46px; line-height: 1; letter-spacing: -.01em;
  color: #fff;
  direction: ltr; unicode-bidi: isolate;
  user-select: none; -webkit-user-select: none;
}

.cm-ft-social { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; gap: 12px; direction: ltr; }
.cm-ft-social a {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: #111;
  -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease, opacity .15s ease;
}
.cm-ft-social a:active { transform: scale(.92); opacity: .85; }
.cm-ft-social svg { width: 20px; height: 20px; display: block; }
.cm-ft-social svg.is-stroke { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cm-ft-social svg.is-fill { fill: currentColor; }

.cm-ft-copy { margin: 0; font-size: 11px; line-height: 1.8; font-weight: 700; color: #fff; letter-spacing: .01em; }

@media (min-width: 768px) {
  .cm-ft { grid-column: 1 / -1; padding: 56px 28px 110px; }
}
@media (max-width: 340px) {
  .cm-ft-wordmark { font-size: 40px; }
  .cm-ft-social { gap: 9px; }
  .cm-ft-social a { width: 40px; height: 40px; }
}
