/* =========================
   Imen Mehar Zagros — VIP
   RTL / Responsive / Glass
   ========================= */
@font-face {
  font-family: "Vazirmatn";
  src: url("fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("fonts/Vazirmatn-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
}

:root {
  --bg: #ffffff;
  --text: #0b1220;
  --muted: #5b6576;
  --navy-900: #070f1a;
  --navy-850: #0b1320;
  --navy-800: #0f223a;
  --navy-700: #163a64;
  --red-700: #6E1824;
  --red-650: #7A1B28;
  --red-600: #8B1E2D;
  --red-500: #A52A3A;
  --card: #ffffff;
  --line: rgba(15,23,42,.10);
  --shadow: 0 18px 55px rgba(2,6,23,.12);
  --shadow2: 0 10px 28px rgba(2,6,23,.10);
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* حذف اسکرول افقی */
html, body {
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Vazirmatn", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Tahoma, Arial;
  background: var(--bg);
  color: var(--text);
  line-height: 1.85;
  overflow-x: hidden;
  width: 100%;
  direction:rtl;
  text-align: right;
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
}
::selection {
  background: rgba(139,30,45,.18);
}
/* وسط‌چین کردن کل محتوا و جلوگیری از چسبیدن به چپ */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 13px;
}
.section {
  padding: 60px 0;
}
.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.section-title h2 {
  font-size: 22px;
  letter-spacing: -.3px;
}
.section-title p {
  color: var(--muted);
  font-size: 14px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow2);
}
/* ===== استایل یکسان برای همه دکمه‌ها ===== */
.btn,
.btn-primary,
.btn-outline,
.btn-red,
.form-card .btn-primary,
.hero-poster-buttons .btn,
.footer .btn,
.cta-after-poster .btn,
.product-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 40px;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn-primary,
.form-card .btn-primary,
.hero-poster-buttons .btn-primary {
  background: #0f223a;
  color: white;
  border-color: #0f223a;
}
.btn-primary:hover {
  background: #070a16;
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: #0f223a;
  border-color: #0f223a;
}
.btn-outline:hover {
  background: #a00a0a;
  color: white;
}
.btn-red {
  background: #c50a0a;
  color: white;
}
.btn-red:hover {
  background: #b90808;
}
.btn-large,
.more-center .btn {
  padding: 10px 28px;
  font-size: 14px;
}
.ico {
  width: 18px;
  height: 18px;
  display: inline-block;
  flex: 0 0 18px;
  opacity: .95;
}
/* =========================
   HEADER
   ========================= */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  color: #dad0d0;
  background: linear-gradient(135deg, var(--navy-850), var(--navy-800) 55%, var(--navy-900));
  border-bottom: 1px solid rgba(255,255,255,.10);
  overflow: hidden;
}
.header-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .55;
}
.header-shapes .line {
  position: absolute;
  height: 1px;
  width: 520px;
  background: linear-gradient(90deg, rgba(255,255,255,.0), rgba(255,255,255,.22), rgba(255,255,255,.0));
  transform: rotate(-18deg);
  left: -60px;
  top: 130px;
  display: none;
}
.header-shapes .dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: radial-gradient(circle at 15% 35%, rgba(0,0,0,1), rgba(0,0,0,0) 60%);
  display: none;
}
.header .container {
  position: relative;
  z-index: 1;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
}
@media (max-width: 768px) {
  .brand-logo {
    width: 60px;
    height: 60px;
  }
}
.brand-name {
  font-family: "Segoe UI", system-ui, sans-serif;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 1px;
}
.brand-sub {
  display: block;
  font-family: "Vazirmatn", sans-serif;
  font-size: 16px;
  margin-top: 4px;
  opacity: .8;
}
.brand .title strong {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
.brand .title strong::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  width: 170px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(270deg, rgba(165,42,58,1) 0%, rgba(165,42,58,.50) 45%, rgba(165,42,58,0) 100%);
}
.brand .title span {
  font-size: 12px;
  color: rgba(209,196,196,.78);
}
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav a {
  color: rgba(255,255,255,.88);
  font-size: 14px;
  padding: 10px 10px;
  border-radius: 12px;
  transition: .18s ease;
}
.nav a:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}
.nav .drop {
  position: relative;
}
.nav .drop > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav .caret {
  font-size: 14px;
  opacity: .9;
  transform: translateY(-1px);
}
.nav .menu {
  position: absolute;
  top: 100%;
  right: 0;
  padding-top: 5px;
  margin-top: 0;
  max-height: none !important;
  min-width: 140px;
  padding: 6px 0;
  white-space: nowrap;
  overflow: visible;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(15,34,58,.55);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: .18s ease;
}
.nav .drop:hover .menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav .menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 12px;
  border-radius: 12px;
  color: rgba(255,255,255,.92);
  font-size: 13px;
}
.nav .menu a:hover {
  background: rgba(255,255,255,.09);
}
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(10,20,34,.22);
  backdrop-filter: blur(10px);
  cursor: pointer;
  position: relative;
}
.menu-btn .bars {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.menu-btn .bars span {
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--red-600), rgba(165,42,58,.75));
  border-radius: 999px;
}
/* ===== SLIMBAR ===== */
.slimbar {
  margin-top: 8px;
  padding: 10px 0 8px 0;
  border-top: 1px solid rgba(255,255,255,0.25);
}
.slimbar-inner {
  display: block !important;
  text-align: center !important;
}
.slimitem {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  background: transparent !important;
  border: none !important;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  color: white;
  white-space: nowrap;
  text-decoration: none;
  transition: 0.2s;
  margin: 0 auto;
}
.slimitem:hover {
  color: #ff8888;
}
.slimitem .ico {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}
/* واکنش‌گرا برای موبایل */
@media (max-width: 640px) {
  .slimbar {
    border-top: 1px solid rgba(255,255,255,0.25);
  }
  .slimitem {
    padding: 4px 8px;
    font-size: 12px;
    gap: 5px;
  }
  .slimitem .ico {
    width: 14px;
    height: 14px;
  }
}
/* =========================
   HERO SHOWCASE
   ========================= */
