/* =========================
   lion Footer Styles
========================= */
.lion-footer {
  background: #F5F7FB;
  color: #111827;
  font-family: 'IRANSans', sans-serif;
  position: relative;
  overflow: hidden;
  direction: rtl;
}

.lion-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Reveal animation (footer.js) */
.lion-footer {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.lion-footer.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Top section (brand + description) --- */
.lion-footer__top {
  padding: 34px 0 18px;
}
.lion-footer__top-row {
  display: flex
;
    align-items: center;
    justify-content: flex-start;
    gap: 80px;
}
.lion-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  white-space: nowrap;
}
.lion-footer__brand-logo {
  width: 180px;
  height: 44px;
  object-fit: contain;
  flex: 0 0 auto;
}
.lion-footer__brand-name {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  color: #0F172A;
}
.lion-footer__about-text {
  flex: 1 1 auto;
  max-width: max-content;
  color: #0F172A;
  line-height: 2;
  font-size: 12px;
  text-align: right;
}

/* --- Main section (menus + trust badges) --- */
.lion-footer__main {
  padding: 18px 0 22px;
}
.lion-footer__main-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
}
.lion-footer__menus {
  flex: 1 1 auto;
  min-width: 0;
}
.lion-footer__columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
  justify-items: start;
}
.lion-footer__col-title {
  font-size: 16px;
  font-weight: 800;
  color: #0F172A;
  text-align: center;
  margin-bottom: 14px;
}
.lion-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.lion-footer__list li {
  margin: 0;
}
.lion-footer__item {
  margin: 0;
}
.lion-footer__link,
.lion-footer__list a {
  color: #0F172A;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease, transform 0.2s ease;
}
.lion-footer__link:hover,
.lion-footer__list a:hover {
  color: #00A693;
  transform: translateY(-1px);
}

.lion-footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}
.lion-footer__badge-card {
  width: 160px;
  height: 120px;
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lion-footer__badge-link {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}
.lion-footer__badge-img {
  max-width: 100%;
  max-height: 82px;
  height: auto;
  width: auto;
  object-fit: contain;
}

/* --- Bar (social + quick links) --- */
.lion-footer__bar {
  background: #ffffff;
  border-top: 1px solid #E5E7EB;
  padding: 16px 0;
}
.lion-footer__bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.lion-footer__quick-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.lion-footer__quick-link {
  color: #6B7280;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}
.lion-footer__quick-link:hover {
  color: #0F172A;
}

.lion-footer__social {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.lion-footer__social-text {
  color: #6B7280;
  font-size: 14px;
}
.lion-footer__social-list {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lion-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: transparent;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lion-footer__social-link:hover {
  background: #F5F7FB;
  transform: translateY(-1px);
}
.lion-footer__social-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}
.lion-footer__social-link:hover .lion-footer__social-icon {
  opacity: 1;
}
.lion-footer__social-fallback {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.12);
}

/* --- Copyright --- */
.lion-footer__copyright {
  background: #ffffff;
  border-top: 1px solid #E5E7EB;
  padding: 18px 0;
  text-align: center;
}
.lion-footer__copyright p {
  margin: 0;
  color: #6B7280;
  font-size: 13px;
  line-height: 1.9;
}

/* === Responsive === */
@media (max-width: 1100px) {
  .lion-footer__columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
}

@media (max-width: 992px) {
  .lion-footer__top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .lion-footer__brand {
    display: inline-flex
;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    white-space: nowrap;
    justify-content: center;
    width: 100%;
}
  .lion-footer__about-text {
    max-width: none;
  }

.lion-footer__link, .lion-footer__list a {
    color: #0F172A;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s ease, transform 0.2s ease;
}

  .lion-footer__main-inner {
    flex-direction: column;
  }
      .lion-footer__badges {
        display: flex
;
        width: auto;
        flex-wrap: nowrap;
        align-items: center;
    }
  .lion-footer__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
  .lion-footer__list {
    align-items: center;
  }
}

@media (max-width: 600px) {
  .lion-footer__brand-name {
    font-size: 22px;
  }
      .lion-footer__columns {
        display: flex
;
        justify-content: space-between;
        flex-wrap: wrap;
        width: 100%;
    }
    .lion-footer__menus {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
}
  .lion-footer__badge-card {
    width: 106px;
            height: 80px;
  }
  .lion-footer__badge-img {
    max-width: 100%;
    max-height: 60px;
    height: auto;
    width: auto;
    object-fit: contain;
}
  .lion-footer__bar-inner {
    justify-content: center;
  }
  .lion-footer__quick-list {
    justify-content: center;
    gap: 18px;
  }
}
