/* فوتر سایت + صفحه درباره ما */
.site-footer {
  --sf-ink: var(--text, #1d2433);
  --sf-mute: var(--muted, #6b728a);
  --sf-line: rgba(29, 36, 51, 0.1);
  position: relative;
  margin-top: 2rem;
  padding: 2.25rem 0 5.75rem;
  overflow: hidden;
  color: var(--sf-ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(192, 197, 210, 0.28), transparent 55%),
    radial-gradient(ellipse 55% 45% at 0% 100%, rgba(var(--brand-rgb), 0.1), transparent 50%),
    linear-gradient(180deg, #f4f6fb 0%, #e8ecf5 100%);
  border-top: 1px solid var(--sf-line);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(192, 197, 210, 0.9),
    rgba(var(--brand-rgb), 0.75),
    rgba(192, 197, 210, 0.9),
    transparent
  );
  opacity: 0.9;
}

html[theme-color="dark"] .site-footer {
  --sf-ink: var(--text, #e8eaf2);
  --sf-mute: #9aa3b8;
  --sf-line: rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(var(--brand-rgb), 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(148, 163, 184, 0.08), transparent 50%),
    linear-gradient(180deg, #14182a 0%, #0c101c 100%);
}

@media (min-width: 992px) {
  .site-footer { padding-bottom: 2.5rem; }
}

/* —— Intro / brand —— */
.site-footer-intro {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--sf-line);
  animation: sf-rise 0.55s ease both;
}
@media (min-width: 768px) {
  .site-footer-intro {
    grid-template-columns: 1.4fr auto;
    align-items: end;
    gap: 2rem;
  }
}

.site-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--sf-ink);
  margin-bottom: 0.45rem;
}
.site-footer-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(15, 20, 40, 0.12));
}
.site-footer-logo span {
  font-size: clamp(1.2rem, 3.2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.site-footer-tagline {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--sf-ink);
  opacity: 0.88;
}
.site-footer-about {
  margin: 0;
  max-width: 36rem;
  font-size: 0.84rem;
  line-height: 1.75;
  color: var(--sf-mute);
}

.site-footer-intro-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.site-footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.45rem 1rem;
  border-radius: 0.85rem;
  background: var(--brand, #100DD1);
  color: #fff !important;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(var(--brand-rgb), 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.site-footer-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(var(--brand-rgb), 0.28);
  color: #fff !important;
}
.site-footer-cta--ghost {
  background: transparent;
  color: var(--sf-ink) !important;
  box-shadow: none;
  border: 1px solid var(--sf-line);
}
.site-footer-cta--ghost:hover {
  border-color: rgba(var(--brand-rgb), 0.45);
  color: var(--brand) !important;
  box-shadow: none;
}

.site-footer-social {
  display: inline-flex;
  gap: 0.4rem;
  margin-inline-start: 0.15rem;
}
.site-footer-social a {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--sf-line);
  color: var(--brand);
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
html[theme-color="dark"] .site-footer-social a {
  background: rgba(255, 255, 255, 0.05);
}
.site-footer-social a:hover {
  transform: translateY(-2px);
  background: rgba(var(--brand-rgb), 0.12);
  border-color: rgba(var(--brand-rgb), 0.35);
}

/* —— Columns —— */
.site-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1.15rem;
  animation: sf-rise 0.65s ease 0.06s both;
}
.site-footer-col--contact,
.site-footer-col--trust {
  grid-column: 1 / -1;
}
@media (min-width: 992px) {
  .site-footer-grid {
    grid-template-columns: 1fr 1fr 1.25fr 0.95fr;
    gap: 1.75rem;
  }
  .site-footer-col--contact,
  .site-footer-col--trust {
    grid-column: auto;
  }
}

.site-footer-col h3 {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--sf-mute);
}
.site-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer-col li {
  margin: 0 0 0.55rem;
}
.site-footer-col a {
  color: var(--sf-ink);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0.92;
  transition: color 0.15s ease, opacity 0.15s ease;
}
.site-footer-col a:hover {
  color: var(--brand);
  opacity: 1;
}

.site-footer-contact-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-bottom: 0.65rem;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--sf-mute);
}
.site-footer-contact-list i {
  width: 1rem;
  margin-top: 0.2rem;
  text-align: center;
  color: var(--brand);
  flex-shrink: 0;
}
.site-footer-contact-list a {
  color: var(--sf-ink);
  font-weight: 600;
}
.site-footer-contact-empty {
  font-size: 0.82rem;
  color: var(--sf-mute);
}

