/* =========================================================
   PRIME MESH FACTORY — main stylesheet
   Industrial / metal-mesh B2B export site
   ========================================================= */

:root {
  --primary: #0f2d5c;
  --primary-2: #1a4a8c;
  --primary-3: #2f6fc0;
  --accent: #f47b20;
  --accent-2: #ffb04d;
  --dark: #0b1c31;
  --text: #333a45;
  --text-2: #5a6675;
  --muted: #8b97a6;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --bg-soft-2: #eaf0f7;
  --border: #e2e9f1;
  --shadow-sm: 0 2px 10px rgba(15, 45, 92, .06);
  --shadow: 0 8px 28px rgba(15, 45, 92, .10);
  --shadow-lg: 0 18px 48px rgba(15, 45, 92, .16);
  --radius: 6px;
  --radius-lg: 12px;
  --maxw: 1240px;
  --font: "Inter", "Segoe UI", "Helvetica Neue", "PingFang SC",
    "Microsoft YaHei", "Hiragino Sans GB", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; line-height: 1.3; color: var(--primary); }
p { margin: 0 0 14px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1440px; }

/* ---------- top bar ---------- */
.topbar {
  background: var(--dark);
  color: #b9c6d6;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  flex-wrap: wrap;
}
.topbar-info { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-info svg { width: 14px; height: 14px; fill: var(--accent); flex: none; }
.topbar a:hover { color: #fff; }

.lang-switch { display: flex; align-items: center; gap: 6px; }
.lang-switch button {
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  color: #b9c6d6;
  font: inherit;
  font-size: 12px;
  padding: 3px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: .2s;
}
.lang-switch button:hover { color: #fff; border-color: rgba(255,255,255,.4); }
.lang-switch button.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
}
/* 阿拉伯语字形偏小，略作补偿 */
.lang-switch button[data-lang="ar"] { font-size: 13.5px; padding: 3px 11px; }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 0 var(--border), 0 2px 16px rgba(15,45,92,.05);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 78px;
}
.logo { display: flex; align-items: center; gap: 12px; flex: none; }
.logo-mark {
  width: 56px; height: 56px;
  flex: none;
  object-fit: contain;
  border-radius: 50%;
}
/* 页脚深底：徽章加白色圆形垫底，避免白底方图在深色背景上突兀 */
.footer .logo-mark {
  width: 60px; height: 60px;
  background: #fff;
  padding: 3px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong {
  font-size: 18px;
  color: var(--primary);
  letter-spacing: .2px;
}
.logo-text small {
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: .6px;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nav > li > a {
  display: block;
  padding: 10px 15px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  border-radius: 4px;
  white-space: nowrap;
}
.nav > li > a:hover,
.nav > li > a.active { color: var(--primary-2); }
.nav > li > a.active::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* dropdown */
.has-sub > a::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  vertical-align: 2px;
  border: 4px solid transparent;
  border-top-color: currentColor;
  opacity: .6;
}
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  box-shadow: var(--shadow);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .22s;
}
.has-sub:hover .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a {
  display: block;
  padding: 9px 18px;
  font-size: 14px;
  color: var(--text-2);
}
.submenu a:hover { background: var(--bg-soft); color: var(--primary-2); padding-left: 22px; }

.header-cta { display: flex; align-items: center; gap: 12px; flex: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: .22s;
  font-family: inherit;
  text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #e06a10; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(244,123,32,.28); }
.btn-outline { border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--primary); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  padding: 11px 10px;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--primary);
  margin: 4px 0;
  transition: .25s;
}
.burger.on span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.on span:nth-child(2) { opacity: 0; }
.burger.on span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: linear-gradient(120deg, #0b1c31 0%, #14345f 55%, #1a4a8c 100%);
  overflow: hidden;
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 34px 34px;
}
.hero::after {
  content: "";
  position: absolute;
  right: -12%;
  top: -20%;
  width: 780px; height: 780px;
  background: radial-gradient(circle, rgba(244,123,32,.22) 0%, transparent 62%);
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 660px; padding: 90px 0; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--accent);
}
.hero h1 {
  color: #fff;
  font-size: 46px;
  line-height: 1.18;
  margin-bottom: 20px;
  font-weight: 800;
}
.hero h1 em { font-style: normal; color: var(--accent-2); }
.hero-lead {
  font-size: 17px;
  color: #cfdcea;
  margin-bottom: 32px;
  max-width: 580px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 44px;
  margin-top: 54px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.14);
  flex-wrap: wrap;
}
.hero-stats div strong {
  display: block;
  font-size: 30px;
  color: #fff;
  font-weight: 800;
  line-height: 1.1;
}
.hero-stats div span {
  font-size: 12.5px;
  color: #a9bcd2;
  letter-spacing: .4px;
}

