/* ===== Fonts ===== */
@font-face {
  font-family: 'Vazirmatn';
  src: local('Vazirmatn');
}

:root {
  --cream: #F7F7F8;
  --cream-dark: #EDEDEF;
  --navy: #2c2d3c;
  --navy-soft: #3d3e4f;
  --maroon: #5c6c5c;
  --maroon-bright: #6d7e6d;
  --gold: #9c6b4a;
  --line: rgba(44, 45, 60, 0.12);
  --shadow: 0 18px 50px -28px rgba(44, 45, 60, 0.45);
  --radius: 18px;
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  background: var(--cream);
  color: var(--navy);
  line-height: 1.85;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== Typography ===== */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.35; letter-spacing: -0.01em; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--maroon);
  background: rgba(91, 22, 32, 0.08);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn-primary {
  background: var(--maroon);
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(91, 22, 32, 0.7);
}
.btn-primary:hover { background: var(--maroon-bright); transform: translateY(-3px); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--cream); transform: translateY(-3px); }
.btn-light {
  background: var(--cream);
  color: var(--navy);
}
.btn-light:hover { transform: translateY(-3px); }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(240, 240, 240, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 78px;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img.logo-img { height: 44px; width: auto; display: block; }

.menu { display: flex; align-items: center; gap: 4px; list-style: none; flex: 1; justify-content: center; }
.menu > li { position: relative; }
.menu > li > a {
  display: block;
  padding: 10px 13px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.menu > li > a:hover { background: var(--cream-dark); color: var(--maroon); }
.menu > li.has-sub > a::after { content: '⌄'; margin-right: 5px; font-size: 11px; opacity: .6; }

/* dropdown / mega */
.submenu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 8px;
  min-width: 250px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.menu > li.has-sub::before {
  content: '';
  position: absolute;
  top: 100%; right: 0; left: 0;
  height: 14px;
}
.menu > li.has-sub:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a {
  display: block;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  transition: background .18s, color .18s;
  white-space: nowrap;
}
.submenu a:hover { background: var(--cream); color: var(--maroon); }

/* mega menu (wide, for services) */
.submenu.mega {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  min-width: 480px;
}

.nav-cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.nav-phone { font-weight: 800; font-size: 18px; color: var(--maroon); text-align: center; }
.nav-phone small { display: block; font-size: 10px; font-weight: 500; color: var(--navy); opacity: .6; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 101; }
.burger span { width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: .3s; }
.burger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== Mobile menu ===== */
.mobile-menu {
  position: fixed;
  inset: 78px 0 0 0;
  background: var(--cream);
  z-index: 99;
  padding: 16px 20px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu > ul > li { border-bottom: 1px solid var(--line); }
.mobile-menu > ul > li > a,
.mobile-menu .m-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 4px;
  font-weight: 700;
  font-size: 17px;
  font-family: inherit;
  color: var(--navy);
  background: none;
  border: none;
  cursor: pointer;
  text-align: right;
}
.mobile-menu .m-toggle .chev { color: var(--maroon); font-size: 20px; transition: transform .3s; }
.mobile-menu .m-item.open .m-toggle .chev { transform: rotate(180deg); }
.mobile-menu .sub-m {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.mobile-menu .m-item.open .sub-m { max-height: 600px; }
.mobile-menu .sub-m a {
  display: block;
  padding: 11px 16px;
  font-size: 15px;
  color: var(--navy-soft);
  border-top: 1px solid var(--line);
}
.mobile-menu .sub-m a:active { color: var(--maroon); }
.mobile-menu .m-cta { margin-top: 22px; }

/* ===== Hero ===== */
.hero { padding: 56px 0 90px; position: relative; }
.hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 900; line-height: 1.25; }
.hero h1 .mark { color: var(--maroon); position: relative; }
.hero-sub { font-size: 18px; margin: 22px 0 30px; color: var(--navy-soft); }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* top row: video (right) + pitch (left) */
.hero-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.hero-video-col .video-box { aspect-ratio: 16/9; margin: 0 auto; }
.hero-pitch { max-width: 540px; }

/* ===== Video block ===== */
.video-box {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--navy);
  aspect-ratio: 16/9;
}
.video-box video { width: 100%; height: 100%; object-fit: cover; }

/* ===== Lead form ===== */
.lead-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.lead-form h3 { font-size: 19px; margin-bottom: 18px; color: var(--navy); }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--navy-soft); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  color: var(--navy);
  transition: border .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--maroon);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 80px; }
