:root {
  --bg: #F7F8F7;
  --surface: #FFFFFF;
  --ink: #1F2623;
  --muted: #6B7270;
  --muted2: #545B57;
  --faint: #A6ADA8;
  --blue: #2D7DD2;
  --blue-dark: #1A5A96;
  --blue-light: #EAF3FC;
  --line: #E4E6E2;
  --weave: #E4E9E5;
  --imgbg: #F0F4F1;
  --signal: #1A5A96;
  --wa: #25D366;
  --wa-dark: #128C4A;
  --wa-tint: #F1FBF5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: 'Vazirmatn', sans-serif;
  background: var(--bg);
  color: var(--ink);
}

body.scroll-locked {
  overflow: hidden;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
}

button {
  font-family: inherit;
  cursor: pointer;
}

button:focus-visible, a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.weave-bg {
  position: relative;
}

.weave-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .5;
  pointer-events: none;
  background-image: repeating-linear-gradient(45deg, var(--weave) 0, var(--weave) 2px, transparent 2px, transparent 14px),
                    repeating-linear-gradient(-45deg, var(--weave) 0, var(--weave) 2px, transparent 2px, transparent 14px);
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px) saturate(1.6);
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
  border-bottom: 0.5px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header {
    background: var(--surface);
  }
}

/* backdrop-filter یه containing-block جدید برای اِلمان fixed می‌سازه؛ وقتی منوی
   تمام‌صفحه‌ی موبایل بازه، این باعث می‌شه به‌جای کل صفحه، فقط اندازه‌ی خود
   هدر رو بگیره. موقع باز بودن منو غیرفعالش می‌کنیم (هدر زیر منو دیده نمی‌شه، پس بی‌اثره). */
.site-header.nav-open {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  gap: 20px;
  flex-wrap: wrap;
}

