/*فونت ها*/
/* تعریف فونت وزیرمتن */
@font-face {
  font-family: 'Vazirmatn';
  src: url('/fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('/fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/*استفاده فونت ها برای کل صفحه*/
* {
  font-family: 'Vazirmatn', sans-serif;
}

/* =============================================
   اضافه شدن اسکرول به منوها (دسکتاپ و موبایل)
   ============================================= */

/* اسکرول برای مگا منو در دسکتاپ */
.desktop-menu .mega-menu {
  max-height: calc(100vh - 120px); /* ارتفاع منو رو محدود می‌کنه که از صفحه بیرون نزنه */
  overflow-y: auto; /* فعال کردن اسکرول عمودی */
}

/* اسکرول برای زیرمنوهای ساده در دسکتاپ */
.desktop-menu .submenu {
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

/* اسکرول شیک برای منوی موبایل */
/* خود کلاس menu-screen توی کدت overflow-y: auto داره، فقط ظاهر اسکرول رو قشنگ می‌کنیم */
.menu-screen {
  scrollbar-width: thin; /* برای فایرفاکس */
  scrollbar-color: var(--border) transparent;
}

/* ظاهر اسکرول در کروم و سافاری برای موبایل و دسکتاپ */
.desktop-menu .mega-menu::-webkit-scrollbar,
.desktop-menu .submenu::-webkit-scrollbar,
.menu-screen::-webkit-scrollbar {
  width: 5px;
}

.desktop-menu .mega-menu::-webkit-scrollbar-track,
.desktop-menu .submenu::-webkit-scrollbar-track,
.menu-screen::-webkit-scrollbar-track {
  background: transparent;
}

.desktop-menu .mega-menu::-webkit-scrollbar-thumb,
.desktop-menu .submenu::-webkit-scrollbar-thumb,
.menu-screen::-webkit-scrollbar-thumb {
  background: var(--accent); /* رنگ اسکرول با تم سایتت همخوانی داره */
  border-radius: 10px;
}

/* هاور کردن روی اسکرول */
.desktop-menu .mega-menu::-webkit-scrollbar-thumb:hover,
.desktop-menu .submenu::-webkit-scrollbar-thumb:hover,
.menu-screen::-webkit-scrollbar-thumb:hover {
  background: var(--muted);
}




/* Bale Floating */

.bale-fab{

    position:fixed;

    right:20px;
    bottom:120px;

    min-width:92px;
    height:42px;

    padding:0 18px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:1px solid var(--border);
    border-radius:30px;

    background:var(--accent);
    color:var(--card);

    text-decoration:none;
    font-size:.9rem;
    font-weight:600;

    box-shadow:0 8px 24px rgba(47,42,38,.12);

    transition:
        background var(--dur) var(--ease),
        transform var(--dur) var(--ease);

    z-index:9999;

}

.bale-fab:hover{

    background:var(--text);
    transform:translateY(-2px);

}

@media (max-width:768px){

    .bale-fab{

        right:15px;
        bottom:110px;

        min-width:84px;
        height:38px;

        font-size:.8rem;

    }

}





/* ============================================
   Breadcrumb (Nava Ara palette - light)
============================================ */

.breadcrumb-nav {
  direction: rtl;
  text-align: right;
  margin-block: 16px 24px;
}

/* ظرف کپسولی breadcrumb */
.breadcrumb-nav__list {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 6px 10px;
  border-radius: 999px;

  background: linear-gradient(135deg, var(--bg), var(--light));
  box-shadow: 0 8px 16px rgba(47, 42, 38, 0.04); /* سایه خیلی نرم‌تر */
  backdrop-filter: blur(10px);
}

/* هر crumb به شکل قرص کوچک */
.breadcrumb-nav__item {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
}

/* لینک‌ها (خانه و مسیرهای قبلی) */
.breadcrumb-nav__link {
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition:
    background-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.breadcrumb-nav__item:not(:last-child) .breadcrumb-nav__link {
  border-radius: 999px;
}

/* افکت هاور برای لینک‌ها */
.breadcrumb-nav__item:not(:last-child):hover .breadcrumb-nav__link,
.breadcrumb-nav__item:not(:last-child):focus-visible .breadcrumb-nav__link {
  background-color: var(--card);
  color: var(--text);
  box-shadow: 0 0 0 1px rgba(232, 221, 212, 0.7); /* border روشن‌تر */
}

/* صفحه جاری: قرص پررنگ با accent، ولی نرم */
.breadcrumb-nav__current {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--card);
  padding: 4px 10px;
  border-radius: 999px;

  background: linear-gradient(135deg, var(--accent), rgba(184, 138, 106, 0.75));
  box-shadow: 0 6px 12px rgba(47, 42, 38, 0.12); /* کمتر و روشن‌تر */
}

/* جداکننده بین crumbها */
.breadcrumb-nav__item + .breadcrumb-nav__item::before {
  content: "›";
  display: inline-block;
  margin-inline: 4px;
  color: rgba(232, 221, 212, 0.9);
  font-size: 0.8rem;
}

/* ریسپانسیو موبایل */
@media (max-width: 576px) {
  .breadcrumb-nav {
    margin-block: 10px 16px;
  }

  .breadcrumb-nav__list {
    padding: 4px 8px;
    box-shadow: 0 6px 10px rgba(47, 42, 38, 0.03); /* روی موبایل هم نرم‌تر */
  }

  .breadcrumb-nav__item {
    padding: 3px 8px;
  }

  .breadcrumb-nav__link,
  .breadcrumb-nav__current {
    font-size: 0.8rem;
  }
}














:root {
  --bg: #FAF7F3;
  --card: #FFFFFF;
  --border: #E8DDD4;
  --text: #2F2A26;
  --muted: #6D625A;
  --accent: #B88A6A;
  --light: #F0E6DC;
  --overlay: rgba(47, 42, 38, 0.45);
  --dur: 0.25s;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  background: var(--bg);
  color: var(--text);
  direction: rtl;
}

.page-wrapper {
  min-height: 20vh;
}

/* =============================================
   هدر
   ============================================= */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 800;
  border-radius: 30px;

}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 32px;
  gap: 16px;
}

/* =============================================
   لوگو
   ============================================= */
.site-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-image {
  display: block;
  width: 65px;
  height: 65px;
  object-fit: contain;
  border-radius: 14px;
  background: var(--card);
  padding: 6px;
  border: 1px solid var(--border);
  transition: border-color var(--dur), box-shadow var(--dur), transform var(--dur);
}

.logo-image:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(184, 138, 106, 0.18);
  transform: translateY(-2px);
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}