.form-note { font-size: 13px; color: var(--navy-soft); opacity: .8; margin-top: 12px; text-align: center; }
.lead-form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-success {
  display: none;
  background: rgba(92,108,92,.06);
  border: 1.5px solid var(--maroon);
  color: var(--maroon);
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
}

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section-cream-dark { background: var(--cream-dark); }
.section-navy { background: var(--navy); color: var(--cream); }
.section-head { max-width: 640px; margin-bottom: 50px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.5vw, 40px); }
.section-head p { font-size: 18px; color: var(--navy-soft); margin-top: 16px; }
.section-navy .section-head p { color: rgba(240,240,240,.75); }

/* ===== Cards / boxes ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.icard {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.section-cream-dark .icard { background: #fff; }
.icard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.icard .ic {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--maroon);
  color: #fff;
  display: grid; place-items: center;
  font-size: 26px;
  margin-bottom: 20px;
}
.icard h3 { font-size: 20px; margin-bottom: 12px; }
.icard p { color: var(--navy-soft); font-size: 15.5px; }

/* industry cards */
.ind-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  color: var(--cream);
  padding: 34px 30px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform .3s;
}
.ind-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(92,108,92,.35), rgba(44,45,60,.92));
  z-index: 0;
}
.ind-card > * { position: relative; z-index: 1; }
.ind-card:hover { transform: translateY(-6px); }
.ind-card .num { font-size: 14px; color: var(--gold); font-weight: 700; margin-bottom: auto; }
.ind-card h3 { font-size: 24px; margin-bottom: 12px; }
.ind-card p { font-size: 15px; color: rgba(240,240,240,.82); }

/* ===== Timeline (signature) ===== */
.timeline { position: relative; }
.tl-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.tl-track-7 { grid-template-columns: repeat(7, 1fr); }
.tl-track::before {
  content: '';
  position: absolute;
  top: 28px; right: 10%; left: 10%;
  height: 2px;
  background: repeating-linear-gradient(to left, var(--maroon) 0 12px, transparent 12px 22px);
  z-index: 0;
}
.tl-step { text-align: center; padding: 0 12px; position: relative; z-index: 1; }
.tl-num {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--maroon);
  color: var(--maroon);
  display: grid; place-items: center;
  font-size: 22px; font-weight: 800;
}
.section-navy .tl-num { background: var(--navy); border-color: var(--gold); color: var(--gold); }
.section-navy .tl-track::before { background: repeating-linear-gradient(to left, var(--gold) 0 12px, transparent 12px 22px); }
.tl-step h4 { font-size: 17px; margin-bottom: 8px; }
.tl-step p { font-size: 14px; color: var(--navy-soft); }
.section-navy .tl-step p { color: rgba(240,240,240,.72); }