.logo {
  background: none;
  border: none;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  padding: 0;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav-btn {
  background: none;
  border: none;
  font-size: 13.5px;
  color: var(--muted);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.main-nav-btn:hover,
.main-nav-btn.active {
  color: var(--ink);
  border-bottom-color: var(--blue);
}

.main-nav-btn .icon {
  display: none;
}

.mobile-nav-head,
.mobile-nav-cta {
  display: none;
}

.menu-toggle {
  display: none;
}

.lang-switch {
  position: relative;
}

.lang-current {
  display: none;
}

.lang-options {
  display: flex;
  border: 0.5px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.lang-btn {
  background: var(--surface);
  border: none;
  font-size: 12px;
  padding: 6px 10px;
  color: var(--muted);
  border-inline-start: 0.5px solid var(--line);
  text-decoration: none;
}

.lang-btn:first-child {
  border-inline-start: none;
}

.lang-btn.active {
  background: var(--blue-light);
  color: var(--blue-dark);
}

/* Generic Elements */
main.container {
  padding-bottom: 56px;
}

.breadcrumb {
  padding: 14px 0;
  font-size: 12px;
  color: var(--muted);
  border-bottom: 0.5px solid var(--line);
  margin-bottom: 32px;
}

.breadcrumb span {
  color: var(--ink);
}

.badge {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.page-title {
  font-size: 24px;
  font-weight: 900;
  margin: 0 0 8px;
  line-height: 1.5;
}

.page-intro {
  font-size: 13.5px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.9;
  margin: 0 0 28px;
}

.body-text {
  font-size: 14px;
  color: var(--muted2);
  line-height: 2;
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-block;
  border-radius: 8px;
  font-size: 14px;
  padding: 11px 22px;
  border: 0.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  border: none;
  font-weight: 500;
}

.btn-outline {
  background: transparent;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 12.5px;
  border-radius: 7px;
}

.btn svg {
  width: 16px;
  height: 16px;
  vertical-align: -3px;
  flex-shrink: 0;
}

.btn-sm svg {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
}

/* Home Section */
.hero {
  border-radius: 20px;
  padding: 72px 56px 64px;
  margin: 32px 0 24px;
  background: var(--surface);
  border: 0.5px solid var(--line);
  box-shadow: 0 1px 2px rgba(31,38,35,.04), 0 12px 32px rgba(31,38,35,.05);
}

.hero-inner {
  position: relative;
  max-width: 600px;
}

.hero h1 {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.5;
  margin: 0 0 16px;
}

.hero .lead {
  font-size: 15.5px;
  color: var(--muted2);
  line-height: 1.9;
  margin: 0 0 32px;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-row .btn {
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.cta-row .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(45,125,210,.28);
}

.cta-row .btn-outline:hover {
  transform: translateY(-2px);
  background: var(--blue-light);
  border-color: var(--blue);
}

.stats-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding: 8px 4px 24px;
}

/* ---------- پایه‌ی مشترک کارت‌ها ----------
   همه‌ی کارت‌های سایت (آمار، محصول، گواهینامه، تماس، ویژگی) از یه ساختار
   مشترک استفاده می‌کنن؛ اینجا یه‌بار تعریف شده به‌جای تکرار توی هر کدوم.
   مقادیر متفاوت هرکدوم (border-radius، padding، فاصله‌ی hover) که واقعاً
   فرق دارن، همون‌جای خودشون پایین‌تر می‌مونن — فقط چیزهای دقیقاً یکسان
   یکی شدن، ظاهر هیچ‌کدوم تغییر نکرده. */
.stat-item,
.stat-card,
.feature-card,
.product-card,
.cert-card,
.card,
.info-card {
  background: var(--surface);
  border: 0.5px solid var(--line);
}

/* کارت‌هایی که موقع hover یه نوار آبی بالاشون ظاهر می‌شه */
.stat-card,
.cert-card,
.card {
  position: relative;
  overflow: hidden;
}

.stat-card::before,
.cert-card::before,
.card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform .25s ease;
}

.stat-card::before {
  transform-origin: right;
}

.stat-card:hover::before,
.cert-card:hover::before,
.card:hover::before {
  transform: scaleX(1);
}

/* افکت بالا رفتن روی hover، مشترک بین این ۴ کارت */
.stat-card,
.feature-card,
.cert-card,
.card {
  transition: transform .18s ease, box-shadow .18s ease;
}

.stat-card:hover,
.feature-card:hover,
.cert-card:hover,
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(31,38,35,.07);
}

.stat-card,
.cert-card {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.stat-card:hover,
.cert-card:hover {
  border-color: transparent;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 12px;
  padding: 14px 20px;
  transition: box-shadow .15s ease, transform .15s ease;
}

.stat-item:hover {
  box-shadow: 0 6px 18px rgba(31,38,35,.06);
  transform: translateY(-2px);
}

.stat-item .icon {
  width: 20px;
  height: 20px;
  color: var(--blue);
  flex-shrink: 0;
}

.stat-num {
  font-size: 19px;
  font-weight: 700;
}

.stat-blue {
  color: var(--blue);
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.section-head {
  margin: 56px 0 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.view-all-link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue-dark);
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s ease;
}

.view-all-link .icon {
  width: 15px;
  height: 15px;
}

.view-all-link:hover {
  color: var(--blue);
}

.section-head h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 6px;
}

.section-head p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* ---------- گالری بنتو (بخش «چرا آرین بافت پرتو» در صفحه اصلی) ---------- */
.bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  height: 400px;
  margin-bottom: 40px;
}

.bento-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.bcard {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
}

.bento-stack .bcard {
  flex: 1;
  min-height: 0;
}

.about-bento {
  height: 340px;
}

.bcard-shot {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bcard-tag {
  position: absolute;
  bottom: 18px;
  right: 18px;
  display: flex;
  z-index: 1;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, .42);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(31, 38, 35, .18);
  padding: 8px 16px 8px 8px;
}

.bcard-thumb {
  width: 44px;
  height: 56px;
  object-fit: cover;
  display: block;
  border-radius: 9px;
}

.bcard-tag span {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.bcard-big .bcard-tag {
  bottom: 24px;
  right: 24px;
  padding: 10px 20px 10px 10px;
}

.bcard-big .bcard-thumb {
  width: 60px;
  height: 76px;
  border-radius: 10px;
}

.bcard-big .bcard-tag span {
  font-size: 15.5px;
}

.bento-stack .bcard-tag {
  bottom: auto;
  top: 16px;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .bcard-tag {
    background: rgba(255, 255, 255, .92);
  }
}

/* About Page */
.about-top {
  display: flex;
  gap: 48px;
  align-items: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.about-text {
  flex: 1.15;
  min-width: 280px;
}

.about-image {
  flex: 1;
  min-width: 260px;
  height: 280px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--imgbg);
  position: relative;
  box-shadow: 0 1px 2px rgba(31,38,35,.04), 0 16px 40px rgba(31,38,35,.08);
}

.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(31,38,35,.06);
  pointer-events: none;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.about-image:hover img {
  transform: scale(1.04);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 36px 0;
}

.stat-card {
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
}

.stat-card .stat-num {
  color: var(--blue);
  font-size: 19px;
  font-weight: 700;
}

.stat-card .stat-num-sm {
  font-size: 15px;
}

.stat-card .stat-label {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  border-radius: 14px;
  padding: 24px 20px;
}

.feature-card .icon {
  width: 22px;
  height: 22px;
  color: var(--blue-dark);
  padding: 11px;
  box-sizing: content-box;
  background: var(--blue-light);
  border-radius: 10px;
}

.feature-card .f-title {
  font-size: 14.5px;
  font-weight: 700;
  margin: 16px 0 6px;
}

.feature-card .f-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.8;
}

/* Products Page */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(31,38,35,.09);
}

