:root {
  --blue: #0b3db5;
  --blue-dark: #072a80;
  --blue-soft: #eef2ff;
  --lime: #8dc133;
  --lime-soft: #f3f9e6;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f7f9fc;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 61, 181, .08);
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.7 -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }

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

/* ---------- header ---------- */
.topbar {
  background: var(--blue-dark);
  color: #c7d4ff;
  font-size: 13px;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; height: 38px; align-items: center; }
.topbar a { color: #fff; }
.topbar .sep { margin: 0 10px; color: #4b6bd0; }

header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { height: 44px; width: auto; }
.brand b { display: block; font-size: 19px; color: var(--ink); letter-spacing: .5px; line-height: 1.25; }
.brand span { display: block; font-size: 10px; letter-spacing: 2.2px; color: var(--muted); }

nav.main { display: flex; gap: 6px; margin-left: auto; }
nav.main a {
  padding: 9px 16px; border-radius: 999px; font-size: 15px; color: #334155; font-weight: 500;
  transition: .18s;
}
nav.main a:hover { background: var(--blue-soft); color: var(--blue); }
nav.main a.active { background: var(--blue); color: #fff; }

.head-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--lime); color: #14320a; font-weight: 700; font-size: 14px;
  padding: 11px 20px; border-radius: 999px; white-space: nowrap;
  transition: .18s;
}
.head-cta:hover { filter: brightness(1.06); transform: translateY(-1px); }

.burger { display: none; border: 0; background: none; padding: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(141,193,51,.20), transparent 60%),
    radial-gradient(700px 400px at 0% 110%, rgba(255,255,255,.10), transparent 60%),
    linear-gradient(135deg, #0a2f8c 0%, #0b3db5 55%, #1450d8 100%);
  color: #fff;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  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: 56px 56px;
  mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-top: 76px; padding-bottom: 84px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  padding: 7px 14px; border-radius: 999px; font-size: 13px; letter-spacing: .5px;
}
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.hero h1 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.22; margin: 22px 0 18px; letter-spacing: 1px; font-weight: 800; }
.hero h1 em { font-style: normal; color: #cfe27a; }
.hero p.lead { font-size: 17px; line-height: 1.85; color: #d5defa; max-width: 560px; margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 28px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: .18s;
}
.btn-lime { background: var(--lime); color: #14320a; }
.btn-lime:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn-ghost-l { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost-l:hover { background: rgba(255,255,255,.12); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); }
.btn-line { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-line:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }

.hero-stats { display: flex; gap: 40px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats b { display: block; font-size: 32px; line-height: 1.1; color: #fff; font-weight: 800; }
.hero-stats b small { font-size: 15px; font-weight: 600; margin-left: 3px; color: #cfe27a; }
.hero-stats span { font-size: 13px; color: #b9c6ee; }

.hero-card {
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px; padding: 26px;
  backdrop-filter: blur(6px);
}
.hero-card h3 { margin: 0 0 4px; font-size: 16px; }
.hero-card .hint { font-size: 12.5px; color: #b9c6ee; margin-bottom: 16px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list a {
  font-size: 13px; padding: 7px 13px; border-radius: 8px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16); color: #e6ecff;
}
.chip-list a:hover { background: var(--lime); color: #14320a; border-color: var(--lime); }
.hero-card .foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.16); font-size: 13px; display: flex; justify-content: space-between; color: #cdd8f7; }

/* ---------- sections ---------- */
section.block { padding: 84px 0; }
section.block.tight { padding: 60px 0; }
.sec-head { max-width: 720px; }
.sec-head .kicker { color: var(--blue); font-weight: 700; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.sec-head h2 { font-size: clamp(24px, 2.6vw, 34px); color: var(--ink); margin: 10px 0 12px; letter-spacing: .5px; line-height: 1.3; }
.sec-head p { margin: 0; color: var(--muted); }
.sec-head.center { margin: 0 auto; text-align: center; }

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

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: .2s;
}
.card:hover { box-shadow: var(--shadow); border-color: #cdd8f5; transform: translateY(-2px); }
.card .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue); font-size: 21px; margin-bottom: 16px;
}
.card h3 { margin: 0 0 8px; font-size: 17px; color: var(--ink); }
.card p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.8; }

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat-tile {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 18px; transition: .18s;
}
.cat-tile:hover { border-color: var(--blue); background: var(--blue-soft); }
.cat-tile strong { font-size: 15px; color: var(--ink); font-weight: 600; }
.cat-tile span { font-size: 12px; color: var(--muted); }
.cat-tile .arw { color: var(--blue); font-weight: 700; }

.band {
  background: linear-gradient(135deg, #0a2f8c, #0b3db5 60%, #1450d8);
  color: #fff; border-radius: 22px; padding: 52px; display: grid;
  grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.band h2 { margin: 0 0 10px; font-size: 27px; }
.band p { margin: 0; color: #cdd8f7; font-size: 15px; }

/* ---------- products page ---------- */
.page-head {
  background: linear-gradient(135deg, #0a2f8c, #0b3db5);
  color: #fff; padding: 56px 0 68px;
}
.page-head h1 { margin: 0 0 10px; font-size: clamp(26px, 3vw, 38px); }
.page-head p { margin: 0; color: #ccd7f6; max-width: 680px; }
.crumbs { font-size: 13px; color: #9fb1e6; margin-bottom: 18px; }
.crumbs a:hover { color: #fff; }

.toolbar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; margin-top: -30px; position: relative; z-index: 3; box-shadow: var(--shadow);
  display: grid; gap: 14px;
}
.search-row { display: flex; gap: 10px; flex-wrap: wrap; }
.search-box { position: relative; flex: 1 1 320px; }
.search-box input {
  width: 100%; height: 48px; border-radius: 10px; border: 1px solid var(--line);
  padding: 0 16px 0 44px; background: #fbfcfe; outline: none;
}
.search-box input:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(11,61,181,.10); }
.search-box svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  border: 1px solid var(--line); background: #fff; color: var(--text);
  padding: 8px 15px; border-radius: 999px; font-size: 13.5px; cursor: pointer; transition: .15s;
}
.filters button:hover { border-color: var(--blue); color: var(--blue); }
.filters button.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.result-meta { display: flex; justify-content: space-between; align-items: center; margin: 26px 0 14px; font-size: 13.5px; color: var(--muted); }

.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.prod {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px;
  transition: .18s; display: flex; flex-direction: column; gap: 10px;
}
.prod:hover { border-color: #b9c8f2; box-shadow: var(--shadow); }
.prod .top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.prod h3 { margin: 0; font-size: 16px; color: var(--ink); line-height: 1.45; }
.prod .cat-badge { font-size: 11.5px; color: var(--blue); background: var(--blue-soft); padding: 3px 9px; border-radius: 6px; white-space: nowrap; }
.prod dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 13px; }
.prod dt { color: var(--muted); }
.prod dd { margin: 0; color: var(--text); }
.prod .actions { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; }
.prod .actions button {
  flex: 1; height: 36px; border-radius: 8px; border: 1px solid var(--line);
  background: #fff; color: var(--blue); font-size: 13px; font-weight: 600; cursor: pointer;
}
.prod .actions button:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.prod .actions button.in { background: var(--lime-soft); border-color: #cbe39a; color: #4b6d12; }
.empty-state { text-align: center; padding: 80px 20px; color: var(--muted); grid-column: 1/-1; }

/* inquiry drawer */
.drawer-mask {
  position: fixed; inset: 0; background: rgba(15,23,42,.45); opacity: 0; pointer-events: none;
  transition: .2s; z-index: 90;
}
.drawer-mask.show { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 420px; max-width: 92vw;
  background: #fff; z-index: 91; transform: translateX(100%); transition: .26s;
  display: flex; flex-direction: column; box-shadow: -20px 0 50px rgba(15,23,42,.16);
}
.drawer.show { transform: none; }
.drawer head { display: block; }
.drawer .d-head { padding: 22px 22px 16px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.drawer .d-head h3 { margin: 0; font-size: 17px; color: var(--ink); }
.drawer .d-head button { border: 0; background: none; font-size: 22px; cursor: pointer; color: var(--muted); line-height: 1; }
.drawer .d-body { flex: 1; overflow: auto; padding: 18px 22px; }
.drawer .d-foot { padding: 16px 22px 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.inq-item { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; }
.inq-item .row1 { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.inq-item strong { font-size: 14.5px; color: var(--ink); }
.inq-item .meta { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.inq-item .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.inq-item input, .inq-item select {
  width: 100%; height: 34px; border: 1px solid var(--line); border-radius: 7px; padding: 0 9px;
  font-size: 13px; background: #fbfcfe; outline: none;
}
.inq-item input:focus, .inq-item select:focus { border-color: var(--blue); background: #fff; }
.inq-item label { display: block; font-size: 11px; color: var(--muted); margin-bottom: 3px; }
.remove { border: 0; background: var(--blue-soft); color: var(--blue); font-size: 12px; padding: 4px 9px; border-radius: 6px; cursor: pointer; }
.drawer .empty { text-align: center; color: var(--muted); padding: 60px 10px; font-size: 14px; }

/* ---------- about / contact ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.info-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.info-table tr { border-bottom: 1px solid var(--line); }
.info-table tr:last-child { border-bottom: 0; }
.info-table th { text-align: left; color: var(--muted); font-weight: 400; padding: 13px 0; width: 130px; vertical-align: top; }
.info-table td { padding: 13px 0; color: var(--ink); }
.badge-line { display: flex; align-items: center; gap: 8px; color: #4b6d12; background: var(--lime-soft); border: 1px solid #dbeab8; padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; }

.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; }
.contact-row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: 0; }
.contact-row .ico { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-size: 18px; }
.contact-row small { display: block; color: var(--muted); font-size: 12.5px; }
.contact-row b { color: var(--ink); font-size: 15.5px; font-weight: 600; word-break: break-all; }
.contact-row .sub { font-size: 13px; color: var(--muted); }

form.inq-form .field { margin-bottom: 14px; }
form.inq-form label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
form.inq-form input, form.inq-form textarea, form.inq-form select {
  width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 11px 13px;
  background: #fbfcfe; outline: none; font-size: 14.5px;
}
form.inq-form input:focus, form.inq-form textarea:focus, form.inq-form select:focus {
  border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(11,61,181,.09);
}
form.inq-form textarea { min-height: 96px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

/* ---------- footer ---------- */
footer.site { background: #0b1220; color: #94a3b8; margin-top: 0; font-size: 13.5px; }
footer.site .wrap { padding-top: 54px; padding-bottom: 26px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
footer.site h4 { color: #fff; font-size: 14.5px; margin: 0 0 14px; letter-spacing: .5px; }
footer.site a:hover { color: #fff; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
footer.site .fbrand { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
footer.site .fbrand img { height: 40px; background: #fff; border-radius: 8px; padding: 4px; }
footer.site .fbrand b { color: #fff; font-size: 16px; display: block; line-height: 1.3; }
footer.site .fbrand span { font-size: 10px; letter-spacing: 2px; }
.copy { border-top: 1px solid #1e293b; margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: #64748b; }

.float-call {
  position: fixed; right: 22px; bottom: 24px; z-index: 60;
  background: var(--blue); color: #fff; border-radius: 999px; padding: 13px 20px;
  font-weight: 700; font-size: 14px; box-shadow: 0 12px 30px rgba(11,61,181,.35);
  display: flex; align-items: center; gap: 8px;
}
.float-call:hover { background: var(--blue-dark); }
.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 20px);
  background: #0f172a; color: #fff; padding: 12px 20px; border-radius: 10px;
  font-size: 14px; opacity: 0; pointer-events: none; transition: .2s; z-index: 120;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; padding-top: 54px; padding-bottom: 60px; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .band { grid-template-columns: 1fr; padding: 36px; }
}
@media (max-width: 720px) {
  .topbar .wrap { justify-content: center; }
  .topbar .hide-sm { display: none; }
  nav.main {
    position: absolute; top: 76px; left: 0; right: 0; background: #fff;
    flex-direction: column; padding: 10px 16px 16px; gap: 2px;
    border-bottom: 1px solid var(--line); display: none;
  }
  nav.main.open { display: flex; }
  .burger { display: block; margin-left: auto; }
  .head-cta { display: none; }
  header.site .wrap { gap: 12px; }
  .g3, .g2 { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr; }
  section.block { padding: 56px 0; }
  .hero-stats { gap: 26px; }
  .hero-stats b { font-size: 26px; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .band { padding: 28px; }
  .float-call { right: 14px; bottom: 16px; }
}

/* Certificate scans: preserve full page, with original-size links. */
.certificate-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin-top:32px;}
.certificate {margin:0;padding:14px;background:#fff;border:1px solid #e2e8f0;border-radius:16px;overflow:hidden;}
.certificate a {display:block;}
.certificate img {display:block;width:100%;height:auto;}
.certificate figcaption {padding:16px 4px 6px;color:#0f172a;font-weight:700;text-align:center;}
@media(max-width:680px){.certificate-grid{grid-template-columns:1fr;gap:20px;}.certificate{padding:8px;}}
