/* دلیچه — فوتر سایت (چندستونه، ریسپانسیو) */

.site-footer {
  position: relative;
  margin-top: auto;
  overflow: hidden;
  border-top: 1px solid var(--line, #dfe8e2);
  background: color-mix(in srgb, var(--bg-alt, #f6faf7) 88%, #e8f3eb 12%);
  backdrop-filter: blur(10px);
}

.site-footer__glow {
  position: absolute;
  inset: 0 0 auto;
  height: 120px;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(129, 176, 97, 0.12) 0%, transparent 70%);
}

.site-footer__inner {
  position: relative;
  padding: 2rem 0 1.25rem;
}

.site-footer__grid {
  display: grid;
  gap: 1.75rem 1.25rem;
  grid-template-columns: 1fr;
}

.site-footer__heading {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text, #1a1f1c);
  margin: 0 0 0.75rem;
}

/* برند */
.site-footer__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s var(--ease, ease);
}

.site-footer__brand-link:hover {
  opacity: 0.88;
}

.site-footer__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.site-footer__name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text, #1a1f1c);
  letter-spacing: -0.02em;
}

.site-footer__name-en {
  font-family: var(--font-en);
  font-size: 0.72em;
  font-weight: 600;
  color: var(--text-light, #8a9490);
  margin-inline-start: 0.25rem;
}

.site-footer__slogan {
  display: block;
  font-size: 0.82rem;
  color: var(--brand, #81B061);
  font-weight: 600;
  margin-top: 0.15rem;
}

.site-footer__tagline {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-muted, #5c6560);
  max-width: 32ch;
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 0.85rem;
}

.site-footer__phone {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand, #81B061);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.site-footer__phone:hover {
  text-decoration: underline;
}

.site-footer__hours {
  font-size: 0.78rem;
  color: var(--text-muted, #5c6560);
}

.site-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* شبکه‌های اجتماعی */
.site-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__social {
  margin-top: 1rem;
}

.site-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 42px;
  min-height: 42px;
  padding: 0.45rem;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--line, #dfe8e2) 80%, var(--brand, #81B061) 20%);
  background: #fff;
  color: var(--text-muted, #5c6560);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(20, 40, 28, 0.05);
  transition:
    transform 0.2s var(--ease, ease),
    color 0.2s var(--ease, ease),
    border-color 0.2s var(--ease, ease),
    box-shadow 0.2s var(--ease, ease);
}

.site-social__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(20, 40, 28, 0.08);
}

.site-social__link--telegram:hover {
  color: #229ed9;
  border-color: color-mix(in srgb, #229ed9 35%, var(--line, #dfe8e2) 65%);
}

.site-social__link--bale:hover {
  color: #0084ff;
  border-color: color-mix(in srgb, #0084ff 35%, var(--line, #dfe8e2) 65%);
}

.site-social__link--eitaa:hover {
  color: #f7941d;
  border-color: color-mix(in srgb, #f7941d 35%, var(--line, #dfe8e2) 65%);
}

.site-social__link--instagram:hover {
  color: #e1306c;
  border-color: color-mix(in srgb, #e1306c 35%, var(--line, #dfe8e2) 65%);
}

.site-social__label {
  font-size: 0.82rem;
  font-weight: 600;
}

.site-social__link:focus-visible {
  outline: 2px solid var(--brand, #81B061);
  outline-offset: 2px;
}

.site-footer__cta,
.site-footer__cta-outline {
  min-height: 40px;
  padding: 0.45rem 1rem;
  font-size: 0.84rem;
  white-space: nowrap;
}

.site-footer__cta-outline {
  border-color: var(--line, #dfe8e2);
  color: var(--text, #1a1f1c);
}

/* ستون‌های لینک */
.site-footer__col {
  min-width: 0;
}

.site-footer__nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.site-footer__nav li {
  margin: 0;
  padding: 0;
}

.site-footer__link {
  display: inline-block;
  padding: 0.32rem 0;
  font-size: 0.88rem;
  color: var(--text-muted, #5c6560);
  text-decoration: none;
  transition: color 0.2s var(--ease, ease);
}

.site-footer__link:hover {
  color: var(--brand, #81B061);
}

/* فوتر مرکزی MHFA Live — جایگزین خط کپی‌رایت */
.site-footer__copy--mhfa {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.65rem;
}

.site-footer__mhfa-title {
  font-weight: 700;
  color: var(--text-muted, #5c6560);
}

.site-footer__mhfa-body {
  font-size: inherit;
  line-height: 1.65;
}

.site-footer__mhfa-body p {
  display: inline;
  margin: 0;
}

.site-footer__mhfa-link {
  font-size: inherit;
  font-weight: 600;
  color: var(--brand, #81B061);
  text-decoration: none;
}

.site-footer__mhfa-link:hover {
  text-decoration: underline;
}

/* نوار پایین */
.site-footer__bottom {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: 1rem 1.25rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid color-mix(in srgb, var(--line, #dfe8e2) 70%, transparent);
  text-align: center;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-light, #8a9490);
}

.site-footer__company-link,
.site-footer .company-link {
  color: var(--brand, #81B061);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer__company-link:hover,
.site-footer .company-link:hover {
  color: var(--brand-hover, #6a9a4f);
  text-decoration: underline;
}

.site-footer__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted, #5c6560);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-full, 999px);
  background: var(--brand-glass, rgba(129, 176, 97, 0.08));
  border: 1px solid color-mix(in srgb, var(--brand, #81B061) 12%, transparent);
}

.site-footer__trust svg {
  color: var(--brand, #81B061);
  flex-shrink: 0;
}

/* اینماد — استایل‌های اضافی فوتر (پایه در enamad-badge.css) */
.site-footer__badges {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer__enamad {
  margin: 0;
}

/* موبایل — دو ستون برای لینک‌ها */
@media (min-width: 480px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

/* تبلت */
@media (min-width: 720px) {
  .site-footer__inner {
    padding: 2.25rem 0 1.35rem;
  }

  .site-footer__grid {
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 1.5rem 1.25rem;
    align-items: start;
  }

  .site-footer__brand {
    grid-column: auto;
    grid-row: 1;
  }

  .site-footer__bottom {
    grid-template-columns: 1fr auto 1fr;
    justify-items: stretch;
    text-align: right;
  }

  .site-footer__copy {
    justify-self: start;
    text-align: right;
  }

  .site-footer__copy--mhfa {
    justify-content: flex-start;
  }

  .site-footer__badges {
    justify-self: center;
  }

  .site-footer__trust {
    justify-self: end;
    justify-content: flex-end;
  }
}

/* دسکتاپ */
@media (min-width: 1024px) {
  .site-footer__inner {
    padding: 2.75rem 0 1.5rem;
  }

  .site-footer__grid {
    gap: 2rem 1.75rem;
  }

  .site-footer__tagline {
    max-width: 36ch;
  }
}

/* فاصله از bottom nav موبایل */
@media (max-width: 768px) {
  .site-footer .site-footer__inner.container {
    padding-inline: clamp(1.125rem, 5vw, 1.375rem);
    padding-top: 2rem;
    padding-bottom: calc(var(--bottom-nav-h, 64px) + 1.5rem + var(--safe-bottom, 0px));
  }

  .site-footer__bottom {
    gap: 1.15rem;
    padding-top: 1.35rem;
  }

  .site-footer__copy {
    font-size: 0.78rem;
    line-height: 1.65;
    max-width: 28rem;
  }
}