/* =============================================
   منوی دسکتاپ
   ============================================= */
.desktop-menu {
  flex: 1;
  display: flex;
  justify-content: center;
}

.desktop-menu .menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0;
}

.desktop-menu .menu>li {
  position: relative;
}

/* لینک‌های معمولی و دکمه‌های trigger */
.desktop-menu .menu>li>a,
.desktop-menu .menu>li>.menu-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 20px 14px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  transition: color var(--dur);
}

.desktop-menu .menu>li>a:hover,
.desktop-menu .menu>li>.menu-trigger:hover,
.desktop-menu .menu>li>.menu-trigger[aria-expanded="true"] {
  color: var(--accent);
}

/* خط زیر */
.desktop-menu .menu>li>a::after,
.desktop-menu .menu>li>.menu-trigger::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 14px;
  left: 14px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transition: transform var(--dur) var(--ease);
}

.desktop-menu .menu>li:hover>a::after,
.desktop-menu .menu>li:hover>.menu-trigger::after,
.desktop-menu .menu>li>.menu-trigger[aria-expanded="true"]::after {
  transform: scaleX(1);
}

/* فلش trigger */
.desktop-menu .menu-trigger::before {
  content: '▾';
  font-size: 11px;
  color: var(--muted);
  transition: transform var(--dur), color var(--dur);
  order: -1;
}

.desktop-menu .menu>li:hover>.menu-trigger::before,
.desktop-menu .menu>li>.menu-trigger[aria-expanded="true"]::before {
  transform: rotate(180deg);
  color: var(--accent);
}

/* مگامنو */
.desktop-menu .mega-menu {
  display: flex;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 32px rgba(47, 42, 38, 0.12);
  min-width: 720px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--dur) var(--ease),
    visibility var(--dur) var(--ease),
    transform var(--dur) var(--ease);
  pointer-events: none;
  z-index: 900;
}

.desktop-menu .menu>li.has-mega-menu:hover .mega-menu,
.desktop-menu .menu>li.has-mega-menu .mega-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.desktop-menu .mega-column {
  flex: 1;
  padding: 20px 16px;
  border-left: 1px solid var(--border);
}

.desktop-menu .mega-column:last-child {
  border-left: none;
}

