:root {
  --ink: #12232e;
  --muted: #5b6b7a;
  --brand: #0b3c60;
  --brand-2: #0e5a8f;
  --accent: #f6a623;
  --wa: #25d366;
  --wa-dark: #1da851;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --line: #dfe7ee;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(18, 35, 46, .06), 0 8px 24px rgba(18, 35, 46, .06);
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5 { margin: 0 0 .5em; line-height: 1.25; font-weight: 700; }
h1 { font-size: 2.35rem; }
h2 { font-size: 1.65rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 8px 14px; font-size: .86rem; }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); }
.btn-outline { background: #fff; color: var(--brand); border-color: #bfd1de; }
.btn-outline:hover { border-color: var(--brand); background: #f2f7fb; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-ghost { background: #f3f6f9; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: #e8eef4; }
.btn-wa { background: var(--wa); color: #06301a; }
.btn-wa:hover { background: var(--wa-dark); color: #fff; }

.topbar { background: var(--brand); color: #cfe1ee; font-size: .82rem; position: relative; z-index: 50; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 38px; }
.topbar a { color: #dbeaf5; }
.topbar-links { display: flex; align-items: center; gap: 18px; }
.topbar-wa { font-weight: 700; color: #fff !important; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark { flex: none; line-height: 0; }
.brand-text { display: flex; flex-direction: column; }
.brand-text b { font-size: 1.16rem; letter-spacing: -.2px; }
.brand-text i { font-style: normal; font-size: .76rem; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav-link { padding: 10px 14px; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: .95rem; }
.nav-link:hover { background: var(--bg-alt); text-decoration: none; }
.nav-link.is-active { color: var(--brand); }
.nav-drop { position: relative; }
.nav-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 270px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 8px; display: none; z-index: 50;
}
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu { display: block; }
.nav-menu a { display: block; padding: 9px 12px; border-radius: 7px; color: var(--ink); font-size: .92rem; }
.nav-menu a:hover { background: var(--bg-alt); text-decoration: none; }
.nav-cta { margin-left: 10px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; background: none; border: 0; cursor: pointer; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

.hero { background: linear-gradient(180deg, #f7fafc 0%, #eef4f9 100%); border-bottom: 1px solid var(--line); padding: 56px 0 64px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: start; }
.eyebrow { text-transform: uppercase; letter-spacing: 1.4px; font-size: .76rem; font-weight: 700; color: var(--brand-2); margin: 0 0 12px; }
.hero-copy h1 { font-size: 2.6rem; letter-spacing: -.8px; }
.hero-text { font-size: 1.06rem; color: #3b4a56; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 24px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .9rem; }
.hero-points li { position: relative; padding-left: 20px; }
.hero-points li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.hero-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; box-shadow: var(--shadow); }
.hero-card h3 { margin-bottom: 6px; }
.hero-card > p { color: var(--muted); font-size: .92rem; }

.inquiry-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: block; margin-bottom: 12px; }
.field > span { display: block; font-size: .82rem; font-weight: 600; color: var(--muted); margin-bottom: 5px; }
.field input, .field textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; font-size: .92rem; color: var(--ink); background: #fff;
}
.field input:focus, .field textarea:focus { outline: 2px solid #cfe4f5; border-color: var(--brand-2); }
.form-footer { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.form-note { font-size: .86rem; margin: 10px 0 0; }
.form-note.is-ok { color: #1a7f4b; }
.form-note.is-error { color: #c0392b; }

.stats-band { background: var(--brand); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 20px; }
.stat b { display: block; font-size: 1.6rem; color: var(--accent); }
.stat span { font-size: .85rem; color: #c8dced; }

.section { padding: 56px 0; }
.section-tight { padding-top: 28px; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 62ch; margin-bottom: 30px; }
.section-head p { color: var(--muted); margin: 0; }
.section-cta { margin-top: 30px; }

.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.cat-card:hover { border-color: #b7cfdf; box-shadow: var(--shadow); text-decoration: none; }
.cat-card b { display: block; font-size: 1.05rem; }
.cat-card i { display: block; font-style: normal; color: var(--muted); font-size: .85rem; margin: 2px 0 10px; }
.cat-card p { color: var(--muted); font-size: .9rem; margin: 0 0 14px; }
.cat-more { font-weight: 600; font-size: .88rem; color: var(--brand-2); }

.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.prod-card:hover { border-color: #b7cfdf; box-shadow: var(--shadow); }
.prod-media { display: block; background: #fbfcfd; border-bottom: 1px solid var(--line); }
.prod-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 14px; }
.prod-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.prod-model { font-size: .78rem; font-weight: 700; letter-spacing: .6px; color: var(--brand-2); text-transform: uppercase; }
.prod-name { font-size: 1rem; margin: 4px 0 8px; }
.prod-name a { color: var(--ink); }
.prod-summary { font-size: .88rem; color: var(--muted); flex: 1; }
.prod-meta { border-top: 1px solid var(--line); padding-top: 10px; margin-bottom: 14px; }
.prod-meta li { display: flex; justify-content: space-between; gap: 10px; font-size: .82rem; padding: 2px 0; }
.prod-meta span { color: var(--muted); }
.prod-meta b { text-align: right; }
.prod-actions { display: flex; gap: 8px; }
.prod-actions .btn { flex: 1; }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feature { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 20px 22px; }
.feature h3 { font-size: 1.02rem; }
.feature p { margin: 0; color: var(--muted); font-size: .92rem; }

.cta-band { background: var(--brand); color: #fff; padding: 46px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin-bottom: 6px; }
.cta-inner p { color: #c8dced; margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.page-head { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 42px 0; }
.page-head h1 { margin-bottom: 8px; }
.lead { color: var(--muted); font-size: 1.02rem; max-width: 70ch; margin: 0; }

.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; align-items: start; }
.about-zh { color: var(--muted); font-size: .95rem; margin-top: -6px; }
.about-side, .contact-info-col { display: flex; flex-direction: column; gap: 18px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.side-card h3 { font-size: 1rem; }
.side-card-accent { background: #f2f8fd; border-color: #cfe4f5; }
.fact-list li { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .88rem; }
.fact-list li:last-child { border-bottom: 0; }
.fact-list span { color: var(--muted); flex: none; }
.fact-list b { text-align: right; font-weight: 600; }

.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; align-items: start; }
.contact-form-col .inquiry-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }

.filter-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .86rem; color: var(--ink); background: #fff; }
.chip:hover { border-color: #b7cfdf; text-decoration: none; }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.search-box { display: flex; gap: 8px; }
.search-box input { padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: .9rem; min-width: 260px; }
.result-count { color: var(--muted); font-size: .88rem; margin-bottom: 18px; }
.empty-state { text-align: center; padding: 60px 20px; background: var(--bg-alt); border-radius: var(--radius); color: var(--muted); }
.empty-state p { margin-bottom: 8px; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .84rem; color: var(--muted); margin-bottom: 24px; }
.breadcrumb b { color: var(--ink); }

.pdp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.gallery-main { margin: 0 0 12px; background: #fbfcfd; border: 1px solid var(--line); border-radius: var(--radius); }
.gallery-main img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; padding: 24px; }
.gallery-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.thumb { padding: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; overflow: hidden; }
.thumb img { width: 76px; height: 76px; object-fit: contain; padding: 6px; }
.thumb.is-active { border-color: var(--brand-2); box-shadow: 0 0 0 2px #d6e8f6; }
.pdp-info h1 { font-size: 1.9rem; }
.pdp-zh { color: var(--muted); margin-top: -8px; }
.pdp-model { font-size: .9rem; color: var(--muted); }
.pdp-model b { color: var(--ink); }
.pdp-summary { font-size: 1rem; color: #3b4a56; }
.crossref { background: #fff8ea; border: 1px solid #f4dfb4; border-radius: var(--radius); padding: 14px 16px; margin: 18px 0; }
.crossref span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .8px; color: #9a6b0d; font-weight: 700; }
.crossref b { font-weight: 600; }
.pdp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.pdp-highlights li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.pdp-highlights span { color: var(--muted); }

.pdp-detail-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: start; }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: .9rem; vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 42%; font-weight: 600; color: var(--muted); background: #fafcfd; }
.pdp-rfq .inquiry-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.prose { max-width: 76ch; }

.site-footer { background: #0d2b40; color: #b8cbd9; padding: 46px 0 22px; font-size: .9rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-col h4 { color: #fff; font-size: 1.02rem; margin-bottom: 4px; }
.footer-col h5 { color: #fff; font-size: .88rem; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 10px; }
.footer-col ul li { padding: 3px 0; }
.site-footer a { color: #b8cbd9; }
.site-footer a:hover { color: #fff; }
.footer-zh { color: #8fa8bb; margin-bottom: 10px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); margin-top: 30px; padding-top: 18px; font-size: .82rem; color: #8fa8bb; }

.floating-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--wa); color: #06301a; font-weight: 700; font-size: .9rem;
  padding: 12px 18px; border-radius: 999px; box-shadow: 0 8px 22px rgba(37,211,102,.35);
}
.floating-wa:hover { background: var(--wa-dark); color: #fff; text-decoration: none; }

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .cat-grid, .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid, .pdp-grid, .pdp-detail-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  h1 { font-size: 1.9rem; }
  .hero-copy h1 { font-size: 2rem; }
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    flex-direction: column; align-items: stretch; padding: 10px 20px 18px; display: none;
  }
  .nav.is-open { display: flex; }
  .site-header .header-inner { position: relative; }
  .nav-menu { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 0 12px; min-width: 0; }
  .nav-cta { margin: 10px 0 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .topbar-item { display: none; }
  .topbar-inner { justify-content: flex-end; }
  .header-inner { gap: 12px; }
  .topbar .lang-drop { display: none; }
  .site-header .lang-inline { display: block; flex: none; order: 1; }
  .site-header .nav-toggle { order: 2; }
}

@media (max-width: 640px) {
  .cat-grid, .prod-grid, .feature-grid { grid-template-columns: 1fr; }
  .inquiry-form .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .search-box input { min-width: 0; flex: 1; }
  .section { padding: 40px 0; }
  .brand-text i { display: none; }
  .topbar-links { gap: 12px; }
  .topbar-links a:not(.topbar-wa) { display: none; }
  .floating-wa span { display: none; }
  .floating-wa { padding: 14px; }
}

/* ---- language switcher ---- */
.lang-drop { position: relative; }
.lang-drop > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px;
  padding: 2px 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  color: #fff; font-weight: 600; font-size: .76rem; line-height: 1.5;
}
.lang-drop > summary::-webkit-details-marker { display: none; }
.lang-drop > summary i {
  width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; opacity: .75; transition: transform .15s;
}
.lang-drop[open] > summary { background: rgba(255,255,255,.16); }
.lang-drop[open] > summary i { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 172px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 6px; display: none; z-index: 60;
}
.lang-drop[open] .lang-menu { display: block; }
.lang-menu .lang-item, .topbar .lang-menu a {
  display: block; padding: 8px 12px; border-radius: 7px;
  color: var(--ink) !important; font-size: .88rem; font-weight: 400; white-space: nowrap;
}
.lang-menu .lang-item:hover { background: var(--bg-alt); text-decoration: none; }
.lang-menu .lang-item.is-active { background: #eef5fb; color: var(--brand) !important; font-weight: 600; }

/* Rendered once in the topbar (desktop) and once in the header row (mobile). */
.lang-inline { display: none; }
.lang-inline .lang-drop > summary { border-color: var(--line); color: var(--ink); padding: 7px 12px; font-size: .8rem; }
.lang-inline .lang-drop[open] > summary { background: var(--bg-alt); }