/* ============================================================
   NOXON Trade Site — 前台样式
   设计令牌：克莱因蓝 #002FA7 主色 / 薄荷绿 #7FD1AE 辅色
   ============================================================ */

:root {
  --brand: #002fa7;
  --brand-600: #00257f;
  --brand-050: #eef3fd;
  --accent: #7fd1ae;
  --accent-dark: #4bb98d;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #e2e8f0;
  --line-2: #eef2f7;
  --surface: #f6f8fb;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04);
  --shadow: 0 8px 24px rgba(15, 23, 42, .08);
  --shadow-lg: 0 18px 48px rgba(15, 23, 42, .12);
  --maxw: 1220px;
  --header-h: 72px;
  --ease: cubic-bezier(.4, .0, .2, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 900px; }

/* ------------------------------- 顶部 ------------------------------- */

.topbar {
  background: var(--brand);
  color: rgba(255, 255, 255, .9);
  font-size: 13px;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 38px; flex-wrap: wrap;
}
.topbar-info { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.topbar-info a, .topbar-info span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-info a:hover { color: #fff; text-decoration: underline; }
.topbar .svg-icon { width: 14px; height: 14px; opacity: .85; }

.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-social { display: flex; gap: 10px; }
.topbar-social a { opacity: .85; }
.topbar-social a:hover { opacity: 1; }
.topbar-social .svg-icon { width: 15px; height: 15px; }

/* 语言切换 */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22);
  color: #fff; padding: 4px 10px; border-radius: 999px; cursor: pointer;
  font-size: 13px; font-family: inherit; line-height: 1.6;
}
.lang-btn:hover { background: rgba(255, 255, 255, .24); }
.lang-btn .svg-icon { width: 15px; height: 15px; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 168px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 6px; z-index: 60; display: none;
}
.lang-switch.open .lang-menu { display: block; }
.lang-menu a {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px;
  color: var(--ink-2); font-size: 14px;
}
.lang-menu a:hover { background: var(--surface); color: var(--brand); }
.lang-menu a.active { color: var(--brand); font-weight: 600; background: var(--brand-050); }
.lang-menu .code {
  font-size: 11px; font-weight: 700; letter-spacing: .04em; width: 26px; height: 20px;
  display: grid; place-items: center; background: var(--surface); border-radius: 4px; color: var(--ink-2);
}

/* 导航 */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 38px; width: auto; }
.brand-text { font-weight: 800; font-size: 1.25rem; color: var(--brand); letter-spacing: .5px; }