/* ===== Hero Poster با عکس به صورت img ===== */
.hero-poster {
  position: relative;
  height: 50vh;
  width: 100%;
  min-height: 200px;
  max-height: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 0;
  padding-bottom: 0;
}
.hero-poster,
.hero-poster .container,
.section-divider,
.section-divider .container {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.hero-poster-img {
  width: 100%;
  max-width: 1350px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
/* کاور شیشه‌ای شفاف */
.hero-poster-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  backdrop-filter: none;
  z-index: 1;
  pointer-events: none;
}
/* نوار عمودی باریک در سمت چپ (مثل یک نوار صنعتی) */
.industry-stripe {
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  z-index: 2;
  transition: all 0.3s ease;
}
.industry-stripe:hover {
  background: rgba(197, 48, 48, 0.8);
  width: 12px;
}
/* دکمه شناور ساده در پایین */
.floating-button {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 3;
}
.btn-floating {
  display: inline-block;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  color: white;
  padding: 10px 28px;
  border-radius: 40px;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  border: 1px solid rgba(255,255,255,0.3);
  transition: 0.2s;
}
.btn-floating:hover {
  background: #c53030;
  transform: translateY(-3px);
}
/* واکنش‌گرا */
@media (max-width: 768px) {
  .industry-stripe {
    width: 4px;
  }
  .btn-floating {
    padding: 6px 20px;
    font-size: 12px;
  }
}
@media (max-width: 468px) {
  .hero-poster {
    height: 50vh;
    min-height: 350px;
  }
  .hero-poster-content h1 {
    font-size: 20px;
  }
  .hero-poster-content p {
    font-size: 14px;
  }
  .btn-poster-primary {
    padding: 8px 20px;
    font-size: 14px;
  }
}
/* جداکننده با خط سرمه‌ای و مثلث پایین */
.section-divider {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0;
  margin-top: 0;
  padding-top: 0;
}
.divider-line {
  width: 100%;
  height: 5px;
  background: #1e3a5f;
  border-radius: 2px;
}
.divider-down-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 12px solid #1e3a5f;
  background: transparent;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: -1px;
}
/* ===== Video CTA Section (دکمه بازشونده) ===== */
.video-cta-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  text-align: center;
  margin: 40px 0;
  border-radius: 32px;
}
.video-cta-content {
  max-width: 600px;
  margin: 0 auto;
}
.video-cta-icon {
  color: #c53030;
  margin-bottom: 16px;
}
.video-cta-content h2 {
  font-size: 28px;
  color: white;
  margin-bottom: 12px;
}
.video-cta-content p {
  font-size: 16px;
  color: #94a3b8;
  margin-bottom: 24px;
}
.btn-play-teaser {
  background: #c53030;
  border: none;
  color: white;
  font-size: 16px;
  font-weight: bold;
  padding: 12px 32px;
  border-radius: 40px;
  cursor: pointer;
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-play-teaser:hover {
  background: #9b2c2c;
  transform: scale(1.02);
}
/* مودال */
.video-modal {
  display: none;
  position: fixed;
  z-index: 3000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.85);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
}
.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  background: transparent;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 40px rgba(0,0,0,0.4);
}
.video-modal-content video {
  width: 100%;
  displa

y: block;
  border-radius: 16px;
}
.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
  z-index: 3100;
}
.video-modal-close:hover {
  color: #c53030;
}
@media (max-width: 640px) {
  .video-cta-content h2 {
    font-size: 24px;
  }
  .video-modal-content {
    width: 95%;
  }
  .video-modal-close {
    top: -35px;
    font-size: 28px;
  }
}
/* =========================
   Benefits
   ========================= */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.benefit {
  padding: 18px;
  border-radius: var(--r-md);
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 10px 30px rgba(2,6,23,.06);
}
.benefit h3 {
  font-size: 15px;
  margin-top: 10px;
}
.benefit p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}
.benefit .ico {
  width: 22px;
  height: 22px;
  color: var(--red-600);
}