.desktop-menu .mega-column h3 {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.desktop-menu .mega-column ul {
  padding: 7px 10px;
  text-align: right;
  direction: rtl;
}

.desktop-menu .mega-column ul li a {
  display: block;
  padding: 7px 10px;
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  border-radius: 6px;
  transition: background var(--dur), color var(--dur), padding-right var(--dur);
}

.desktop-menu .mega-column ul li a:hover {
  background: var(--light);
  color: var(--accent);
  padding-right: 14px;
}

/* ساب‌منو */
.desktop-menu .submenu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 32px rgba(47, 42, 38, 0.12);
  min-width: 210px;
  list-style: none;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--dur) var(--ease),
    visibility var(--dur) var(--ease),
    transform var(--dur) var(--ease);
  pointer-events: none;
  z-index: 900;
}

.desktop-menu .menu>li.has-submenu:hover .submenu,
.desktop-menu .menu>li.has-submenu .submenu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.desktop-menu .submenu li a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  transition: background var(--dur), color var(--dur), padding-right var(--dur);
}

.desktop-menu .submenu li a:hover {
  background: var(--light);
  color: var(--accent);
  padding-right: 24px;
}

/* =============================================
   دکمه همبرگر — پیش‌فرض مخفی
   ============================================= */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  transition: background var(--dur), border-color var(--dur);
}

.mobile-menu-toggle:hover {
  background: var(--light);
  border-color: var(--accent);
}

/* سه خط همبرگر */
.mobile-menu-toggle .icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 20px;
}

.mobile-menu-toggle .icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: background var(--dur), transform var(--dur), opacity var(--dur), width var(--dur);
}

.mobile-menu-toggle:hover .icon span {
  background: var(--accent);
}

/* انیمیشن X هنگام باز بودن منو */
.mobile-menu-toggle[aria-expanded="true"] .icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .icon span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =============================================
   اورلی — پیش‌فرض مخفی
   ============================================= */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--overlay);
  opacity: 0;
  visibility: hidden;
  z-index: 900;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}

.mobile-menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* =============================================
   منوی موبایل — پیش‌فرض مخفی
   ============================================= */
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: min(300px, 85vw);
  height: 100dvh;
  background: var(--card);
  border-left: 1px solid var(--border);
  overflow: hidden;
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease);
  z-index: 950;
  direction: rtl;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

/* هدر منوی موبایل */
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.mobile-menu-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu-logo img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--border);
  object-fit: contain;
  padding: 3px;
}

.mobile-menu-logo span {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
}

.mobile-menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background var(--dur), color var(--dur), border-color var(--dur);
}

.mobile-menu-close:hover {
  background: var(--light);
  border-color: var(--accent);
  color: var(--accent);
}

/* wrapper صفحات */
.menu-screens-wrapper {
  position: relative;
  flex: 1;
  overflow: hidden;
}

/* هر صفحه */
.menu-screen {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--card);
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  padding-bottom: 24px;
}

.menu-screen::-webkit-scrollbar {
  width: 3px;
}

.menu-screen::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

.menu-screen.active {
  transform: translateX(0);
}

.menu-screen.slide-out {
  transform: translateX(28%);
}

/* آیتم‌های منو */
.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 18px;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  text-align: right;
  cursor: pointer;
  box-sizing: border-box;
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
  transition: background var(--dur), color var(--dur), padding-right var(--dur);
}

.menu-item:first-child {
  border-top: 1px solid var(--border);
  margin-top: 6px;
}

.menu-item:hover,
.menu-item:focus-visible {
  background: var(--light);
  color: var(--accent);
  padding-right: 24px;
  outline: none;
}

.menu-item:active {
  background: var(--border);
}

/* فلش زیرمنو */
.menu-item.has-next::after {
  content: "‹";
  font-size: 18px;
  color: var(--muted);
  flex-shrink: 0;
  margin-right: auto;
  padding-left: 8px;
  transition: color var(--dur), transform var(--dur);
}

.menu-item.has-next:hover::after {
  color: var(--accent);
  transform: translateX(-3px);
}

/* دکمه بازگشت */
.menu-back {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 13px 18px;
  border: none;
  border-bottom: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  text-align: right;
  cursor: pointer;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  transition: background var(--dur);
}

.menu-back:hover {
  background: var(--light);
}

.menu-back:active {
  background: var(--border);
}

/* =============================================
   ریسپانسیو — زیر 1024px
   ============================================= */