.nav-menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-menu > li { position: relative; }
.nav-menu a {
  display: block; padding: 10px 14px; font-size: 15px; font-weight: 500; color: var(--ink-2);
  border-radius: 8px; white-space: nowrap;
}
.nav-menu a:hover { color: var(--brand); background: var(--brand-050); }
.nav-menu a.active { color: var(--brand); font-weight: 600; }
.nav-menu a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--brand); border-radius: 2px;
}

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-search {
  display: flex; align-items: center; background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 6px 4px 12px;
}
.nav-search input {
  border: 0; background: transparent; outline: none; font-size: 14px; width: 168px;
  font-family: inherit; color: var(--ink);
}
.nav-search button {
  border: 0; background: var(--brand); color: #fff; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
}
.nav-search .svg-icon { width: 14px; height: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: all .22s var(--ease);
  font-family: inherit; text-align: center;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-600); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { border-color: rgba(255, 255, 255, .8); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--brand); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-accent { background: var(--accent-dark); color: #06281d; }
.btn-accent:hover { background: var(--accent); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-block { width: 100%; }

.hamburger {
  display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.hamburger span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.hamburger span::before, .hamburger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink);
}
.hamburger span::before { top: -6px; }
.hamburger span::after { top: 6px; }

/* ------------------------------- Hero ------------------------------- */

.hero { position: relative; min-height: 560px; display: grid; align-items: center; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0, 20, 70, .88) 0%, rgba(0, 30, 110, .72) 45%, rgba(0, 30, 110, .35) 100%);
}
.hero .container { position: relative; z-index: 2; padding: 96px 24px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(127, 209, 174, .18);
  border: 1px solid rgba(127, 209, 174, .45); color: var(--accent);
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero h1 { color: #fff; white-space: pre-line; max-width: 720px; margin-bottom: 18px; }
.hero p { font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, .86); max-width: 600px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; }

/* ------------------------------- 区块 ------------------------------- */

.section { padding: 84px 0; }
.section-alt { background: var(--surface); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .eyebrow {
  color: var(--brand); font-size: 13px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; margin-bottom: 10px;
}
.section-head p { color: var(--muted); font-size: 1.02rem; }
.section-head-left { text-align: left; margin-left: 0; }

/* 关于（首页） */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.about-badge {
  position: absolute; left: -18px; bottom: -18px; background: var(--brand); color: #fff;
  padding: 18px 22px; border-radius: var(--radius); box-shadow: var(--shadow);
}
.about-badge strong { display: block; font-size: 1.7rem; line-height: 1.1; }
.about-badge span { font-size: 12px; opacity: .85; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 30px 0; }
.fact { text-align: center; padding: 16px 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.fact strong { display: block; font-size: 1.6rem; color: var(--brand); line-height: 1.2; }
.fact span { font-size: 12.5px; color: var(--muted); }

/* 产品卡片 */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: all .25s var(--ease); display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfd9ec; }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-tag {
  position: absolute; top: 12px; left: 12px; background: var(--brand); color: #fff;
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .04em;
}
.card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.card-title a:hover { color: var(--brand); }
.card-text { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; flex: 1; }
.card-meta { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--muted-2); }
.link-more { color: var(--brand); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.link-more .svg-icon { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.link-more:hover .svg-icon { transform: translateX(3px); }

/* 优势 */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.adv-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 24px; text-align: center; transition: all .25s var(--ease);
}
.adv-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.adv-icon {
  width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 16px; display: grid; place-items: center;
  background: var(--brand-050); color: var(--brand);
}
.adv-icon .svg-icon { width: 28px; height: 28px; }
.adv-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.adv-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* CTA */
.cta-band {
  background: linear-gradient(120deg, var(--brand) 0%, #0140cf 100%);
  color: #fff; padding: 60px 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin-bottom: 8px; }
.cta-inner p { color: rgba(255, 255, 255, .85); margin: 0; }

/* 新闻 */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: all .25s var(--ease); }
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.news-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface); }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.news-card:hover .news-media img { transform: scale(1.05); }
.news-body { padding: 20px; }
.news-date { font-size: 13px; color: var(--muted-2); display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.news-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.news-body h3 a:hover { color: var(--brand); }
.news-body p { color: var(--muted); font-size: 14.5px; }

/* 首页新闻：两列（图片 + 标题 + 日期） */
.news-2col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 34px; }

.news-mini {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .25s var(--ease);
}
.news-mini:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.news-mini-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface); }
.news-mini-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.news-mini:hover .news-mini-media img { transform: scale(1.05); }

.news-mini-body { display: flex; flex-direction: column; flex: 1; padding: 18px 22px 20px; }

.news-mini-title {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -.1px;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-mini-title a { color: inherit; }
.news-mini-title a:hover { color: var(--brand); }

.news-mini-date {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted-2);
  font-size: 13px;
  letter-spacing: .3px;
}
.news-mini-date .svg-icon { width: 15px; height: 15px; }