.intro .facts {
  padding: 22px;
}
.fact {
  padding: 12px 0;
  border-bottom: 1px solid rgba(15,23,42,.08);
}
.fact:last-child {
  border-bottom: none;
}
.fact b {
  display: block;
  color: var(--navy-800);
  margin-bottom: 4px;
}
.fact span {
  color: var(--muted);
  font-size: 13px;
}

/* =========================
   Products & Articles
   ========================= */
.products-grid, .articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.product, .article {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: var(--shadow2);
}
.product img, .article img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background-color: #f5f5f5;
}
.product-body, .article-body {
  padding: 16px;
}
.product-body h3, .article-body h3 {
  font-size: 16px;
  letter-spacing: .8px;
}
.product-body p, .article-body p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
  min-height: 44px;
}
/* دکمه‌های داخل کارت محصولات: کنار هم و کوچک */
.product-actions {
  display: flex;
  flex-direction: row;      /* کنار هم (افقی) */
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;        /* جلوگیری از رفتن به خط بعد */
}

.product-actions .btn {
  flex: 1;                  /* دکمه‌ها عرض یکسان بگیرند */
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 24px;
  text-align: center;
  white-space: nowrap;      /* متن دکمه در یک خط بماند */
}
/* مودال نمایش بزرگ عکس */
.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  cursor: pointer;
  justify-content: center;
  align-items: center;
}
.modal-content {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  animation: zoomIn 0.3s ease;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
}
@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  z-index: 10000;
}
.modal-close:hover,
.modal-close:focus {
  color: #c53030;
  cursor: pointer;
}
#modalCaption {
  margin-top: 20px;
  text-align: center;
  color: #ccc;
  font-size: 16px;
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
}
.more-center {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}
.article-body a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--navy-700);
  border-bottom: 1px solid rgba(22,58,100,.35);
}
/* واکنش‌گرایی موبایل برای مودال */
@media (max-width: 768px) {
  .modal-close {
    top: 15px;
    right: 20px;
    font-size: 30px;
  }
  .modal-content {
    max-width: 95%;
  }
}
/* =========================
   Order form
   ========================= */