@media (max-width: 1024px) {

  .header-inner {
    padding: 10px 16px;
  }

  .logo-image {
    width: 52px;
    height: 52px;
    padding: 5px;
    border-radius: 11px;
  }

  .logo-text {
    font-size: 16px;
  }

  /* منوی دسکتاپ مخفی */
  .desktop-menu {
    display: none;
  }

  /* همبرگر نمایش */
  .mobile-menu-toggle {
    display: inline-flex;
  }

  /* اورلی و منوی موبایل فعال */
  .mobile-menu-overlay {
    display: block;
  }

  .mobile-menu {
    display: flex;
  }
}

/* خیلی کوچیک */
@media (max-width: 380px) {
  .logo-image {
    width: 44px;
    height: 44px;
  }

  .logo-text {
    font-size: 14px;
  }

  .menu-item {
    font-size: 14px;
    padding: 13px 14px;
  }
}







/* =========================
   جداکننده با دایره وسط
========================= */
.divider {
  width: 100%;
  max-width: 250px;
  height: 1px;
  margin: 55px auto;
  border: none;
  background: var(--border);
  position: relative;
  overflow: visible;
}

.divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%);
  background: var(--accent);
  border: 4px solid var(--bg);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0,0,0,.12);
}














/* ===== دکمه واتساپ ===== */
#whatsappBtn {
  position: fixed;
  bottom: 100px;
  left: 30px;
  background: #25D366;
  color: #FFFFFF;
  padding: 14px 22px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all var(--dur) var(--ease);
  z-index: 999;
  display: inline-block;
}

#whatsappBtn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

/* ===== دکمه بازگشت به بالا ===== */
#backToTopBtn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 55px;
  height: 55px;
  background: var(--accent);
  color: var(--card);
  font-size: 28px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--overlay);
  transition: all var(--dur) var(--ease);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#backToTopBtn:hover {
  background: var(--text);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--overlay);
}

#backToTopBtn.show {
  opacity: 1;
  visibility: visible;
}






















/* =============================================
   نوا آرا — فوتر
   ============================================= */

.site-footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  margin-top: 60px;
  direction: rtl;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr 1fr 1.2fr;
  gap: 40px;
  padding: 48px 40px;
  max-width: 1280px;
  margin: 0 auto;
}

/* ستون‌ها */
.footer-column {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ستون لوگو */
.footer-logo {
  text-align: center;
}

.footer-logo .logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
  text-align: center;
}

.footer-logo .logo-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
  text-align: center;
}

/* عنوان ستون‌ها */
.column-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  text-align: center;
  width: 100%;
  display: block;
}

/* لینک‌ها */
.footer-links {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-links li {
  width: 100%;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.footer-links li:last-child {
  border-bottom: none;
}

.footer-links li a {
  display: block;
  width: 100%;
  padding: 8px 0;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  text-align: center;
  transition: color var(--dur), background var(--dur);
}

.footer-links {
  padding: 0;
  margin: 0;
}

.footer-links li a:hover {
  color: var(--accent);
  background: var(--light);
}

/* تماس */
.contact-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
  width: 100%;
}

.contact-icon {
  font-size: 16px;
}

.phone-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: color var(--dur);
}

.phone-link:hover {
  color: var(--accent);
}

.work-hours {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 18px;
  text-align: center;
  width: 100%;
}

/* آیکون‌های شبکه اجتماعی */
.social-icons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-size: 16px;
  text-decoration: none;
  transition: background var(--dur), border-color var(--dur), color var(--dur), transform var(--dur);
}

.social-icons a:hover {
  background: var(--light);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* خط پایین */
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 40px;
  text-align: center;
  background: var(--bg);
}

.footer-bottom p {
  font-size: 12.5px;
  color: var(--muted);
}

/* ریسپانسیو */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 36px 24px;
  }

  .footer-column:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 20px;
  }

  .footer-column:first-child {
    grid-column: auto;
  }

  .footer-bottom {
    padding: 16px 20px;
  }
}

































/* ============================================
   CSS - نمونه کار مراسم ختم نوا آرا
============================================ */

:root {
  --bg: #FAF7F3;
  --card: #FFFFFF;
  --border: #E8DDD4;
  --text: #2F2A26;
  --muted: #6D625A;
  --accent: #B88A6A;
  --accent-dark: #8F644A;
  --light: #F0E6DC;
  --overlay: rgba(47, 42, 38, 0.45);
  --dur: 0.25s;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 4px 20px rgba(47, 42, 38, 0.06);
  --shadow-hover: 0 8px 40px rgba(47, 42, 38, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--text);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--light);
  padding: 4px 16px;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 12px;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--text);
}

