:root {
  --bg: #FFFFFF;
  --gray-sec: #F2F3F5;
  --surface: #FFFFFF;
  --hover: #F7F8FA;
  --text: #1D2129;
  --muted: #4E5969;
  --note: #86909C;
  --brand: #165DFF;
  --brand-d: #0E42CC;
  --accent: #36CFC9;
  --brand-soft: #E8F0FF;
  --line: #E5E6EB;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* ============ header ============ */
.header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 11px; }
.logo-word { font-size: 26px; font-weight: 800; font-style: italic; letter-spacing: -0.5px; line-height: 1; }
.lg-do { color: #4E5969; }
.lg-tou { color: #C92C1D; }
.lg-tm { font-size: 10px; font-style: normal; font-weight: 600; color: var(--note); margin-left: 3px; vertical-align: super; }
.logo .co { font-size: 13px; color: var(--muted); margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--line); line-height: 1.3; font-weight: 600; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; padding: 9px 13px; border-radius: 8px; color: var(--muted); font-size: 15px; font-weight: 500; transition: color .15s, background .15s; }
.nav a:hover { color: var(--brand); background: var(--brand-soft); }
.nav a.on { color: var(--brand); }

.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-toggle { border: 1px solid var(--line); background: #fff; color: var(--muted); padding: 7px 15px; border-radius: 999px; cursor: pointer; font-size: 13px; font-family: var(--font); font-weight: 600; transition: all .15s; }
.lang-toggle:hover { border-color: var(--brand); color: var(--brand); }
.btn-rfq { display: inline-block; padding: 9px 20px; border-radius: 8px; font-size: 14px; font-weight: 700; color: #fff; background: var(--brand); transition: background .15s; }
.btn-rfq:hover { background: var(--brand-d); }
.nav-burger { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 40px; height: 40px; cursor: pointer; font-size: 20px; color: var(--muted); }

/* mobile nav drawer */
.mnav { display: none; position: fixed; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); z-index: 99; padding: 8px 28px 16px; }
.mnav.open { display: block; }
.mnav a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--muted); }
.mnav a:last-child { border-bottom: 0; }

/* ============ banner ============ */
.banner { position: relative; background: #0D1928 url("../img/banner-hero.jpg") center/cover no-repeat; border-bottom: 1px solid var(--line); }
.banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,25,40,0.82) 0%, rgba(13,25,40,0.5) 48%, rgba(13,25,40,0.12) 100%); }
.banner .wrap { position: relative; z-index: 1; padding-top: 88px; padding-bottom: 88px; }
.banner-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 15px; border-radius: 999px; background: rgba(22, 93, 255, 0.18); border: 1px solid rgba(122, 168, 255, 0.35); font-size: 13px; color: #EAF2FF; font-weight: 600; letter-spacing: .5px; }
.banner h1 { font-size: clamp(28px, 4.2vw, 44px); line-height: 1.28; font-weight: 800; letter-spacing: -.5px; margin: 18px 0 16px; color: #FFFFFF; }
.banner h1 .hl { color: #7FB3FF; }
.banner .sub { font-size: 16px; color: #C9D6E8; max-width: 640px; }
.banner .cta { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 26px; border-radius: 9px; font-size: 15px; font-weight: 700; cursor: pointer; border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-d); }
.btn-ghost { background: #fff; border-color: var(--brand); color: var(--brand); }
.btn-ghost:hover { background: var(--brand-soft); }

/* ============ sections ============ */
section { padding: 64px 0; background-image: url("../img/section-bg.svg"); background-size: cover; background-position: center; background-repeat: no-repeat; }
section.alt { background-color: var(--gray-sec); }
.sec-head { text-align: center; margin-bottom: 40px; }
.sec-head .kicker { display: inline-block; color: var(--brand); font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.sec-head h2 { font-size: clamp(24px, 3.2vw, 34px); margin-top: 8px; font-weight: 800; letter-spacing: -.5px; color: var(--text); }
.sec-head .bar { width: 46px; height: 4px; border-radius: 4px; background: var(--brand); margin: 16px auto 0; }
.sec-head p { color: var(--muted); margin-top: 14px; max-width: 680px; margin-left: auto; margin-right: auto; }

/* solutions */
.sols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sol { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; transition: background .15s, border .15s; }
.sol:hover { background: var(--hover); }
.sol .ic { width: 52px; height: 52px; border-radius: 12px; background: var(--brand-soft); display: grid; place-items: center; margin-bottom: 18px; }
.sol .ic svg { width: 26px; height: 26px; }
.sol h3 { font-size: 17px; margin-bottom: 9px; line-height: 1.4; color: var(--text); }
.sol p { font-size: 14px; color: var(--muted); }

/* products — 3 groups */
.prod-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pgroup { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: background .15s; }
.pgroup:hover { background: var(--hover); }
.pgroup .ph { height: 180px; overflow: hidden; background: var(--gray-sec); }
.pgroup .ph img { width: 100%; height: 100%; object-fit: cover; }
.pgroup .ph.icon { display: grid; place-items: center; }
.pgroup .ph.icon svg { width: 58px; height: 58px; }
.pgroup .bd { padding: 24px; }
.pgroup h3 { font-size: 18px; margin-bottom: 12px; color: var(--text); }
.pgroup .items { display: flex; flex-direction: column; gap: 9px; }
.pgroup .items li { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 9px; }
.pgroup .items li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--brand); flex: none; }
.prod-all { text-align: center; margin-top: 32px; }

/* advantages */
.advs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.adv { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 22px; transition: background .15s; }
.adv:hover { background: var(--hover); }
.adv .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-soft); display: grid; place-items: center; margin-bottom: 16px; }
.adv .ic svg { width: 24px; height: 24px; }
.adv h3 { font-size: 16px; margin-bottom: 8px; line-height: 1.4; color: var(--text); }
.adv p { font-size: 13.5px; color: var(--muted); }