.form-wrap {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
  align-items: start;
}
.form-card {
  padding: 18px;
}
.form-card .btn-primary {
  padding: 8px 20px;
  font-size: 14px;
}
.form-card h2 {
  font-size: 18px;
  margin-bottom: 6px;
}
.form-card p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 12px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}
.field label {
  font-size: 13px;
  color: #2a3647;
}
.input, textarea, select {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.14);
  background: #fff;
  outline: none;
}
textarea {
  resize: vertical;
  min-height: 110px;
}
.input:focus, textarea:focus, select:focus {
  border-color: rgba(22,58,100,.35);
  box-shadow: 0 0 0 4px rgba(22,58,100,.12);
}
.form-side {
  padding: 18px;
}
.form-side .tip {
  padding: 12px 0;
  border-bottom: 1px solid rgba(15,23,42,.10);
}
.form-side .tip:last-child {
  border-bottom: none;
}
/* =========================
   Poster + Intro
   ========================= */
.poster-wrap {
  padding: 28px 0 0;
}
.poster-card {
  margin-top: 10px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15,23,42,.10);
}
.poster-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.intro {
  padding: 30px 0 60px;
  background: linear-gradient(180deg, #ffffff, #f4f7fb 55%, #ffffff);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 18px;
  align-items: start;
}
.intro .bio {
  padding: 22px;
}
.intro .bio h2 {
  font-size: 22px;
  letter-spacing: -.3px;
  margin-bottom: 8px;
}
.intro .bio p {
  color: #1b2433;}


/* =========================
   Drawer (Mobile Menu)
   ========================= */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  pointer-events: none;
  transition: .22s ease;
  z-index: 1200;
}
.drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: min(380px, 88vw);
  background: rgba(15,34,58,.62);
  border-left: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(14px);
  color: #fff;
  transform: translateX(105%);
  transition: .22s ease;
  z-index: 1300;
  padding: 14px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  direction: rtl;
}
.drawer.open {
  transform: translateX(0);
}
.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 6px 12px;
  border-bottom: 1px solid rgba(255,255,255,.14);
  margin-bot

tom: 10px;
}
.drawer-title {
  font-weight: 900;
  letter-spacing: -.3px;
}
.drawer-close {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
}
.drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  margin: 10px 0;
  text-decoration: none;
  font-size: 14px;
}
.drawer a:hover {
  background: rgba(255,255,255,.10);
}
.drawer details {
  margin: 10px 0;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  overflow: hidden;
}
.drawer summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 10px;
}
.drawer summary::-webkit-details-marker {
  display: none;
}
.drawer details a {
  margin: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  border-top: 1px solid rgba(255,255,255,.10);
  
}
.page-head {
  padding: 24px 0 10px;
}
.breadcrumb {
  color: var(--muted);
  font-size: 13px;
}
.hr {
  height: 1px;
  background: rgba(15,23,42,.10);
  margin: 14px 0;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .hero-top {
    flex-wrap: wrap;
  }
  .hero-left, .hero-right {
    text-align: center;
  }
  .hero-right {
    text-align: right;
  }
  .hero-actions {
    justify-content: center;
  }
}
@media (max-width: 900px) {
  .benefits-grid, .products-grid, .articles-grid {
    grid-template-columns: 1fr 1fr;
  }
  .intro-grid, .form-wrap, .footer-inner {
    grid-template-columns: 1fr;
  }
  .nav {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
  }
  .brand .title strong {
    font-size: 26px;
  }
  .brand .title strong::after {
    width: 145px;
  }
  .poster-card img {
    height: 200px;
  }
  .product img, .article img {
    height: 200px;
  }
}
@media (max-width: 768px) {
  .slimbar-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-items: stretch;
  }
  .slimitem {
    justify-content: center;
    padding: 8px 10px;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .slimitem .ico {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
  }
  span.slimitem {
    cursor: default;
  }
}