.section-intro {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.hero {
  padding: 60px 0 40px;
  background: var(--bg);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--light);
  padding: 6px 18px;
  border-radius: 50px;
  font-weight: 600;
  width: fit-content;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
}

.hero-description {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-feature {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.hero-feature span {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.hero-feature p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--dur) var(--ease);
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #a0775a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 138, 106, 0.3);
}

.btn-secondary,
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
}

.btn-secondary:hover,
.btn-outline:hover {
  border-color: var(--accent);
  background: var(--light);
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.hero-stat {
  text-align: center;
}

.hero-stat strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
}

.hero-stat span {
  font-size: 0.75rem;
  color: var(--muted);
}

.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--light);
}

.hero-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.hero-image:hover img {
  transform: scale(1.02);
}

/* ============================================
   Gallery - Responsive + Lightbox
============================================ */

.gallery-section {
  padding: 96px 0;
}

.gallery-section .container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.gallery-section .section-heading {
  max-width: 860px;
  margin: 0 auto 56px;
}

.gallery-section .section-heading h2 {
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  line-height: 1.25;
}

.gallery-section .section-intro {
  font-size: 1.05rem;
  line-height: 1.9;
}

.gallery-section .gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.gallery-section .gallery-item {
  background: var(--card);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  cursor: zoom-in;
}

.gallery-section .gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.gallery-section .gallery-item__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

.gallery-section .gallery-item:hover .gallery-item__image {
  transform: scale(1.06);
}

.gallery-section .gallery-item figcaption {
  padding: 16px 18px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted);
}

@media (max-width: 1200px) {
  .gallery-section .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (max-width: 900px) {
  .gallery-section {
    padding: 84px 0;
  }

  .gallery-section .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .gallery-section .gallery-item__image {
    aspect-ratio: 4 / 3;
  }

  .gallery-section .gallery-item figcaption {
    font-size: 0.86rem;
    padding: 14px 16px;
  }
}

@media (max-width: 520px) {
  .gallery-section {
    padding: 72px 0;
  }

  .gallery-section .container {
    padding: 0 12px;
  }

  .gallery-section .section-heading {
    margin-bottom: 28px;
  }

  .gallery-section .section-heading h2 {
    font-size: clamp(1.5rem, 6vw, 2.1rem);
  }

  .gallery-section .section-intro {
    font-size: 0.92rem;
    line-height: 1.8;
  }

  .gallery-section .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .gallery-section .gallery-item {
    border-radius: 14px;
  }

  .gallery-section .gallery-item__image {
    aspect-ratio: 1 / 1;
  }

  .gallery-section .gallery-item figcaption {
    padding: 8px 8px;
    font-size: 0.68rem;
    line-height: 1.45;
  }
}

@media (max-width: 380px) {
  .gallery-section .gallery-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .gallery-section .gallery-item__image {
    aspect-ratio: 16 / 10;
  }
}
/* ============================================
   Lightbox - نسخه صحیح
============================================ */
/* ============================================
   Lightbox - ساده و بدون دردسر
============================================ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.92);
  padding: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  
  /* مخفی */
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex !important;
}

.lightbox-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 95vw;
  max-height: 95vh;
}

.lightbox-image {
  display: block;
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  text-align: center;
  margin-top: 16px;
  padding: 8px 20px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 30px;
  backdrop-filter: blur(8px);
  max-width: 90%;
  line-height: 1.5;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.25s ease;
  padding: 0;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* Responsive */
@media (max-width: 768px) {
  .lightbox {
    padding: 12px;
  }

  .lightbox-image {
    max-width: 98vw;
    max-height: 70vh;
    border-radius: 8px;
  }

  .lightbox-caption {
    font-size: 0.8rem;
    padding: 6px 14px;
    margin-top: 12px;
  }

  .lightbox-close {
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .lightbox {
    padding: 8px;
  }

  .lightbox-image {
    max-width: 100vw;
    max-height: 60vh;
    border-radius: 6px;
  }

  .lightbox-caption {
    font-size: 0.7rem;
    padding: 4px 12px;
    margin-top: 10px;
  }

  .lightbox-close {
    top: 6px;
    right: 6px;
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
  }
}

.section-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.services-overview {
  padding: 60px 0;
}

.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-overview-card {
  background: var(--card);
  padding: 24px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--accent);
  transition: all var(--dur) var(--ease);
}

.service-overview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.service-overview-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.service-overview-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.quality {
  padding: 60px 0;
  background: var(--light);
}

.services-full {
  padding: 60px 0;
}

.services-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-full-card {
  background: var(--card);
  padding: 24px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--dur) var(--ease);
}

