/* ===== توضیح فایل: کامپوننت‌های اختصاصی سایت گهرروش: فوتر، هدر شیشه‌ای، دکمه‌ی دستیار هوش مصنوعی، استایل‌های موبایل و چت‌بات ===== */

/*
   فهرست بخش‌های این فایل (به ترتیب؛ با Ctrl+F عنوان را جستجو کنید):
   1. توضیح فایل: کامپوننت‌های اختصاصی سایت گهرروش: فوتر، هدر شیشه‌ای، دکمه‌ی دستیار هوش مصنوعی، استایل‌های موبایل و چت‌بات
   2. DESKTOP: دکمه‌های هم‌اندازه و درشت‌تر (پورتال + هوش مصنوعی)
   3. LIQUID GLASS DROPDOWNS (desktop) — باکس زیرمنوها
   4. MOBILE: LIQUID GLASS MENU + AI BUTTON NEXT TO HAMBURGER
   5. صفحه‌ی اصلی — بهبود موبایل: آخرین اخبار / کارخانه‌ها / همکاران
   6. FINAL POLISH — لوگو، دکمه‌های شیشه‌ای، شعاع گوشه‌ها، فوتر موبایل، رنگ‌ولعاب
   7. اصلاح‌ها: شکل دکمه‌ی عددی کارخانه‌ها + تراز دقیق فوتر موبایل
   8. فوتر: لوگو کامل دیده شود + آدرس راست‌چین
   9. فوتر — شماره/ایمیل بدون به‌هم‌ریختگی چپ‌چین/راست‌چین، آیکون‌های قرمز، لینک‌های سریع
   10. فوتر موبایل: لوگوی کامل + انتهای مشخص
   11. موبایل: دکمه‌ی دستیار فقط آیکون (ظاهر همان دکمه‌ی دسکتاپ)
   12. فوتر: لوگوی کامل (همان سایز) + فاصله از انتهای صفحه
   13. فاصله‌ی خالی پایین فوتر (احتیاطی)
   14. انیمیشن نرم آیکون دستیار
   15. فوتر موبایل: ترتیب جدید (تماس ← نقشه ← لینک‌های سریع ← لوگو و متن)
   16. چت‌بات موبایل: کل ارتفاع صفحه
   17. چت‌بات دسکتاپ/تبلت: شروع دقیق از زیر هدر، پس‌زمینه تا پایین صفحه
   18. صفحه‌ی اصلی: بخش «نگاهی کلی»
   19. هیروی صفحه‌ی اصلی: جمله‌های چرخان + نشانگر اسکرول
   20. هدر دسکتاپ: فاصله‌ی برابر بالا و پایین + ریسپانسیو
   21. دکمه‌ی زبان (EN / FA): هم‌شکل دکمه‌های دستیار و پورتال، با رنگ خنثی (دسکتاپ)
   22. ارتفاع نهایی هدر دسکتاپ: بالا ۱۰۸px ، بعد از اسکرول ۸۲px ؛ لوگوها وسط‌چین (فاصله‌ی برابر بالا و پایین)
   23. (۹۹۲ تا ۱۴۳۹) دکمه‌ی پورتال هم مثل دستیار فقط آیکون و ۴۴×۴۴
   24. هیرو: خطوط هندسی متحرک (سفید کم‌رنگ) + نوشته‌ی GRSco
   25. کارخانه‌ها: کل باکس لینک
   26. همکاران ما: نام شرکت زیر لوگو
   27. صفحه‌ی همکاران: کارت لینک
   28. همکاران ما: کارت‌های هم‌اندازه، بزرگ‌تر و شیشه‌ای
   29. همکاران ما: فضای بالا/پایین برای هاور و سایه، کارت عریض‌تر (نزدیک مربع)
   30. هیرو: شکل هندسی بزرگ‌تر، GRSco درشت‌تر ولی کم‌رنگ با فونت هندسی، دایره‌ی خورشید قرمز کم‌رنگ
   31. دکمه‌ی عددی کارخانه‌ها: دایره دقیقاً وسط کاشی و بردر کامل (۷۶px = ۸ + ۶۰ + ۸)
   32. هیرو: شکل هندسی ریسپانسیو (هم‌اندازه با عرض و ارتفاع پنجره، ضخامت خط ثابت‌تر)
   33. گرید روی ویدیوی هیرو (برگشت به نسخه‌ی اولیه)
   34. 5. AI GRID — ۵. الگوی خطوط شطرنجی (افکت تزئینی هوش مصنوعی روی هدر)
   35. دکمه‌ی عددی کارخانه‌ها: کاشی گوشه‌ی تصویر مثل قالب (یکرنگ)، فقط دایره شیشه‌ای رنگی
   36. روانی اسکرول: پس‌زمینه‌ی ثابت (parallax) باعث رندر دوباره در هر اسکرول می‌شد
   37. کارخانه‌ها: کاشی گوشه‌ی تصویر ساده و تیره (همان رنگ گوشه‌ی کروی)؛ شیشه‌ی رنگی فقط روی دایره‌ی عدد
   38. اسکرول روان: پس‌زمینه‌های fixed (پارالکس) باعث بازنقاشی کامل در هر اسکرول می‌شدند
 */

/* Shared layout CSS: common styling for the externally loaded header and footer. */

/* =========================================================
   SHARED SITE HEADER / FOOTER
   Responsive fixes and unified red header glow
   ========================================================= */
html,
body {
  width: 100%;
}

.navbar {
  isolation: isolate;
  overflow: visible;
  background: transparent;
}

.navbar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  pointer-events: none;
  z-index: -1;
}