.site-footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}
.site-footer-enamad img,
.site-footer-badges img,
.site-footer-badge-link img {
  max-width: 104px;
  height: auto;
  display: block;
  border-radius: 0.5rem;
}
.site-footer-enamad-placeholder {
  width: 104px;
  min-height: 104px;
  border-radius: 0.9rem;
  border: 1px dashed rgba(var(--brand-rgb), 0.35);
  background: rgba(var(--brand-rgb), 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  text-align: center;
  padding: 0.65rem;
  color: var(--sf-mute);
  font-size: 0.7rem;
  font-weight: 700;
}
.site-footer-enamad-placeholder i {
  font-size: 1.35rem;
  color: var(--brand);
}
.site-footer-trust-note {
  margin: 0.75rem 0 0;
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--sf-mute);
  max-width: 14rem;
}

/* —— Bottom —— */
.site-footer-bottom {
  margin-top: 1.75rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--sf-line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.25rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--sf-mute);
  animation: sf-rise 0.7s ease 0.12s both;
}
.site-footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
}
.site-footer-bottom a {
  color: var(--sf-ink);
  text-decoration: none;
  font-weight: 700;
  opacity: 0.85;
}
.site-footer-bottom a:hover {
  color: var(--brand);
  opacity: 1;
}

@keyframes sf-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer-intro,
  .site-footer-grid,
  .site-footer-bottom,
  .site-footer-cta,
  .site-footer-social a {
    animation: none !important;
    transition: none !important;
  }
}

/* —— About page (kept with footer styles) —— */
.about-page .about-hero {
  margin-bottom: 1.15rem;
}
.about-eyebrow {
  margin: 0 0 0.25rem;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
}
.about-hero h1 {
  margin: 0;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 800;
}
.about-lead {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}
.about-card {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(29,36,51,0.08);
  border-radius: 1.15rem;
  padding: 1.15rem 1.2rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 10px 28px rgba(15,20,40,0.04);
}
html[theme-color="dark"] .about-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
.about-card h2 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  font-weight: 800;
}
.about-body {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--text);
}

.about-contact-lead {
  margin: 0 0 1rem;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--muted);
}
.about-contact-grid {
  display: grid;
  gap: 0.7rem;
}
@media (min-width: 576px) {
  .about-contact-grid { grid-template-columns: 1fr 1fr; }
}
.about-contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 0.9rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(29, 36, 51, 0.08);
  background: rgba(var(--brand-rgb), 0.04);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
html[theme-color="dark"] .about-contact-item {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.about-contact-item.is-link:hover {
  border-color: rgba(var(--brand-rgb), 0.35);
  background: rgba(var(--brand-rgb), 0.08);
  transform: translateY(-1px);
}
.about-contact-item i {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--brand-rgb), 0.12);
  color: var(--brand);
  flex-shrink: 0;
}
.about-contact-item strong {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.2rem;
  font-weight: 700;
}
.about-contact-item span {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
  word-break: break-word;
}

.about-social-block {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(29, 36, 51, 0.08);
}
html[theme-color="dark"] .about-social-block {
  border-top-color: rgba(255, 255, 255, 0.08);
}
.about-social-block h3 {
  margin: 0 0 0.7rem;
  font-size: 0.86rem;
  font-weight: 800;
}
.about-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.about-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(29, 36, 51, 0.1);
  background: rgba(255, 255, 255, 0.5);
  color: var(--text);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
html[theme-color="dark"] .about-social-link {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}
.about-social-link i {
  color: var(--brand);
  font-size: 1rem;
}
.about-social-link:hover {
  transform: translateY(-1px);
  border-color: rgba(var(--brand-rgb), 0.4);
  background: rgba(var(--brand-rgb), 0.08);
  color: var(--text);
}

.about-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.15rem;
}
.about-contact-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.5rem;
  padding: 0.5rem 1.05rem;
  border: 0;
  border-radius: 0.9rem;
  background: var(--brand);
  color: #fff !important;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(var(--brand-rgb), 0.22);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.about-contact-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(var(--brand-rgb), 0.28);
  color: #fff !important;
}
.about-contact-cta--ghost {
  background: transparent;
  color: var(--text) !important;
  box-shadow: none;
  border: 1px solid rgba(29, 36, 51, 0.12);
}
html[theme-color="dark"] .about-contact-cta--ghost {
  border-color: rgba(255, 255, 255, 0.12);
}
.about-contact-cta--ghost:hover {
  border-color: rgba(var(--brand-rgb), 0.4);
  color: var(--brand) !important;
  box-shadow: none;
}

.about-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.about-trust img { max-width: 125px; }