.service-full-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.service-full-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.service-full-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.why-portfolio {
  padding: 60px 0;
  background: var(--light);
}

.faq {
  padding: 60px 0;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.faq-item {
  background: var(--card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border var(--dur) var(--ease);
}

.faq-item:hover {
  border-color: var(--accent);
}

.faq-item summary {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background var(--dur) var(--ease);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '▼';
  font-size: 0.65rem;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item summary:hover {
  background: var(--light);
}

.faq-item p {
  padding: 0 20px 16px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.funeral-services {
  padding: 60px 0;
  background: var(--bg);
}

.funeral-services__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.funeral-services__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.funeral-services__badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--light);
  padding: 4px 16px;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 12px;
}

.funeral-services__title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--text);
}

.funeral-services__intro {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.funeral-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.funeral-service-card {
  background: var(--card);
  padding: 28px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
}

.funeral-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.funeral-service-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

.funeral-service-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.funeral-service-card a {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--dur) var(--ease);
  width: fit-content;
}

.funeral-service-card a::after {
  content: '←';
  transition: transform 0.3s var(--ease);
}

.funeral-service-card a:hover {
  color: var(--accent-dark);
}

.funeral-service-card a:hover::after {
  transform: translateX(-4px);
}

.cta-section {
  padding: 40px 0 60px;
}

.cta-box {
  background: linear-gradient(135deg, #5B3B2C 0%, #2F1D18 100%);
  padding: 54px 40px;
  border-radius: var(--radius);
  color: #fff;
  text-align: center;
  box-shadow: 0 20px 60px rgba(47, 42, 38, 0.25);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 214, 184, 0.14), transparent 70%);
  pointer-events: none;
}

.cta-badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #F4D8C4;
  background: rgba(255, 255, 255, 0.12);
  padding: 4px 16px;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-box h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  color: #fff;
}

.cta-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
  margin: 0 auto 24px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.cta-buttons .btn-primary {
  background: #D59A72;
  color: #fff;
}

.cta-buttons .btn-primary:hover {
  background: #c4865c;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(213, 154, 114, 0.3);
}

.cta-buttons .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
}

.cta-buttons .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}



@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-image {
    order: -1;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-full-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .funeral-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-buttons,
  .cta-buttons,
  .section-actions {
    flex-wrap: wrap;
  }

  .hero-buttons .btn,
  .cta-buttons .btn,
  .section-actions .btn {
    width: auto;
    max-width: 100%;
    min-width: 0;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 40px 0 20px;
  }

  .hero-features {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    width: 100%;
    padding: 11px 18px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }



  .services-overview-grid {
    grid-template-columns: 1fr;
  }

  .services-full-grid {
    grid-template-columns: 1fr;
  }

  .funeral-services__grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 32px 20px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 100%;
    padding: 11px 18px;
  }

  .section-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .section-actions .btn {
    width: 100%;
    max-width: 100%;
    padding: 11px 18px;
  }

}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .hero-stat strong {
    font-size: 1.1rem;
  }


  .faq-item summary {
    font-size: 0.85rem;
    padding: 12px 16px;
  }

  .faq-item p {
    font-size: 0.85rem;
    padding: 0 16px 12px;
  }

  .cta-box {
    padding: 24px 16px;
  }

  .cta-box h2 {
    font-size: 1.3rem;
  }

}
.cta-box {
  overflow: hidden;
}

.cta-buttons {
  min-width: 0;
  max-width: 100%;
}

.cta-buttons .btn {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .cta-buttons .btn {
    width: 100%;
    padding: 10px 16px;
  }
}

@media (max-width: 480px) {
  .cta-buttons .btn {
    width: 100%;
    padding: 9px 14px;
  }
}
.btn {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.hero-buttons,
.cta-buttons,
.section-actions {
  min-width: 0;
}

.hero-buttons .btn,
.cta-buttons .btn,
.section-actions .btn {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
}










/* لینک‌دهی */
a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--dur) var(--ease), opacity var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}

a:hover {
  color: var(--text);
  border-bottom-color: var(--accent);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

a:active {
  opacity: 0.7;
}