.navbar.nav-scroll {
  background: linear-gradient(
    180deg,
    rgba(8, 9, 12, 0.94) 0%,
    rgba(8, 9, 12, 0.88) 100%
  );
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.navbar .container {
  min-width: 0;
}

.navbar .navbar-nav {
  min-width: 0;
}

.navbar .nav-link {
  max-width: 100%;
}

.navbar .logo-img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Keep the desktop navigation usable down to 1200px. */
@media screen and (min-width: 1200px) {
  .navbar .navbar-nav .nav-link {
    font-size: 13px;
    padding-inline: 7px;
  }
  .navbar .navbar-nav {
    align-items: center;
  }
  .navbar .container {
    width: 100%;
    max-width: 1500px;
    padding-inline: 20px;
  }
  .navbar .logo-wrapper {
    flex: 0 0 auto;
  }
}

/* =========================================================
   MOBILE / TABLET NAVBAR
   Breakpoint: < 992px
   ========================================================= */
@media screen and (max-width: 991.98px) {
  .navbar {
    height: 72px;
    min-height: 72px;
    padding: 0 !important;
  }
  .navbar::before {
    height: 155px;
    background: radial-gradient(
      ellipse 85% 90% at 50% -30%,
      rgba(213, 28, 57, 0.48) 0%,
      rgba(213, 28, 57, 0.21) 35%,
      rgba(213, 28, 57, 0.06) 62%,
      transparent 82%
    );
  }
  .navbar .container {
    width: 100%;
    max-width: none;
    min-height: 72px;
    height: 72px;
    padding: 0 14px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .logo-wrapper,
  .nav-scroll .logo-wrapper {
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto;
    order: 1;
  }
  .navbar .logo {
    display: inline-flex;
    align-items: center;
    padding: 0;
    margin: 0 !important;
  }
  .navbar .logo-img,
  .nav-scroll .logo-img {
    width: 112px;
    max-width: 112px;
    margin: 0;
    padding: 0;
  }
  .navbar .navbar-toggler {
    position: relative;
    z-index: 3;
    order: 2;
    width: 46px;
    height: 46px;
    min-width: 46px;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(213, 28, 57, 0.48) !important;
    border-radius: 13px;
    background: rgba(7, 8, 11, 0.42) !important;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition:
      border-color 0.2s ease,
      background 0.2s ease,
      transform 0.2s ease;
  }
  .navbar .navbar-toggler:hover,
  .navbar .navbar-toggler:focus {
    border-color: rgba(213, 28, 57, 0.85) !important;
    background: rgba(213, 28, 57, 0.1) !important;
    outline: none !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  }
  .navbar .navbar-toggler:active {
    transform: scale(0.96);
  }
  .navbar .navbar-toggler-icon {
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none !important;
    color: #fff;
    font-size: 20px;
  }
  .navbar .navbar-collapse {
    position: fixed;
    z-index: 100;
    top: 72px;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    height: calc(100dvh - 72px);
    max-height: calc(100dvh - 72px);
    margin: 0;
    padding: 8px 14px 28px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: linear-gradient(
      180deg,
      rgba(14, 15, 19, 0.985) 0%,
      rgba(8, 9, 12, 0.985) 100%
    );
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
    text-align: right;
  }
  .navbar .navbar-collapse.show {
    display: block !important;
  }
  .navbar .navbar-nav {
    width: 100%;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .navbar .navbar-nav > .nav-item {
    width: 100%;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  }
  .navbar .navbar-nav > .nav-item:last-child {
    border-bottom: 0;
  }
  .navbar .navbar-nav > .nav-item > .nav-link {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    padding: 14px 6px !important;
    margin: 0 !important;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    white-space: normal;
    color: #f4f4f4;
  }
  .navbar .navbar-nav > .nav-item > .nav-link:hover,
  .navbar .navbar-nav > .nav-item > .nav-link:focus,
  .navbar .navbar-nav > .nav-item > .nav-link.active {
    color: #d51c39 !important;
  }
  .navbar .dropdown > .nav-link i {
    margin-right: auto;
    margin-left: 2px;
    padding: 0;
    font-size: 8px;
    color: rgba(255, 255, 255, 0.52);
    transition:
      transform 0.2s ease,
      color 0.2s ease;
  }
  .navbar .dropdown > .nav-link[aria-expanded="true"] i {
    color: #d51c39;
    transform: rotate(180deg);
  }
  .navbar .dropdown-menu {
    position: static !important;
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 4px 8px 8px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: rgba(255, 255, 255, 0.025) !important;
    box-shadow: none !important;
    transform: none !important;
  }
  .navbar .dropdown-menu .dropdown-item {
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 9px 10px !important;
    border-radius: 8px;
    color: #c8cccf !important;
    font-size: 13px;
    line-height: 1.55;
    white-space: normal;
    margin-right: 10px;
  }
  .navbar .dropdown-menu .dropdown-item:hover,
  .navbar .dropdown-menu .dropdown-item:focus,
  .navbar .dropdown-menu .dropdown-item.active {
    color: #d51c39 !important;
    background: rgba(213, 28, 57, 0.065);
  }
  .navbar .dropdown-menu .dropdown-item span {
    width: 100%;
    text-align: right;
  }
  .navbar .dropdown-menu .dropdown-item i {
    margin-right: auto;
    padding: 0 4px 0 0;
    font-size: 8px;
    color: rgba(255, 255, 255, 0.45);
  }
  .navbar .dropdown-submenu > .dropdown-menu {
    padding-right: 12px !important;
    padding-left: 0 !important;
    background: rgba(0, 0, 0, 0.14) !important;
  }
  .navbar .utility-row {
    display: flex !important;
    flex-direction: column;
    gap: 9px;
    margin-top: 14px !important;
    padding: 16px 0 14px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom: 0 !important;
  }
  .navbar .utility-row .nav-link {
    min-height: 46px !important;
    justify-content: center !important;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    background: rgba(255, 255, 255, 0.025);
    padding: 11px 15px !important;
  }
  .navbar .utility-row .ai-assistant-nav-btn {
    border-color: rgba(213, 28, 57, 0.34);
    background: rgba(213, 28, 57, 0.075);
  }
  .navbar .lang-logo-row {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 4px 8px !important;
    border-bottom: 0 !important;
  }
  .navbar .lang-logo-row .nav-link {
    width: auto !important;
    min-height: auto !important;
    padding: 7px 4px !important;
  }
  .navbar .logo2-item {
    display: inline-flex;
    align-items: center;
    max-width: 70%;
  }
  .navbar .logo2-img {
    display: block;
    width: auto;
    height: 38px;
    max-width: 100%;
    object-fit: contain;
  }
  /* Avoid Bootstrap's horizontal padding/margin causing overflow. */
  .navbar .row,
  .navbar [class*="col-"] {
    max-width: 100%;
  }
}

/* Very small phones */
@media screen and (max-width: 480px) {
  .navbar .container {
    padding-inline: 11px !important;
  }
  .navbar .logo-img,
  .nav-scroll .logo-img {
    width: 100px;
    max-width: 100px;
  }
  .navbar .navbar-toggler {
    width: 43px;
    height: 43px;
    min-width: 43px;
    border-radius: 11px;
  }
  .navbar .navbar-collapse {
    padding-inline: 11px;
  }
  .navbar .navbar-nav > .nav-item > .nav-link {
    min-height: 49px;
    font-size: 14px;
  }
  .navbar .dropdown-menu .dropdown-item {
    font-size: 12.5px;
  }
}

/* Footer safety: never let wide content create a horizontal scrollbar. */
.footer,
.footer .container,
.footer .row,
.footer img {
  max-width: 100%;
}

.footer img {
  height: auto;
}

@media screen and (max-width: 767px) {
  .footer {
    overflow-x: hidden;
  }
  .footer .container {
    width: 100%;
    padding-inline: 15px;
  }
}

/* =========================================================
   FINAL RESPONSIVE NAVIGATION OVERRIDES
   Desktop from 992px; mobile below that.
   ========================================================= */
html,
body {
  max-width: 100%;
  overflow-x: hidden !important;
}

.navbar {
  width: 100%;
  max-width: 100vw;
}

/* The old white homepage glow must never sit behind the header. */
.background-effects_index {
  background: transparent !important;
  background-image: none !important;
}

/* Header-only red glow, based on the red atmosphere used by managers.html. */
.navbar::before {
  height: 210px;
  background: radial-gradient(
    ellipse 55% 90% at 50% -25%,
    rgba(170, 0, 0, 0.38) 0%,
    rgba(170, 0, 0, 0.2) 28%,
    rgba(120, 0, 0, 0.09) 53%,
    transparent 76%
  ) !important;
  opacity: 1;
}

.navbar.nav-scroll::before {
  height: 160px;
  opacity: 0.82;
}

@media (min-width: 992px) {
.navbar .navbar-nav {
    flex-wrap: nowrap;
  }
  .navbar .nav-link {
    white-space: nowrap;
  }
}

/* Tablet/mobile */
@media (max-width: 991.98px) {
  .navbar {
    min-height: 70px !important;
    height: 70px !important;
    padding: 0 !important;
  }
  .navbar .container {
    width: 100% !important;
    max-width: none !important;
    height: 70px !important;
    min-height: 70px !important;
    padding: 0 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px;
  }
  .navbar .logo-wrapper {
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto;
  }
  .navbar .logo-img {
    width: 108px !important;
    max-width: 108px !important;
    height: auto !important;
  }
  .navbar .navbar-toggler {
    display: inline-flex !important;
    position: relative;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(190, 25, 48, 0.48) !important;
    border-radius: 12px;
    background: rgba(8, 9, 12, 0.7) !important;
    color: #fff !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.24);
  }
  .navbar .navbar-toggler-icon {
    width: auto !important;
    height: auto !important;
    background: none !important;
    font-size: 19px;
    color: #fff;
  }
  /* Override Bootstrap's navbar-expand-lg desktop rules. */
  .navbar .navbar-collapse {
    display: none !important;
    position: fixed !important;
    top: 70px !important;
    right: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: calc(100dvh - 70px) !important;
    max-height: calc(100dvh - 70px) !important;
    margin: 0 !important;
    padding: 10px 14px 30px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    text-align: right;
    -webkit-overflow-scrolling: touch;
  }
  .navbar .navbar-collapse.show {
    display: block !important;
  }
  .navbar .navbar-nav {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: stretch !important;
    gap: 2px;
  }
  .navbar .navbar-nav > .nav-item {
    width: 100% !important;
    margin: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  }
  .navbar .nav-link {
    width: 100% !important;
    min-height: 50px;
    margin: 0 !important;
    padding: 13px 12px !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 14px !important;
    line-height: 1.7;
    border-radius: 10px;
  }
  .navbar .nav-link:hover,
  .navbar .nav-link.active {
    color: #fff !important;
    background: rgba(180, 0, 25, 0.1);
  }
  .navbar .dropdown-menu {
    display: none !important;
    position: static !important;
    width: 100% !important;
    margin: 0 0 7px !important;
    padding: 5px 8px !important;
    float: none !important;
    border-radius: 10px;
  }
  .navbar .dropdown.mobile-open > .dropdown-menu {
    display: block !important;
  }
  .navbar .dropdown-menu .nav-link,
  .navbar .dropdown-menu .dropdown-item {
    min-height: 44px;
    padding: 10px 12px !important;
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.76) !important;
    white-space: normal !important;
  }
  .navbar .dropdown-submenu > .dropdown-menu {
    margin-right: 8px !important;
    width: calc(100% - 8px) !important;
  }
  .navbar .ti-angle-down,
  .navbar .ti-angle-right {
    transition: transform 0.2s ease;
  }
  .navbar .dropdown.mobile-open > .nav-link .ti-angle-down {
    transform: rotate(180deg);
  }
  .navbar .utility-row {
    margin-top: 8px !important;
    padding-top: 5px;
  }
  .navbar .utility-row .nav-link {
    justify-content: center;
    background: rgba(180, 0, 25, 0.08);
    border: 1px solid rgba(190, 25, 48, 0.2);
    margin-bottom: 7px !important;
  }
  .navbar .lang-logo-row {
    border-bottom: 0 !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .navbar .lang-logo-row > a {
    width: auto !important;
  }
  .navbar .logo2-img {
    max-width: 150px;
    height: auto;
  }
  body:has(.navbar-collapse.show) {
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .navbar .container {
    padding: 0 12px !important;
  }
  .navbar .logo-img {
    width: 98px !important;
    max-width: 98px !important;
  }
  .navbar .navbar-toggler {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
  }
  .navbar .navbar-collapse {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* =========================================================
   FINAL HEADER LAYER / RTL SAFETY OVERRIDES
   These rules only stabilize the shared navbar itself; page sections keep
   their existing styling and stacking contexts.
   ========================================================= */
.navbar {
  position: absolute !important;
  z-index: 99999 !important;
  direction: rtl !important;
}

.navbar .navbar-nav {
  direction: rtl !important;
  flex-direction: row !important;
}

.navbar .navbar-collapse {
  position: relative;
  z-index: 100000;
}

.navbar .dropdown,
.navbar .dropdown-menu {
  z-index: 100001;
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav {
    flex-direction: column !important;
  }
  .navbar .navbar-toggler {
    z-index: 100002 !important;
  }
  .navbar .navbar-collapse {
    z-index: 100001 !important;
  }
  .navbar .dropdown-menu {
    z-index: auto;
  }
}

/* =========================================================
   COMPACT DESKTOP HEADER (>= 992px)
   هدر دسکتاپ جمع‌وجورتر: لوگو و لینک‌ها کوچک‌تر و فاصله‌ها روان (clamp)
   تا منو تا عرض ۹۹۲px بدون شلوغی جا شود. زیر ۹۹۲px نسخه‌ی موبایل فعال است.
   ========================================================= */
@media (min-width: 992px) {
  /* !important لازم است چون style.css برای .container عمومی max-width:1200px !important دارد */
  .navbar .container {
    width: 100%;
    max-width: 1440px !important;
    padding-left: clamp(12px, 1.6vw, 24px) !important;
    padding-right: clamp(12px, 1.6vw, 24px) !important;
    flex-wrap: nowrap !important;
    gap: clamp(8px, 1.2vw, 18px);
  }
  .navbar .logo-wrapper {
    flex: 0 0 auto;
  }
  .navbar .logo-img {
    width: clamp(96px, 9.2vw, 128px) !important;
    max-width: none;
    height: auto;
  }
  .navbar .navbar-collapse {
    display: flex !important;
    flex: 1 1 auto !important;
    min-width: 0;
  }
  .navbar .navbar-nav.me-auto {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    margin-left: 0 !important;
    margin-right: 0 !important;
    flex-wrap: nowrap !important;
    align-items: center;
  }
  .navbar .navbar-nav > .nav-item > .nav-link {
    font-size: clamp(12px, 1vw, 13.5px) !important;
    padding-left: clamp(5px, 0.5vw, 9px) !important;
    padding-right: clamp(5px, 0.5vw, 9px) !important;
    white-space: nowrap;
  }
  /* دکمه‌ها و لوگوی شعار: به انتهای چپ هدر، با اندازه‌ی کوچک‌تر */
  .navbar .navbar-nav .utility-row {
    margin-right: auto !important;
    margin-left: 0 !important;
    gap: 6px;
    flex-wrap: nowrap;
  }
  .navbar .utility-row .nav-link {
    padding: 6px 12px !important;
    font-size: 12.5px !important;
  }
  .navbar .utility-row .portal_btn {
    margin: 0 !important;
  }
  .navbar .navbar-nav .lang-logo-row {
    gap: 6px;
    flex-wrap: nowrap;
  }
  .navbar .lang-logo-row .nav-link {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
  .navbar .logo2-item .logo2-img {
    height: 38px;
  }
  .navbar .navbar-nav .lang-logo-row .logo2-item {
    margin-right: 2px;
  }
}

/* عرض‌های کمتر از ۱۲۰۰px: لوگوی شعار مخفی می‌شود */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar .logo2-item {
    display: none !important;
  }
}

/* عرض‌های کمتر از ۱۱۰۰px: دکمه‌های هوش مصنوعی و پورتال فقط آیکون (بدون متن) */
@media (min-width: 992px) and (max-width: 1099.98px) {
  .navbar .utility-row .ai-assistant-nav-btn > span:not(.ai-icon),
  .navbar .utility-row .portal_btn .portal-text {
    display: none !important;
  }
  .navbar .utility-row .ai-assistant-nav-btn,
  .navbar .utility-row .portal_btn {
    width: 42px;
    min-width: 42px;
    padding: 0 !important;
    gap: 0 !important;
  }
}

/* =========================================================
   AI ASSISTANT BUTTON — دکمه‌ی دستیار هوش مصنوعی (شیشه‌ای + آیکون متحرک)
   هم‌ظاهر با دکمه‌ی «معرفی شرکت» صفحه اصلی؛ در همه‌ی صفحات (دسکتاپ و موبایل)
   ========================================================= */
:is(
  .navbar .utility-row .ai-assistant-nav-btn,
  .navbar .ai-assistant-mobile-btn
) {
  position: relative !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  direction: rtl;
  color: #fff !important;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 20px;
  overflow: hidden !important;
  background: linear-gradient(
    120deg,
    rgba(213, 28, 57, 0.95),
    rgba(213, 28, 57, 0.82),
    rgba(185, 35, 90, 0.75),
    rgba(100, 55, 165, 0.65),
    rgba(0, 150, 125, 0.62),
    rgba(213, 28, 57, 0.95)
  ) !important;
  background-size: 400% 400% !important;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 0 !important;
  box-shadow: none !important;
  animation: navAiGradient 9s ease infinite !important;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease !important;
}

:is(
  .navbar .utility-row .ai-assistant-nav-btn,
  .navbar .ai-assistant-mobile-btn
):hover,
:is(
  .navbar .utility-row .ai-assistant-nav-btn,
  .navbar .ai-assistant-mobile-btn
):focus {
  color: #fff !important;
  transform: translateY(-2px);
  border: 0 !important;
  box-shadow: none !important;
}

/* جلوه‌ی نور شیشه‌ای که هر چند ثانیه روی دکمه رد می‌شود */
:is(
  .navbar .utility-row .ai-assistant-nav-btn,
  .navbar .ai-assistant-mobile-btn
)::before {
  content: "";
  position: absolute;
  top: -100%;
  left: -60%;
  width: 45%;
  height: 300%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.22),
    transparent
  );
  transform: rotate(20deg);
  animation: navAiShine 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

:is(
    .navbar .utility-row .ai-assistant-nav-btn,
    .navbar .ai-assistant-mobile-btn
  )
  > span:not(.ai-icon) {
  position: relative;
  z-index: 2;
  color: #fff !important;
  white-space: nowrap;
}

/* آیکون متحرک ✦ + جرقه */
:is(
    .navbar .utility-row .ai-assistant-nav-btn,
    .navbar .ai-assistant-mobile-btn
  )
  .ai-icon {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 16px;
  width: 16px;
  min-width: 16px;
  height: 16px;
}

:is(
    .navbar .utility-row .ai-assistant-nav-btn,
    .navbar .ai-assistant-mobile-btn
  )
  .ai-icon::before {
  content: "✦";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  line-height: 1;
  color: #fff;
  text-shadow:
    0 0 5px rgba(255, 255, 255, 0.95),
    0 0 12px rgba(255, 100, 160, 0.75),
    0 0 20px rgba(130, 100, 255, 0.45);
  animation: navAiPulse 2.5s ease-in-out infinite;
}

:is(
    .navbar .utility-row .ai-assistant-nav-btn,
    .navbar .ai-assistant-mobile-btn
  ):hover
  .ai-icon::before {
  animation-duration: 1.3s;
}

:is(
    .navbar .utility-row .ai-assistant-nav-btn,
    .navbar .ai-assistant-mobile-btn
  )
  .ai-spark {
  position: absolute;
  top: -2px;
  right: -3px;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  box-shadow:
    0 0 5px rgba(255, 255, 255, 0.95),
    0 0 10px rgba(255, 80, 140, 0.85),
    0 0 15px rgba(130, 90, 255, 0.5);
  animation: navAiSpark 2s ease-in-out infinite;
}

@keyframes navAiGradient {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 50% 100%;
  }
  50% {
    background-position: 100% 50%;
  }
  75% {
    background-position: 50% 0%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes navAiShine {
  0% {
    left: -70%;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  45% {
    left: 130%;
    opacity: 0;
  }
  100% {
    left: 130%;
    opacity: 0;
  }
}

@keyframes navAiPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.9) rotate(0deg);
    opacity: 0.85;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.15) rotate(12deg);
    opacity: 1;
  }
}

@keyframes navAiSpark {
  0%,
  100% {
    transform: scale(0.7);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .navbar .utility-row .ai-assistant-nav-btn,
  .navbar .utility-row .ai-assistant-nav-btn::before,
  .navbar .utility-row .ai-assistant-nav-btn .ai-icon::before,
  .navbar .utility-row .ai-assistant-nav-btn .ai-spark {
    animation: none !important;
  }
}

/* =========================================================
   DESKTOP: دکمه‌های هم‌اندازه و درشت‌تر (پورتال + هوش مصنوعی)
   ========================================================= */
@media (min-width: 992px) {
  .navbar .utility-row .portal_btn,
  .navbar .utility-row .ai-assistant-nav-btn {
    height: 42px;
    min-height: 42px;
    padding: 0 20px !important;
    font-size: 14px !important;
    border-radius: 21px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0 !important;
    box-shadow: none !important;
  }
  .navbar .utility-row .portal_btn .portal-text {
    white-space: nowrap;
  }
  .navbar .utility-row .portal_btn [class^="ti-"] {
    font-size: 14px;
  }
  .navbar .utility-row .ai-assistant-nav-btn .ai-icon {
    flex-basis: 18px;
    width: 18px;
    min-width: 18px;
    height: 18px;
  }
  .navbar .utility-row .ai-assistant-nav-btn .ai-icon::before {
    font-size: 18px;
  }
}

/* =========================================================
   STICKY HEADER (desktop) + GLASS BACKGROUND
   هدر چسبان: در بالای صفحه شفاف، با اسکرول نوار شیشه‌ی تیره با خط قرمز ظریف
   ========================================================= */
@media (min-width: 992px) {
  .navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    transition: height 0.3s ease;
  }
  .navbar.nav-scroll {
    /* قالب قدیمی: top:-100px + translateY(100px)؛ اینجا خنثی می‌شود تا هدر دقیقاً بالای صفحه بماند */
    top: 0 !important;
    -webkit-transform: none !important;
    transform: none !important;
    min-height: 0 !important;
    background: none !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    /* بلور روی ::after تا زیرمنو هم بتواند بلور بگیرد */
  }
  .navbar.nav-scroll .container {
    height: 96px;
    align-items: center;
  }
  .navbar.nav-scroll .logo-img {
    width: clamp(84px, 7.8vw, 108px) !important;
  }
  .navbar.nav-scroll::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    contain: strict;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    background:
      linear-gradient(
        180deg,
        rgba(213, 28, 57, 0.1) 0%,
        rgba(213, 28, 57, 0) 60%
      ),
      linear-gradient(
        180deg,
        rgba(14, 15, 20, 0.82) 0%,
        rgba(8, 9, 12, 0.88) 100%
      );
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow:
      0 10px 34px rgba(0, 0, 0, 0.3),
      inset 0 -1px 0 rgba(213, 28, 57, 0.28);
  }
}

/* =========================================================
   LIQUID GLASS DROPDOWNS (desktop) — باکس زیرمنوها
   ========================================================= */
@media (min-width: 992px) {
  .navbar .dropdown-menu,
.navbar .dropdown-menu .dropdown-item:hover,
  .navbar .dropdown-menu .dropdown-item:focus {
    border-radius: 10px;
  }
}

/* هم‌عرض بودن دو دکمه‌ی پورتال و هوش مصنوعی (وقتی متن دارند) */
@media (min-width: 1100px) {
  .navbar .utility-row .portal_btn,
  .navbar .utility-row .ai-assistant-nav-btn {
    width: 158px;
    min-width: 158px;
  }
}

/* =========================================================
   GLASS CONTROLS — تنظیمات شیشه (اینجا را تغییر بدهید)
   alpha: 0 = کاملاً شفاف ... 1 = کاملاً مات       blur: میزان تاری پشت شیشه
   ========================================================= */
.navbar {
  --grs-glass-alpha: 0.55;
  /* باکس زیرمنوهای دسکتاپ (سطح اول) */
  --grs-glass-alpha-sub: 0.55;
  /* باکس زیر‌زیرمنوها (مثلاً لیست کارخانه‌ها) */
  --grs-glass-blur: 24px;
  /* تاری زیرمنوهای دسکتاپ */
  --grs-mobile-glass-alpha: 0.6;
  /* منوی موبایل */
  --grs-mobile-glass-blur: 14px;
  /* تاری منوی موبایل */
}

@media (min-width: 992px) {
  .navbar .container .ai-assistant-mobile-btn.ai-assistant-mobile-btn {
    display: none !important;
  }
}

/* =========================================================
   MOBILE: LIQUID GLASS MENU + AI BUTTON NEXT TO HAMBURGER
   ========================================================= */
@media (max-width: 991.98px) {
  /* قالب قدیمی روی .nav-scroll مقدار transform/backdrop-filter می‌گذاشت که
     منوی fixed را خراب می‌کرد و اجازه‌ی بلور نمی‌داد */
  .navbar.nav-scroll {
    top: 0 !important;
    -webkit-transform: none !important;
    transform: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  .navbar .navbar-collapse {
    background:
      linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.11) 0%,
        rgba(255, 255, 255, 0.02) 40%,
        rgba(213, 28, 57, 0.09) 100%
      ),
      rgba(10, 11, 15, var(--grs-mobile-glass-alpha, 0.6)) !important;
    -webkit-backdrop-filter: blur(var(--grs-mobile-glass-blur, 22px));
    backdrop-filter: blur(var(--grs-mobile-glass-blur, 22px));
    contain: layout style paint;
    border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow:
      inset 0 1px 1px rgba(255, 255, 255, 0.22),
      0 22px 50px rgba(0, 0, 0, 0.35) !important;
  }
  .navbar .dropdown-menu {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.14) !important;
  }
  /* دکمه‌ی AI کنار همبرگری */
  .navbar .ai-assistant-mobile-btn {
    order: 1;
    margin: 0 auto 0 0 !important;
  }
  .navbar .ai-assistant-mobile-btn .ai-mobile-text {
    white-space: nowrap;
  }
}

