/* ===========================================================
   توسعه تجارت سیالات — Design System
   صنعتی / مینیمال / حرفه‌ای / سازمانی — طیف آبی برند فعلی
   =========================================================== */

@font-face {
  font-family: 'Vazirmatn';
  src: url('Vazirmatn.woff2') format('woff2 supports variations'),
       url('Vazirmatn.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

img { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }

:root {
  --navy-900: #0a2540;
  --navy-800: #0d3054;
  --blue-700: #0f5c96;
  --blue-600: #1470b3;
  --blue-500: #1f8fd6;
  --blue-100: #e7f2fa;
  --blue-50:  #f3f9fd;

  --gray-900: #1b232c;
  --gray-700: #46525c;
  --gray-500: #6b7885;
  --gray-300: #ccd4da;
  --gray-200: #e2e7eb;
  --gray-100: #f2f4f6;
  --white: #ffffff;

  --accent: #d98c1f;
  --success: #1e7e46;

  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(10,37,64,.08);
  --shadow-md: 0 6px 20px rgba(10,37,64,.10);
  --shadow-lg: 0 16px 40px rgba(10,37,64,.14);

  --container: 1240px;
  --font: 'Vazirmatn', Tahoma, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.4; margin: 0 0 14px; color: var(--navy-900); }
h1 { font-size: clamp(28px, 4vw, 42px); }
h2 { font-size: clamp(24px, 3vw, 32px); }
h3 { font-size: 20px; }
h4 { font-size: 17px; }
p { margin: 0 0 14px; color: var(--gray-700); }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0; }
.section-alt { background: var(--gray-100); }
.section-navy { background: var(--navy-900); color: var(--white); }
.section-navy h2, .section-navy h3, .section-navy p { color: var(--white); }
.section-navy .section-lead { color: var(--blue-100); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-700);
  background: var(--blue-100);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: .3px;
}
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-lead { font-size: 17px; color: var(--gray-700); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: .2s ease;
}
.btn-primary { background: var(--blue-700); color: var(--white); }
.btn-primary:hover { background: var(--navy-800); }
.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy-900); }
.btn-ghost { border-color: var(--blue-700); color: var(--blue-700); }
.btn-ghost:hover { background: var(--blue-700); color: var(--white); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 9px 18px; font-size: 14px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.topbar {
  background: var(--navy-900);
  color: var(--blue-100);
  font-size: 13px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; gap: 6px; }
.topbar a { color: var(--blue-100); }
.topbar .topbar-links { display: flex; gap: 20px; flex-wrap: wrap; }
.navwrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 52px; width: auto; }
.brand-text { line-height: 1.3; }
.brand-text strong { display: block; font-size: 16px; color: var(--navy-900); font-weight: 800; }
.brand-text span { display: block; font-size: 12px; color: var(--gray-500); }

.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.main-nav > ul { display: flex; gap: 2px; align-items: center; }
.main-nav a.nav-link {
  padding: 10px 14px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--gray-900);
  border-radius: var(--radius);
}
.main-nav a.nav-link:hover, .main-nav a.nav-link.active { color: var(--blue-700); background: var(--blue-50); }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: 100%; right: 0; min-width: 270px;
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: .18s ease;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 14px; border-radius: 4px; font-size: 14px; font-weight: 600; color: var(--gray-900); }
.dropdown a:hover { background: var(--blue-50); color: var(--blue-700); }
.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-toggle { display: none; background: none; border: 1px solid var(--gray-300); border-radius: 4px; padding: 8px 10px; font-size: 20px; cursor: pointer; }

.hero {
  position: relative;
  background: linear-gradient(115deg, var(--navy-900) 0%, var(--navy-800) 45%, var(--blue-700) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero .container { position: relative; z-index: 2; padding-top: 88px; padding-bottom: 88px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.hero h1 { color: var(--white); }
.hero .section-lead { color: var(--blue-100); font-size: 18px; max-width: 560px; }
.hero-badges { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: 10px; }
.hero-badge .num { font-size: 22px; font-weight: 800; color: var(--white); }
.hero-badge .lbl { font-size: 12.5px; color: var(--blue-100); max-width: 130px; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

.page-hero {
  background: linear-gradient(115deg, var(--navy-900), var(--blue-700));
  color: var(--white);
  padding: 56px 0;
}
.page-hero h1 { color: var(--white); margin-bottom: 8px; }
.breadcrumb { font-size: 13px; color: var(--blue-100); margin-bottom: 10px; }
.breadcrumb a { color: var(--blue-100); }
.page-hero p { color: var(--blue-100); max-width: 680px; }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  transition: .2s ease;
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--blue-500); transform: translateY(-2px); }
.card .icon { width: 46px; height: 46px; border-radius: 10px; background: var(--blue-100); color: var(--blue-700); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 20px; font-weight: 800; }

.product-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; transition: .2s ease; display: flex; flex-direction: column; }
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--blue-500); }
.product-card .thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--gray-100); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-card .body h3 { margin: 0; font-size: 18px; }
.product-card .body p { font-size: 14.5px; margin: 0; flex: 1; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; font-weight: 700; background: var(--blue-100); color: var(--blue-700); padding: 4px 10px; border-radius: 999px; }
.tag-exclusive { background: var(--accent); color: var(--white); }

.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 24px 10px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--gray-200); }
.stat .n { font-size: 28px; font-weight: 800; color: var(--blue-700); }
.stat .l { font-size: 13.5px; color: var(--gray-500); margin-top: 6px; }