.product-thumb {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(160deg, var(--blue-light) 0%, var(--imgbg) 70%);
}

.product-thumb img {
  position: relative;
  width: auto;
  height: 108px;
  max-width: 78%;
  object-fit: contain;
  display: block;
}

.product-thumb-photo {
  height: 190px;
  background: var(--imgbg);
}

.product-thumb-photo img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.product-body {
  padding: 20px;
}

.product-body .p-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
}

.product-body .p-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.9;
  margin: 0 0 16px;
}

.product-link {
  font-size: 12.5px;
  color: var(--blue);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.product-link .icon {
  width: 14px;
  height: 14px;
  color: var(--blue);
  transition: transform .18s ease;
}

.product-card:hover .product-link .icon {
  transform: translateX(-4px);
}

/* انگلیسی چپ‌به‌راست است، پس فلش "ادامه/جزئیات" باید آینه بشه تا رو به جلو باشه */
body.lang-en .product-link .icon,
body.lang-en .view-all-link .icon {
  transform: scaleX(-1);
}

body.lang-en .product-card:hover .product-link .icon {
  transform: scaleX(-1) translateX(-4px);
}

/* Product Detail Page */
.product-detail {
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
}

.product-detail-media {
  flex: 1;
  min-width: 260px;
  height: 320px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--blue-light) 0%, var(--imgbg) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(31,38,35,.04), 0 16px 40px rgba(31,38,35,.08);
}

.product-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.product-detail-media-icon img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.product-detail-body {
  flex: 1.1;
  min-width: 280px;
}

.product-detail-full {
  max-width: 680px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 0.5px solid var(--line);
}

.product-detail-full .body-text {
  margin-bottom: 16px;
}

.product-detail-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 0;
  font-size: 13px;
  color: var(--blue-dark);
}

.product-detail-note .icon {
  width: 18px;
  height: 18px;
  color: var(--blue);
  flex-shrink: 0;
}

/* Process Page */
.process-banner {
  width: 100%;
  height: 240px;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0 1px 2px rgba(31,38,35,.04), 0 16px 40px rgba(31,38,35,.08);
}