/* گوشی‌های خیلی باریک: فقط آیکون */
@media (max-width: 400px) {
  .navbar .ai-assistant-mobile-btn {
    width: 42px;
    padding: 0;
    gap: 0;
  }
  .navbar .ai-assistant-mobile-btn .ai-mobile-text {
    display: none !important;
  }
}

/* =========================================================
   PAGE-SECTION LIQUID GLASS — فوتر / کارخانه‌های گهرروش /
   آخرین اخبار / همکاران ما (فقط در index.html)
   برای تغییر شفافیت یا تاری هر بخش، فقط اعداد زیر را عوض کن.
   alpha: 0 کاملاً شفاف ... 1 کاملاً مات      blur: میزان تاری پشت شیشه
   ========================================================= */
:root {
  --grs-footer-glass-alpha: 0.5;
  --grs-footer-glass-blur: 20px;
  --grs-factories-glass-alpha: 0.32;
  --grs-factories-glass-blur: 16px;
  --grs-news-glass-alpha: 0.32;
  --grs-news-glass-blur: 16px;
  --grs-partners-glass-alpha: 0.38;
  --grs-partners-glass-blur: 14px;
}

.services2,
.cars1 {
  position: relative;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.07) 0%,
      rgba(255, 255, 255, 0.015) 45%,
      rgba(213, 28, 57, 0.05) 100%
    ),
    rgba(18, 19, 23, var(--grs-factories-glass-alpha)) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cars1 {
  -webkit-backdrop-filter: blur(var(--grs-news-glass-blur)) saturate(150%);
  backdrop-filter: blur(var(--grs-news-glass-blur)) saturate(150%);
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.07) 0%,
      rgba(255, 255, 255, 0.015) 45%,
      rgba(213, 28, 57, 0.05) 100%
    ),
    rgba(18, 19, 23, var(--grs-news-glass-alpha)) !important;
}

/* بنر «همکاران ما»: همان روکش تیره‌ی قالب (::before) به شیشه‌ی مات‌شده تبدیل می‌شود
   تا تصویر پس‌زمینه از پشتش دیده و تار شود */
.clients .video-wrapper[data-overlay-dark]:before {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.02) 45%,
      rgba(213, 28, 57, 0.1) 100%
    ),
    rgba(10, 11, 15, var(--grs-partners-glass-alpha)) !important;
  -webkit-backdrop-filter: blur(var(--grs-partners-glass-blur)) saturate(160%);
  backdrop-filter: blur(var(--grs-partners-glass-blur)) saturate(160%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* =========================================================
   LIQUID GLASS — سایر بخش‌های ایندکس (کارخانه‌ها / اخبار / همکاران / فوتر)
   همان دستور شیشه‌ای باکس زیرمنوها؛ هر بخش متغیر شفافیت/بلور خودش را دارد
   تا جدا قابل تنظیم باشد.
   ========================================================= */
:root {
  --grs-glass-news-alpha: 0.1;
  /* بکگراند con (تایتل خبر) */
  --grs-glass-news-blur: 5px;
  --grs-glass-footer-alpha: 0.3;
  /* باکس اطلاعات تماس در فوتر */
  --grs-glass-footer-blur: 18px;
}

/* --- کارخانه‌های گهرروش: تایتل به حالت قبل (بدون شیشه) برگشت؛
   افکت شیشه‌ای به‌جایش روی دکمه‌ی عددی (curv-butn) اعمال شده --- */
.services2 .item .curv-butn .icon {
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.services2 .item:hover .curv-butn .icon {
  background-color: #d51c39 !important;
  color: #fff !important;
}

/* --- آخرین اخبار: باکس con شیشه‌ای؛ پشت تیتر تیره‌تر تا خوانایی حفظ شود --- */
.cars1 .item .con {
  /* باگ قدیمی: style.css یک‌جا direction:ltr را برای همه‌ی owl-carousel ها ست کرده و
     فقط اسلاید وسط (active) با قانون دیگری rtl می‌شد؛ اسلایدهای کناری (peek) هنگام چرخش
     lTR می‌ماندند تا خودشان وسط بیایند. اینجا مستقل از active بودن، همیشه rtl است. */
  direction: rtl !important;
  position: relative;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.327) 0%,
      rgba(255, 255, 255, 0.02) 40%,
      rgba(213, 28, 57, 0.06) 100%
    ),
    rgba(14, 15, 20, var(--grs-glass-news-alpha)) !important;
  -webkit-backdrop-filter: blur(var(--grs-glass-news-blur)) saturate(250%);
  backdrop-filter: blur(var(--grs-glass-news-blur)) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.32),
    inset 0 1px 1px rgba(255, 255, 255, 0.18);
}

/* تیرگی اضافه فقط پشت تیتر/تاریخ، نه کل باکس، تا شیشه‌ای بودن باقی بماند */
.cars1 .item .con::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.58) 0%,
    rgba(0, 0, 0, 0.3) 62%,
    rgba(0, 0, 0, 0.05) 100%
  );
}

.cars1 .item .con > .row {
  position: relative;
  z-index: 1;
}

/* --- همکاران ما: اورلی تیره‌ی بنر حذف شد؛ کارت‌های مربعی شیشه‌ای مثل قبل برگشتند --- */
.clients .video-wrapper[data-overlay-dark]:before {
  opacity: 0 !important;
}

/* --- فوتر: پس‌زمینه‌ی محیطی + باکس اطلاعات تماس شیشه‌ای --- */
.footer {
  overflow: hidden;
  background:
    radial-gradient(
      900px 320px at 12% -10%,
      rgba(213, 28, 57, 0.16),
      transparent 60%
    ),
    radial-gradient(
      700px 260px at 92% 8%,
      rgba(90, 60, 170, 0.1),
      transparent 60%
    ),
    #131417 !important;
}

.footer .footer-contact-links-divider {
  background-color: rgba(255, 255, 255, 0.14);
}

/* =========================================================
   دکمه‌های سایت — همان رنگ‌های اصلی، با کمی حالت شیشه‌ای
   (button-1/2/3، دکمه‌ی ارسال فرم‌ها، جزئیات خبر، بازگشت به خانه)
   نکته: دکمه‌ی هیرو #companyIntroBtn و دکمه‌های پورتال/هوش‌مصنوعی/عدد کارخانه
   قبلاً جدا شیشه‌ای شده‌اند و اینجا دست نمی‌خورند.
   ========================================================= */

/* button-1 (قرمز توپر) */
.button-1 {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0.02) 45%,
      rgba(0, 0, 0, 0.1) 100%
    ),
    rgba(213, 28, 57, 0.82) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  -webkit-backdrop-filter: blur(8px) saturate(150%);
  backdrop-filter: blur(8px) saturate(150%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.22);
}

.button-1:hover {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.35) 0%,
      rgba(255, 255, 255, 0.05) 50%,
      rgba(213, 28, 57, 0.05) 100%
    ),
    rgba(255, 255, 255, 0.82) !important;
  -webkit-backdrop-filter: blur(8px) saturate(150%);
  backdrop-filter: blur(8px) saturate(150%);
}

/* button-2 (حاشیه‌دار/شفاف) */
.button-2 {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.16) 0%,
      rgba(255, 255, 255, 0.02) 50%,
      rgba(255, 255, 255, 0.05) 100%
    ),
    rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  -webkit-backdrop-filter: blur(8px) saturate(150%);
  backdrop-filter: blur(8px) saturate(150%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.18);
}

.button-2:hover {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.24) 0%,
      rgba(255, 255, 255, 0.03) 50%,
      rgba(0, 0, 0, 0.08) 100%
    ),
    rgba(213, 28, 57, 0.82) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  -webkit-backdrop-filter: blur(8px) saturate(150%);
  backdrop-filter: blur(8px) saturate(150%);
}

/* button-3 (مشکی توپر) */
.button-3 {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.14) 0%,
      rgba(255, 255, 255, 0.02) 50%,
      rgba(255, 255, 255, 0.03) 100%
    ),
    rgba(27, 27, 27, 0.78) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  -webkit-backdrop-filter: blur(8px) saturate(150%);
  backdrop-filter: blur(8px) saturate(150%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.16);
}

.button-3:hover {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.3) 0%,
      rgba(255, 255, 255, 0.04) 50%,
      rgba(0, 0, 0, 0.05) 100%
    ),
    rgba(255, 255, 255, 0.85) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  -webkit-backdrop-filter: blur(8px) saturate(150%);
  backdrop-filter: blur(8px) saturate(150%);
}