/* ===== Why / feature list ===== */
.feat {
  display: flex;
  gap: 18px;
  padding: 26px;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.section-cream-dark .feat { background: #fff; }
.feat .fic {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(92,108,92,.1);
  color: var(--maroon);
  display: grid; place-items: center;
  font-size: 22px;
}
.feat h4 { font-size: 18px; margin-bottom: 6px; }
.feat p { font-size: 15px; color: var(--navy-soft); }

/* ===== Gallery ===== */
.filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.filter-btn {
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 100px;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  transition: .2s;
}
.filter-btn.active, .filter-btn:hover { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gitem {
  aspect-ratio: 3/4;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(150deg, var(--cream-dark), #d4d4d6);
  position: relative;
  border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.gitem:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.gitem img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Stats ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat .big { font-size: clamp(34px, 4vw, 54px); font-weight: 900; color: var(--gold); line-height: 1; white-space: nowrap; }
.stat h4 { font-size: 18px; margin: 14px 0 8px; }
.stat p { font-size: 14.5px; color: rgba(240,240,240,.7); }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  text-align: right;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  background: none;
  border: none;
  padding: 22px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q .pm { color: var(--maroon); font-size: 24px; transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 0 22px; color: var(--navy-soft); font-size: 15.5px; }

/* ===== CTA band ===== */
.cta-band {
  background: var(--maroon);
  color: #fff;
  border-radius: 26px;
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(156,107,74,.25), transparent 50%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.cta-band p { font-size: 18px; color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 30px; }
.cta-band .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== Inner page hero ===== */
.page-hero {
  background: var(--navy);
  color: var(--cream);
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 30%, rgba(92,108,92,.4), transparent 55%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .eyebrow { background: rgba(156,107,74,.18); color: var(--gold); }
.page-hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 900; }
.page-hero p { font-size: 19px; color: rgba(240,240,240,.8); margin-top: 18px; max-width: 600px; }
.breadcrumb { font-size: 14px; color: rgba(240,240,240,.6); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--gold); }

/* ===== Service / content blocks ===== */
.svc-block { padding: 70px 0; border-bottom: 1px solid var(--line); }
.svc-block:last-child { border-bottom: none; }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.svc-grid.flip { direction: ltr; }
.svc-grid.flip > * { direction: rtl; }
.svc-num { font-size: 15px; font-weight: 800; color: var(--gold); letter-spacing: .1em; margin-bottom: 14px; }
.svc-block h2 { font-size: clamp(26px, 3.5vw, 36px); margin-bottom: 18px; }
.svc-block > .wrap > .svc-grid > div > p { color: var(--navy-soft); font-size: 16.5px; margin-bottom: 22px; }
.check-list { list-style: none; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 9px 0;
  font-size: 15.5px;
  color: var(--navy-soft);
}
.check-list li::before {
  content: '✓';
  color: var(--maroon);
  font-weight: 800;
  flex-shrink: 0;
}
.svc-visual {
  background: linear-gradient(150deg, var(--cream-dark), #E3E3E6);
  border-radius: var(--radius);
  min-height: 320px;
  display: grid;
  place-items: center;
  color: var(--navy);
  font-weight: 700;
  border: 1px solid var(--line);
  position: relative;
}
.svc-visual .badge {
  font-size: 54px;
  opacity: .35;
}

/* ===== Comparison table ===== */
.cmp-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cmp-table th, .cmp-table td { padding: 18px 20px; text-align: center; border-bottom: 1px solid var(--line); font-size: 15px; }
.cmp-table thead th { background: var(--navy); color: var(--cream); font-size: 16px; }
.cmp-table tbody th { background: var(--cream-dark); text-align: right; font-weight: 700; }
.cmp-table tr:last-child td { border-bottom: none; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.ci-row {
  display: flex; align-items: center; gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
}
.ci-row .ic {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(92,108,92,.1);
  color: var(--maroon);
  display: grid; place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}
.ci-row small { display: block; font-size: 13px; color: var(--navy-soft); margin-bottom: 2px; }
.ci-row b { font-size: 17px; }
.map-ph {
  height: 240px;
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--cream-dark), #d4d4d6);
  display: grid; place-items: center;
  color: var(--navy-soft);
  font-weight: 600;
  border: 1px solid var(--line);
  margin-top: 20px;
}

/* ===== Footer ===== */
.footer { background: var(--navy); color: var(--cream); padding: 64px 0 30px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(240,240,240,.12); }
.footer h5 { font-size: 16px; margin-bottom: 18px; color: var(--cream); }
.footer .logo { color: var(--cream); margin-bottom: 16px; }
.footer p { font-size: 14.5px; color: rgba(240,240,240,.7); }
.footer ul { list-style: none; }
.footer ul li a { display: block; padding: 7px 0; font-size: 14.5px; color: rgba(240,240,240,.72); transition: color .2s; }
.footer ul li a:hover { color: var(--gold); }
.social { display: flex; gap: 12px; margin-top: 16px; }
.social a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(240,240,240,.08);
  display: grid; place-items: center;
  font-size: 18px;
  transition: background .2s;
}
.social a:hover { background: var(--maroon); }
.footer-bottom { text-align: center; padding-top: 26px; font-size: 13.5px; color: rgba(240,240,240,.55); }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-top { grid-template-columns: 1fr; gap: 32px; }
  .hero-video-col .video-box { max-width: 560px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .tl-track, .tl-track-7 { grid-template-columns: 1fr; gap: 28px; }
  .tl-track::before { display: none; }
  .tl-step { display: flex; gap: 18px; text-align: right; align-items: flex-start; }
  .tl-num { margin: 0; flex-shrink: 0; }
  .svc-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}
@media (max-width: 1024px) {
  .menu, .nav-phone { display: none; }
  .burger { display: flex; }
  .nav-cta .btn { display: none; }
}
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .cta-band { padding: 40px 24px; }
  .section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

/* ===== Lead form: two-column row ===== */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

/* ===== Justify descriptive text ===== */
.hero-sub,
.section-head p,
.svc-block p,
.icard p,
.feat p,
.ind-card p,
.page-hero p,
.about-text p { text-align: justify; text-justify: inter-word; }

/* ===== Prose block (descriptive sections) ===== */
.prose-block { max-width: 820px; margin: 0 auto; }
.prose-block h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 22px; }
.prose-block p {
  font-size: 16.5px;
  line-height: 2.1;
  color: var(--navy-soft);
  margin-bottom: 18px;
  text-align: justify;
  text-justify: inter-word;
}
.prose-block p:last-child { margin-bottom: 0; }

/* ===================== اصلاحات نسخه نهایی ===================== */

/* ۱) عرض بیشتر برای section-head (متن‌ها دیگه باریک نباشن) */
.section-head { max-width: 760px; }
.section-head.center { max-width: 820px; }

/* ۲) justify سراسری برای همه متن‌های توضیحی */
.section-head p,
.svc-block p,
.svc-block .check-list li,
.icard p,
.feat p,
.feat div p,
.ind-card p,
.page-hero p,
.prose-block p,
.stat p,
.faq-a p,
.cta-band p,
.hero-sub,
.mission-text p { text-align: justify; text-justify: inter-word; }

/* در حالت وسط‌چین، justify نزن (وسط بمونه) */
.section-head.center p,
.cta-band p { text-align: center; }

/* ۳) تیترها تک‌خطی بمونن وقتی جا دارن */
.section-head h2,
.svc-block h2,
.prose-block h2,
.page-hero h1 { text-wrap: balance; }

/* ۴) prose-block عریض‌تر */
.prose-block { max-width: 900px; }

/* ۵) page-hero متن عریض‌تر */
.page-hero p { max-width: 760px; }

/* ۶) دکمه کاتالوگ outline در hero روشن */
.page-hero .hero-btns .btn-light {
  background: var(--maroon);
  color: #fff;
}
.page-hero .hero-btns .btn-light:hover { background: var(--maroon-bright); }

/* ۷) catalog ribbon / دکمه شناور دریافت کاتالوگ */
.catalog-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ۸) موبایل: عرض کامل و فاصله بهتر */
@media (max-width: 760px) {
  .section-head, .section-head.center, .prose-block, .page-hero p { max-width: 100%; }
  .prose-block p { font-size: 15.5px; line-height: 2; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .page-hero .hero-btns .btn { width: 100%; }
}

/* ===== justify جامع برای همه متن‌های محتوایی ===== */
.svc-grid p,
.svc-grid > div > p,
.prose-block p:not(.center),
.section p:not(.form-note):not(.eyebrow),
.contact-grid p { text-align: justify; text-justify: inter-word; }

/* استثناها: این‌ها وسط یا راست بمانند */
.cta-band p,
.section-head.center p,
.prose-block[style*="center"] p,
.form-note,
.hero-sub { text-align: justify; }
.cta-band p, .section-head.center p { text-align: center; }
.stat p, .icard p { text-align: center; }

/* آمار: تبلت ۴تایی بماند تا جا دارد، موبایل کوچک ۲تایی */
@media (max-width: 980px) and (min-width: 561px) {
  .stats { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .stat .big { font-size: 34px; }
}

/* ===== بخش خبرگزاری‌ها (Press / Media) ===== */
.press-section { border-top: 1px solid var(--line); }
.press-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
.press-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  height: 90px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.press-logo img {
  max-width: 100%;
  max-height: 46px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: filter .25s ease, opacity .25s ease;
}
.press-logo:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.press-logo:hover img { filter: grayscale(0%); opacity: 1; }
@media (max-width: 900px) { .press-logos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .press-logos { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

/* ═══════════ ارتقای حرفه‌ای دیزاین ═══════════ */

/* ۱) انتخاب متن با رنگ برند */
::selection { background: var(--maroon); color: #fff; }

/* ۲) اسکرول‌بار ظریف */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--cream-dark); }
::-webkit-scrollbar-thumb { background: var(--navy-soft); border-radius: 10px; border: 2px solid var(--cream-dark); }
::-webkit-scrollbar-thumb:hover { background: var(--navy); }

/* ۳) میکرو-انیمیشن نرم‌تر برای reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ۴) کارت‌ها: سایه و برجستگی ظریف‌تر و حرفه‌ای‌تر */
.icard {
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease, border-color .3s ease;
  border: 1px solid var(--line);
}
.icard:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -30px rgba(44,45,60,.5);
  border-color: transparent;
}
.icard .ic { transition: transform .3s ease; }
.icard:hover .ic { transform: scale(1.12) rotate(-3deg); }

/* ۵) دکمه‌ها: افکت ظریف‌تر */
.btn { transition: transform .2s ease, box-shadow .25s ease, background .25s ease; letter-spacing: -0.01em; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px var(--maroon); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0,0,0,.3); }

/* ۶) عنوان‌ها: فاصله حروف حرفه‌ای */
h1, h2, h3 { letter-spacing: -0.02em; }

/* ۷) لینک‌های منو: زیرخط ظریف متحرک */
.menu > li > a { position: relative; }
.menu > li:not(.has-sub) > a::after {
  content: ''; position: absolute; bottom: 4px; right: 13px; left: 13px;
  height: 2px; background: var(--maroon); border-radius: 2px;
  transform: scaleX(0); transform-origin: right; transition: transform .3s ease;
}
.menu > li:not(.has-sub) > a:hover::after { transform: scaleX(1); }

/* ۸) هدر: سایه ظریف هنگام اسکرول (با کلاس) */
.header { transition: box-shadow .3s ease, background .3s ease; }
.header.scrolled { box-shadow: 0 4px 30px -10px rgba(44,45,60,.15); }

/* ۹) تصاویر: بارگذاری نرم */
.gitem img, .svc-visual img { transition: transform .5s cubic-bezier(.16,1,.3,1); }
.gitem:hover img { transform: scale(1.06); }

/* ۱۰) بخش‌ها: فاصله‌گذاری هوادارتر و حرفه‌ای */
.section { padding: 90px 0; }
@media (max-width: 760px) { .section { padding: 56px 0; } }

/* ۱۱) badge اعتماد کوچک */
.trust-row {
  display: flex; flex-wrap: wrap; gap: 28px; justify-content: center;
  align-items: center; margin-top: 40px; padding-top: 36px;
  border-top: 1px solid var(--line);
}
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--navy-soft); font-size: 14.5px; font-weight: 600; }
.trust-item .ti-ic { font-size: 22px; }

/* ===== گالری سه‌تایی داخل بلوک خدمات (مثل خرما/عسل/شکلات) ===== */
.svc-visual.svc-triple {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  padding: 16px;
  min-height: 380px;
}
.svc-visual.svc-triple img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.svc-visual.svc-triple img:first-child {
  grid-row: 1 / 3;
  grid-column: 1;
}
.svc-visual.svc-triple img:hover { transform: scale(1.04); }
@media (max-width: 760px) {
  .svc-visual.svc-triple { min-height: 280px; }
}

/* ===== بخش دعوت از کارخانه‌ها (Suppliers Hero) ===== */
.suppliers-hero {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--maroon) 0%, #4a5a4a 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.suppliers-hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse, rgba(156,107,74,0.25), transparent 60%);
  pointer-events: none;
}
.sup-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.sup-content .eyebrow {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
}
.sup-content h2 {
  color: #fff;
  font-size: clamp(28px, 3.5vw, 40px);
  margin: 16px 0 20px;
  text-wrap: balance;
}
.sup-content > p {
  color: rgba(255,255,255,.9);
  font-size: 17px;
  line-height: 2;
  max-width: 600px;
  text-align: justify;
}
.sup-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sup-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: rgba(255,255,255,.92);
}
.sup-list li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  flex-shrink: 0;
}
.sup-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.sup-badge {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 2px solid rgba(255,255,255,.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 60px rgba(255,255,255,.05), 0 30px 60px -20px rgba(0,0,0,.4);
  position: relative;
}
.sup-badge::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.15);
  animation: sup-rotate 30s linear infinite;
}
@keyframes sup-rotate { to { transform: rotate(360deg); } }
.sup-badge-num {
  font-size: 78px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.03em;
}
.sup-badge-lbl {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  text-align: center;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .sup-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .sup-content > p, .sup-list { max-width: 100%; }
  .sup-list li { justify-content: center; }
  .sup-badge { width: 200px; height: 200px; margin: 0 auto; }
  .sup-badge-num { font-size: 64px; }
  .hero-btns { justify-content: center; }
}