/* cases */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: background .15s; }
.case:hover { background: var(--hover); }
.case .ph { height: 170px; overflow: hidden; background: var(--gray-sec); }
.case .ph img { width: 100%; height: 100%; object-fit: cover; }
.case .bd { padding: 22px; }
.case .tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--brand); letter-spacing: .5px; margin-bottom: 6px; }
.case h3 { font-size: 16px; margin-bottom: 8px; color: var(--text); }
.case p { font-size: 13.5px; color: var(--muted); }

/* certs */
.cert-gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cert-gallery figure { cursor: zoom-in; }
.cert-gallery img { width: 100%; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.cert-gallery figcaption { font-size: 12px; color: var(--note); text-align: center; margin-top: 7px; }

/* lightbox */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(10, 16, 24, 0.85); z-index: 200; align-items: center; justify-content: center; padding: 30px; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; }

/* CTA / inquiry */
.cta-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.inq-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.inq-form .row { margin-bottom: 16px; }
.inq-form label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.inq-form input, .inq-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 11px 13px; font-size: 14px; font-family: var(--font); color: var(--text); background: #fff; }
.inq-form input:focus, .inq-form textarea:focus { outline: none; border-color: var(--brand); }
.inq-form textarea { min-height: 110px; resize: vertical; }
.cta-info { display: flex; flex-direction: column; gap: 16px; }
.cta-item { display: flex; align-items: flex-start; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.cta-item .ic { width: 44px; height: 44px; border-radius: 10px; background: var(--brand-soft); display: grid; place-items: center; font-size: 20px; flex: none; }
.cta-item .lbl { font-size: 12px; color: var(--note); letter-spacing: .5px; }
.cta-item .val { font-size: 15px; font-weight: 700; margin-top: 3px; word-break: break-all; color: var(--text); }
.cta-item .val a:hover { color: var(--brand); }

/* ============ footer ============ */
footer { background: var(--gray-sec) url("../img/section-bg.svg") center/cover no-repeat; border-top: 1px solid var(--line); padding: 44px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 32px; }
.foot-grid h4 { color: var(--text); font-size: 15px; margin-bottom: 14px; }
.foot-grid a { font-size: 13.5px; color: var(--muted); line-height: 2.1; display: block; }
.foot-grid a:hover { color: var(--brand); }
.foot-brand .logo-word { font-size: 25px; }
.foot-brand .lg-do { color: var(--muted); }
.foot-brand p { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.foot-bottom { border-top: 1px solid var(--line); padding: 18px 0; font-size: 12.5px; color: var(--note); text-align: center; }

/* ============ responsive ============ */
@media (max-width: 1000px) {
  .nav { display: none; }
  .nav-burger { display: block; }
  .sols, .prod-groups, .advs, .cases, .cert-gallery { grid-template-columns: repeat(2, 1fr); }
  .cta-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .logo .co { display: none; }
}
@media (max-width: 560px) {
  .sols, .prod-groups, .advs, .cases, .cert-gallery, .foot-grid { grid-template-columns: 1fr; }
  .banner .wrap { padding-top: 48px; padding-bottom: 48px; }
}