/* برای موبایل (عرض کمتر از 768px) */
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;   /* یک ستون */
    gap: 20px;
  }
}



/* =========================
   Articles CTA Section (شیک و ساده)
   ========================= */
.articles-cta-section {
  padding: 40px 0;
  background: linear-gradient(135deg, #f8f9fc 0%, #ffffff 100%);
  text-align: center;
}

.articles-cta-card {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 24px;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.articles-cta-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 40px -16px rgba(0, 0, 0, 0.12);
}

.articles-cta-icon {
  color: #8B1E2D;
  margin-bottom: 16px;
}

.articles-cta-card h2 {
  font-size: 28px;
  font-weight: 800;
  color: #0b1220;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.articles-cta-card p {
  font-size: 15px;
  color: #5b6576;
  margin-bottom: 28px;
  line-height: 1.6;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.btn-articles-cta {
  display: inline-block;
  background: #8B1E2D;
  color: white;
  padding: 12px 32px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-articles-cta:hover {
  background: #6E1824;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(139, 30, 45, 0.25);
}

/* واکنش‌گرا برای موبایل */
@media (max-width: 640px) {
  .articles-cta-card {
    padding: 28px 20px;
  }
  .articles-cta-card h2 {
    font-size: 24px;
  }
  .articles-cta-card p {
    font-size: 13px;
  }
  .btn-articles-cta {
    padding: 10px 24px;
    font-size: 14px;
  }
}







/* =========================
   FOOTER MODERN & PROFESSIONAL
   ========================= */
.footer-modern {
  background: linear-gradient(135deg, #0b1a2e 0%, #0a1525 100%);
  color: #e0e4e8;
  padding: 50px 0 20px;
  margin-top: 60px;
  border-top: 1px solid rgba(255,255,255,0.08);
  overflow-x: hidden;
}

.footer-modern-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* ستون‌ها */
.footer-col h3, .footer-col h4 {
  color: white;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}
.footer-col h3::after, .footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 40px;
  height: 2px;
  background: #c53030;
  border-radius: 2px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}
.footer-logo-img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}
.footer-logo h3 {
  margin-bottom: 0;
  font-size: 20px;
}
.footer-logo h3::after {
  display: none;
}
.footer-about {
  font-size: 13px;
  line-height: 1.7;
  color: #b0b8c5;
  margin-bottom: 20px;
}

/* آیکون‌های شبکه‌های اجتماعی فوتر - فقط آیکون */
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: flex-start;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
  text-decoration: none;
}

.footer-social a:hover {
  background: #c53030;
  transform: translateY(-3px);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  stroke: white;
  stroke-width: 1.5;
  fill: none;
}
.footer-social a img {
  width: 20px;
  height: 20px;
  display: block;
  transition: transform 0.2s;
}
.footer-social a:hover img {
  transform: translateY(-2px);
}

/* لیست لینک‌ها */
.footer-links-list, .footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links-list li, .footer-contact-list li {
  margin-bottom: 12px;
}
.footer-links-list a {
  color: #b0b8c5;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
  display: inline-block;
}
.footer-links-list a:hover {
  color: #c53030;
  transform: translateX(5px);
}
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #b0b8c5;
}
.footer-contact-list svg {
  flex-shrink: 0;
  opacity: 0.7;
}

/* فرم خبرنامه */
.newsletter-text {
  font-size: 13px;
  margin-bottom: 15px;
  color: #b0b8c5;
}


/* فرم خبرنامه - واکنش‌گرا */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
}