/* بهبود چک‌لیست با تیتر بولد */
.check-list li b { color: var(--navy); font-weight: 700; }
.check-list li { line-height: 1.9; text-align: justify; }

/* ===== کارت کارخانه‌ها ===== */
.factory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.factory-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease, border-color .3s ease;
}
.factory-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -30px rgba(44,45,60,.5);
  border-color: transparent;
}
.fc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.fc-ic {
  font-size: 40px;
  line-height: 1;
}
.fc-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
  opacity: .5;
  letter-spacing: -0.02em;
}
.factory-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
  color: var(--navy);
}
.fc-loc {
  font-size: 14px;
  color: var(--maroon);
  font-weight: 600;
  margin-bottom: 12px;
}
.factory-card p {
  font-size: 14.5px;
  color: var(--navy-soft);
  line-height: 1.9;
  text-align: justify;
}
@media (max-width: 900px) { .factory-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .factory-grid { grid-template-columns: 1fr; } }

/* ═══════════ لندینگ‌های گوگل ادز ═══════════ */
.lp-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,247,248,.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.lp-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.lp-header .logo img { height: 40px; }
.lp-header .lp-phone { font-weight: 800; color: var(--maroon); font-size: 17px; display: flex; align-items: center; gap: 8px; }

.lp-hero { background: linear-gradient(160deg, var(--navy) 0%, #23242f 100%); color: #fff; padding: 56px 0 64px; position: relative; overflow: hidden; }
.lp-hero::before { content:''; position:absolute; top:-40%; left:-15%; width:55%; height:180%; background: radial-gradient(ellipse, rgba(156,107,74,.22), transparent 60%); }
.lp-hero-grid { display: grid; grid-template-columns: 1.2fr .9fr; gap: 48px; align-items: center; position: relative; }
.lp-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 44px); line-height: 1.35; margin-bottom: 20px; }
.lp-hero h1 .mark { color: var(--gold); }
.lp-hero .lead { font-size: 18px; line-height: 2; color: rgba(255,255,255,.9); margin-bottom: 28px; text-align: justify; }
.lp-badges { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 26px; }
.lp-badge { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.92); }
.lp-badge .n { font-size: 26px; font-weight: 900; color: var(--gold); line-height: 1; }

