﻿@charset "utf-8";
/* ==========================================================================
   上海舜宇恒平 · 2026 UI
   --------------------------------------------------------------------------
   基础层 + 组件层，独立于 bootstrap / 旧 style.css，可整体替换
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --ink: #12202f;
  --ink-2: #2c3e50;
  --muted: #6a7d90;
  --muted-2: #8e9dae;
  --line: #e4ebf2;
  --line-2: #eef3f8;
  --bg: #f4f7fa;
  --bg-2: #eef3f9;
  --card: #ffffff;
  --brand: #0a5c9e;
  --brand-2: #0d7ac4;
  --brand-soft: #eaf3fb;
  --brand-ink: #083e6b;
  --teal: #0e9c92;
  --navy: #0b2033;
  --navy-2: #11304c;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(16, 40, 70, .05);
  --shadow: 0 10px 30px -12px rgba(16, 40, 70, .18);
  --shadow-lg: 0 24px 50px -24px rgba(10, 40, 70, .35);
  --wrap: 1200px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { margin: 0; color: var(--ink); font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; }
svg { display: block; }

::selection { background: var(--brand); color: #fff; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.section { padding: 64px 0; }
.section--tight { padding: 44px 0; }
.section--bg { background: var(--bg); }
.section--line { border-top: 1px solid var(--line); }

.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 32px;
}
.sec-title .eyebrow {
  display: block; margin-bottom: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--brand-2);
}
.sec-title h2 { font-size: 28px; letter-spacing: -.02em; }
.sec-title p { margin-top: 10px; max-width: 620px; color: var(--muted); font-size: 14px; }
.sec-more {
  display: inline-flex; align-items: center; gap: 6px;
  flex: none; font-size: 13px; font-weight: 600; color: var(--brand);
  padding-bottom: 4px;
}
.sec-more svg { width: 14px; height: 14px; transition: transform .2s ease; }
.sec-more:hover svg { transform: translateX(3px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: all .2s ease;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 18px -10px rgba(10, 92, 158, .8); }
.btn--primary:hover { background: var(--brand-ink); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: #fff; color: var(--brand); border-color: #cfe0f0; }
.btn--ghost:hover { border-color: var(--brand); background: var(--brand-soft); }
.btn--sm { height: 36px; padding: 0 16px; font-size: 13px; }

/* ---------- topbar ---------- */
.topbar { background: var(--navy); color: #b9cadb; font-size: 12.5px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 38px; }
.topbar a { color: #d7e4f1; }
.topbar a:hover { color: #fff; }
.topbar-l, .topbar-r { display: flex; align-items: center; gap: 18px; min-width: 0; }
.topbar-l { gap: 22px; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar-item svg { width: 13px; height: 13px; opacity: .75; }
.topbar-sep { width: 1px; height: 12px; background: rgba(255, 255, 255, .16); }
.topbar-brand { letter-spacing: .02em; color: #8fa7bd; }
@media (max-width: 900px) { .topbar-r { display: none; } }
@media (max-width: 620px) { .topbar-l .topbar-brand, .topbar-l .topbar-sep { display: none; } }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 90; background: #fff; }
.site-head.is-stuck { box-shadow: 0 6px 24px -12px rgba(10, 40, 70, .3); }
.head-main { border-bottom: 1px solid var(--line-2); }
.head-main .wrap { display: flex; align-items: center; gap: 28px; height: 78px; }

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 135px; height: 50px; object-fit: contain; }
.brand-text { display: none; }

.mainnav { flex: 1 1 auto; min-width: 0; }
.mainnav > ul { display: flex; align-items: center; gap: 4px; }
.mainnav > ul > li { position: static; }
.mainnav > ul > li > a {
  display: flex; align-items: center; height: 78px; padding: 0 14px;
  font-size: 15px; font-weight: 500; color: var(--ink);
  position: relative;
}
.mainnav > ul > li > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px;
  background: var(--brand); border-radius: 2px;
  transform: scaleX(0); transform-origin: center; transition: transform .25s ease;
}
.mainnav > ul > li:hover > a, .mainnav > ul > li.is-current > a { color: var(--brand); }
.mainnav > ul > li:hover > a::after { transform: scaleX(1); }

.head-search {
  position: relative; flex: none; width: 232px;
  display: flex; align-items: center;
  height: 40px; padding: 0 6px 0 14px;
  background: var(--bg); border: 1px solid transparent; border-radius: 999px;
  transition: all .2s ease;
}
.head-search:focus-within { background: #fff; border-color: #cfe0f0; box-shadow: 0 0 0 4px rgba(13, 122, 196, .08); }
.head-search input {
  flex: 1; min-width: 0; border: 0; background: none; outline: none;
  font-size: 13.5px; color: var(--ink);
}
.head-search input::placeholder { color: var(--muted-2); }
.head-search button {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; color: var(--brand);
}
.head-search button:hover { background: var(--brand-soft); }
.head-search button svg { width: 16px; height: 16px; }

.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 3px auto; background: var(--ink); border-radius: 2px; transition: .2s; }

/* mega menu */
.mega {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px); z-index: 5;
  width: min(1000px, calc(100vw - 48px));
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 26px 28px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.mega-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 24px; }
.mega-col h4 { font-size: 14px; margin-bottom: 10px; }
.mega-col h4 a { color: var(--ink); }
.mega-col h4 a:hover { color: var(--brand); }
.mega-col ul { display: grid; gap: 2px; }
.mega-col li a {
  display: block; padding: 4px 0; font-size: 13px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mega-col li a:hover { color: var(--brand); }

/* mobile drawer */
.nav-drawer { display: none; }

@media (max-width: 1080px) {
  .head-search { width: 180px; }
  .mainnav > ul > li > a { padding: 0 10px; font-size: 14px; }
}
@media (max-width: 940px) {
  .head-main .wrap { height: 66px; gap: 14px; }
  .brand img { width: 112px; height: 42px; }
  .head-cta, .head-search { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .site-head.is-open .nav-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .site-head.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-head.is-open .nav-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
  .mainnav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(10, 40, 70, .35);
    max-height: calc(100vh - 110px); overflow-y: auto;
    display: none;
  }
  .site-head.is-open .mainnav { display: block; }
  .mainnav > ul { display: block; padding: 8px 0; }
  .mainnav > ul > li { border-bottom: 1px solid var(--line-2); }
  .mainnav > ul > li:last-child { border-bottom: 0; }
  .mainnav > ul > li > a { height: 48px; padding: 0 24px; justify-content: space-between; }
  .mainnav > ul > li > a::after { display: none; }
  .mega {
    position: static; transform: none; width: auto; box-shadow: none; border: 0;
    border-radius: 0; padding: 0 24px 12px; background: var(--bg);
    display: none; opacity: 1; visibility: visible; pointer-events: auto;
  }
  .has-mega.is-expanded .mega { display: block; }
  .mega-in { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; padding: 14px 0; }
  .nav-drawer { display: flex; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--line-2); }
  .nav-drawer .btn { flex: 1; }
}

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg, #f2f7fc 0%, #f8fbfe 58%, #fff 100%); padding: 26px 0 40px; }
.hero-grid { display: flex; gap: 22px; align-items: stretch; }

.hero-slider {
  position: relative; flex: 1 1 auto; min-width: 0;
  background: #dfeaf5; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 980 / 350;
}
.hero-slider .slides { position: absolute; inset: 0; }
.hero-slider .slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .55s ease;
  background: #dfeaf5;
}
.hero-slider .slide.is-active { opacity: 1; }
.hero-slider .slide img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; background: #f4f8fc; }
.hero-slider .dots {
  position: absolute; left: 22px; bottom: 18px; display: flex; gap: 8px; z-index: 3;
}
.hero-slider .dots button {
  width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .55);
  transition: all .25s ease; box-shadow: 0 0 0 1px rgba(10, 40, 70, .12);
}
.hero-slider .dots button.is-active { width: 24px; background: #fff; }
.hero-slider .arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .82); color: var(--ink);
  box-shadow: 0 6px 18px -8px rgba(10, 40, 70, .5);
  opacity: 0; transition: opacity .2s ease, background .2s ease;
}
.hero-slider:hover .arrow { opacity: 1; }
.hero-slider .arrow:hover { background: #fff; }
.hero-slider .arrow svg { width: 16px; height: 16px; }
.hero-slider .arrow.prev { left: 14px; }
.hero-slider .arrow.next { right: 14px; }

.hero-side {
  display: flex; flex-direction: column; flex: 0 0 300px; width: 300px; min-width: 0;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.hero-side-head {
  display: flex; align-items: center; gap: 8px;
  padding: 16px 20px; font-size: 15px; font-weight: 600; color: var(--ink);
  background: var(--navy); color: #fff;
}
.hero-side-head svg { width: 16px; height: 16px; color: #7fb3df; }
.hero-cats { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.hero-cats li { border-bottom: 1px solid var(--line-2); }
.hero-cats li:last-child { border-bottom: 0; }
.hero-cats a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 20px; font-size: 14px; font-weight: 500; color: var(--ink);
}
.hero-cats a em { font-style: normal; color: var(--muted-2); transition: transform .2s ease, color .2s ease; }
.hero-cats a:hover { background: var(--brand-soft); color: var(--brand); }
.hero-cats a:hover em { color: var(--brand); transform: translateX(3px); }

.hero-contact { padding: 16px 20px 20px; border-top: 1px solid var(--line-2); background: #fbfdff; }
.hero-contact .hc-label { display: block; font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.hero-contact .hc-tel {
  display: block; margin: 2px 0 2px; font-size: 21px; font-weight: 700;
  color: var(--brand); letter-spacing: .01em; font-variant-numeric: tabular-nums;
}
.hero-contact .hc-time { font-size: 12px; color: var(--muted-2); }

@media (max-width: 1080px) { .hero-side { flex-basis: 260px; width: 260px; } }
@media (max-width: 860px) {
  .hero { padding: 16px 0 26px; }
  .hero-grid { flex-direction: column; }
  .hero-slider { flex: none; width: 100%; }
  .hero-side { flex: 1 1 auto; width: auto; flex-direction: row; align-items: stretch; flex-wrap: wrap; }
  .hero-side-head { width: 100%; padding: 12px 18px; }
  .hero-cats { flex-direction: row; flex-wrap: wrap; }
  .hero-cats li { flex: 1 1 46%; border-bottom: 1px solid var(--line-2); }
  .hero-cats a { padding: 12px 18px; }
  .hero-contact { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 14px 18px; }
  .hero-contact .hc-label { flex: 1 1 100%; }
  .hero-contact .hc-tel { font-size: 18px; white-space: nowrap; }
}

/* ---------- feature strip ---------- */
.features { border-bottom: 1px solid var(--line); background: #fff; }
.features .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.feature { display: flex; align-items: center; gap: 12px; padding: 22px 8px; }
.feature + .feature { border-left: 1px solid var(--line-2); padding-left: 26px; }
.feature svg { width: 26px; height: 26px; color: var(--brand); flex: none; }
.feature b { display: block; font-size: 14px; color: var(--ink); font-weight: 600; }
.feature span { font-size: 12px; color: var(--muted); }
@media (max-width: 860px) {
  .features .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature { padding: 16px 4px; }
  .feature + .feature { border-left: 0; padding-left: 4px; }
}

/* ---------- category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cat-card {
  position: relative; display: block;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cat-card::after {
  content: ""; position: absolute; right: -40px; bottom: -40px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(13, 122, 196, .1), transparent 70%);
  transition: transform .35s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe0f0; }
.cat-card:hover::after { transform: scale(1.6); }
.cat-ico {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: var(--brand-soft); color: var(--brand);
}
.cat-ico svg { width: 24px; height: 24px; }
.cat-card h3 { font-size: 17px; margin-bottom: 6px; }
.cat-card h3 a { color: var(--ink); }
.cat-card h3 a:hover { color: var(--brand); }
.cat-card p { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.cat-card .cat-link {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 14px;
  font-size: 12.5px; font-weight: 600; color: var(--brand);
}
.cat-card .cat-link svg { width: 13px; height: 13px; }
@media (max-width: 1000px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); } }

/* ---------- product grid ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.prod-card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.prod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #cfe0f0; }
.prod-img {
  display: block; position: relative; aspect-ratio: 1 / 1;
  background: #f7fafd; overflow: hidden;
}
.prod-img img {
  width: 100%; height: 100%; object-fit: contain; padding: 22px;
  transition: transform .45s ease;
}
.prod-card:hover .prod-img img { transform: scale(1.05); }
.prod-body { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; flex: 1; }
.prod-name {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; font-size: 14px; font-weight: 500; line-height: 1.55; color: var(--ink);
  min-height: 44px;
}
.prod-card:hover .prod-name { color: var(--brand); }
.prod-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 4px;
  font-size: 12.5px; color: var(--muted-2);
}
.prod-foot .go { display: inline-flex; align-items: center; gap: 4px; color: var(--brand); font-weight: 600; }
.prod-foot .go svg { width: 13px; height: 13px; transition: transform .2s ease; }
.prod-card:hover .prod-foot .go svg { transform: translateX(3px); }
@media (max-width: 1000px) { .prod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 760px) { .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .prod-body { padding: 12px 13px 14px; } .prod-img img { padding: 14px; } }
@media (max-width: 340px) { .prod-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); } }

/* ---------- news panels ---------- */
.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px 10px; display: flex; flex-direction: column;
}
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.panel-head h2 { font-size: 19px; display: flex; align-items: center; gap: 10px; }
.panel-head h2::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--brand); }
.panel-head a { font-size: 12.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.panel-head a:hover { color: var(--brand); }
.panel-head a svg { width: 12px; height: 12px; }
.news-list li { border-bottom: 1px dashed var(--line); }
.news-list li:last-child { border-bottom: 0; }
.news-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 13px 0; font-size: 14px; color: var(--ink-2);
}
.news-list a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-list a time { flex: none; font-size: 12.5px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.news-list a:hover { color: var(--brand); }
.news-list a:hover span { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 820px) { .news-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- knowledge / seo text ---------- */
.know-body { columns: 3; column-gap: 40px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.know-body h3 {
  font-size: 16px; color: var(--ink); margin: 0 0 8px;
  padding-left: 12px; border-left: 3px solid var(--brand);
  break-after: avoid;
}
.know-body p { margin: 0 0 22px; break-inside: avoid; }
@media (max-width: 980px) { .know-body { columns: 2; column-gap: 28px; } }
@media (max-width: 640px) { .know-body { columns: 1; } }

/* ---------- breadcrumb ---------- */
.crumb { background: var(--bg); border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.crumb .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; height: 46px; }
.crumb a:hover { color: var(--brand); }
.crumb span.sep { color: #c3cfdb; }
.crumb em { font-style: normal; color: var(--ink-2); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crumb .sep:last-child { display: none; }

/* ---------- page hero (category / article header) ---------- */
.page-hero { background: linear-gradient(160deg, #f0f6fc 0%, #f9fbfe 60%, #fff 100%); border-bottom: 1px solid var(--line-2); padding: 40px 0 34px; }
.page-hero .kicker { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-2); }
.page-hero h1 { font-size: 30px; margin: 8px 0 0; letter-spacing: -.02em; }
.page-hero .desc { margin-top: 12px; max-width: 760px; color: var(--muted); font-size: 14px; }
.page-hero .meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .page-hero { padding: 28px 0 24px; } .page-hero h1 { font-size: 23px; } }

/* ---------- product detail ---------- */
.prod-hero { padding: 34px 0 10px; }
.prod-hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.prod-photo {
  position: relative; background: #f7fafd; border: 1px solid var(--line); border-radius: var(--radius-lg);
  aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden;
}
.prod-photo img { width: 100%; height: 100%; object-fit: contain; padding: 40px; }
.prod-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.prod-tags span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px; background: #f2f7fc;
  font-size: 12.5px; color: var(--ink-2);
}
.prod-tags span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

.chip {
  display: inline-flex; align-items: center; height: 26px; padding: 0 12px;
  border-radius: 999px; background: var(--brand-soft); color: var(--brand);
  font-size: 12px; font-weight: 600;
}
.prod-info h1 { font-size: 27px; line-height: 1.45; margin: 14px 0 18px; letter-spacing: -.02em; }
.prod-specs {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 18px 0; font-size: 14px; color: var(--muted); line-height: 1.9;
  white-space: pre-line; max-height: 220px; overflow: hidden; position: relative;
}
.prod-specs.is-open { max-height: none; }
.prod-specs-toggle { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 12.5px; color: var(--brand); font-weight: 600; }
.prod-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.prod-note { margin-top: 16px; font-size: 12.5px; color: var(--muted-2); }
@media (max-width: 900px) {
  .prod-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .prod-photo img { padding: 24px; }
  .prod-info h1 { font-size: 21px; }
}

/* ---------- rich content ---------- */
.rich { max-width: 940px; font-size: 15px; line-height: 1.95; color: var(--ink-2); }
.rich > *:first-child { margin-top: 0; }
.rich p { margin: 0 0 18px; }
.rich img { display: block; margin: 22px auto; border-radius: 12px; height: auto; }
.rich h1, .rich h2, .rich h3, .rich h4 { margin: 34px 0 14px; line-height: 1.5; }
.rich h1 { font-size: 24px; }
.rich h2 { font-size: 21px; }
.rich h3 { font-size: 17px; }
.rich h4 { font-size: 15px; }
.rich ul, .rich ol { margin: 0 0 18px; padding-left: 22px; }
.rich ul { list-style: disc; }
.rich ol { list-style: decimal; }
.rich li { margin: 6px 0; }
.rich a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.rich table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.rich th, .rich td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.rich th { background: #f5f9fd; font-weight: 600; color: var(--ink); }
.rich blockquote { margin: 20px 0; padding: 16px 20px; border-left: 3px solid var(--brand); background: #f6faff; border-radius: 0 10px 10px 0; color: var(--muted); }
.rich iframe, .rich video { max-width: 100%; border-radius: 12px; }

/* ---------- article ---------- */
.art-head { max-width: 940px; margin: 0 auto; }
.art-head h1 { font-size: 30px; line-height: 1.45; letter-spacing: -.02em; }
.art-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.art-body { margin-top: 30px; max-width: 940px; margin-left: auto; margin-right: auto; }
.art-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 44px; max-width: 940px; margin-left: auto; margin-right: auto; }
.art-nav a, .art-nav span {
  display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 13.5px; color: var(--ink-2); background: #fff;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.art-nav a:hover { border-color: #cfe0f0; color: var(--brand); box-shadow: var(--shadow-sm); }
.art-nav small { display: block; font-size: 11.5px; color: var(--muted-2); margin-bottom: 4px; letter-spacing: .06em; }
@media (max-width: 700px) {
  .art-head h1 { font-size: 21px; }
  .art-nav { grid-template-columns: minmax(0, 1fr); margin-top: 30px; }
}

/* ---------- list page (articles list) ---------- */
.art-list { max-width: 880px; margin: 0 auto; }
.art-list li { border-bottom: 1px solid var(--line-2); }
.art-list a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding: 18px 0; font-size: 15.5px; color: var(--ink);
}
.art-list a time { flex: none; font-size: 13px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.art-list a:hover { color: var(--brand); }
.art-list a:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- search results ---------- */
.sr-item { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.sr-item .thumb { aspect-ratio: 1 / 1; border-radius: var(--radius-sm); background: #f7fafd; overflow: hidden; display: grid; place-items: center; }
.sr-item .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.sr-item h2 { font-size: 16px; margin-bottom: 6px; }
.sr-item h2 a:hover { color: var(--brand); }
.sr-item p { font-size: 13px; color: var(--muted); }
.sr-empty { padding: 60px 0; text-align: center; color: var(--muted); }
.sr-empty strong { display: block; font-size: 17px; color: var(--ink); margin-bottom: 6px; }

/* ---------- pagination ---------- */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 40px 0 0; padding: 0; list-style: none; }
.pagination > li > a, .pagination > li > span, .pages li a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 10px;
  font-size: 13.5px; color: var(--ink-2); background: #fff;
  transition: all .2s ease;
}
.pagination > li > a:hover, .pages li a:hover { border-color: var(--brand); color: var(--brand); }
.pagination > li.active > a, .pagination > li.active > span { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination > li.disabled > span { color: var(--muted-2); background: #f7f9fb; }
.pages ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

/* ---------- empty / 404 ---------- */
.state { padding: 90px 0; text-align: center; }
.state .code { font-size: 64px; font-weight: 700; color: var(--brand); letter-spacing: -.04em; line-height: 1; }
.state h1 { font-size: 22px; margin: 14px 0 8px; }
.state p { color: var(--muted); font-size: 14px; }
.state .btn { margin-top: 22px; }
.state .btn + .btn { margin-left: 10px; }

/* ---------- footer ---------- */
.site-foot { background: var(--navy); color: #a9bccd; font-size: 13.5px; margin-top: 0; }
.foot-main { padding: 52px 0 38px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-brand .logo-chip {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 10px; padding: 8px 12px; margin-bottom: 16px;
}
.foot-brand .logo-chip img { width: 118px; height: 44px; object-fit: contain; }
.foot-brand p { font-size: 13px; line-height: 1.8; color: #93a8bb; max-width: 34ch; }
.foot-tel { display: block; margin-top: 16px; font-size: 20px; font-weight: 700; color: #fff; letter-spacing: .01em; }
.foot-tel-label { font-size: 12px; color: #7f96aa; }
.foot-col h4 { font-size: 14px; color: #fff; margin-bottom: 14px; letter-spacing: .02em; }
.foot-col li { margin: 9px 0; }
.foot-col a { color: #a9bccd; }
.foot-col a:hover { color: #fff; }
.foot-qr { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.foot-qr img { width: 92px; height: 92px; background: #fff; padding: 5px; border-radius: 8px; }
.foot-qr span { font-size: 12px; color: #8fa5b9; line-height: 1.7; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; }
.foot-bottom .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; font-size: 12.5px; color: #7f96aa; }
.foot-bottom a { color: #9fb3c6; }
.foot-bottom a:hover { color: #fff; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.foot-links .label { color: #6d8398; }
@media (max-width: 980px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; } .foot-main { padding: 36px 0 28px; } }

/* ---------- floating contact ---------- */
.kf { position: fixed; right: 20px; bottom: 28px; z-index: 80; width: 58px; font-size: 12.5px; }
.kf-fab {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--brand); color: #fff;
  box-shadow: 0 12px 26px -10px rgba(10, 92, 158, .8);
  transition: transform .2s ease, background .2s ease;
}
.kf-fab:hover { background: var(--brand-ink); transform: translateY(-2px); }
.kf-fab svg { width: 20px; height: 20px; }
.kf-fab span { font-size: 10.5px; letter-spacing: .04em; }
.kf-panel {
  display: none; position: absolute; right: 0; bottom: 68px; width: 180px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.kf.is-open .kf-panel { display: block; }
.kf-head { background: var(--navy); color: #fff; padding: 9px 14px; font-size: 12.5px; display: flex; align-items: center; justify-content: space-between; }
.kf-head button { color: #9fb3c6; font-size: 15px; line-height: 1; }
.kf-body { padding: 12px 14px; }
.kf-qr { text-align: center; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.kf-qr img { width: 104px; height: 104px; display: block; margin: 0 auto 6px; }
.kf-qr span { color: var(--muted); font-size: 12px; }
.kf-row { display: flex; align-items: center; gap: 8px; padding: 8px 0; color: var(--ink-2); }
.kf-row svg { width: 15px; height: 15px; color: var(--brand); flex: none; }
.kf-row b { font-weight: 600; font-size: 13px; }
.kf-row:last-child { border-top: 1px dashed var(--line); margin-top: 4px; padding-top: 10px; justify-content: center; color: var(--muted); }

@media (max-width: 1100px) { .kf { display: none; } }

/* ---------- mobile action bar ---------- */
.mbar { display: none; }
@media (max-width: 940px) {
  .mbar {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 85;
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
    backdrop-filter: blur(10px); padding-bottom: env(safe-area-inset-bottom);
  }
  .mbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 0 9px; font-size: 11.5px; color: var(--ink-2); }
  .mbar a svg { width: 18px; height: 18px; color: var(--brand); }
  .mbar a.primary { background: var(--brand); color: #fff; }
  .mbar a.primary svg { color: #fff; }
  body { padding-bottom: 58px; }
}

/* ---------- category card sub links ---------- */
.cat-card ul { margin-top: 10px; max-height: 74px; overflow: hidden; display: grid; gap: 1px; }
.cat-card ul li a {
  display: block; font-size: 12.5px; color: var(--muted); line-height: 1.8;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cat-card ul li a:hover { color: var(--brand); }
.cat-card:nth-child(2) .cat-ico { background: #e9f8f5; color: var(--teal); }
.cat-card:nth-child(3) .cat-ico { background: #fff4e8; color: #d98324; }
.cat-card:nth-child(4) .cat-ico { background: #eef0fb; color: #4a5bd8; }

/* ---------- category filter chips ---------- */
.catfilter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.catfilter a {
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 13px; color: var(--ink-2); background: #fff; transition: all .2s ease;
}
.catfilter a:hover { border-color: #cfe0f0; color: var(--brand); }
.catfilter a.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- contact page ---------- */
.contact-wrap { display: grid; grid-template-columns: minmax(0, 1.6fr) 300px; gap: 32px; align-items: start; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-card {
  display: flex; flex-direction: column; gap: 4px;
  padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.contact-card .cc-label { font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.contact-card strong { font-size: 20px; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.contact-card .cc-note { font-size: 12.5px; color: var(--muted-2); }
a.contact-card:hover { border-color: #cfe0f0; box-shadow: var(--shadow-sm); }
.contact-side {
  padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #f7fafd; text-align: center;
}
.contact-side img { margin: 0 auto 12px; }
.contact-side b { display: block; font-size: 15px; color: var(--ink); }
.contact-side p { font-size: 12.5px; color: var(--muted); margin: 6px 0 14px; }
@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- misc ---------- */
.hidden { display: none !important; }
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.side-gap { padding: 0 0 16px; }

/* legacy pages keep working inside the new shell */
.miscPages { padding: 36px 0 56px; }
.miscPages h1 { font-size: 26px; margin-bottom: 18px; }
.miscPages p { margin: 8px 0; }

/* reveal on scroll */
.reveal { transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}







/* ---------- small screens ---------- */
@media (max-width: 700px) {
  .sec-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
  .sec-title h2 { font-size: 23px; }
  .sec-title p { font-size: 13px; }
  .section { padding: 44px 0; }
  .section--tight { padding: 32px 0; }
  .panel { padding: 20px 18px 6px; }
  .news-list a { gap: 12px; font-size: 13.5px; }
}