.process-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.timeline {
  max-width: 560px;
}

.step-photo {
  margin-top: 12px;
  border-radius: 12px;
  overflow: hidden;
  max-width: 320px;
}

.step-photo img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.step {
  display: flex;
  gap: 14px;
}

.step-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 32px;
  flex-shrink: 0;
}

.step-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-icon i {
  font-size: 15px;
}

.step-line {
  width: 2px;
  flex: 1;
  background: var(--line);
  margin: 4px 0;
}

.step-body {
  flex: 1;
  padding-bottom: 22px;
}

.step-title {
  font-size: 14px;
  font-weight: 500;
}

.step-title .optional {
  color: var(--faint);
  font-weight: 400;
}

.step-desc {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.8;
}

.step-machine {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  background: var(--bg);
  border: 0.5px solid var(--line);
  border-radius: 6px;
  padding: 3px 9px;
  font-size: 11.5px;
  color: var(--muted2);
}

.step-machine i {
  font-size: 12px;
}

/* Certifications Page */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cert-card {
  border-radius: 14px;
  padding: 28px 20px 24px;
  text-align: center;
}

.cert-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
}

.cert-icon::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px dashed var(--blue-light);
}

.cert-icon i,
.cert-icon .icon {
  width: 26px;
  height: 26px;
  font-size: 22px;
  color: var(--blue-dark);
}

.cert-title {
  font-size: 14.5px;
  font-weight: 500;
  margin: 0 0 6px;
}

.cert-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.9;
}

/* Contact Page */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.info-card {
  border-radius: 12px;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.info-card i,
.info-card .icon {
  width: 20px;
  height: 20px;
  font-size: 20px;
  color: var(--blue);
  margin-top: 2px;
  flex-shrink: 0;
}

.info-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.info-value {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.8;
}

.map-box {
  height: 200px;
  border-radius: 12px;
  background: var(--imgbg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0.5px solid var(--line);
}

.map-box i {
  font-size: 30px;
  color: var(--faint);
  position: relative;
}

/* Footer */
footer.site-footer {
  border-top: 0.5px solid var(--line);
  margin-top: 20px;
  background: var(--surface);
}

.footer-top {
  padding: 36px 40px 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px 32px;
  flex-wrap: wrap;
  border-bottom: 0.5px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}

.footer-brand-name {
  display: block;
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
}

.footer-tagline {
  margin: 3px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--muted2);
}

a.footer-contact-item {
  transition: color .15s ease;
}

a.footer-contact-item:hover {
  color: var(--blue);
}

.footer-contact-item .icon {
  width: 16px;
  height: 16px;
  color: var(--blue);
  flex-shrink: 0;
}

.footer-wa-badge {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue-light);
  align-items: center;
  justify-content: center;
}

.footer-wa-badge .icon {
  width: 16px;
  height: 16px;
}

.footer-wa-badge:hover {
  background: #25D366;
  color: #fff;
}

.footer-inner {
  padding: 22px 40px;
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  text-align: center;
}

.footer-divider {
  color: var(--line);
}

.footer-credit-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.footer-credit-link:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}

.footer-credit-icon {
  width: 13px;
  height: 13px;
}