/* دکمه‌ی ارسال فرم‌ها (مثلاً «ارسال» در تماس با ما) */
input[type="submit"] {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0.02) 45%,
      rgba(0, 0, 0, 0.1) 100%
    ),
    rgba(213, 28, 57, 0.82) !important;
  -webkit-backdrop-filter: blur(8px) saturate(150%);
  backdrop-filter: blur(8px) saturate(150%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.22);
}

input[type="submit"]:hover {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.35) 0%,
      rgba(255, 255, 255, 0.05) 50%,
      rgba(213, 28, 57, 0.05) 100%
    ),
    rgba(255, 255, 255, 0.85) !important;
  -webkit-backdrop-filter: blur(8px) saturate(150%);
  backdrop-filter: blur(8px) saturate(150%);
}

/* دکمه‌ی «جزئیات» در کارت خبر */
.cars1 .item .con .book .btn {
  background: rgba(213, 28, 57, 0.82) !important;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.cars1 .item .con .book .btn:hover {
  background: rgba(255, 255, 255, 0.85) !important;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* دکمه‌ی «بازگشت به خانه» صفحات آرشیو */
.coming-soon-box a.back-home-btn {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(255, 255, 255, 0.03) 45%,
      transparent 100%
    ),
    linear-gradient(135deg, #d51c39, #ff5468) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  -webkit-backdrop-filter: blur(8px) saturate(150%);
  backdrop-filter: blur(8px) saturate(150%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

/* =========================================================
   GLASS FINISH — دکمه‌های هدر و «معرفی شرکت» (ظریف، بدون تبدیل به باکس)
   فقط براقی لبه‌ی بالا + بلور؛ رنگ و شکل دکمه‌ها همان قبلی می‌ماند
   ========================================================= */
.navbar .navbar-nav .utility-row .ai-assistant-nav-btn,
.navbar .ai-assistant-mobile-btn,
#companyIntroBtn {
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.42),
    inset 0 -1px 1px rgba(255, 255, 255, 0.1),
    0 6px 18px rgba(213, 28, 57, 0.22) !important;
}

.navbar .navbar-nav .utility-row .ai-assistant-nav-btn::after,
.navbar .ai-assistant-mobile-btn::after,
#companyIntroBtn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0) 52%
  );
}

/* پورتال: رنگ قرمز کم‌رنگ قبلی + لایه‌ی شیشه روی آن */
.navbar .utility-row .portal_btn {
  background-image: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.03) 50%,
    rgba(213, 28, 57, 0.14) 100%
  );
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  backdrop-filter: blur(10px) saturate(160%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.34),
    inset 0 -1px 1px rgba(255, 255, 255, 0.06) !important;
}

.navbar .utility-row .portal_btn:hover {
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.45),
    0 6px 18px rgba(213, 28, 57, 0.3) !important;
}

/* =========================================================
   صفحه‌ی اصلی — بهبود موبایل: آخرین اخبار / کارخانه‌ها / همکاران
   ========================================================= */
@media (max-width: 991.98px) {
  /* --- آخرین اخبار: کارت شیشه‌ای روی لبه‌ی پایین عکس --- */
  .cars1 .cars1-carousel {
    padding-bottom: 8px;
  }
  .cars1 .item .img {
    border-radius: 22px;
  }
  .cars1 .item .img img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
  }
  .cars1 .item .con {
    margin: -44px 14px 0 !important;
    padding: 18px 18px 16px !important;
  }
  .cars1 .item .con .title,
  .cars1 .item .con .title a {
    font-size: 17px;
    line-height: 1.7em;
  }
  .cars1 .item .con .details {
    flex-wrap: wrap;
    gap: 4px 14px;
    margin-top: 8px;
    font-size: 12.5px;
  }
  .cars1 .item .con .book {
    margin-top: 12px;
    text-align: right;
  }
  .cars1 .item .con .book .btn {
    display: inline-block;
    padding: 8px 26px;
    border-radius: 12px;
    font-size: 13px;
  }
}

@media (max-width: 767.98px) {
  .services2.section-padding,
  .cars1.section-padding {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  /* --- کارخانه‌های گهرروش --- */
  .services2 .owl-carousel .owl-stage-outer {
    padding: 4px 2px 10px;
  }
  .services2 .item {
    border-radius: 22px 22px 0 22px;
  }
  .services2 .item img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
  .services2 .item .title {
    padding: 44px 88px 20px 14px;
    background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.35) 60%,
      rgba(0, 0, 0, 0) 100%
    );
  }
  .services2 .item .title h4 {
    font-size: 18px;
    line-height: 1.6;
  }
  .services2 .item .curv-butn {
    width: 76px;
    height: 76px;
    line-height: 76px;
  }
  .services2 .item .curv-butn .vid {
    top: 12px;
    right: 12px;
    left: 12px;
    bottom: 12px;
  }
  /* --- همکاران ما --- */
  .clients .video-wrapper.section-padding {
    padding-top: 44px;
    padding-bottom: 44px;
  }
  .clients .clients-logo {
    width: 100%;
    max-width: 150px;
    height: 104px;
    padding: 14px;
    border-radius: 20px;
  }
  .clients .clients-logo img {
    max-height: 52px;
    max-width: 100%;
    object-fit: contain;
  }
  /* نقطه‌های اسلایدر: شیشه‌ای و ظریف */
  .services2 .owl-dots,
  .cars1 .owl-dots {
    margin-top: 14px;
    text-align: center;
  }
  .services2 .owl-dots .owl-dot span,
  .cars1 .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
    margin: 0 4px;
    border-radius: 50%;
    display: block;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.25s ease;
  }
  .services2 .owl-dots .owl-dot.active span,
  .cars1 .owl-dots .owl-dot.active span {
    width: 22px;
    border-radius: 8px;
    background: rgba(213, 28, 57, 0.85);
    border-color: rgba(255, 140, 160, 0.6);
  }
}

/* =========================================================
   FINAL POLISH — لوگو، دکمه‌های شیشه‌ای، شعاع گوشه‌ها، فوتر موبایل، رنگ‌ولعاب
   ========================================================= */
:root {
  --r-box: 22px;
  /* همه‌ی باکس‌ها و کارت‌ها */
  --r-ctrl: 14px;
  /* همه‌ی دکمه‌ها، فیلدها و اجزای کوچک */
}

/* ---------- لوگوی کنار EN (نسبت 2.8:1؛ ارتفاع ثابت، عرض خودکار) ---------- */
.navbar .navbar-nav .lang-logo-row .logo2-item .logo2-img {
  height: 34px !important;
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain;
  opacity: 1;
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav .lang-logo-row .logo2-item {
    max-width: 60%;
  }
  .navbar .navbar-nav .lang-logo-row .logo2-item .logo2-img {
    height: 32px !important;
  }
}

@media (max-width: 360px) {
  .navbar .navbar-nav .lang-logo-row .logo2-item .logo2-img {
    height: 28px !important;
  }
}

/* ---------- دکمه‌های «دستیار هوش مصنوعی» و «معرفی شرکت»: لیکویید گلس ---------- */

/* شفاف‌تر از قبل، ولی با زیرلایه‌ی تیره‌ی ملایم و سایه‌ی متن تا خوانایی حفظ شود */
.navbar .navbar-nav .utility-row .ai-assistant-nav-btn,
.navbar .ai-assistant-mobile-btn,
#companyIntroBtn.button-2 {
  background:
    linear-gradient(
      120deg,
      rgba(213, 28, 57, 0.66),
      rgba(213, 28, 57, 0.52),
      rgba(185, 35, 90, 0.48),
      rgba(100, 55, 165, 0.44),
      rgba(0, 150, 125, 0.42),
      rgba(213, 28, 57, 0.66)
    ),
    rgba(10, 11, 16, 0.34) !important;
  background-size:
    400% 400%,
    100% 100% !important;
  -webkit-backdrop-filter: blur(18px) saturate(180%) !important;
  backdrop-filter: blur(18px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: var(--r-ctrl) !important;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.45),
    inset 0 -1px 1px rgba(255, 255, 255, 0.08),
    0 8px 22px rgba(0, 0, 0, 0.28) !important;
}

.navbar .navbar-nav .utility-row .ai-assistant-nav-btn > span:not(.ai-icon),
.navbar .ai-assistant-mobile-btn > span:not(.ai-icon),
#companyIntroBtn.button-2 > span:not(.ai-icon) {
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
  font-weight: 500;
}

/* ---------- یکسان‌سازی border-radius در همه‌جا ---------- */

/* دکمه‌ها و کنترل‌ها = 14px */
.portal_btn,
.user_btn,
.ai-assistant-nav-btn,
#companyIntroBtn.button-2,
.navbar .utility-row .portal_btn,
.navbar .utility-row .ai-assistant-nav-btn,
.navbar .navbar-nav .utility-row .portal_btn,
.navbar .navbar-nav .utility-row .user_btn,
.button-1,
.button-2,
.button-3,
input[type="submit"],
.contact__form input[type="submit"],
.cars1 .item .con .book .btn,
.back-home-btn,
.login-submit-btn,
.search-box,
.header-badge,
.ceo-hero .ceo-badge,
.contact__form input[type="text"],
.contact__form input[type="email"],
.contact__form textarea,
.login-field input,
.alert-success {
  border-radius: var(--r-ctrl) !important;
}

.navbar .utility-row .nav-link,
.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus,
.dep-tab,
.subordinate-row,
.chief-row,
.services2 .item .curv-butn .icon {
  border-radius: var(--r-ctrl);
}

/* باکس‌ها و کارت‌ها = 22px */
.navbar .dropdown-menu,
.navbar .dropdown-menu .dropdown-menu,
.cars1 .item .img,
.cars1 .item .con,
.services2 .item,
.clients .clients-logo,
.footer .links.dark.footer-contact-links,
.contact-box .item,
.contact .form-box,
.contact .widget img,
.ceo-hero,
.dep-panel-head,
.empty-panel,
.no-results,
.activity-card,
.explore-card,
.intro-stat,
.vision-card,
.vision-statement,
.value-card,
.philosophy-statement,
.goals-column,
.improve-group,
.improve-note,
.localization-intro,
.localization-list,
.factory-stat,
.project-stat,
.partner-logo-card,
.shareholder-card,
.shareholders-note,
.shareholders-history,
.shareholder-bar-wrap,
.coming-soon-box,
.login-box,
.google-map {
  border-radius: var(--r-box) !important;
}

.services2 .item {
  border-bottom-right-radius: 0 !important;
}

/* گوشه‌ی دکمه‌ی عددی، طراحی اصلی */
@media (max-width: 991.98px) {
  .cars1 .item .con {
    border-radius: var(--r-box);
  }
}

/* ---------- فوتر: شیشه‌ای‌تر و بهتر روی موبایل ---------- */
.footer .icon-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.footer .social-icons li:hover {
  border-color: rgba(255, 140, 160, 0.6) !important;
}

@media (max-width: 767.98px) {
  .footer .first-footer {
    padding-top: 32px;
  }
  .footer .links.dark.footer-contact-links {
    padding: 12px !important;
    margin-bottom: 8px;
  }
  .footer .footer-contact-links-wrapper {
    gap: 10px;
  }
  .footer .footer-contact-links-divider {
    display: none;
  }
  .footer .footer-contact-link-wrapper {
    width: 100%;
    padding: 14px;
    border-radius: var(--r-ctrl);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  .footer .image-wrapper.footer-contact-link-icon {
    margin: 0;
    flex: 0 0 auto;
  }
  .footer .footer-contact-link-wrapper h6 {
    font-size: 14px;
    margin-bottom: 4px;
  }
  .footer .footer-contact-link-wrapper p {
    font-size: 13px;
    line-height: 1.9;
    overflow-wrap: anywhere;
  }
  .footer .second-footer .widget-area {
    text-align: center;
  }
  .footer .second-footer .widget-area .widget {
    padding: 26px 0 8px;
  }
.footer .second-footer .widget-text p {
    font-size: 12.5px;
    line-height: 2;
    margin-bottom: 16px;
  }
.footer .social-icons li {
    width: 44px;
    height: 44px;
    line-height: 42px;
  }
  .footer .usful-links .widget-title {
    margin-bottom: 14px;
  }
  .footer .usful-links ul {
    list-style: none;
  }
  .footer .usful-links ul li {
    margin: 0 !important;
    padding: 0 !important;
    border-radius: var(--r-ctrl);
    background:
      linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.02) 55%,
        rgba(213, 28, 57, 0.1)
      ),
      rgba(20, 21, 26, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);
  }
  .footer .usful-links ul li a {
    display: block;
  }
  .footer .usful-links ul li a:after {
    display: none;
  }
.footer .second-footer .widget-area:last-child img {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.14);
  }
}

/* ---------- رنگ‌ولعاب کلی (ملایم) ---------- */

/* درخشش محیطی خیلی کم پشت همه‌ی صفحه‌ها تا شیشه‌ها چیزی برای تار کردن داشته باشند */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    620px 420px at 6% 82%,
    rgba(100, 55, 165, 0.08),
    transparent 70%
  );
}

::selection {
  background: rgba(213, 28, 57, 0.55);
  color: #fff;
}

:focus-visible {
  outline: 2px solid rgba(255, 120, 140, 0.85);
  outline-offset: 2px;
}

html {
  scrollbar-color: rgba(213, 28, 57, 0.55) rgba(255, 255, 255, 0.04);
  scrollbar-width: thin;
}

/* کارت‌ها: هاور با همان جلوه‌ی باکس تماس (تینت قرمز شیشه‌ای) */
.activity-card:hover,
.explore-card:hover,
.value-card:hover,
.vision-card:hover,
.shareholder-card:hover,
.partner-logo-card:hover,
.improve-group:hover,
.goals-column:hover {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.18) 0%,
      rgba(255, 255, 255, 0.03) 45%,
      rgba(213, 28, 57, 0.22) 100%
    ),
    rgba(16, 17, 22, 0.34) !important;
}