.industry-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.industry-card img { width: 100%; height: 100%; object-fit: cover; transition: .35s ease; }
.industry-card:hover img { transform: scale(1.06); }
.industry-card .overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,37,64,.88) 0%, rgba(10,37,64,.15) 55%, rgba(10,37,64,0) 100%); display: flex; align-items: flex-end; padding: 18px; }
.industry-card .overlay span { color: var(--white); font-weight: 700; font-size: 15px; }

.feature-list { display: flex; flex-direction: column; gap: 18px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-item .dot { flex-shrink: 0; width: 34px; height: 34px; border-radius: 8px; background: var(--blue-100); color: var(--blue-700); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.feature-item h4 { margin-bottom: 4px; }
.feature-item p { margin: 0; font-size: 14.5px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; object-fit: cover; }

.timeline { border-right: 3px solid var(--blue-100); padding-right: 26px; display: flex; flex-direction: column; gap: 34px; }
.timeline-item { position: relative; }
.timeline-item::before { content: ''; position: absolute; right: -32px; top: 4px; width: 13px; height: 13px; border-radius: 50%; background: var(--blue-700); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--blue-100); }
.timeline-item .date { font-size: 13px; font-weight: 700; color: var(--blue-700); margin-bottom: 4px; }

.cert-card { border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.cert-card img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.cert-card .body { padding: 18px; }
.cert-card .body h4 { margin-bottom: 6px; }
.cert-card .body p { font-size: 13.5px; margin-bottom: 12px; }

.contact-block { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--gray-200); }
.contact-block:last-child { border-bottom: none; }
.contact-block .ic { width: 42px; height: 42px; border-radius: 8px; background: var(--blue-100); color: var(--blue-700); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: 800; }
.contact-block h4 { margin-bottom: 4px; }
.contact-block p { margin: 0; }
.contact-block a { color: var(--blue-700); font-weight: 600; }

.cta-band { background: linear-gradient(115deg, var(--blue-700), var(--navy-900)); color: var(--white); border-radius: var(--radius); padding: 46px; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h3 { color: var(--white); margin-bottom: 6px; }
.cta-band p { color: var(--blue-100); margin: 0; }

.inquiry-box { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 28px; }
.inquiry-box h3 { margin-bottom: 6px; }
.inquiry-box ul { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 20px; }
.inquiry-box ul li { font-size: 14px; color: var(--gray-700); padding-right: 20px; position: relative; }
.inquiry-box ul li::before { content: '›'; position: absolute; right: 0; color: var(--blue-700); font-weight: 800; }
.inquiry-actions { display: flex; flex-direction: column; gap: 10px; }

.site-footer { background: var(--navy-900); color: var(--gray-300); padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand img { height: 46px; margin-bottom: 14px; }
.footer-brand p { color: var(--gray-300); font-size: 14px; }
.site-footer h4 { color: var(--white); font-size: 15px; margin-bottom: 16px; }
.site-footer ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--gray-300); font-size: 14px; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; padding: 22px 0; font-size: 13px; color: var(--gray-500); flex-wrap: wrap; gap: 10px; }

.spec-table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.spec-table th, .spec-table td { text-align: right; padding: 12px 16px; border: 1px solid var(--gray-200); font-size: 14.5px; }
.spec-table th { background: var(--gray-100); width: 32%; color: var(--gray-900); font-weight: 700; }

.notice {
  background: var(--blue-50); border: 1px solid var(--blue-100); border-right: 4px solid var(--blue-600);
  padding: 16px 18px; border-radius: 4px; font-size: 14px; color: var(--gray-700);
}
.notice strong { color: var(--navy-900); }

.gallery-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-strip img { aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius); }

.cert-mosaic { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.cert-mosaic .tile { position: relative; overflow: hidden; background: var(--white); border-radius: var(--radius); border: 1px solid var(--gray-200); }
.cert-mosaic .tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cert-mosaic .tile.main { width: 200px; aspect-ratio: 3/4; flex-shrink: 0; box-shadow: var(--shadow-md); }
.cert-mosaic .tile.main img { object-fit: contain; background: var(--white); }
.cert-mosaic .tile .cap { position: absolute; right: 0; bottom: 0; left: 0; background: linear-gradient(0deg, rgba(10,37,64,.85), rgba(10,37,64,0)); color: var(--white); font-size: 12.5px; font-weight: 700; padding: 20px 12px 8px; }
.cert-mosaic .small-wrap { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 1fr); gap: 8px; width: 200px; height: 266px; flex-shrink: 0; }
.cert-mosaic .tile.small { width: 100%; height: 100%; }

.mini-doc-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.mini-doc { width: 2cm; height: 3cm; border-radius: 3px; overflow: hidden; border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm); flex-shrink: 0; background: var(--gray-100); display: flex; align-items: center; justify-content: center; }
.mini-doc img { width: 100%; height: 100%; object-fit: contain; display: block; }

@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .main-nav { position: fixed; inset: 68px 0 0 0; background: var(--white); flex-direction: column; justify-content: flex-start; padding: 10px 20px; overflow-y: auto; transform: translateX(100%); transition: .25s ease; z-index: 90; }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; width: 100%; align-items: stretch; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; display: none; padding-right: 14px; }
  .has-dropdown.open .dropdown { display: block; }
  .nav-toggle { display: block; }
  .header-cta .btn span { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; }
  .topbar .container { justify-content: center; text-align: center; }
  .cert-mosaic .tile.main { width: 150px; }
  .cert-mosaic .small-wrap { width: 150px; height: 200px; }
}