.newsletter-form input,
.newsletter-form button {
  width: 100%;
  padding: 6px 12px;
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 12px;
  box-sizing: border-box;
}

.newsletter-form button {
  background: #c53030;
  border: none;
  padding: 6px 12px;      /* پدینگ کم = دکمه کوچک */
  font-size: 12px;        /* فونت کوچک‌تر */
  font-weight: 600;
  border-radius: 30px;
  color: white;
  cursor: pointer;
  transition: 0.2s;
  width: auto;            /* عرض بر اساس محتوا */
  align-self: center;     /* وسط‌چین شدن دکمه */
}

.newsletter-form button:hover {
  background: #9b2c2c;
  transform: translateY(-2px);
}
@media (max-width: 640px) {
  .newsletter-form {
    max-width: 100%;
  }
  .newsletter-form button {
    padding: 5px 10px;
    font-size: 11px;
  }
}

/* پایین فوتر (کپی‌رایت) */
.footer-modern-bottom {
  text-align: center;
  padding-top: 25px;
  font-size: 12px;
  color: #8e9aab;
}
.footer-modern-bottom p {
  margin: 5px 0;
}
.footer-modern-bottom a {
  color: #c53030;
  text-decoration: none;
}
.footer-modern-bottom a:hover {
  text-decoration: underline;
}

/* واکنش‌گرا */
@media (max-width: 992px) {
  .footer-modern-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}
@media (max-width: 640px) {
  .footer-modern-inner {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .footer-modern {
    padding: 40px 0 20px;
  }
}




.to-top {
  position: fixed;
  left: 16px;
  bottom: 16px;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(15,34,58,.35);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 55px rgba(0,0,0,.20);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1400;
  cursor: pointer;
  transition: .18s ease;
}
.to-top:hover {
  transform: translateY(-2px);
  background: rgba(15,34,58,.45);
}


.container, .footer-modern, .video-cta-section {
  overflow-x: hidden;
}

/* نجات‌بخش نهایی: وسط‌چین کردن همه چیز و حذف اسکرول افقی */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  overflow-x: hidden !important;
}

body {
  direction: rtl;
  text-align: right;
}

.container, .hero-poster, .hero-poster .container, .hero-poster-content,
.section, .section .container, .intro, .intro .container,
.footer-modern, .footer-modern .container,
.video-cta-section, .video-cta-section .container {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
}

/* وسط‌چین کردن هدر و فوتر */
.header .container, .footer-modern .container {
  margin: 0 auto !important;
  float: none !important;
}

/* حذف هرگونه float اضافی */
.header-inner, .brand, .nav, .slimbar-inner {
  float: none;
  clear: both;
  overflow: hidden;
}

/* تنظیم پوستر (اگر عکس است) */
.hero-poster-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

/* استایل‌های ضروری برای نمایش محصولات در دسکتاپ */
body {
  direction: rtl;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* نمایش محصولات */
.products-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
}

.product {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  padding: 10px;
}

.product img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.product-body {
  padding: 12px;
}

.product-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.product-actions .btn {
  flex: 1;
  text-align: center;
  background: #0f223a;
  color: white;
  padding: 6px;
  border-radius: 24px;
  text-decoration: none;
  font-size: 12px;
}

/* وسط‌چین کردن پوستر */
.hero-poster {
  text-align: center;
  width: 100%;
  margin: 20px auto;
}


.newsletter-form button {
  padding: 5px 10px;
  font-size: 12px;
  width: auto;
  min-width: 70px;
}

.footer-contact-list li {
  word-break: break-word;
  white-space: normal;
}

.section-title h2 {
  font-size: 20px;
  white-space: normal;
  line-height: 1.3;
}

.intro .bio p {
  text-align: justify;
}

