.elementor-658 .elementor-element.elementor-element-a64bf34{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}/* Start custom CSS for html, class: .elementor-element-e6178fd *//* Optional: فونت فارسی (اگر خواستی می‌تونی IRANSans / Vazirmatn بذاری) */

:root{
  --bg: #1f1f1f;
  --bg-2: #262626;
  --title: #c2472c;     /* نزدیک به قرمز/نارنجی تصویر */
  --text: #d8d8d8;
  --muted: #b9b9b9;
  --bar: #7a130b;       /* نوار پایین */
  --radius: 6px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  
}

*{ box-sizing: border-box; }
body{
  margin: 0;
  font-family: Vazirmatn, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #ffffff;
  color: #111;
}

/* Footer container */
.site-footer{
    direction: ltr;
  width: 100%;
  margin: 80px auto 40px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  
}

/* Inner layout */
.footer-inner{
  display: grid;
  grid-template-columns: 260px 1fr; /* لوگو | ستون‌ها */
  gap: 30px;
  padding: 36px 44px 26px;
  align-items: start;
}

/* Brand block */
.footer-brand{
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* یا center اگر خواستی وسط باشد */
  gap: 14px;
  padding-top: 6px;
}
.brand-link{
  display: inline-flex;
  text-decoration: none;
}
.brand-logo,
.brand-sublogo{
  display: block;     /* مهم: inline نباشد */
  width: 100%;        /* هر دو دقیقاً عرض یکسان می‌گیرند */
  height: auto;
  object-fit: contain;
}

.logo-stack{
  width: 100px;          /* این عدد را با توجه به لوگوت تنظیم کن */
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* برای هم‌راستایی از یک سمت */
  gap: 14px;
}

/* Columns wrapper */
.footer-cols{
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 28px;
  direction: rtl;
}

/* Column */
.footer-title{
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 800;
  color: var(--title);
  letter-spacing: .2px;
   font-family: "vazir-black", sans-serif;
}

.footer-links{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  
}

.footer-links a{
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.9;
  opacity: .95;
  transition: transform .15s ease, opacity .15s ease, color .15s ease;
  display: inline-block;
  
}

.footer-links a:hover{
  color: #ffffff;
  opacity: 1;
  transform: translateX(-2px); /* چون RTL هستیم، یک تکان کوچک به چپ */
}

/* Bottom bar */
.footer-copy{
  background: var(--bar);
}
.footer-copy-inner{
  padding: 10px 16px;
  text-align: center;
  color: #f4f4f4;
  font-size: 13px;
  letter-spacing: .2px;
}

#poshtibani {
  background-color: #2d2d2d;
}




/* Responsive */
@media (max-width: 900px){
  .footer-inner{
    grid-template-columns: 1fr;
  }
  .footer-brand{
    align-items: center;
    text-align: center;
  }
  .footer-cols{
    grid-template-columns: 1fr;
  }
  .footer-title{
    text-align: center;
  }
  .footer-links{
    justify-items: center;
  }
}/* End custom CSS */