.elementor-16 .elementor-element.elementor-element-28783b0{--display:flex;}.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-b89a6f8 *//* ===================================================
   استایل اختصاصی هدر و منوی کشویی کلیدچی
=================================================== */
.header-kelidchi {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  direction: rtl;
  text-align: right;
  box-sizing: border-box;
  font-family: inherit;
}

.header-kelidchi * {
  box-sizing: border-box;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* برند و لوگو */
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #0f172a;
}

.brand-mark {
  width: 40px;
  height: 40px;
  background: #0A3EA8;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-details {
  display: flex;
  flex-direction: column;
}

.brand-text {
  font-size: 1.2rem;
  font-weight: 900;
  color: #0A3EA8;
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 2px;
}

/* تگ‌های کنترل‌کننده منو */
.menu-toggle {
  display: none;
}

.menu-backdrop {
  display: none;
}

/* منوی دسکتاپ */
.nav-drawer {
  display: flex;
  align-items: center;
}

.drawer-header,
.drawer-footer {
  display: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}

.nav-menu a {
  text-decoration: none;
  color: #334155;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease;
  padding: 0.4rem 0;
}

.nav-menu a:hover {
  color: #0A3EA8;
}

/* دکمه تماس هدر */
.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #0A3EA8;
  color: #ffffff !important;
  text-decoration: none;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.cta-phone:hover {
  background: #082f80;
}

.cta-phone .phone-num {
  direction: ltr;
  display: inline-block;
  font-family: inherit;
}

/* دکمه همبرگری موبایل */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  background: #f1f5f9;
}

.hamburger-btn .bar {
  display: block;
  height: 2.5px;
  width: 100%;
  background: #0f172a;
  border-radius: 2px;
  transition: 0.3s;
}

/* ===================================================
   ریسپانسیو موبایل و منوی دراور (Drawer) از راست
=================================================== */
@media (max-width: 900px) {
  .header-container {
    padding: 0.6rem 1rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 1rem;
    border-radius: 8px;
  }

  .brand-text {
    font-size: 1.05rem;
  }

  .brand-tagline {
    display: none;
  }

  /* تنظیم دکمه تماس در موبایل */
  .cta-phone {
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
    gap: 0.25rem;
    margin-right: auto;
    margin-left: 0.5rem;
  }

  .cta-phone span:first-child {
    display: none;
  }

  .cta-phone::before {
    content: "📞 ";
  }

  .hamburger-btn {
    display: flex;
  }

  /* پرده تاریک پس‌زمینه در موبایل */
  .menu-toggle:checked ~ .menu-backdrop {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(3px);
    z-index: 1050;
  }

  /* سایدبار کشویی راست */
  .nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: #ffffff;
    z-index: 1100;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 1.25rem 1rem;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }

  .menu-toggle:checked ~ .nav-drawer {
    transform: translateX(0);
  }

  .drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 1rem;
  }

  .drawer-title {
    font-weight: 800;
    font-size: 0.95rem;
    color: #0A3EA8;
  }

  .drawer-close {
    font-size: 1.5rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    padding: 0 0.3rem;
  }

  /* آیتم‌های فشرده و منظم منو در موبایل */
  .nav-menu {
    flex-direction: column;
    gap: 0.25rem;
  }

  .nav-menu li a {
    display: block;
    padding: 0.65rem 0.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #1e293b;
  }

  .nav-menu li a:hover,
  .nav-menu li a:active {
    background: #f8fafc;
    color: #0A3EA8;
  }

  .drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    text-align: center;
  }

  .drawer-phone {
    font-weight: 800;
    color: #0A3EA8;
    text-decoration: none;
    font-size: 0.9rem;
    direction: ltr;
  }

  .drawer-sub {
    font-size: 0.75rem;
    color: #64748b;
  }
}
/* ===================================================
   تنظیمات فشرده و متمرکز سایدبار کشویی موبایل
=================================================== */
@media (max-width: 900px) {

  /* بدنه اصلی سایدبار: پدینگ کم و فشرده */
  .nav-drawer {
    padding: 0.75rem 0.85rem !important;
    gap: 0.5rem; /* فاصله یکنواخت بین بخش‌ها */
  }

  /* ۱. عنوان بالا و دکمه ضربدر */
  .drawer-header {
    padding-bottom: 0.4rem !important;
    margin-bottom: 0.3rem !important;
    border-bottom: 1px solid #f1f5f9;
  }

  .drawer-title {
    font-size: 0.88rem !important;
    font-weight: 800;
  }

  .drawer-close {
    font-size: 1.3rem !important;
    line-height: 1;
    padding: 0;
  }

  /* ۲. آیتم‌های منو: فاصله بسیار کم بین گزینه‌ها */
  .nav-menu {
    gap: 0.15rem !important;
    margin: 0 !important;
  }

  .nav-menu li a {
    padding: 0.4rem 0.5rem !important;
    font-size: 0.88rem !important;
    line-height: 1.4;
  }

  /* ۳. باکس تلفن پایین سایدبار: حذف فاصله پرت و چسبیدن مناسب به منو */
  .drawer-footer {
    margin-top: 0.6rem !important; /* فاصله نزدیک به جای پرتاب شدن به ته صفحه */
    padding-top: 0.5rem !important;
    border-top: 1px dashed #e2e8f0;
    gap: 0.15rem !important;
  }

  .drawer-phone {
    font-size: 0.85rem !important;
    line-height: 1.3;
  }

  .drawer-sub {
    font-size: 0.7rem !important;
    line-height: 1.2;
    margin-top: 0;
  }
}/* End custom CSS */