/* ===== حل مشکل پوستر در موبایل ===== */
@media (max-width: 768px) {
  .hero-poster {
    height: auto !important;
    min-height: unset !important;
    max-height: none !important;
    overflow: visible !important;
  }
  
  .hero-poster-img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    max-height: 60vh !important;  /* حداکثر ارتفاع 60% صفحه */
    margin: 0 auto !important;
    display: block !important;
  }
  
  .hero-poster-content {
    padding: 15px !important;
    margin-top: 10px !important;
  }
  
  .hero-poster-content h1 {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }
  
  .hero-poster-content p {
    font-size: 14px !important;
  }
}

/* ============================================= */
/* اصلاحات نهایی برای تحویل سایت (فقط اضافه کن) */
/* ============================================= */

/* 1. پوستر در موبایل - کامل و وسط */
@media (max-width: 768px) {
  .hero-poster {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 10px 0 !important;
  }
  .hero-poster .container {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
  }
  .hero-poster-img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    max-height: 65vh !important;
    display: block !important;
    margin: 0 auto !important;
    border-radius: 12px !important;
  }
  .hero-poster-content {
    text-align: center !important;
    padding: 10px 15px !important;
  }
  .hero-poster-content h1 {
    font-size: 20px !important;
  }
}

/* 2. متن معرفی (justify) */
.intro .bio p {
  text-align: justify !important;
}

/* 3. تیترها در موبایل دو خط نباشند */
@media (max-width: 768px) {
  .section-title h2 {
    font-size: 20px !important;
    white-space: normal !important;
    word-break: break-word !important;
  }
}

/* 4. ایمیل sales در فوتر نصفه نریزد */
.footer-contact-list li,
.footer-contact-list li span,
.footer-contact-list li a {
  word-break: break-all !important;
  white-space: normal !important;
  display: inline-block !important;
  max-width: 100% !important;
}

/* 5. دکمه خبرنامه کوچک و جمع‌وجور */
.newsletter-form button {
  padding: 4px 10px !important;
  font-size: 11px !important;
  width: auto !important;
  min-width: 65px !important;
  border-radius: 25px !important;
}

/* 6. رفع مشکل اسکرول افقی (در صورت وجود) */
html, body {
  overflow-x: hidden !important;
  width: 100% !important;
}

/* 7. رفع مشکل محصولات در دسکتاپ (در صورت پنهان شدن) */
.products-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
}
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr !important;
  }
}
/* ========== رفع سه مشکل نهایی ========== */

/* 1. عکس محصولات کامل دیده شود */
.product img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4/3 !important;
  object-fit: contain !important;
  background: #f5f5f5 !important;
}

/* 2. تیترها در موبایل یک خط شوند (در صورت امکان) یا خوش‌فرم */
@media (max-width: 768px) {
  .section-title h2 {
    font-size: 22px !important;
    white-space: normal !important;
    word-break: keep-all !important;
    line-height: 1.3 !important;
  }
  /* اگر تیتر بلند است، دو خط بودن اشکال ندارد، ولی خوش‌فرم می‌شود */
}

/* 3. منوی محصولات در دسکتاپ (منوی اصلی هدر) */
@media (min-width: 769px) {
  .nav {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .nav a, .nav .drop {
    display: inline-block !important;
  }
  .menu-btn {
    display: none !important; /* دکمه هامبرگر در دسکتاپ پنهان */
  }
}

/* اطمینان از نمایش منوی کشویی محصولات */
.nav .drop:hover .menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}
.nav .menu {
  transition: 0.2s;
}

.nav .caret {
  display: none !important;
}



/* بهبود ظاهر کارت‌های مقالات */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* دو ستون در دسکتاپ */
  gap: 24px;
  margin-top: 30px;
}
.article {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
}
.article:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}
.article img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.article-body {
  padding: 20px;
}
.article-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0b1220;
}
.article-body p {
  color: #5b6576;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}
.article-body a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #c53030;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: gap 0.2s;
}
.article-body a:hover {
  gap: 10px;
  text-decoration: underline;
}
/* واکنش‌گرا */
@media (max-width: 768px) {
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .article img {
    height: 180px;
  }
}