/* 面包屑 */
.breadcrumb { background: var(--surface); border-bottom: 1px solid var(--line); font-size: 13.5px; }
.breadcrumb .container { padding: 14px 24px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { color: var(--muted-2); }

/* 产品详情 */
.detail-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.gallery img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumbs button {
  width: 76px; height: 60px; padding: 0; border: 2px solid var(--line); border-radius: 10px;
  overflow: hidden; cursor: pointer; background: none;
}
.thumbs button.active { border-color: var(--brand); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 22px 0; }
.detail-meta div { background: var(--surface); border-radius: 10px; padding: 12px 14px; }
.detail-meta span { display: block; font-size: 12px; color: var(--muted); }
.detail-meta strong { font-size: 15px; color: var(--ink); }

.tabs { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-top: 40px; }
.tabs-nav { display: flex; border-bottom: 1px solid var(--line); background: var(--surface); overflow-x: auto; }
.tabs-nav button {
  border: 0; background: none; padding: 15px 24px; font-size: 15px; font-weight: 600; color: var(--muted);
  cursor: pointer; white-space: nowrap; font-family: inherit; border-bottom: 2px solid transparent;
}
.tabs-nav button.active { color: var(--brand); border-bottom-color: var(--brand); background: #fff; }
.tabs-panel { padding: 26px; display: none; }
.tabs-panel.active { display: block; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); text-align: left; font-size: 14.5px; }
.spec-table th { width: 38%; color: var(--muted); font-weight: 500; background: #fafbfd; }
.rich h3 { margin-top: 1.4em; }
.rich ul { color: var(--muted); }
.rich li { margin-bottom: 6px; }

/* 筛选栏 */
.filter-bar {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.chip {
  padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: 14px; color: var(--ink-2); cursor: pointer; transition: all .2s var(--ease); font-family: inherit;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.result-count { margin-left: auto; color: var(--muted); font-size: 14px; }

/* 分页 */
.pagination { display: flex; gap: 8px; justify-content: center; align-items: center; margin-top: 44px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 10px; font-size: 14.5px; color: var(--ink-2); background: #fff;
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination .current { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.pagination .disabled { opacity: .45; pointer-events: none; }

/* 文章 */
.article-body { font-size: 16.5px; color: var(--ink-2); }
.article-body p { margin-bottom: 1.2em; }
.article-meta {
  display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 14px;
  padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 28px;
}

/* 联系 / 表单 */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0 0 24px; }
.info-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.info-list .ico {
  width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px; background: var(--brand-050);
  color: var(--brand); display: grid; place-items: center;
}
.info-list .ico .svg-icon { width: 20px; height: 20px; }
.info-list strong { display: block; font-size: 13px; color: var(--muted); font-weight: 500; }
.info-list span { color: var(--ink); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: #dc2626; margin-left: 3px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: #fff; transition: border-color .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0, 47, 167, .1);
}
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.alert { padding: 12px 16px; border-radius: 10px; font-size: 14.5px; margin-bottom: 18px; }
.alert-success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.field-error { border-color: #dc2626 !important; }

/* ------------------------------- 页脚 ------------------------------- */

.footer { background: #0b1734; color: rgba(255, 255, 255, .72); font-size: 14.5px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 60px 0 40px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; letter-spacing: .02em; }
.footer p { color: rgba(255, 255, 255, .66); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: #fff; }
.footer .brand img { height: 36px; margin-bottom: 16px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .svg-icon { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 4px; color: var(--accent); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .1);
  display: grid; place-items: center; color: #fff; transition: background .2s var(--ease);
}
.footer-social a:hover { background: var(--brand); }
.footer-social .svg-icon { width: 17px; height: 17px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0; font-size: 13.5px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.footer-bottom a:hover { color: #fff; }

/* 浮动按钮 */
.fab-wrap { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; flex-direction: column; gap: 10px; }
.fab {
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  box-shadow: var(--shadow); color: #fff; background: var(--brand);
}
.fab.top { background: #fff; color: var(--ink-2); border: 1px solid var(--line); }
.fab .svg-icon { width: 20px; height: 20px; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px; font-size: 14.5px;
  opacity: 0; pointer-events: none; transition: all .3s var(--ease); z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* 404 */
.notfound { padding: 120px 0; text-align: center; }
.notfound h1 { font-size: 4rem; color: var(--brand); margin-bottom: 10px; }

/* 图标 */
.svg-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svg-icon.fill { fill: currentColor; stroke: none; }

/* ------------------------------ 响应式 ------------------------------ */

@media (max-width: 1080px) {
  .nav-search input { width: 120px; }
  .nav-menu a { padding: 10px; font-size: 14.5px; }
}

@media (max-width: 980px) {
  .hamburger { display: inline-flex; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column;
    align-items: stretch; padding: 10px 16px 18px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); display: none; gap: 0;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 12px 8px; border-radius: 0; border-bottom: 1px solid var(--line-2); }
  .nav-menu a.active::after { display: none; }
  .nav-search { display: none; }
  .header { position: relative; }
  .about-grid, .detail-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section { padding: 60px 0; }
  .hero { min-height: 440px; }
  .hero .container { padding: 64px 24px; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .container { padding: 0 18px; }
  .product-grid, .news-grid, .news-2col { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  .topbar .container { justify-content: center; min-height: 34px; }
  .topbar-info { gap: 12px; font-size: 12px; }
  .footer-top { grid-template-columns: 1fr; }
  .detail-meta { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; }
  .about-badge { left: 12px; bottom: 12px; padding: 12px 16px; }
  .notfound { padding: 80px 0; }
}

@media print {
  .header, .footer, .fab-wrap, .topbar { display: none; }
}

/* ===== WordPress 兼容样式 ===== */
.alignleft { float: left; margin: 6px 22px 12px 0; }
.alignright { float: right; margin: 6px 0 12px 22px; }
.aligncenter { display: block; margin: 12px auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 6px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bypostauthor { display: block; }
.sticky { position: relative; }
.post-navigation, .pagination-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.comment-list { list-style: none; padding: 0; }
.comment-list li { border-bottom: 1px solid var(--line); padding: 14px 0; }
.kins-search-empty { text-align: center; padding: 40px 0; color: var(--muted); }
.entry-content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; }
@media (max-width: 640px) { .alignleft, .alignright { float: none; margin: 12px 0; } }

/* ===== KINS 主题扩展（表单反馈 / 无障碍 / 小组件） ===== */
.skip-link:focus {
  position: static !important; width: auto; height: auto; clip: auto;
  display: inline-block; margin: 8px; padding: 8px 16px; background: var(--brand); color: #fff; border-radius: 6px;
}
.toast.error { background: #b42318; }
.kins-form .field input.has-error,
.kins-form .field textarea.has-error,
.form-card input.has-error,
.form-card textarea.has-error { border-color: #b42318; box-shadow: 0 0 0 3px rgba(180, 35, 24, .12); }
.kins-empty { text-align: center; padding: 48px 0; color: var(--muted); }
.kins-empty p { margin-bottom: 18px; }
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 18px; font-size: 14.5px; }
.alert-success { background: rgba(5, 150, 105, .1); color: #047857; border: 1px solid rgba(5, 150, 105, .25); }
.alert-error { background: rgba(180, 35, 24, .08); color: #b42318; border: 1px solid rgba(180, 35, 24, .22); }
.kins-views { display: inline-flex; align-items: center; gap: 6px; }

/* ============================================================
   新闻资讯列表（主图 + 标题 + 概要 + 日期）
   ============================================================ */

.news-list { display: flex; flex-direction: column; }

.news-item {
  display: grid;
  grid-template-columns: 212px minmax(0, 1fr);
  gap: 26px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-2);
}

.news-item:first-child { padding-top: 4px; }
.news-item:last-child { border-bottom: 0; }

.news-item-media {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
}

.news-item-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .4s var(--ease);
}

.news-item:hover .news-item-media img { transform: scale(1.04); }

.news-item-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.news-item-title {
  margin: 0 0 10px;
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -.1px;
  color: var(--ink);
}

.news-item-title a { color: inherit; }
.news-item-title a:hover { color: var(--brand); }

.news-item-excerpt {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.78;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item-date {
  margin-top: auto;
  padding-top: 14px;
  text-align: right;
  color: var(--muted-2);
  font-size: 13px;
  letter-spacing: .3px;
}

/* ============================================================
   工程案例列表（卡片：封面 / 客户 Logo + 名称 + 标签 / 简介）
   ============================================================ */

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.case-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}

.case-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(0, 47, 167, .28);
}

.case-card-media {
  display: block;
  background: var(--surface);
  overflow: hidden;
}

.case-card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .45s var(--ease);
}

.case-card:hover .case-card-media img { transform: scale(1.05); }

.case-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 24px;
}

.case-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.case-card-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.case-card-logo {
  flex: 0 0 auto;
  height: 26px;
  width: auto;
  max-width: 92px;
  object-fit: contain;
}

.case-card-name {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.3px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.case-card-tag {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-050);
  border: 1px solid rgba(0, 47, 167, .22);
  padding: 3px 9px;
  border-radius: 5px;
  white-space: nowrap;
}

.case-card-title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink-2);
}

.case-card-title a { color: inherit; }
.case-card-title a:hover { color: var(--brand); }

.case-card-desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 案例详情页头部 */
.case-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 36px;
  background: var(--surface);
}

.case-hero img { display: block; width: 100%; max-height: 460px; object-fit: cover; }

.case-hero-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 32px;
  background: linear-gradient(to top, rgba(6, 16, 44, .84), rgba(6, 16, 44, 0));
  color: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.case-hero-brand { display: flex; align-items: center; gap: 14px; }
.case-hero-brand img { height: 34px; width: auto; max-width: 150px; object-fit: contain; filter: brightness(0) invert(1); }
.case-hero-brand strong { font-size: 26px; letter-spacing: -.4px; }
.case-hero-tag {
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .42);
  color: #fff;
}

@media (max-width: 1080px) {
  .case-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .case-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 14px; padding: 20px 0; }
  .news-item-body { flex-direction: row; flex-wrap: wrap; align-items: baseline; }
  .news-item-title { flex: 1 1 100%; }
  .news-item-date { flex: 1 1 100%; text-align: left; padding-top: 8px; }
  .case-hero-overlay { padding: 20px; }
  .case-hero-brand strong { font-size: 20px; }
}