.cars1 .item:hover .con,
.services2 .item:hover .curv-butn.icon-bg {
  border-color: rgba(255, 120, 140, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .navbar .ai-assistant-nav-btn,
  #companyIntroBtn {
    animation: none !important;
  }
}

/* =========================================================
   اصلاح‌ها: شکل دکمه‌ی عددی کارخانه‌ها + تراز دقیق فوتر موبایل
   ========================================================= */

/* عدد کارخانه‌ها: هم حالت عادی هم هاور، دایره‌ی کامل */
.services2 .item .curv-butn .icon,
.services2 .item:hover .curv-butn .icon {
  border-radius: 50% !important;
}

@media (max-width: 767.98px) {
  .footer .container {
    padding-inline: 16px;
  }
  .footer .row {
    margin-inline: 0;
  }
  .footer .row > [class*="col-"] {
    padding-inline: 0;
  }
  /* کارت‌های تماس: آیکون بالا، متن زیرش، همه دقیقاً وسط */
  .footer .footer-contact-link-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  .footer .footer-contact-link-content {
    width: 100%;
    text-align: center;
  }
  .footer .footer-contact-link-wrapper h6,
  .footer .footer-contact-link-wrapper p {
    text-align: center;
  }
  /* ستون‌های فوتر دوم */
  .footer .second-footer .widget-area,
  .footer .second-footer .widget-area .widget {
    text-align: center;
    padding-inline: 0;
  }
.footer .footer-logo img {
    display: block;
  }
  .footer .widget-text p {
    text-align: center;
  }
  .footer .social-icons ul {
    padding: 0;
    margin: 0 auto;
    justify-content: center;
  }
  .footer .social-icons li {
    margin: 0 5px;
  }
  /* لینک‌های سریع */
  .footer .usful-links ul {
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }
  .footer .usful-links ul li,
  .footer .usful-links ul li a {
    text-align: center;
    padding-right: 0;
  }
/* نقشه */
  .footer .second-footer .widget-area:last-child .widget {
    display: block;
  }
  .footer .second-footer .widget-area:last-child img {
    display: block;
    margin: 0 auto;
  }
}

/* =========================================================
   فوتر: لوگو کامل دیده شود + آدرس راست‌چین
   ========================================================= */

/* گردی ۲۲px فقط برای نقشه؛ روی لوگو گوشه‌های عکس را می‌بُرید */
.footer .second-footer .widget-area .widget img {
  border-radius: 0;
}

.footer .second-footer .widget-area:last-child .widget img {
  border-radius: var(--r-box);
}

.footer .footer-logo img {
  border-radius: 0 !important;
  display: block;
}

@media (max-width: 767.98px) {
  .footer .footer-logo {
    max-width: 100%;
  }
/* کارت آدرس: آیکون سمت راست، متن راست‌چین کنار آن */
  .footer
    .footer-contact-links-wrapper
.footer
    .footer-contact-links-wrapper
    > .footer-contact-link-wrapper:last-child
    .footer-contact-link-content {
    min-width: 0;
  }
  .footer
    .footer-contact-links-wrapper
    > .footer-contact-link-wrapper:last-child
    h6,
  .footer
    .footer-contact-links-wrapper
    > .footer-contact-link-wrapper:last-child
    p {
    direction: rtl;
  }
}

/* فوتر موبایل — کارت آدرس: آیکون وسط، متن آدرس زیرش راست‌چین */
@media (max-width: 767.98px) {
  .footer
    .footer-contact-links-wrapper
.footer
    .footer-contact-links-wrapper
    > .footer-contact-link-wrapper:last-child
}

/* =========================================================
   فوتر — شماره/ایمیل بدون به‌هم‌ریختگی چپ‌چین/راست‌چین، آیکون‌های قرمز، لینک‌های سریع
   ========================================================= */

/* عددها و ایمیل: یک بلوک چپ‌به‌راست ایزوله؛ جهت متن اطراف را تغییر نمی‌دهد */
.footer .footer-ltr {
  display: inline-block;
  direction: ltr;
  unicode-bidi: isolate;
  text-align: left;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.footer .footer-contact-link-content1 {
  direction: rtl;
  text-align: right;
}

@media (max-width: 767.98px) {
  .footer .footer-contact-link-content1 {
    text-align: center;
  }
}

/* آیکون‌ها: شیشه‌ی قرمز به سبک آواتار معاونین */
.footer .icon-footer {
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  max-height: 50px;
  border-radius: 50%;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.3) 0%,
      rgba(255, 255, 255, 0.04) 45%,
      rgba(213, 28, 57, 0.3) 100%
    ),
    linear-gradient(135deg, #d51c39, #6b0a1b);
  border: 2px solid rgba(255, 120, 140, 0.55);
  box-shadow:
    0 0 0 5px rgba(213, 28, 57, 0.12),
    0 8px 22px rgba(213, 28, 57, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.45);
}

.footer .icon-footer i {
  color: #fff;
  font-size: 20px;
}

.footer .social-icons li {
  border-radius: 50% !important;
  border: 1px solid rgba(255, 120, 140, 0.45) !important;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.2),
      rgba(255, 255, 255, 0.03) 45%,
      rgba(213, 28, 57, 0.3)
    ),
    rgba(213, 28, 57, 0.18) !important;
  box-shadow:
    0 6px 16px rgba(213, 28, 57, 0.22),
    inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.footer .social-icons li:hover {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.28),
      rgba(255, 255, 255, 0.05) 45%,
      rgba(213, 28, 57, 0.4)
    ),
    rgba(213, 28, 57, 0.6) !important;
}

/* لینک‌های سریع: کاشی‌های شیشه‌ای هم‌سبک بقیه */
.footer .usful-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 280px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer .usful-links ul li {
  margin: 0;
  padding: 0;
  border-radius: var(--r-ctrl);
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.02) 55%,
      rgba(213, 28, 57, 0.1)
    ),
    rgba(20, 21, 26, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.footer .usful-links ul li a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #fff;
  font-size: 14px;
  text-align: right;
}

.footer .usful-links ul li a::after {
  position: static;
  order: -1;
  flex: 0 0 auto;
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d51c39;
  box-shadow: 0 0 0 4px rgba(213, 28, 57, 0.18);
}

.footer .usful-links ul li:hover {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.22),
      rgba(255, 255, 255, 0.04) 45%,
      rgba(213, 28, 57, 0.3)
    ),
    rgba(213, 28, 57, 0.38);
  border-color: rgba(255, 120, 140, 0.55);
  box-shadow:
    0 8px 22px rgba(213, 28, 57, 0.28),
    inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.footer .usful-links ul li:hover a {
  color: #fff;
}

@media (max-width: 767.98px) {
  .footer .usful-links ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: none;
    gap: 10px;
  }
  .footer .usful-links ul li a {
    justify-content: center;
    padding: 12px 8px;
    font-size: 13.5px;
    text-align: center;
  }
  .footer .usful-links ul li a::after {
    display: none;
  }
}

/* ===== فوتر موبایل: لوگوی کامل + انتهای مشخص ===== */
.footer .footer-logo,
.footer .second-footer .widget,
.footer .second-footer .widget-area {
  overflow: visible;
}

.footer {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

@media (max-width: 767.98px) {
  .footer .footer-logo {
    height: auto;
    min-height: 105px;
    padding: 0;
    line-height: 0;
  }
  .footer .footer-logo img {
    max-width: 170px;
  }
  .footer .second-footer {
    padding-bottom: 12px;
  }
  .footer .second-footer .widget-area:last-child .widget {
    padding-bottom: 4px;
  }
  .progress-wrap {
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  }
}

/* ===== موبایل: دکمه‌ی دستیار فقط آیکون (ظاهر همان دکمه‌ی دسکتاپ) ===== */
@media (max-width: 991.98px) {
  .navbar .ai-assistant-mobile-btn {
    width: 46px;
    height: 46px;
    min-width: 46px;
    padding: 0 !important;
    gap: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: #fff;
  }
  .navbar .ai-assistant-mobile-btn i {
    color: #fff;
    line-height: 1;
    animation: aiTwinkle 4s ease-in-out infinite;
    will-change: transform;
  }
  .navbar .ai-assistant-mobile-btn:active {
    transform: scale(0.96);
  }
}

/* ===== فوتر: لوگوی کامل (همان سایز) + فاصله از انتهای صفحه ===== */
.footer .footer-logo {
  width: 150px;
  height: auto;
  overflow: visible;
  line-height: 0;
  padding-bottom: 6px;
}

.footer .footer-logo img {
  width: 150px !important;
  max-width: 100%;
  height: auto !important;
  aspect-ratio: 600 / 371;
  object-fit: contain !important;
  clip-path: none !important;
}

.footer .second-footer .widget-area:first-child .widget {
  overflow: visible;
  padding-bottom: 14px;
}

@media (max-width: 767.98px) {
  .footer .footer-logo {
    width: 170px;
    margin: 0 auto 18px;
  }
  .footer .footer-logo img {
    width: 170px !important;
    margin: 0 auto;
  }
  .footer {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* ===== فاصله‌ی خالی پایین فوتر (احتیاطی) ===== */
.footer::after {
  content: "";
  display: block;
  height: 70px;
}

.footer {
  padding-bottom: 0 !important;
}

[data-site-footer]:empty {
  display: none;
}

.shared-footer-iframe {
  margin-bottom: 0;
}

html.shared-footer-standalone body,
body {
  padding-bottom: 0;
}

/* ===== انیمیشن نرم آیکون دستیار ===== */
@keyframes aiTwinkle {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.92;
  }
  50% {
    transform: scale(1.09);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .navbar .ai-assistant-mobile-btn i {
    animation: none;
  }
}

/* ===== فوتر موبایل: ترتیب جدید (تماس ← نقشه ← لینک‌های سریع ← لوگو و متن) ===== */
@media (max-width: 767.98px) {
  .footer .second-footer > .row {
    display: flex;
    flex-direction: column;
  }
  .footer .second-footer > .row > .widget-area {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    flex: 0 0 auto;
  }
  .footer .second-footer > .row > .widget-area:nth-child(3) {
    order: 1;
  }
  /* نقشه */
  .footer .second-footer > .row > .widget-area:nth-child(2) {
    order: 2;
  }
  /* لینک‌های سریع */
  .footer .second-footer > .row > .widget-area:nth-child(1) {
    order: 3;
  }
  /* لوگو، متن، شبکه‌ها */
  .footer .second-footer .widget-area:nth-child(3) .widget {
    padding-top: 14px;
  }
  /* متن آدرس: وسط، زیر آیکون آدرس */
  .footer
    .footer-contact-links-wrapper
    > .footer-contact-link-wrapper:last-child {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  .footer
    .footer-contact-links-wrapper
    > .footer-contact-link-wrapper:last-child
    .footer-contact-link-content {
    width: 100%;
    flex: 0 0 auto;
    text-align: center;
  }
  .footer
    .footer-contact-links-wrapper
    > .footer-contact-link-wrapper:last-child
    h6,
  .footer
    .footer-contact-links-wrapper
    > .footer-contact-link-wrapper:last-child
    p {
    text-align: center;
  }
}

/* ===== چت‌بات موبایل: کل ارتفاع صفحه ===== */
@media (max-width: 767.98px) {
  .ai-assistant-section {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    padding: 96px 0 24px;
    box-sizing: border-box;
  }
  .ai-assistant-section .container {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .ai-assistant-section .container > .row {
    display: none;
  }
  .ai-assistant-section .ai-chat-wrapper {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
  }
  .ai-assistant-section .ai-chat-avatar {
    flex: 0 0 auto;
    margin-bottom: 14px;
  }
  .ai-assistant-section .ai-chatbox {
    flex: 1 1 auto;
    min-height: 0;
  }
  .ai-assistant-section .ai-chat-messages {
    flex: 1 1 auto;
    height: auto;
    min-height: 240px;
  }
}

/* ===== چت‌بات دسکتاپ/تبلت: شروع دقیق از زیر هدر، پس‌زمینه تا پایین صفحه ===== */
@media (min-width: 768px) {
  #ai-assistant.ai-assistant-section {
    --hdr: 0px;
    scroll-margin-top: var(--hdr);
    min-height: 100vh;
    min-height: calc(100dvh - var(--hdr));
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 96px 0 32px;
  }
  #ai-assistant.ai-assistant-section .container {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  #ai-assistant.ai-assistant-section .container > .row {
    display: none;
  }
  #ai-assistant.ai-assistant-section .ai-chat-wrapper {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    justify-content: center;
  }
  #ai-assistant.ai-assistant-section .ai-chat-avatar {
    flex: 0 0 auto;
  }
  #ai-assistant.ai-assistant-section .ai-chatbox {
    flex: 1 1 auto;
    min-height: 0;
    max-height: 720px;
  }
  #ai-assistant.ai-assistant-section .ai-chat-messages {
    flex: 1 1 auto;
    height: auto;
    min-height: 280px;
  }
}

@media (min-width: 992px) {
  #ai-assistant.ai-assistant-section {
    --hdr: 96px;
    padding: 32px 0;
  }
  /* هدر ثابت دسکتاپ بعد از اسکرول ۹۶ پیکسل است */
}

/* ===== هدر دسکتاپ =====
   راست: لوگوی خوشنویسی (عرض ۲۰۰px)  |  چپ: لوگوی اصلی بالای نوشته‌ی GOHAR RAVESH SIRJAN CO. */