/* Responsive Media Queries */
@media (max-width: 760px) {
  .container {
    padding: 0 20px;
  }
  .footer-top {
    padding: 28px 20px 22px;
    gap: 22px;
  }
  .footer-contact {
    gap: 12px;
    width: 100%;
  }
  .bento {
    grid-template-columns: 1fr;
    height: auto;
    gap: 12px;
    margin-bottom: 28px;
  }
  .bcard-big {
    height: 190px;
    border-radius: 16px;
  }
  .about-bento {
    height: auto;
  }
  .about-bento .bcard {
    height: 190px;
    border-radius: 16px;
  }
  .bento-stack {
    height: auto;
    gap: 12px;
  }
  .bento-stack .bcard {
    flex: none;
    height: 120px;
    border-radius: 16px;
  }
  .bcard-tag {
    bottom: 12px;
    right: 12px;
    gap: 8px;
    padding: 6px 12px 6px 6px;
  }
  .bcard-thumb {
    width: 38px;
    height: 48px;
    border-radius: 7px;
  }
  .bcard-tag span {
    font-size: 12px;
  }
  .bcard-big .bcard-tag {
    bottom: 14px;
    right: 14px;
    padding: 7px 14px 7px 7px;
  }
  .bcard-big .bcard-thumb {
    width: 46px;
    height: 58px;
  }
  .bcard-big .bcard-tag span {
    font-size: 13px;
  }
  .bento-stack .bcard-tag {
    bottom: auto;
    top: 12px;
  }
  .view-all-link {
    font-size: 12.5px;
  }
  .header-inner {
    padding: 14px 20px;
    position: relative;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 9px;
    border: 0.5px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
    flex-shrink: 0;
  }

  .menu-toggle svg {
    width: 20px;
    height: 20px;
  }

  .logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .main-nav {
    display: none;
    position: fixed;
    inset: 0;
    flex-direction: column;
    background: var(--surface);
    padding: 18px 20px;
    overflow-y: auto;
    z-index: 100;
  }

  .site-header.nav-open .main-nav {
    display: flex;
  }

  .mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
  }

  .mobile-nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 15px;
    color: var(--ink);
  }

  .mobile-nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 14px;
    inset-inline-end: 14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: var(--blue-light);
    color: var(--blue-dark);
    cursor: pointer;
    flex-shrink: 0;
    transition: background .15s ease, transform .1s ease;
  }

  .mobile-nav-close svg {
    width: 15px;
    height: 15px;
  }

  .mobile-nav-close:hover {
    background: var(--blue);
    color: #fff;
  }

  .mobile-nav-close:active {
    transform: scale(0.9);
  }

  .main-nav-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px 4px;
    text-align: start;
    box-shadow: inset 0 -0.5px 0 var(--line);
  }

  .main-nav-btn:last-of-type {
    box-shadow: none;
  }

  .main-nav-btn .icon {
    display: block;
    width: 20px;
    height: 20px;
    color: var(--blue-dark);
    flex-shrink: 0;
  }

  .mobile-nav-cta {
    display: block;
    margin-top: auto;
    padding-top: 20px;
  }

  .mobile-nav-cta .btn {
    display: block;
    width: 100%;
    text-align: center;
  }

  /* دکمه‌ی بستن دوم، پایین منو کنار CTA — چون دکمه‌ی × بالای صفحه با یه دست به گوشی
     سخت می‌رسه؛ اینجا داخل محدوده‌ی راحت شست دسترسیه، کاربر مجبور نیست دست دوم بیاره */
  .mobile-nav-close-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: 12px;
    padding: 12px;
    min-height: 44px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
  }

  .mobile-nav-close-bottom .icon {
    width: 15px;
    height: 15px;
    color: var(--faint);
  }

  .mobile-nav-close-bottom:active {
    color: var(--ink);
  }

  .lang-current {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 9px;
    border: 0.5px solid var(--line);
    background: var(--surface);
    color: var(--blue-dark);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
  }

  .lang-options {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-end: 0;
    flex-direction: column;
    border-radius: 10px;
    box-shadow: 0 16px 32px rgba(31,38,35,.14);
    z-index: 30;
    min-width: 64px;
  }

  .lang-switch.open .lang-options {
    display: flex;
  }

  .lang-options .lang-btn {
    padding: 11px 16px;
    border-inline-start: none;
    box-shadow: inset 0 -0.5px 0 var(--line);
  }

  .lang-options .lang-btn:last-child {
    box-shadow: none;
  }

  .btn-sm {
    padding: 10px 16px;
  }
  .hero {
    padding: 40px 28px;
  }
  .hero h1 {
    font-size: 27px;
  }
  .about-top,
  .product-detail {
    flex-direction: column;
    gap: 24px;
  }
  .about-image,
  .product-detail-media {
    width: 100%;
    height: 220px;
  }
  .process-banner {
    height: 160px;
  }
  .stats-grid,
  .feature-grid,
  .product-grid,
  .cert-grid,
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 30px 22px;
    margin: 20px 0 16px;
  }
  .badge {
    font-size: 11px;
    padding: 4px 10px;
    margin-bottom: 12px;
  }
  .hero h1 {
    font-size: 21px;
    line-height: 1.45;
    margin-bottom: 12px;
  }
  .hero .lead {
    font-size: 13.5px;
    line-height: 1.7;
    margin-bottom: 20px;
  }
  .stats-grid,
  .feature-grid,
  .product-grid,
  .cert-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }
  .stats-row {
    gap: 10px;
  }
  .stat-item {
    padding: 12px 14px;
  }
}
/* ---------- صفحه تماس ---------- */
.contact-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:24px;margin-top:8px;align-items:stretch;}
.panel{background:var(--surface);border:none;border-radius:22px;padding:30px;
  box-shadow:0 1px 2px rgba(31,38,35,.04), 0 20px 48px rgba(31,38,35,.07);}

