:root {
  --primary: #123A5C;
  --secondary: #4A7FA8;
  --accent: #C05621;
  --bg: #F5F7FA;
  --line: #E3E9F0;
  --text: #24313D;
  --muted: #5B6B7B;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  color: var(--text); background: #fff; line-height: 1.75; font-size: 16px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; margin-top: 28px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 40px; width: auto; }
.brand-name { font-size: 17px; font-weight: 700; color: var(--primary); letter-spacing: .5px; }
.nav { display: flex; gap: 6px; }
.nav a { padding: 8px 14px; border-radius: 6px; font-size: 15px; color: var(--muted); transition: .2s; }
.nav a:hover { color: var(--primary); background: var(--bg); }
.nav a.on { color: var(--primary); font-weight: 600; background: var(--bg); }
.hd-right { display: flex; align-items: center; gap: 10px; }
.lang-sw {
  border: 1px solid var(--secondary); color: var(--secondary); font-size: 13px;
  padding: 3px 10px; border-radius: 999px; font-weight: 600;
}
.lang-sw:hover { background: var(--secondary); color: #fff; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 6px; font-size: 20px; padding: 2px 10px; cursor: pointer; color: var(--primary); }

/* hero */
.hero {
  background-size: cover; background-position: center; color: #fff;
  padding: 120px 0 110px;
}
.hero h1 { font-size: 40px; font-weight: 800; letter-spacing: 1px; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero-sub { margin-top: 14px; font-size: 18px; opacity: .95; max-width: 720px; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.hero-cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 11px 28px; border-radius: 6px; font-size: 15px;
  font-weight: 600; transition: .2s; border: 1.5px solid transparent;
}
.btn.solid { background: var(--accent); color: #fff; }
.btn.solid:hover { background: #a8491a; }
.btn.ghost { border-color: rgba(255,255,255,.8); color: #fff; }
.btn.ghost:hover { background: rgba(255,255,255,.15); }
.btn.line { border-color: var(--secondary); color: var(--secondary); }
.btn.line:hover { background: var(--secondary); color: #fff; }

/* sections */
.sec { padding: 64px 0; }
.sec.alt { background: var(--bg); }
.sec-t { font-size: 27px; color: var(--primary); text-align: center; margin-bottom: 10px; font-weight: 800; }
.sec-t::after { content: ""; display: block; width: 44px; height: 3px; background: var(--accent); margin: 14px auto 0; border-radius: 2px; }
.intro { max-width: 900px; margin: 26px auto 0; color: var(--muted); font-size: 16.5px; text-align: justify; }
.grid { display: grid; gap: 22px; margin-top: 34px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

/* category cards */
.catcard { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 26px 22px; transition: .25s; display: block; }
.catcard:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(18,58,92,.12); border-color: var(--secondary); }
.catcard h3 { color: var(--primary); font-size: 18px; margin-bottom: 8px; }
.catcard p { color: var(--muted); font-size: 14px; line-height: 1.7; }

/* product cards */
.pcard {
  background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  display: flex; flex-direction: column; transition: .25s;
}
.pcard:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(18,58,92,.14); }
.pcard-img { height: 190px; background-size: cover; background-position: center; background-color: #fff; }
.pcard-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.pcard-body h3 { font-size: 16.5px; color: var(--primary); line-height: 1.45; }
.pcard-body p { font-size: 13.5px; color: var(--muted); margin-top: 8px; flex: 1; }
.more { color: var(--accent); font-size: 13.5px; font-weight: 600; margin-top: 12px; }

/* why */
.why { background: #fff; border-radius: 10px; padding: 24px 20px; border: 1px solid var(--line); }
.why h3 { color: var(--primary); font-size: 16.5px; margin-bottom: 8px; }
.why p { font-size: 13.5px; color: var(--muted); }

/* news */
.ncard, .nrow { display: block; }
.ncard { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: .25s; }
.ncard:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(18,58,92,.14); }
.ncard-img { height: 140px; background-size: cover; background-position: center; }
.ncard-body { padding: 16px; }
.date { font-size: 12.5px; color: var(--secondary); }
.ncard-body h3 { font-size: 15px; color: var(--primary); margin: 6px 0; line-height: 1.5; }
.ncard-body p { font-size: 13px; color: var(--muted); }
.nlist { max-width: 880px; }
.nrow { display: flex; gap: 22px; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-bottom: 20px; transition: .25s; }
.nrow:hover { box-shadow: 0 8px 22px rgba(18,58,92,.12); }
.nrow-img { width: 220px; min-height: 150px; background-size: cover; background-position: center; flex-shrink: 0; }
.nrow > div:last-child { padding: 18px 22px 18px 0; }
.nrow h3 { font-size: 17px; color: var(--primary); margin: 4px 0 8px; line-height: 1.5; }
.nrow p { font-size: 14px; color: var(--muted); }

/* page hero */
.page-hero { background: linear-gradient(rgba(18,58,92,.92), rgba(18,58,92,.92)); color: #fff; padding: 58px 0; }
.page-hero h1 { font-size: 30px; font-weight: 800; }
.page-hero p { margin-top: 10px; opacity: .9; font-size: 15px; }

/* product detail */
.crumb { margin-bottom: 16px; }
.crumb a { color: var(--secondary); font-size: 14px; }
.pd-title { font-size: 27px; color: var(--primary); font-weight: 800; }
.pd-meta { margin: 14px 0 6px; display: flex; gap: 10px; flex-wrap: wrap; }
.chip { background: var(--bg); color: var(--primary); font-size: 13px; padding: 4px 14px; border-radius: 999px; font-weight: 600; }
.chip.ghost { background: #fff; border: 1px solid var(--line); color: var(--muted); font-weight: 400; }
.pd-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 36px; margin-top: 26px; }
.pd-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.gimg { height: 170px; background-size: cover; background-position: center; border-radius: 8px; border: 1px solid var(--line); background-color: #fff; }
.pd-body h3 { color: var(--primary); font-size: 18px; margin: 26px 0 12px; padding-left: 10px; border-left: 4px solid var(--accent); }
.pd-body h3:first-child { margin-top: 0; }
.pd-body h4 { color: var(--secondary); font-size: 15.5px; margin: 18px 0 8px; }
.pd-body p, .pd-body li { color: var(--muted); font-size: 15px; }
.pd-body ul { padding-left: 22px; }
.pd-body li { margin-bottom: 6px; }
.article-lead { height: 320px; background-size: cover; background-position: center; border-radius: 10px; margin: 20px 0 8px; }
.article { max-width: 880px; }
.article h1 { font-size: 26px; color: var(--primary); font-weight: 800; line-height: 1.4; }
.article .date { display: block; margin-top: 8px; }
.article h3 { color: var(--primary); font-size: 18px; margin: 26px 0 12px; padding-left: 10px; border-left: 4px solid var(--accent); }
.article p, .article li { color: var(--muted); font-size: 15.5px; margin-top: 8px; }
.article ul { padding-left: 22px; }

/* spec tables */
table.spec { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 14px; }
table.spec th, table.spec td { border: 1px solid var(--line); padding: 9px 14px; text-align: left; }
table.spec th { background: var(--bg); color: var(--primary); font-weight: 700; white-space: nowrap; }
table.spec td { color: var(--muted); }
table.spec tr:nth-child(even) td { background: #FAFCFE; }

/* about */
.about-wrap { max-width: 880px; }
.about-wrap p { color: var(--muted); margin-bottom: 18px; text-align: justify; font-size: 16px; }
.vals { margin-top: 34px; }
.vals > div { background: var(--bg); border-radius: 10px; padding: 22px; }
.vals h3 { color: var(--accent); font-size: 15.5px; margin-bottom: 6px; }
.vals p { margin: 0; color: var(--primary); font-weight: 600; font-size: 15px; text-align: center; }

/* contact */
.cbox { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 26px; }
.cbox h3 { color: var(--primary); font-size: 15px; margin-bottom: 8px; }
.cbox .big { font-size: 19px; color: var(--accent); font-weight: 700; line-height: 1.7; }
.cbox.full { margin-top: 22px; }

/* contact bar */
.contact-bar { background: var(--primary); color: #fff; padding: 44px 0; }
.contact-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.contact-bar p { font-size: 18px; font-weight: 600; }

/* footer */
.site-footer { background: #0D2B44; color: #B8C7D6; padding: 48px 0 40px; font-size: 14px; }
.f-cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 30px; }
.f-logo { height: 44px; width: auto; filter: brightness(0) invert(1); opacity: .9; }
.f-name { margin-top: 10px; color: #fff; font-weight: 600; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.site-footer a { display: block; padding: 3px 0; color: #B8C7D6; }
.site-footer a:hover { color: #fff; }
.site-footer p { line-height: 1.9; }
.icp { margin-top: 12px; font-size: 12.5px; opacity: .75; }

/* responsive */
@media (max-width: 900px) {
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .f-cols { grid-template-columns: 1fr 1fr; }
  .pd-grid { grid-template-columns: 1fr; }
  .nav {
    display: none; position: absolute; top: 66px; left: 0; right: 0; background: #fff;
    flex-direction: column; padding: 10px 20px 16px; border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
  }
  .nav.open { display: flex; }
  .menu-btn { display: block; }
  .hero h1 { font-size: 28px; }
}
@media (max-width: 560px) {
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .f-cols { grid-template-columns: 1fr; }
  .nrow { flex-direction: column; }
  .nrow-img { width: 100%; height: 180px; }
  .nrow > div:last-child { padding: 0 18px 18px; }
  .brand-name { font-size: 14px; }
  .hero { padding: 80px 0 70px; }
}