.navbar .logo-fa,
.navbar .logo2-ball {
  display: none;
}

@media (min-width: 992px) {
  .navbar .container {
    height: 112px;
    align-items: center;
    padding-top: 14px;
    padding-bottom: 14px;
    box-sizing: border-box;
  }
  .navbar.nav-scroll .container {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .navbar .logo-wrapper {
    display: flex;
    align-items: center;
  }
  .navbar .logo-wrapper .logo-img {
    display: none;
  }
  .navbar .logo-wrapper .logo-fa {
    display: block;
    max-width: none;
    height: auto;
  }
.navbar .navbar-nav .lang-logo-row .logo2-item {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    max-width: none;
  }
  .navbar .logo2-ball {
    display: block;
    height: auto;
  }
.navbar.nav-scroll .logo2-ball {
  }
}

/* عرض‌های ۹۹۲ تا ۱۱۹۹: فقط لوگوی اصلی چپ دیده می‌شود (جا برای منو) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar .navbar-nav .lang-logo-row .logo2-item .logo2-img {
    display: none !important;
  }
.navbar .logo-wrapper .logo-fa {
  }
}

/* ===== نام شرکت روی ویدیوی صفحه‌ی اصلی: فونت فارسی اختصاصی =====
   فایل فونت را با نام hero-fa.woff2 در Site/fonts بگذارید؛ اگر نبود، فونت پیده (Peyda) نمایش داده می‌شود. */
@font-face {
  font-family: "GRS Hero";
  src: url("../fonts/hero-fa.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

.hero-company-name {
  display: block !important;
  margin-bottom: 60px !important;
  font-family: "GRS Hero", "peyda", sans-serif !important;
  font-weight: 800;
  letter-spacing: 0 !important;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
}

@media (max-width: 767.98px) {
  .hero-company-name {
    margin-bottom: 44px !important;
  }
}

/* ===== صفحه‌ی اصلی: بخش «نگاهی کلی» ===== */
.home-overview {
  position: relative;
  z-index: 1;
  padding: 90px 0 70px;
}

.home-overview .ov-head {
  max-width: 860px;
  margin: 0 auto 38px;
  text-align: center;
}

.home-overview .ov-label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 16px;
  border-radius: 30px;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: #ff7a8b;
  background: rgba(213, 28, 57, 0.12);
  border: 1px solid rgba(213, 28, 57, 0.32);
}

.home-overview h2 {
  margin: 0 0 14px;
  font-size: 32px;
  color: #fff;
}

.home-overview .ov-head p {
  margin: 0;
  font-size: 15.5px;
  line-height: 2.1;
  color: #aeb4bd;
}

.home-overview .ov-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}

.home-overview .ov-stat,
.home-overview .ov-card {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.07),
      rgba(255, 255, 255, 0.015) 55%
    ),
    rgba(18, 20, 27, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.28),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.home-overview .ov-stat {
  padding: 24px 16px;
  text-align: center;
}

.home-overview .ov-stat strong {
  display: block;
  font-size: 30px;
  line-height: 1.4;
  color: #fff;
}

.home-overview .ov-stat span {
  font-size: 13.5px;
  color: #9aa0a6;
}

.home-overview .ov-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.home-overview .ov-card {
  padding: 26px 22px;
  transition:
    transform 0.18s ease-out,
    border-color 0.18s;
}

.home-overview .ov-card:hover {
  transform: translate3d(0, -4px, 0);
  border-color: rgba(255, 120, 140, 0.45);
}

.home-overview .ov-card > i {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 14px;
  border-radius: 15px;
  font-size: 20px;
  color: #ff7a8b;
  background: rgba(213, 28, 57, 0.12);
  border: 1px solid rgba(213, 28, 57, 0.3);
}

.home-overview .ov-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: #fff;
}

.home-overview .ov-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 2;
  color: #9aa0a6;
}

.home-overview .ov-cta {
  margin-top: 30px;
  text-align: center;
}

.home-overview .ov-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 14px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  transition:
    transform 0.15s,
    background-color 0.15s,
    border-color 0.15s;
}

.home-overview .ov-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 120, 140, 0.55);
  color: #fff;
}

@media (max-width: 991.98px) {
  .home-overview .ov-stats,
  .home-overview .ov-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-overview h2 {
    font-size: 26px;
  }
}

@media (max-width: 575.98px) {
  .home-overview {
    padding: 60px 0 40px;
  }
  .home-overview .ov-stats,
  .home-overview .ov-cards {
    grid-template-columns: 1fr;
  }
}

/* ===== هیروی صفحه‌ی اصلی: جمله‌های چرخان + نشانگر اسکرول ===== */
.hero-sr-title {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ===== هدر دسکتاپ: فاصله‌ی برابر بالا و پایین + ریسپانسیو ===== */
@media (min-width: 992px) {
  .navbar .container,
  .navbar.nav-scroll .container {
    min-height: 0 !important;
    align-items: center;
  }
.navbar .logo-wrapper .logo-fa {
  }
}

@media (min-width: 992px) and (max-width: 1439.98px) {
.navbar.nav-scroll .logo-wrapper .logo-fa {
  }
.navbar.nav-scroll .logo2-ball {
    width: 66px !important;
  }
  .navbar .lang-logo-row .logo2-item .logo2-img {
    width: 124px !important;
  }
  /* دکمه‌های پورتال و دستیار: فقط آیکون */
  .navbar .portal_btn .portal-text,
  .navbar .user_btn.ai-assistant-nav-btn > span:not(.ai-icon) {
    display: none !important;
  }
  .navbar .portal_btn,
  .navbar .user_btn.ai-assistant-nav-btn {
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0 !important;
    gap: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
.navbar.nav-scroll .logo-wrapper .logo-fa {
  }
}

/* ===== دکمه‌ی زبان (EN / FA): هم‌شکل دکمه‌های دستیار و پورتال، با رنگ خنثی (دسکتاپ) ===== */
@media (min-width: 992px) {
  .navbar .navbar-nav a[data-lang-switch] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 44px;
    min-width: 44px;
    padding: 0 16px !important;
    margin: 0 6px;
    border-radius: 14px;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    line-height: 1;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    transition:
      background-color 0.15s,
      border-color 0.15s,
      transform 0.15s;
  }
  .navbar .navbar-nav a[data-lang-switch]::before,
  .navbar .navbar-nav a[data-lang-switch]::after {
    display: none !important;
  }
  .navbar .navbar-nav a[data-lang-switch]:hover {
    transform: translateY(-1px);
  }
}

/* ===== ارتفاع نهایی هدر دسکتاپ: بالا ۱۰۸px ، بعد از اسکرول ۸۲px ؛ لوگوها وسط‌چین (فاصله‌ی برابر بالا و پایین) ===== */
@media (min-width: 992px) {
.navbar.nav-scroll {
  }
  .navbar .container,
  .navbar.nav-scroll .container {
    height: 100% !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .navbar .logo2-ball {
    width: 80px !important;
  }
  .navbar.nav-scroll .logo2-ball {
    width: 66px !important;
  }
  .navbar .navbar-nav .lang-logo-row .logo2-item .logo2-img {
    width: 132px !important;
  }
  .navbar.nav-scroll .navbar-nav .lang-logo-row .logo2-item .logo2-img {
    width: 112px !important;
  }
  .navbar .logo-wrapper .logo-fa {
    width: 200px;
  }
  .navbar.nav-scroll .logo-wrapper .logo-fa {
    width: 150px;
  }
}

@media (min-width: 992px) and (max-width: 1439.98px) {
  .navbar .logo-wrapper .logo-fa {
    width: 160px !important;
  }
  .navbar.nav-scroll .logo-wrapper .logo-fa {
    width: 130px !important;
  }
  .navbar .logo2-ball {
    width: 70px !important;
  }
  .navbar .navbar-nav .lang-logo-row .logo2-item .logo2-img {
    width: 116px !important;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar .logo-wrapper .logo-fa {
    width: 125px !important;
  }
  .navbar.nav-scroll .logo-wrapper .logo-fa {
    width: 110px !important;
  }
  .navbar .logo2-ball {
    width: 62px !important;
  }
}

/* ===== (۹۹۲ تا ۱۴۳۹) دکمه‌ی پورتال هم مثل دستیار فقط آیکون و ۴۴×۴۴ ===== */
@media (min-width: 992px) and (max-width: 1439.98px) {
  .navbar .portal_btn {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    flex: 0 0 44px !important;
    padding: 0 !important;
    justify-content: center !important;
  }
  .navbar .portal_btn span[class^="ti-"] {
    margin: 0 !important;
  }
}

/* ===== هیرو: خطوط هندسی متحرک (سفید کم‌رنگ) + نوشته‌ی GRSco ===== */
.hero-geo {
  position: relative;
  margin: 0 auto 26px;
  color: rgba(255, 255, 255, 0.11);
}

.hero-geo svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.geo-peak {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: geoDraw 9s ease-in-out infinite;
}

.geo-peak-2 {
  animation-delay: 0.9s;
}

.geo-peak-3 {
  animation-delay: 1.8s;
}

.geo-base {
  stroke-dasharray: 380;
  animation: geoBase 9s ease-in-out infinite;
}

.geo-sun {
  transform-origin: 300px 104px;
  animation: geoPulse 4.5s ease-in-out infinite;
}

@keyframes geoDraw {
  0% {
    stroke-dashoffset: 420;
  }
  40%,
  70% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -420;
  }
}

@keyframes geoBase {
  0%,
  100% {
    stroke-dashoffset: 380;
  }
  50% {
    stroke-dashoffset: 0;
  }
}

@keyframes geoPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.14);
    opacity: 1;
  }
}

/* ===== کارخانه‌ها: کل باکس لینک ===== */
.services2 .fac-img-link {
  display: block;
}

.services2 .fac-link {
  display: block;
}

/* ===== همکاران ما: نام شرکت زیر لوگو ===== */
.clients .clients-logo .client-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.clients .clients-logo .client-name {
  line-height: 1.7;
  text-align: center;
}

.clients .clients-logo .client-link:hover .client-name {
  color: #fff;
}

/* ===== صفحه‌ی همکاران: کارت لینک ===== */
.partner-logo-card > .partner-link {
  display: contents;
  color: inherit;
  text-decoration: none;
}

.partner-logo-card > .partner-link:hover {
  color: inherit;
}

/* خوانایی نام شرکت‌های همکار روی تصویر پس‌زمینه */
.clients .clients-logo .client-name {
  color: #fff;
  font-weight: 500;
  text-shadow:
    0 1px 8px rgba(0, 0, 0, 0.85),
    0 0 2px rgba(0, 0, 0, 0.7);
}

/* ===== همکاران ما: کارت‌های هم‌اندازه، بزرگ‌تر و شیشه‌ای ===== */
.clients .clients-logo {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 auto;
  padding: 22px 14px !important;
  box-sizing: border-box;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.24),
    rgba(255, 255, 255, 0.06) 55%,
    rgba(213, 28, 57, 0.16)
  ) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 24px !important;
}

.clients .clients-logo:hover {
  transform: translate3d(0, -6px, 0);
  border-color: rgba(255, 120, 140, 0.65) !important;
}

.clients .clients-logo .client-link {
  width: 100%;
  height: 100%;
  justify-content: flex-start;
  gap: 14px;
}

.clients .clients-logo img {
  max-width: none !important;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  box-sizing: border-box;
}

.clients .clients-logo .client-name {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
}

.clients .clients-logo img {
  width: 122px !important;
  height: 122px !important;
  flex: 0 0 122px;
  padding: 6px;
}

.clients .clients-logo .client-name {
  font-size: 14px;
  height: 3.4em;
}

.clients .clients-logo img {
  max-height: none !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1;
}

/* ===== همکاران ما: فضای بالا/پایین برای هاور و سایه، کارت عریض‌تر (نزدیک مربع) ===== */
.clients .owl-stage-outer {
  padding: 18px 0 28px;
  margin: -18px 0 -28px;
}

.clients .clients-logo {
  max-width: 240px !important;
  height: 240px !important;
}

/* ===================================================================
   هیرو: شکل هندسی بزرگ‌تر، GRSco درشت‌تر ولی کم‌رنگ با فونت هندسی، دایره‌ی خورشید قرمز کم‌رنگ
   =================================================================== */
.geo-sun {
  fill: rgba(213, 28, 57, 0.09);
  stroke: rgba(255, 110, 130, 0.25);
}

/* ===================================================================
   هدر دسکتاپ: لوگوهای سمت چپ بزرگ‌تر (نوشته‌ی پایین بزرگ‌تر از لوگوی بالا)
   ارتفاع: ۱۲۰px ، بعد از اسکرول ۹۲px
   =================================================================== */
@media (min-width: 992px) {
.navbar.nav-scroll {
  }
  .navbar .logo2-ball,
  .navbar .logo-wrapper .logo2-ball {
    width: 96px !important;
  }
  .navbar.nav-scroll .logo2-ball,
  .navbar.nav-scroll .logo-wrapper .logo2-ball {
    width: 76px !important;
  }
  .navbar .navbar-nav .lang-logo-row .logo2-item .logo2-img,
  .navbar .logo-wrapper .logo2-img {
    width: 176px !important;
  }
  .navbar.nav-scroll .navbar-nav .lang-logo-row .logo2-item .logo2-img,
  .navbar.nav-scroll .logo-wrapper .logo2-img {
    width: 140px !important;
  }
}