.panel-head{display:flex;align-items:center;gap:12px;margin-bottom:18px;}
.panel-icon{width:38px;height:38px;border-radius:50%;background:var(--blue-light);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.panel-icon .icon{width:18px;height:18px;color:var(--blue-dark);}
.panel-head h2{font-size:16px;font-weight:800;margin:0;}

.address-headline{font-size:15.5px;font-weight:700;color:var(--ink);line-height:1.9;
  margin:0 0 20px;padding-bottom:20px;border-bottom:0.5px solid var(--line);}

.ladder{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px 0;}
.rung{display:flex;align-items:baseline;gap:6px;font-size:12.5px;padding:3px 0;}
.rung::after{content:"·";color:var(--faint);margin-inline-start:10px;}
.rung:last-child::after{content:none;}
.rung .lvl{color:var(--faint);}
.rung .val{color:var(--muted2);font-weight:500;}
.rung[data-scale="site"] .lvl{color:var(--blue-dark);opacity:.65;}
.rung[data-scale="site"] .val{color:var(--blue-dark);font-weight:700;}

.divider-note{margin-top:14px;font-size:12.5px;color:var(--muted);}
.actions{margin-top:24px;display:flex;gap:10px;flex-wrap:wrap;}

.map-panel{padding:0;overflow:hidden;display:flex;flex-direction:column;}
.map-frame{position:relative;width:100%;height:100%;min-height:320px;background:var(--bg);}
.map-frame iframe{width:100%;height:100%;border:0;display:block;filter:saturate(.85) contrast(.97);}

.map-float-btn{position:absolute;bottom:18px;inset-inline-start:18px;z-index:2;
  display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--ink);
  background:rgba(255,255,255,.9);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
  border:0.5px solid rgba(255,255,255,.6);border-radius:12px;padding:11px 18px;text-decoration:none;
  box-shadow:0 8px 24px rgba(31,38,35,.16);transition:transform .18s ease, box-shadow .18s ease, background .18s ease;}
.map-float-btn svg{width:16px;height:16px;color:var(--blue);flex-shrink:0;}
.map-float-btn:hover{transform:translateY(-2px);background:#fff;box-shadow:0 12px 28px rgba(31,38,35,.2);}

.channels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:28px;}
.channels.channels-3{grid-template-columns:repeat(3,minmax(0,1fr));}
.card{border-radius:14px;padding:24px;display:flex;flex-direction:column;gap:6px;}
.card-body{display:contents;}
.card-wa::before{background:var(--wa);}

.card-icon{width:44px;height:44px;border-radius:50%;background:var(--blue-light);
  display:flex;align-items:center;justify-content:center;margin-bottom:6px;}