.lp-form { background: #fff; border-radius: 18px; padding: 30px; box-shadow: 0 30px 70px -30px rgba(0,0,0,.5); }
.lp-form h3 { font-size: 21px; margin-bottom: 6px; color: var(--navy); }
.lp-form .sub { font-size: 14px; color: var(--navy-soft); margin-bottom: 20px; }

.lp-trust-bar { background: var(--cream-dark); padding: 20px 0; }
.lp-trust-bar .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; }
.lp-trust-bar .item { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--navy-soft); }

.lp-section { padding: 64px 0; }
.lp-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 40px; }
.lp-step { text-align: center; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.lp-step .num { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 20px; font-weight: 800; margin: 0 auto 16px; }
.lp-step h4 { font-size: 16px; margin-bottom: 8px; }
.lp-step p { font-size: 14px; color: var(--navy-soft); }

.lp-cta-band { background: linear-gradient(135deg, var(--maroon), #4a5a4a); color:#fff; border-radius: 20px; padding: 48px; text-align: center; }
.lp-cta-band h2 { color:#fff; font-size: clamp(24px,3vw,34px); margin-bottom: 14px; }
.lp-cta-band p { color: rgba(255,255,255,.9); margin-bottom: 26px; font-size: 17px; }

.lp-sticky-call { position: fixed; bottom: 0; right: 0; left: 0; z-index: 90; display: none; background: var(--navy); padding: 10px 16px; gap: 10px; }
.lp-sticky-call a { flex: 1; text-align: center; padding: 13px; border-radius: 10px; font-weight: 700; font-size: 15px; }
.lp-sticky-call .call { background: var(--maroon); color: #fff; }
.lp-sticky-call .wa { background: #25D366; color: #fff; }

.lp-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 30px 0; text-align: center; font-size: 14px; }
.lp-footer a { color: var(--gold); }

@media (max-width: 860px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .lp-steps { grid-template-columns: repeat(2,1fr); }
  .lp-sticky-call { display: flex; }
  body.lp { padding-bottom: 70px; }
}

/* ===== گالری محصولات لندینگ جامع (با کپشن) ===== */
.lp-products { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.lp-prod {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease;
}
.lp-prod:hover { transform: translateY(-5px); box-shadow: 0 22px 45px -28px rgba(44,45,60,.5); }
.lp-prod .ph { aspect-ratio: 3/4; overflow: hidden; }
.lp-prod .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.lp-prod:hover .ph img { transform: scale(1.05); }
.lp-prod .cap { padding: 12px 14px; font-size: 14px; font-weight: 700; color: var(--navy); text-align: center; }
@media (max-width: 980px) { .lp-products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .lp-products { grid-template-columns: repeat(2, 1fr); gap: 12px; } .lp-prod .cap { font-size: 12.5px; padding: 10px; } }

/* آمار در لندینگ */
.lp-stats { background: linear-gradient(160deg, var(--navy), #23242f); border-radius: 20px; padding: 44px 30px; }
.lp-stats .stats { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 700px) { .lp-stats .stats { grid-template-columns: repeat(2, 1fr); gap: 26px; } }