@media (min-width: 992px) and (max-width: 1439.98px) {
  .navbar .logo2-ball,
  .navbar .logo-wrapper .logo2-ball {
    width: 82px !important;
  }
  .navbar.nav-scroll .logo2-ball,
  .navbar.nav-scroll .logo-wrapper .logo2-ball {
    width: 70px !important;
  }
  .navbar .navbar-nav .lang-logo-row .logo2-item .logo2-img,
  .navbar .logo-wrapper .logo2-img {
    width: 144px !important;
  }
  .navbar.nav-scroll .navbar-nav .lang-logo-row .logo2-item .logo2-img,
  .navbar.nav-scroll .logo-wrapper .logo2-img {
    width: 120px !important;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar .logo2-ball,
}

/* دکمه‌ی EN / FA: شفاف‌تر و کم‌رنگ‌تر */
@media (min-width: 992px) {
  .navbar .navbar-nav a[data-lang-switch] {
    background: rgba(255, 255, 255, 0.035) !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: #b9bec7 !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12);
  }
  .navbar .navbar-nav a[data-lang-switch]:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
  }
}

/* دکمه‌ی پورتال سازمانی: عرض کمتر از دستیار هوش مصنوعی */
@media (min-width: 1440px) {
  .navbar .portal_btn {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}

@media (min-width: 992px) {
  .navbar .logo2-item .logo2-img,
  .navbar .logo-wrapper .logo2-img {
    max-width: none !important;
  }
}

@media (min-width: 1440px) {
  .navbar .portal_btn {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: 0 0 auto !important;
  }
}

@media (min-width: 992px) {
  .navbar .navbar-nav .lang-logo-row .logo2-item .logo2-img,
  .navbar .logo-wrapper .logo2-item .logo2-img {
    height: auto !important;
    max-height: none !important;
  }
}

/* عرض ستون لوگوهای سمت چپ را خود ظرف تعیین می‌کند؛ نوشته‌ی پایین تمام عرض ظرف را می‌گیرد */
@media (min-width: 992px) {
  .navbar .navbar-nav .lang-logo-row .logo2-item,
  .navbar .logo-wrapper .logo2-item {
    width: 176px !important;
    max-width: none !important;
  }
  .navbar.nav-scroll .navbar-nav .lang-logo-row .logo2-item,
  .navbar.nav-scroll .logo-wrapper .logo2-item {
    width: 140px !important;
  }
  .navbar .logo2-item .logo2-img {
    width: 100% !important;
  }
}

@media (min-width: 992px) and (max-width: 1439.98px) {
  .navbar .navbar-nav .lang-logo-row .logo2-item,
  .navbar .logo-wrapper .logo2-item {
    width: 144px !important;
  }
  .navbar.nav-scroll .navbar-nav .lang-logo-row .logo2-item,
  .navbar.nav-scroll .logo-wrapper .logo2-item {
    width: 120px !important;
  }
}

/* جا برای لوگوی بزرگ‌تر سمت چپ در عرض‌های متوسط دسکتاپ (۱۴۴۰ تا ۱۵۹۹) */
@media (min-width: 1440px) and (max-width: 1599.98px) {
  .navbar .logo-wrapper .logo-fa {
    width: 180px;
  }
  .navbar .navbar-nav .lang-logo-row .logo2-item,
  .navbar .logo-wrapper .logo2-item {
    width: 156px !important;
  }
  .navbar .logo2-ball,
  .navbar .logo-wrapper .logo2-ball {
    width: 88px !important;
  }
  .navbar .navbar-nav .nav-link:not([data-lang-switch]) {
    padding-left: 9px !important;
    padding-right: 9px !important;
  }
  .navbar .navbar-nav a[data-lang-switch] {
    margin: 0 3px;
  }
}

@media (min-width: 1440px) and (max-width: 1519.98px) {
  .navbar .logo-wrapper .logo-fa {
    width: 165px;
  }
  .navbar .navbar-nav .lang-logo-row .logo2-item,
.navbar .logo2-ball,
.navbar .navbar-nav .nav-link:not([data-lang-switch]) {
    padding-left: 7px !important;
    padding-right: 7px !important;
  }
}

/* ===================================================================
   هدر دسکتاپ: لوگوی جدید سمت چپ (GRS-logo2) + نوشته‌ی GOHAR RAVESH SIRJAN CO. ، هر دو بزرگ‌تر
   ارتفاع هدر: بالا ۱۲۴px ، بعد از اسکرول ۹۶px  (عرض‌ها بر اساس جای خالی هر بازه)
   =================================================================== */
@media (min-width: 992px) {
  .navbar {
    height: 124px !important;
  }
  .navbar.nav-scroll {
    height: 96px !important;
  }
  .navbar .logo2-ball,
  .navbar .logo-wrapper .logo2-ball {
    height: auto !important;
  }
}

@media (min-width: 1800px) {
  .navbar .navbar-nav .lang-logo-row .logo2-item,
  .navbar .logo-wrapper .logo2-item {
    width: 216px !important;
  }
  .navbar .logo2-ball,
  .navbar .logo-wrapper .logo2-ball {
    width: 128px !important;
  }
  .navbar.nav-scroll .navbar-nav .lang-logo-row .logo2-item,
  .navbar.nav-scroll .logo-wrapper .logo2-item {
    width: 176px !important;
  }
  .navbar.nav-scroll .logo2-ball,
  .navbar.nav-scroll .logo-wrapper .logo2-ball {
    width: 104px !important;
  }
}

@media (min-width: 1600px) and (max-width: 1799.98px) {
  .navbar .navbar-nav .lang-logo-row .logo2-item,
  .navbar .logo-wrapper .logo2-item {
    width: 192px !important;
  }
  .navbar .logo2-ball,
  .navbar .logo-wrapper .logo2-ball {
    width: 114px !important;
  }
  .navbar.nav-scroll .navbar-nav .lang-logo-row .logo2-item,
  .navbar.nav-scroll .logo-wrapper .logo2-item {
    width: 160px !important;
  }
  .navbar.nav-scroll .logo2-ball,
  .navbar.nav-scroll .logo-wrapper .logo2-ball {
    width: 94px !important;
  }
}

@media (min-width: 1520px) and (max-width: 1599.98px) {
  .navbar .navbar-nav .lang-logo-row .logo2-item,
  .navbar .logo-wrapper .logo2-item {
    width: 172px !important;
  }
  .navbar .logo2-ball,
  .navbar .logo-wrapper .logo2-ball {
    width: 104px !important;
  }
  .navbar.nav-scroll .navbar-nav .lang-logo-row .logo2-item,
  .navbar.nav-scroll .logo-wrapper .logo2-item {
    width: 148px !important;
  }
  .navbar.nav-scroll .logo2-ball,
  .navbar.nav-scroll .logo-wrapper .logo2-ball {
    width: 88px !important;
  }
}

@media (min-width: 1440px) and (max-width: 1519.98px) {
  .navbar .navbar-nav .lang-logo-row .logo2-item,
  .navbar .logo-wrapper .logo2-item {
    width: 150px !important;
  }
  .navbar .logo2-ball,
  .navbar .logo-wrapper .logo2-ball {
    width: 92px !important;
  }
  .navbar.nav-scroll .navbar-nav .lang-logo-row .logo2-item,
  .navbar.nav-scroll .logo-wrapper .logo2-item {
    width: 134px !important;
  }
  .navbar.nav-scroll .logo2-ball,
  .navbar.nav-scroll .logo-wrapper .logo2-ball {
    width: 80px !important;
  }
}

@media (min-width: 1200px) and (max-width: 1439.98px) {
  .navbar .navbar-nav .lang-logo-row .logo2-item,
  .navbar .logo-wrapper .logo2-item {
    width: 150px !important;
  }
  .navbar .logo2-ball,
  .navbar .logo-wrapper .logo2-ball {
    width: 90px !important;
  }
  .navbar.nav-scroll .navbar-nav .lang-logo-row .logo2-item,
  .navbar.nav-scroll .logo-wrapper .logo2-item {
    width: 130px !important;
  }
  .navbar.nav-scroll .logo2-ball,
  .navbar.nav-scroll .logo-wrapper .logo2-ball {
    width: 78px !important;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar .navbar-nav .lang-logo-row .logo2-item,
  .navbar .logo-wrapper .logo2-item {
    width: 84px !important;
  }
  .navbar .logo2-ball,
  .navbar .logo-wrapper .logo2-ball {
    width: 84px !important;
  }
  .navbar.nav-scroll .navbar-nav .lang-logo-row .logo2-item,
  .navbar.nav-scroll .logo-wrapper .logo2-item {
    width: 72px !important;
  }
  .navbar.nav-scroll .logo2-ball,
  .navbar.nav-scroll .logo-wrapper .logo2-ball {
    width: 72px !important;
  }
}

/* ===== دکمه‌ی عددی کارخانه‌ها: دایره دقیقاً وسط کاشی و بردر کامل (۷۶px = ۸ + ۶۰ + ۸) ===== */

/* لینک جدید (fac-link) همان موقعیت‌دهی قدیمی vid را دارد: ۹۰px کاشی - ۱۵px حاشیه از هر طرف = ۶۰px دایره */
.services2 .item .curv-butn .fac-link {
  position: absolute !important;
  top: 15px !important;
  right: 15px !important;
  left: 15px !important;
  bottom: 15px !important;
  display: block !important;
  border-radius: 100%;
  background: transparent;
  color: #fff;
}

.services2 .item .curv-butn .icon,
.services2 .item:hover .curv-butn .icon {
  width: 100% !important;
  height: 100% !important;
  box-sizing: border-box;
  display: flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1 !important;
  margin: 0;
}

/* ===== هیرو: شکل هندسی ریسپانسیو (هم‌اندازه با عرض و ارتفاع پنجره، ضخامت خط ثابت‌تر) ===== */
.hero-geo {
  min-width: 250px;
}

.hero-geo svg {
  stroke-width: 0.85;
}

@media (max-width: 1099.98px) {
  .hero-geo svg {
    stroke-width: 1.2;
  }
}

@media (max-width: 767.98px) {
.hero-geo svg {
  }
}

.hero-geo {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* ===== گرید روی ویدیوی هیرو (برگشت به نسخه‌ی اولیه) ===== */

/* =========================================================
   5. AI GRID — ۵. الگوی خطوط شطرنجی (افکت تزئینی هوش مصنوعی روی هدر)
   ========================================================= */
.video-fx-grid {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(
    ellipse 45% 32% at center,
    black 0%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 45% 32% at center,
    black 0%,
    transparent 100%
  );
}

.video-fx-grid {
  background-size: 35px 35px;
}

/* ===== دکمه‌ی عددی کارخانه‌ها: کاشی گوشه‌ی تصویر مثل قالب (یکرنگ)، فقط دایره شیشه‌ای رنگی ===== */
.services2 .item .curv-butn .icon,
.services2 .item .curv-butn .icon {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.2),
      rgba(255, 255, 255, 0.04) 50%,
      rgba(213, 28, 57, 0.34)
    ),
    rgba(213, 28, 57, 0.22) !important;
}

/* ===================================================================
   کارخانه‌ها: کاشی گوشه‌ی تصویر ساده و تیره (همان رنگ گوشه‌ی کروی)؛ شیشه‌ی رنگی فقط روی دایره‌ی عدد
   =================================================================== */
.services2 .item .curv-butn.icon-bg {
  background: #1b1b1b !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.services2 .item .curv-butn .icon,
.services2 .item:hover .curv-butn .icon {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.22),
      rgba(255, 255, 255, 0.04) 50%,
      rgba(213, 28, 57, 0.34)
    ),
    rgba(213, 28, 57, 0.2) !important;
  border: 1px solid rgba(255, 120, 140, 0.65) !important;
  color: #fff !important;
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.4);
  transition:
    background-color 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}

.services2 .item:hover .curv-butn .icon {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.28),
      rgba(255, 255, 255, 0.06) 50%,
      rgba(213, 28, 57, 0.7)
    ),
    rgba(213, 28, 57, 0.55) !important;
  border-color: rgba(255, 150, 165, 0.9) !important;
}

/* ===================================================================
   روان‌تر شدن اسکرول در بخش کارخانه‌ها و اخبار
   ===================================================================
   علت لگ: کل این سکشن‌ها (تمام‌عرض و بلند) یک backdrop-filter (بلر پس‌زمینه) داشتند
   و مرورگر در هر فریم اسکرول آن ناحیه‌ی بزرگ را دوباره بلر می‌کرد. چون پشتِ این سکشن‌ها
   فقط رنگ ساده‌ی صفحه است، برداشتنش ظاهر را عوض نمی‌کند ولی بار پردازش را خیلی کم می‌کند. */