.card-icon .icon{width:20px;height:20px;color:var(--blue-dark);}
.card-icon-wa{background:var(--wa-tint);}
.card-icon-wa svg{width:20px;height:20px;color:var(--wa-dark);}

.big-number{font-size:19px;font-weight:700;color:var(--ink);
  text-decoration:none;display:block;margin:2px 0;transition:color .15s ease;}
.card:hover .big-number{color:var(--blue-dark);}
.card-wa:hover .big-number{color:var(--wa-dark);}
.card h3{font-size:15px;font-weight:700;margin:2px 0 3px;}
.card p{font-size:12.5px;color:var(--muted);line-height:1.85;margin:0 0 4px;}
.card .actions{margin-top:10px;}

.btn-wa{background:var(--wa);border-color:var(--wa);color:#fff;}
.btn-wa:hover{background:var(--wa-dark);box-shadow:0 8px 20px rgba(37,211,102,.3);}

.wa-alt-link{display:block;margin-top:8px;font-size:11.5px;color:var(--faint);text-align:center;text-decoration:underline;}
.wa-alt-link:hover{color:var(--muted);}

/* ---------- toast ---------- */
.toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%) translateY(16px);
  background:var(--ink);color:#fff;font-size:13px;padding:11px 20px;border-radius:10px;
  opacity:0;pointer-events:none;transition:opacity .25s ease, transform .25s ease;
  box-shadow:0 12px 30px rgba(0,0,0,.22);z-index:50;}
.toast.show{opacity:1;transform:translateX(-50%) translateY(0);}

/* ---------- ریسپانسیو ---------- */
@media (max-width:760px){
  .contact-grid,.channels,.channels.channels-3{grid-template-columns:1fr;}

  /* کارت‌های تماس (تلفن/کارخانه/واتساپ/بله) روی موبایل خیلی بلند و خالی بودن —
     چیدمان از عمودی (آیکون بالا، بقیه زیرش) به افقی و فشرده (آیکون کنار متن) عوض شد */
  .channels .card{
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
  }
  .channels .card-icon{
    width: 38px;
    height: 38px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .channels .card-icon .icon,
  .channels .card-icon-wa svg{
    width: 17px;
    height: 17px;
  }
  .channels .card-body{
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
  }
  .channels .big-number{
    font-size: 15.5px;
    margin: 0;
  }
  .channels .card h3{
    font-size: 13px;
    margin: 0;
  }
  .channels .card p{
    font-size: 11.5px;
    line-height: 1.6;
  }
  .channels .card .actions{
    margin-top: 6px;
  }
  .channels .card .actions .btn{
    padding: 7px 14px;
    font-size: 12.5px;
  }
  .channels .wa-alt-link{
    text-align: start;
    margin-top: 6px;
  }
}

/* ---------- چاپ / خروجی PDF ---------- */
@media print {
  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .site-header,
  .site-footer,
  .toast,
  .map-frame,
  .map-foot,
  .cta-row .btn-outline,
  .product-link,
  .actions .btn-outline {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  a {
    text-decoration: none;
    color: inherit;
  }

  .hero,
  .stat-item,
  .stat-card,
  .feature-card,
  .product-card,
  .cert-card,
  .panel,
  .card,
  .step,
  .info-card {
    box-shadow: none !important;
    transform: none !important;
    break-inside: avoid;
  }

  .weave-bg::before {
    display: none;
  }

  .hero-media,
  .about-image,
  .process-banner {
    box-shadow: none;
    max-height: 220px;
  }

  /* گریدهای کوچک (۳-۴ آیتم) با هم صفحه عوض کنن، نه اینکه یه کارت تنها روی صفحه بعد بیفته */
  .feature-grid,
  .stats-grid,
  .cert-grid,
  .channels {
    break-inside: avoid;
  }

  .bento {
    break-inside: avoid;
  }

  .bcard-tag {
    background: rgba(255, 255, 255, .92);
    box-shadow: none;
  }
}