/* slider dots */
.hero-dots {
  position: absolute;
  left: 0; right: 0; bottom: 26px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.hero-dots button {
  width: 30px; height: 4px;
  border: 0;
  background: rgba(255,255,255,.3);
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
  transition: .3s;
}
.hero-dots button.on { background: var(--accent); width: 46px; }

/* ---------- section base ---------- */
.section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark {
  background: linear-gradient(120deg, #0b1c31, #14345f);
  color: #d8e3f0;
}
.section-dark h2, .section-dark h3 { color: #fff; }

.sec-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.sec-head .eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-dark .sec-head .eyebrow { color: var(--accent-2); }
.sec-head h2 { font-size: 34px; margin-bottom: 14px; }
.sec-head p { color: var(--text-2); margin: 0; }
.section-dark .sec-head p { color: #b5c6da; }
.sec-head.left { text-align: left; margin-left: 0; }

.decor-line {
  width: 56px; height: 3px;
  background: var(--accent);
  border-radius: 3px;
  margin: 16px auto 0;
}
.sec-head.left .decor-line { margin-left: 0; }

/* ---------- advantage strip ---------- */
.adv-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-top: -52px;
  position: relative;
  z-index: 5;
  overflow: hidden;
}
.adv-strip > div {
  padding: 28px 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-right: 1px solid var(--border);
}
.adv-strip > div:last-child { border-right: 0; }
.adv-strip .ico {
  width: 46px; height: 46px;
  flex: none;
  border-radius: 10px;
  background: var(--bg-soft-2);
  display: grid;
  place-items: center;
}
.adv-strip .ico svg { width: 24px; height: 24px; fill: var(--primary-2); }
.adv-strip strong { display: block; font-size: 15px; color: var(--primary); margin-bottom: 3px; }
.adv-strip span { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ---------- category cards ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.cat-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  transition: .28s;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-visual {
  height: 210px;
  background: var(--bg-soft-2);
  position: relative;
  overflow: hidden;
}
.cat-visual svg { width: 100%; height: 100%; }
.cat-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cat-body { padding: 24px 26px 28px; }
.cat-body h3 { font-size: 20px; margin-bottom: 8px; }
.cat-body p { color: var(--text-2); font-size: 14px; margin-bottom: 16px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tag {
  font-size: 12px;
  padding: 4px 10px;
  background: var(--bg-soft-2);
  color: var(--primary-2);
  border-radius: 20px;
}
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}
.link-more:hover { gap: 13px; }

/* ---------- product grid ---------- */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-bar button {
  padding: 9px 22px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 30px;
  font: inherit;
  font-size: 14px;
  color: var(--text-2);
  cursor: pointer;
  transition: .22s;
}
.filter-bar button:hover { border-color: var(--primary-3); color: var(--primary-2); }
.filter-bar button.on {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 600;
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.prod-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  transition: .26s;
  display: flex;
  flex-direction: column;
}
.prod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.prod-visual {
  height: 178px;
  background: linear-gradient(160deg, #eef3f9, #dde7f3);
  position: relative;
  overflow: hidden;
}
.prod-visual svg { width: 100%; height: 100%; }
.prod-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  letter-spacing: .5px;
}
.prod-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.prod-body h4 { font-size: 16px; margin-bottom: 6px; }
.prod-en { font-size: 12px; color: var(--muted); margin-bottom: 12px; letter-spacing: .3px; }
.prod-body p {
  font-size: 13.5px;
  color: var(--text-2);
  margin-bottom: 16px;
  flex: 1;
}
.prod-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}
.prod-foot .link-more { font-size: 13px; }

/* ---------- about split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}
.split-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
  background: linear-gradient(150deg, #16345c, #1a4a8c);
}
.split-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.about-badge {
  position: absolute;
  left: 24px; bottom: 24px;
  background: rgba(11, 28, 49, .82);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 16px 22px;
  color: #fff;
  display: flex;
  gap: 26px;
}
.about-badge div strong { display: block; font-size: 24px; color: var(--accent-2); line-height: 1.2; }
.about-badge div span { font-size: 12px; color: #c3d3e6; }

.check-list { margin: 22px 0 28px; display: grid; gap: 12px; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--text-2);
}
.check-list svg { width: 20px; height: 20px; flex: none; fill: var(--accent); margin-top: 2px; }

/* ---------- process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.process-item {
  position: relative;
  padding: 32px 26px 30px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  transition: .26s;
}
.process-item:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.process-item::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: 34px;
  font-weight: 800;
  color: rgba(255,255,255,.16);
  line-height: 1;
  margin-bottom: 16px;
}
.process-item h4 { color: #fff; font-size: 17px; margin-bottom: 8px; }
.process-item p { font-size: 13.5px; color: #b0c2d6; margin: 0; }

/* ---------- stats ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-grid strong {
  display: block;
  font-size: 40px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}
.stat-grid strong i { font-style: normal; color: var(--accent); }
.stat-grid span { font-size: 13.5px; color: var(--text-2); }

/* ---------- certificates ---------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.cert-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 22px 12px;
  text-align: center;
  transition: .24s;
}
.cert-item:hover { border-color: var(--primary-3); box-shadow: var(--shadow-sm); }
.cert-item svg { width: 46px; height: 46px; margin: 0 auto 10px; display: block; }
.cert-item span { font-size: 13px; color: var(--text-2); }

/* ---------- application / industry ---------- */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.app-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 220px;
  background: #0f2d5c;
  display: flex;
  align-items: flex-end;
  padding: 26px;
}
.app-card svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.app-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,28,49,.25) 0%, rgba(11,28,49,.9) 100%);
}
.app-card > div { position: relative; z-index: 2; color: #fff; }
.app-card h4 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.app-card p { font-size: 13.5px; color: #c6d5e6; margin: 0; }

/* ---------- cases ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  transition: .26s;
}
.case-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.case-visual { height: 190px; background: linear-gradient(150deg, #1a4a8c, #0f2d5c); position: relative; }
.case-visual svg { width: 100%; height: 100%; }
.case-visual .loc {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255,255,255,.92);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}
.case-body { padding: 22px 24px 26px; }
.case-body h4 { font-size: 17px; margin-bottom: 8px; }
.case-body p { font-size: 13.5px; color: var(--text-2); margin-bottom: 14px; }
.case-meta {
  display: flex;
  gap: 18px;
  font-size: 12.5px;
  color: var(--muted);
  border-top: 1px dashed var(--border);
  padding-top: 14px;
}

/* ---------- news ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  transition: .26s;
  display: flex;
  flex-direction: column;
}
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.news-visual { height: 160px; position: relative; }
.news-visual svg { width: 100%; height: 100%; }
.news-date {
  position: absolute;
  top: 0; left: 0;
  background: var(--primary);
  color: #fff;
  padding: 8px 14px;
  text-align: center;
  line-height: 1.2;
}
.news-date b { display: block; font-size: 20px; }
.news-date i { font-style: normal; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; opacity: .85; }
.news-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.news-body h4 { font-size: 16.5px; margin-bottom: 10px; line-height: 1.45; }
.news-card:hover .news-body h4 { color: var(--primary-3); }
.news-body p {
  font-size: 13.5px;
  color: var(--text-2);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-body .link-more { margin-top: 14px; font-size: 13px; }

/* ---------- quote / CTA band ---------- */
.cta-band {
  background: linear-gradient(110deg, var(--accent) 0%, #ff9a3c 60%, var(--accent-2) 100%);
  padding: 58px 0;
  color: #fff;
}
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: 30px; margin-bottom: 8px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.92); font-size: 15px; }
.cta-band .btn { background: #fff; color: var(--accent); }
.cta-band .btn:hover { background: var(--dark); color: #fff; }

/* ---------- forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 38px 40px 42px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 7px;
}
.field label i { color: var(--accent); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  font-size: 14px;
  color: var(--text);
  background: #fbfdff;
  transition: .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary-3);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(47,111,192,.12);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.form-ok {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  background: #e9f7ef;
  border: 1px solid #b7e3c8;
  color: #1f7a44;
  border-radius: var(--radius);
  font-size: 14px;
}
/* 提交状态变体：失败红、兜底提示黄 */
.form-ok.err {
  background: #fdecea;
  border-color: #f5c2bd;
  color: #a32d1c;
}
.form-ok.warn {
  background: #fff6e5;
  border-color: #f2d9a0;
  color: #8a5a09;
}
button[type=submit][disabled] { opacity: .65; cursor: progress; }

/* ---------- page banner ---------- */
.page-banner {
  position: relative;
  padding: 78px 0 74px;
  background: linear-gradient(120deg, #0b1c31, #14345f 60%, #1a4a8c);
  color: #fff;
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 32px 32px;
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; font-size: 38px; margin-bottom: 12px; }
.page-banner p { color: #c2d3e6; margin: 0; max-width: 700px; }
.breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: #9fb4cd;
  margin-bottom: 16px;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: var(--accent-2); }

/* ---------- breadcrumb bar ---------- */
.subnav {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.subnav .container { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.subnav a {
  font-size: 13.5px;
  padding: 6px 16px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 20px;
  color: var(--text-2);
}
.subnav a:hover, .subnav a.on { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- product detail ---------- */
.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.detail-visual {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, #eef3f9, #dbe6f3);
  position: relative;
}
.detail-visual .main-svg { height: 380px; }

.prod-visual img,
.detail-visual .main-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-visual .main-photo { height: 380px; background: #e7eef7; }
.prod-visual img { transition: transform .4s ease; }
.prod-card:hover .prod-visual img { transform: scale(1.05); }
.thumb-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 10px; background: #fff; }
.thumb-row div {
  height: 74px;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-soft);
  cursor: pointer;
  transition: .2s;
}
.thumb-row div.on, .thumb-row div:hover { border-color: var(--accent); }

.detail h1 { font-size: 32px; margin-bottom: 6px; }
.detail .sub-en { color: var(--muted); letter-spacing: 1px; font-size: 13px; text-transform: uppercase; margin-bottom: 20px; }
.detail .desc { color: var(--text-2); }
.spec-table { width: 100%; border-collapse: collapse; margin: 24px 0 28px; }
.spec-table th, .spec-table td {
  border: 1px solid var(--border);
  padding: 11px 16px;
  font-size: 14px;
  text-align: left;
}
.spec-table th { background: var(--bg-soft); color: var(--primary); width: 34%; font-weight: 600; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.tabs { margin-top: 60px; }
.tab-head { display: flex; gap: 4px; border-bottom: 2px solid var(--border); }
.tab-head button {
  padding: 14px 26px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: .2s;
}
.tab-head button.on { color: var(--primary); border-bottom-color: var(--accent); }
.tab-body { padding: 30px 0 0; display: none; }
.tab-body.on { display: block; }
.tab-body ul.check-list { margin: 0; }

/* ---------- contact info ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: start;
}
.info-list { display: grid; gap: 22px; margin-top: 26px; }
.info-item { display: flex; gap: 16px; }
.info-item .ico {
  width: 46px; height: 46px;
  flex: none;
  border-radius: 10px;
  background: var(--bg-soft-2);
  display: grid;
  place-items: center;
}
.info-item .ico svg { width: 22px; height: 22px; fill: var(--primary-2); }
.info-item strong { display: block; font-size: 14px; color: var(--primary); margin-bottom: 2px; }
.info-item span, .info-item a { font-size: 14.5px; color: var(--text-2); }

.map-embed {
  margin-top: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 260px;
  background: var(--bg-soft-2);
  position: relative;
}
.map-embed svg { width: 100%; height: 100%; }

/* ---------- article ---------- */
.article { max-width: 860px; margin: 0 auto; }
.article-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 28px;
}
.article h2 { font-size: 24px; margin: 34px 0 14px; }
.article h3 { font-size: 19px; margin: 26px 0 10px; }
.article p { color: var(--text-2); line-height: 1.85; }
.article ul { margin: 0 0 18px; }
.article ul li {
  padding-left: 22px;
  position: relative;
  color: var(--text-2);
  margin-bottom: 8px;
}
.article ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: 11px;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.article-hero {
  height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 30px;
}
.quote-box {
  border-left: 4px solid var(--accent);
  background: var(--bg-soft);
  padding: 18px 24px;
  margin: 26px 0;
  color: var(--text-2);
  font-size: 14.5px;
}

/* ---------- footer ---------- */
.footer {
  background: var(--dark);
  color: #9fb2c8;
  font-size: 14px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 44px;
  padding: 62px 0 46px;
}
.footer h4 {
  color: #fff;
  font-size: 15.5px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  position: relative;
}
.footer h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 32px; height: 2px;
  background: var(--accent);
}
.footer .logo-text strong { color: #fff; }
.footer-about p { margin: 16px 0 20px; font-size: 13.5px; line-height: 1.8; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 13.5px; color: #9fb2c8; }
.footer-links a:hover { color: var(--accent-2); padding-left: 4px; }
.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13.5px;
}
.footer-contact svg { width: 15px; height: 15px; fill: var(--accent); flex: none; margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom a:hover { color: var(--accent-2); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .adv-strip { grid-template-columns: repeat(2, 1fr); }
  .adv-strip > div:nth-child(2) { border-right: 0; }
  .adv-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .nav > li > a { padding: 10px 11px; font-size: 14px; }
}

@media (max-width: 980px) {
  .header .container { height: 68px; }
  .nav {
    position: fixed;
    top: 108px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
    box-shadow: var(--shadow);
    max-height: calc(100vh - 108px);
    overflow-y: auto;
    display: none;
  }
  .nav.open { display: flex; }
  .nav > li > a { padding: 13px 22px; border-radius: 0; }
  .nav > li > a.active::after { display: none; }
  .submenu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 3px solid var(--accent);
    padding: 0 0 6px 12px;
    display: none;
  }
  .has-sub.open .submenu { display: block; }
  .burger { display: block; }
  .header-cta .btn { display: none; }
  .split, .detail, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .cat-grid, .app-grid, .case-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid, .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 34px; }
  .hero { min-height: 520px; }
  .hero-inner { padding: 64px 0; }
  .sec-head h2 { font-size: 27px; }
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 34px; }
}

@media (max-width: 680px) {
  .topbar .container { justify-content: center; text-align: center; }
  .adv-strip { grid-template-columns: 1fr; margin-top: -30px; }
  .adv-strip > div { border-right: 0; border-bottom: 1px solid var(--border); }
  .adv-strip > div:last-child { border-bottom: 0; }
  .prod-grid, .cat-grid, .app-grid, .case-grid, .news-grid,
  .process-grid, .stat-grid, .cert-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px 30px; }
  .hero h1 { font-size: 27px; }
  .hero-stats { gap: 26px; }
  .page-banner h1 { font-size: 26px; }
  .section { padding: 56px 0; }
  .footer-top { grid-template-columns: 1fr; }
  .logo-mark { width: 46px; height: 46px; }
  .logo-text strong { font-size: 15.5px; }
  .logo-text small { font-size: 9px; letter-spacing: .3px; }
  .footer .logo-mark { width: 52px; height: 52px; }
}

/* ---------- utility ---------- */
.text-center { text-align: center; }
.mt-lg { margin-top: 44px; }
.mb-0 { margin-bottom: 0; }
.reveal { opacity: 0; transform: translateY(24px); transition: .6s; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- additions ---------- */
.hero-bg { position: absolute; inset: 0; z-index: 1; opacity: .32; }
.hero-bg svg { width: 100%; height: 100%; }
.hero .container { z-index: 3; }

.prod-body p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.check-list-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--text-2);
  padding: 13px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.check-list-item svg { width: 20px; height: 20px; flex: none; fill: var(--accent); margin-top: 2px; }

/* 发展历程 */
.rev-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 26px;
  padding: 24px 0;
  border-bottom: 1px dashed var(--border);
}
.rev-item:last-child { border-bottom: 0; }
.rev-item > strong {
  font-size: 30px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -1px;
}
.rev-item h4 { font-size: 17px; margin-bottom: 6px; }
.rev-item p { font-size: 14px; color: var(--text-2); margin: 0; }

/* 询价双栏 */
.inquiry-split {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 46px;
  align-items: start;
}
.inquiry-split h2 { font-size: 30px; margin-bottom: 14px; }
.inquiry-split > div > p { color: var(--text-2); }

/* 页面内小工具 */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 24px; }
.chip {
  font-size: 13px;
  padding: 7px 15px;
  border: 1px solid var(--border);
  border-radius: 30px;
  color: var(--text-2);
  background: #fff;
}
.mini-title { font-size: 15px; font-weight: 700; color: var(--primary); margin: 26px 0 12px; }

@media (max-width: 980px) {
  .inquiry-split { grid-template-columns: 1fr; gap: 32px; }
  .rev-item { grid-template-columns: 76px 1fr; gap: 16px; }
  .rev-item > strong { font-size: 24px; }
}

/* =========================================================
   RTL（阿拉伯语）— 书写方向镜像
   由 <html dir="rtl"> 触发。文本流向与 flex/grid 主轴由浏览器
   自动反转，这里只补物理方向属性（left/right、margin、border）
   ========================================================= */

/* 1. 字体：阿拉伯语字形更高，行高放宽避免上下标被裁切 */
[dir="rtl"] body,
[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] select,
[dir="rtl"] button {
  font-family: "Segoe UI", Tahoma, "Noto Naskh Arabic", "Traditional Arabic",
               "Arabic Typesetting", Arial, sans-serif;
}
[dir="rtl"] body { line-height: 1.9; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { line-height: 1.5; }

/* 2. 型号 / 规格数字保持左起，避免 "600 g/m²" 等被重排错乱 */
[dir="rtl"] .prod-en,
[dir="rtl"] .sub-en,
[dir="rtl"] .spec-table td,
[dir="rtl"] .rev-item > strong { direction: ltr; unicode-bidi: embed; }

/* 3. 导航下拉箭头与菜单定位 */
[dir="rtl"] .has-sub > a::after { margin-left: 0; margin-right: 6px; }
[dir="rtl"] .submenu { left: auto; right: 0; }
[dir="rtl"] .submenu a:hover { padding-left: 18px; padding-right: 22px; }

/* 4. 首屏光晕装饰 */
[dir="rtl"] .hero::after { right: auto; left: -12%; }

/* 5. 左对齐区块标题 */
[dir="rtl"] .sec-head.left { text-align: right; margin-left: auto; margin-right: 0; }
[dir="rtl"] .sec-head.left .decor-line { margin-left: auto; margin-right: 0; }

/* 6. 优势条分隔线（竖线在单元格右侧 → 改到左侧） */
[dir="rtl"] .adv-strip > div { border-right: 0; border-left: 1px solid var(--border); }
[dir="rtl"] .adv-strip > div:last-child { border-left: 0; }

/* 7. 角标类绝对定位元素镜像到右上角 */
[dir="rtl"] .prod-badge { left: auto; right: 12px; }
[dir="rtl"] .about-badge { left: auto; right: 24px; }
[dir="rtl"] .case-visual .loc { left: auto; right: 14px; }

/* 8. 表格与列表 */
[dir="rtl"] .spec-table th,
[dir="rtl"] .spec-table td { text-align: right; }
[dir="rtl"] .article ul li { padding-left: 0; padding-right: 22px; }
[dir="rtl"] .article ul li::before { left: auto; right: 4px; }
[dir="rtl"] .quote-box { border-left: 0; border-right: 4px solid var(--accent); }
[dir="rtl"] .check-list-item { direction: rtl; }

/* 9. 页脚标题下划线与链接 hover 缩进 */
[dir="rtl"] .footer h4::after { left: auto; right: 0; }
[dir="rtl"] .footer-links a:hover { padding-left: 0; padding-right: 4px; }

/* 10. 发展历程时间线：年份列从左侧移到右侧 */
[dir="rtl"] .rev-item { grid-template-columns: 1fr 110px; text-align: right; }
[dir="rtl"] .rev-item > strong { order: 2; }

/* 11. 箭头类图标水平翻转（"查看详情 →" 在 RTL 下应指向左） */
[dir="rtl"] .link-more svg,
[dir="rtl"] .crumb-arrow { transform: scaleX(-1); }

/* 12. 询价双栏：图片与表单在 RTL 下自然互换，此处仅保证间距对称 */
[dir="rtl"] .inquiry-split { direction: rtl; }

/* 13. 移动端下拉菜单的高亮竖线 */
@media (max-width: 980px) {
  [dir="rtl"] .nav .submenu {
    border: 0;
    border-right: 3px solid var(--accent);
    border-left: 0;
  }
  [dir="rtl"] .rev-item { grid-template-columns: 1fr 76px; }
}
@media (max-width: 1100px) {
  [dir="rtl"] .adv-strip > div:nth-child(2) { border-left: 0; }
}
@media (max-width: 680px) {
  [dir="rtl"] .adv-strip > div { border-left: 0; }
}

/* 14. 电话号码 / WhatsApp 号码在 RTL 下保持左起，避免数字段被重排 */
[dir="rtl"] .topbar-info a,
[dir="rtl"] .footer-contact a,
[dir="rtl"] .wa-item a,
[dir="rtl"] .info-item a { direction: ltr; unicode-bidi: embed; display: inline-block; }