.services2,
.cars1 {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

/* بلر کوچک روی دایره‌ی عدد کارخانه‌ها هم برداشته شد (رنگ و گرادیان شیشه‌ای می‌ماند) */
.services2 .item .curv-butn .icon,
.services2 .item:hover .curv-butn .icon {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* اسلایدر کارخانه‌ها روی لایه‌ی جدا (GPU) رندر می‌شود تا با اسکرول دوباره نقاشی نشود */
.services2 .owl-stage-outer {
  transform: translateZ(0);
}

/* ===================================================================
   اندازه‌ی نهایی لوگوهای سمت چپ هدر (فارسی و انگلیسی دقیقاً یکی)
   این بخش آخرین قانون است و با «html body» بر همه‌ی قانون‌های قبلی غلبه می‌کند؛
   برای تغییر اندازه فقط عددهای همین بخش را عوض کنید:
   عرض ستون (لوگو + نوشته) / عرض لوگوی کوه ، در حالت عادی و بعد از اسکرول
   =================================================================== */
@media (min-width: 1800px) {
  html body .navbar .navbar-nav .lang-logo-row .logo2-item,
  html body .navbar .logo-wrapper .logo2-item {
    width: 216px !important;
  }
  html body .navbar.nav-scroll .navbar-nav .lang-logo-row .logo2-item,
  html body .navbar.nav-scroll .logo-wrapper .logo2-item {
    width: 176px !important;
  }
  html body .navbar .logo2-ball {
    width: 128px !important;
  }
  html body .navbar.nav-scroll .logo2-ball {
    width: 104px !important;
  }
  html body .navbar .logo2-item .logo2-img {
    width: 100% !important;
  }
}

@media (min-width: 1600px) and (max-width: 1799.98px) {
  html body .navbar .navbar-nav .lang-logo-row .logo2-item,
  html body .navbar .logo-wrapper .logo2-item {
    width: 192px !important;
  }
  html body .navbar.nav-scroll .navbar-nav .lang-logo-row .logo2-item,
  html body .navbar.nav-scroll .logo-wrapper .logo2-item {
    width: 160px !important;
  }
  html body .navbar .logo2-ball {
    width: 114px !important;
  }
  html body .navbar.nav-scroll .logo2-ball {
    width: 94px !important;
  }
  html body .navbar .logo2-item .logo2-img {
    width: 100% !important;
  }
}

@media (min-width: 1520px) and (max-width: 1599.98px) {
  html body .navbar .navbar-nav .lang-logo-row .logo2-item,
  html body .navbar .logo-wrapper .logo2-item {
    width: 172px !important;
  }
  html body .navbar.nav-scroll .navbar-nav .lang-logo-row .logo2-item,
  html body .navbar.nav-scroll .logo-wrapper .logo2-item {
    width: 148px !important;
  }
  html body .navbar .logo2-ball {
    width: 104px !important;
  }
  html body .navbar.nav-scroll .logo2-ball {
    width: 88px !important;
  }
  html body .navbar .logo2-item .logo2-img {
    width: 100% !important;
  }
}

@media (min-width: 1440px) and (max-width: 1519.98px) {
  html body .navbar .navbar-nav .lang-logo-row .logo2-item,
  html body .navbar .logo-wrapper .logo2-item {
    width: 150px !important;
  }
  html body .navbar.nav-scroll .navbar-nav .lang-logo-row .logo2-item,
  html body .navbar.nav-scroll .logo-wrapper .logo2-item {
    width: 134px !important;
  }
  html body .navbar .logo2-ball {
    width: 92px !important;
  }
  html body .navbar.nav-scroll .logo2-ball {
    width: 80px !important;
  }
  html body .navbar .logo2-item .logo2-img {
    width: 100% !important;
  }
}

@media (min-width: 1200px) and (max-width: 1439.98px) {
  html body .navbar .navbar-nav .lang-logo-row .logo2-item,
  html body .navbar .logo-wrapper .logo2-item {
    width: 150px !important;
  }
  html body .navbar.nav-scroll .navbar-nav .lang-logo-row .logo2-item,
  html body .navbar.nav-scroll .logo-wrapper .logo2-item {
    width: 130px !important;
  }
  html body .navbar .logo2-ball {
    width: 90px !important;
  }
  html body .navbar.nav-scroll .logo2-ball {
    width: 78px !important;
  }
  html body .navbar .logo2-item .logo2-img {
    width: 100% !important;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  html body .navbar .navbar-nav .lang-logo-row .logo2-item,
  html body .navbar .logo-wrapper .logo2-item {
    width: 84px !important;
  }
  html body .navbar.nav-scroll .navbar-nav .lang-logo-row .logo2-item,
  html body .navbar.nav-scroll .logo-wrapper .logo2-item {
    width: 72px !important;
  }
  html body .navbar .logo2-ball {
    width: 84px !important;
  }
  html body .navbar.nav-scroll .logo2-ball {
    width: 72px !important;
  }
  html body .navbar .logo2-item .logo2-img {
    width: 100% !important;
  }
}

/* ستون لوگوهای چپ هدر فارسی نباید به‌خاطر عرض ثابت ردیف کوچک شود */
@media (min-width: 992px) {
  html body .navbar .navbar-nav .lang-logo-row {
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
  }
  html body .navbar .navbar-nav .lang-logo-row .logo2-item {
    flex: 0 0 auto !important;
  }
}

/* ===== نگاهی کلی در موبایل: کارت‌های آمار دو ستونه (به‌جای ۴ کارت بلند زیر هم) ===== */
@media (max-width: 575.98px) {
  .home-overview .ov-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .home-overview .ov-stat {
    padding: 16px 8px;
  }
  .home-overview .ov-stat strong {
    font-size: 22px;
  }
  .home-overview .ov-stat span {
    font-size: 12px;
  }
}

/* ===== شکل هندسی هیرو در موبایل: کمی بزرگ‌تر و نازک‌تر ===== */
@media (max-width: 767.98px) {
.hero-geo svg {
    stroke-width: 1.5;
    transform: scale(1.2);
  }
  /* خط‌های کناری در موبایل از صفحه بیرون می‌زنند */
}

/* ===== سبک‌سازی سکشن «همکاران ما» (روان‌تر شدن اسکرول و اسلایدر) ===== */
/* بلور پشت کارت‌های متحرک حذف شد؛ شیشه‌ای بودن با گرادیان و بردر حفظ می‌شود */
.clients .clients-logo {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.45) !important;
  transition:
    transform 0.2s ease-out,
    border-color 0.2s !important;
}
.clients .clients-logo:hover {
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.36),
    inset 0 1px 1px rgba(255, 255, 255, 0.5) !important;
}

/* ===== سبک‌سازی هاور و باز شدن زیرمنوها (روان‌تر) ===== */
.navbar .dropdown-menu .dropdown-item {
  transition:
    color 0.2s ease,
    background-color 0.2s ease !important;
}
/* جابه‌جایی ۵ پیکسلی هاور: به‌جای padding (بازچینش صفحه) با transform انجام می‌شود */
.navbar .dropdown-menu li {
  transition: transform 0.2s ease !important;
}
.navbar .dropdown-menu li:hover {
  padding-right: 0 !important;
  transform: translateX(-5px);
}
@media (min-width: 992px) {
  .navbar .dropdown-menu {
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease !important;
  }
  /* بلور سنگین باکس زیرمنو سبک‌تر شد (بدون saturate) */

}

/* آیتم‌های زیرمنو: گردی گوشه همیشه ثابت باشد تا هنگام رفتن از یک آیتم به آیتم بعد یک لحظه صفر نشود */
.navbar .dropdown-menu .dropdown-item,
.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus,
.navbar .dropdown-menu .dropdown-item.active {
  border-radius: var(--r-ctrl, 10px) !important;
}

/* ===== زیرمنوها: شیشه‌ی روشن‌تر و شفاف‌تر (الهام از Liquid Glass) ===== */
@media (min-width: 992px) {
  .navbar .dropdown-menu,
.navbar .dropdown-menu .dropdown-item span {
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
  }
  .navbar .dropdown-menu .dropdown-item:hover,
}

/* ===== زیرمنوها: Liquid Glass شبیه iOS (شفاف، کم‌رنگ، لبه‌ی نورانی ظریف) ===== */
@media (min-width: 992px) {
  .navbar .dropdown-menu,
  .navbar .dropdown-menu .dropdown-menu {
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
  }
  .navbar .dropdown-menu .dropdown-item:hover,
  .navbar .dropdown-menu .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.12);
  }
}

/* ===== تنظیم نهایی زیرمنوها: کمی تیره‌تر + عرض بیشتر برای متن‌های طولانی ===== */
@media (min-width: 992px) {
  .navbar .dropdown-menu {
    width: 300px;
  }
  .navbar .dropdown-menu .dropdown-menu {
    width: 360px;
    min-width: 360px;
  }
  .navbar .dropdown-menu .dropdown-item {
    width: 100%;
  }
}

/* ===== شیشه‌ی زیرمنوهای دسکتاپ: تنها منبع تنظیمات (بقیه‌ی بلوک‌های قدیمیِ تکراری حذف شدند) =====
   زیرمنوی اول و دوم هر دو بلر واقعی دارند. مرورگر اجازه نمی‌دهد باکسِ داخل یک باکسِ دارای بلر،
   صفحه‌ی پشت را بلر کند؛ پس بلر و رنگ باکس اول روی یک لایه‌ی پشتی (::before) است و خود باکس اول
   «بلر ندارد» و ریشه‌ی بلر نیست. */
@media (min-width: 992px) {
  /* باکس اول: فقط لبه و سایه‌ی بیرونی؛ شیشه روی ::before است */
  .navbar .nav-item > .dropdown-menu {
    background: none;
    border: 1px solid transparent !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  }
  .navbar .nav-item > .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    z-index: -1;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    pointer-events: none;
    background:
      linear-gradient(
        rgba(255, 255, 255, 0.09) 0%,
        rgba(255, 255, 255, 0.02) 45%,
        rgba(255, 255, 255, 0.04) 100%
      ),
      rgba(24, 26, 32, 0.38);
    box-shadow:
      inset 1px 1px 0 rgba(255, 255, 255, 0.38),
      inset -1px -1px 0 rgba(255, 255, 255, 0.1),
      inset 0 0 20px rgba(255, 255, 255, 0.04);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    backdrop-filter: blur(22px) saturate(180%);
  }
  /* باکس دوم (لیست کارخانه‌ها و مانند آن): همان بلر، رنگ و لبه‌ی باکس اول */
  .navbar .dropdown-menu .dropdown-menu {
    background:
      linear-gradient(
        rgba(255, 255, 255, 0.09) 0%,
        rgba(255, 255, 255, 0.02) 45%,
        rgba(255, 255, 255, 0.04) 100%
      ),
      rgba(24, 26, 32, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    box-shadow:
      0 12px 32px rgba(0, 0, 0, 0.3),
      inset 1px 1px 0 rgba(255, 255, 255, 0.38),
      inset -1px -1px 0 rgba(255, 255, 255, 0.1),
      inset 0 0 20px rgba(255, 255, 255, 0.04);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    backdrop-filter: blur(22px) saturate(180%);
  }
}

/* ===== هیرو: شکل لوگو (کوه‌های جدا از هم) + متن GRSco کم‌رنگ پشت آن ===== */
.hero-geo {
  aspect-ratio: 608 / 296;
  width: min(980px, 92vw, calc((100vh - 230px) * 2.05));
}
.hero-geo .geo-sun {
  transform-origin: 305px 62px;
}
.hero-geo .geo-word {
  fill: rgba(255, 255, 255, 0.05);
  font-family: "Montserrat", "Poppins", "Arial Black", Impact, sans-serif;
  font-size: 215px;
  font-weight: 900;
}
.hero-geo .geo-peak {
  fill: rgba(255, 255, 255, 0.015);
}
@media (max-width: 767.98px) {
  .hero-geo {
    width: min(100%, calc((100vh - 240px) * 2.05));
  }
}

/* ===== هیرو موبایل: شکل کامل، بزرگ و بدون بیرون‌زدگی ===== */
@media (max-width: 770px) {
  .hero-geo {
    width: 96vw;
    max-width: 96vw;
    min-width: 0;
    margin-left: calc(50% - 48vw);
    margin-right: calc(50% - 48vw);
  }
  .hero-geo svg {
    transform: none;
    stroke-width: 1.8;
  }
}

/* ===== فوتر: سبک‌سازی افکت‌ها (بدون بلور سنگین) + باکس تماس هم‌سبک زیرمنوهای نوبار ===== */
/* پس‌زمینه‌ی فوتر مات است و بلور پشتش دیده نمی‌شد؛ فقط هزینه‌ی رندر داشت */
.footer {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.footer .links.dark.footer-contact-links {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.13) 0%,
      rgba(255, 255, 255, 0.03) 42%,
      rgba(213, 28, 57, 0.07) 100%
    ),
    rgba(16, 17, 22, 0.78) !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.22);
}

.footer .social-icons li {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: background-color 0.2s, border-color 0.2s;
}

/* جلوگیری از transition روی همه‌ی ویژگی‌ها در لینک‌های فوتر */
.footer .usful-links ul li,
.footer .usful-links ul li a {
  transition: color 0.2s;
}

/* ===== هیرو: دایره‌ی لوگو هنگام بزرگ‌شدن (geoPulse) از بالا بریده نشود ===== */
.hero-geo {
  contain: layout;
  overflow: visible;
}

/* ===== موبایل: اصلاح بیرون‌زدگی بکگراند هاور/اکتیو آیتم‌های زیرمنو از متن ===== */
@media (max-width: 991.98px) {
  .navbar .dropdown-menu li,
  .navbar .dropdown-menu li:hover {
    transform: none !important;
    padding-right: 0 !important;
  }
  .navbar .dropdown-menu .dropdown-item {
    box-sizing: border-box !important;
    width: calc(100% - 20px) !important;
    max-width: calc(100% - 20px) !important;
    margin: 0 10px !important;
  }
}

/* ===== در یک نگاه: محتوای باکس‌های ردیف پایین وسط‌چین ===== */
.home-overview .ov-card {
  text-align: center;
}

.home-overview .ov-card > i {
  margin-right: auto;
  margin-left: auto;
}

/* ===== زیرمنوهای دسکتاپ: بلر شیشه‌ای هم‌زمان با باز شدن منو دیده شود ===== */
/* بلر پشت‌زمینه داخل عنصری که شفافیتش انیمیت می‌شود تا پایان انیمیشن اعمال نمی‌شد؛ پس شفافیت فوری عوض می‌شود */
@media (min-width: 992px) {
  .navbar .dropdown-menu {
    transition:
      transform 0.2s ease,
      visibility 0s linear !important;
  }
}
