/* 隔音材料网 (www.k-18.cn) 响应式样式表 · 深海声学工程风 · 全本地零外链 */
*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --bg: #F3F6FA;
  --surface: #FFFFFF;
  --navy: #0E1B2A;
  --navy-2: #172B42;
  --ink: #111D2C;
  --ink-2: #3A4A5E;
  --muted: #64748B;
  --border: #E2E8F0;
  --blue: #1274C4;
  --blue-hover: #0D5A9A;
  --blue-soft: #EBF5FE;
  --cyan: #0D8FB3;
  --cyan-soft: #E7F7FB;
  --green: #108355;
  --green-soft: #EAF8F1;
  --amber: #B45309;
  --amber-soft: #FFF7E8;
  --radius: 10px;
  --radius-sm: 7px;
  --shadow: 0 2px 10px rgba(14, 27, 42, 0.05);
  --shadow-hover: 0 8px 24px rgba(14, 27, 42, 0.09);
}

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

body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

a:hover {
  color: var(--cyan);
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 68px;
}

.brand-logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}

.brand-logo img {
  height: 44px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--blue);
  background: var(--blue-soft);
}

.header-search {
  display: flex;
  align-items: center;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  background: #F8FAFC;
  padding: 2px 3px 2px 10px;
  width: 225px;
  flex-shrink: 0;
}

.header-search input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 13px;
  color: var(--ink);
  width: 100%;
  min-width: 0;
}

.header-search button {
  border: none;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
  white-space: nowrap;
}

.header-search button:hover {
  background: var(--blue-hover);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  padding: 0 9px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-drawer {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 14px 0 18px;
}

.mobile-search {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.mobile-search input {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.mobile-search button {
  border: none;
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 0 16px;
  font-size: 14px;
  cursor: pointer;
}

.mobile-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mobile-nav a {
  padding: 10px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.mobile-nav a.active {
  background: var(--blue-soft);
  color: var(--blue);
}

/* ===== 首页顶部通栏公告（必留项） ===== */
.announce-bar {
  background: #EAF4FD;
  border-bottom: 1px solid #CBE3FA;
  padding: 9px 0;
}

.announce-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.announce-badge {
  flex: 0 0 auto;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 4px;
}

.announce-text {
  margin: 0;
  font-size: 13.8px;
  color: #163E68;
  line-height: 1.5;
}

/* ===== 按钮与徽章 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 19px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-hover);
  color: #fff;
}

.btn-cyan {
  background: var(--cyan);
  color: #fff;
}

.btn-cyan:hover {
  background: #0A7391;
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--ink);
  border-color: #CBD5E1;
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 5px;
  line-height: 1.4;
}

.badge-blue { background: var(--blue-soft); color: var(--blue); }
.badge-cyan { background: var(--cyan-soft); color: var(--cyan); }
.badge-green { background: var(--green-soft); color: var(--green); }
.badge-amber { background: var(--amber-soft); color: var(--amber); }
.badge-slate { background: #E9EEF5; color: #334155; }

/* ===== 深海声学工程 Hero ===== */
.acoustic-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 65%, #123B5E 100%);
  color: #E2ECF7;
  padding: 40px 0 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: #7DD3FC;
  background: rgba(44, 166, 223, 0.16);
  border: 1px solid rgba(125, 211, 252, 0.3);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.hero-copy h1 {
  margin: 0 0 14px;
  font-size: 33px;
  line-height: 1.25;
  color: #FFFFFF;
}

.hero-lead {
  margin: 0 0 22px;
  font-size: 15.2px;
  color: #C2D4E8;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* 右侧 GB 55038 指标面板 */
.metric-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 197, 240, 0.22);
  border-radius: var(--radius);
  padding: 20px;
}

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

.metric-head h2 {
  margin: 0;
  font-size: 16.5px;
  color: #FFFFFF;
}

.metric-code {
  font-size: 12px;
  font-weight: 700;
  color: #7DD3FC;
  background: rgba(125, 211, 252, 0.14);
  padding: 3px 8px;
  border-radius: 5px;
  white-space: nowrap;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.metric-card {
  background: rgba(14, 27, 42, 0.55);
  border: 1px solid rgba(148, 197, 240, 0.16);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.m-label {
  display: block;
  font-size: 12px;
  color: #9FB9D6;
}

.m-val {
  display: block;
  font-size: 19px;
  color: #38BDF8;
  margin: 3px 0;
  font-variant-numeric: tabular-nums;
}

.m-note {
  display: block;
  font-size: 11.8px;
  color: #B4C8DE;
  line-height: 1.4;
}

.metric-more {
  display: block;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  color: #7DD3FC;
}

.metric-more:hover {
  color: #fff;
}

/* ===== 通用区块 ===== */
.section {
  padding: 38px 0;
}

.section-tinted {
  background: #E8EEF5;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.section-head h2 {
  margin: 0 0 4px;
  font-size: 22px;
}

.section-sub {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.section-link {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.sub-heading {
  margin: 0 0 14px;
  font-size: 19px;
  padding-left: 10px;
  border-left: 4px solid var(--blue);
}

/* ===== Tab 与筛选 ===== */
.tab-pills,
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.tab-pill,
.filter-pill {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid #CBD5E1;
  background: #fff;
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
}

.tab-pill.active,
.filter-pill.active,
.tab-pill:hover,
.filter-pill:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* ===== 材料参数卡片 ===== */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.mat-card.is-hidden {
  display: none;
}

.mat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.fire-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--amber);
  background: var(--amber-soft);
  padding: 2px 8px;
  border-radius: 5px;
}

.mat-name {
  margin: 0 0 10px;
  font-size: 16.5px;
  line-height: 1.4;
}

.mat-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.mat-metrics > div {
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 10px;
}

.mat-metrics span {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
}

.mat-metrics strong {
  display: block;
  font-size: 13px;
  color: var(--ink);
  margin-top: 2px;
}

.mat-price-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  background: #EFF7FE;
  border: 1px solid #CDE4FA;
  border-radius: 6px;
  margin-bottom: 10px;
}

.mat-price-bar span {
  font-size: 12.5px;
  color: var(--ink-2);
}

.mat-price-bar strong {
  font-size: 15.5px;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

.mat-scenes {
  margin: 0 0 7px;
  font-size: 13.2px;
  color: var(--ink-2);
  line-height: 1.55;
}

.mat-note {
  margin: auto 0 0;
  padding-top: 9px;
  border-top: 1px dashed var(--border);
  font-size: 12.8px;
  color: var(--muted);
  line-height: 1.55;
}

/* ===== 场景方案卡片 ===== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.sol-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.sol-index {
  display: inline-block;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  border-radius: 6px;
  background: var(--navy);
  color: #7DD3FC;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 10px;
}

.sol-card h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
}

.sol-layers {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.6;
}

.sol-meta {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12.8px;
}

.sol-meta span {
  color: var(--green);
  font-weight: 600;
}

.sol-meta strong {
  color: var(--blue);
}

.solutions-detail-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sol-detail-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.sol-detail-head h2 {
  margin: 8px 0 6px;
  font-size: 19px;
}

.sol-budget {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.sol-detail-card p {
  margin: 0 0 10px;
  font-size: 14.8px;
  color: var(--ink-2);
  line-height: 1.75;
}

.sol-warn {
  margin-bottom: 0 !important;
  padding: 10px 13px;
  background: var(--amber-soft);
  border: 1px solid #F3D9A4;
  border-radius: 6px;
  color: #6B3F06 !important;
  font-size: 13.8px !important;
}

/* ===== 指南卡片 ===== */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.guide-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 19px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.guide-card:hover {
  box-shadow: var(--shadow-hover);
}

.guide-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 12.5px;
}

.guide-cat {
  background: var(--blue-soft);
  color: var(--blue);
  padding: 2px 8px;
  border-radius: 5px;
  font-weight: 600;
}

.guide-read {
  color: var(--muted);
}

.guide-title {
  margin: 0 0 9px;
  font-size: 16.5px;
  line-height: 1.45;
}

.guide-title a {
  color: var(--ink);
}

.guide-title a:hover {
  color: var(--blue);
}

.guide-summary {
  margin: 0 0 14px;
  font-size: 13.8px;
  color: var(--ink-2);
  line-height: 1.65;
}

.guide-foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.guide-tag {
  color: var(--cyan);
  font-weight: 600;
}

/* ===== 内页 Banner 与表格 ===== */
.page-banner {
  background: linear-gradient(135deg, #FFFFFF 0%, #EAF3FC 100%);
  border-bottom: 1px solid var(--border);
  padding: 26px 0 28px;
}

.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 9px;
}

.breadcrumb span {
  margin: 0 4px;
}

.page-banner h1 {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.3;
}

.page-banner p {
  margin: 0 0 16px;
  color: var(--ink-2);
  font-size: 14.5px;
  max-width: 840px;
}

.notice-strip {
  background: #EFF7FE;
  border: 1px solid #C8E1FA;
  border-radius: var(--radius-sm);
  padding: 12px 15px;
  font-size: 13.8px;
  color: #163D64;
  margin-bottom: 20px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
}

.data-table,
.article-body table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  font-size: 14px;
}

.data-table th,
.article-body th {
  background: #F1F5F9;
  color: var(--ink);
  text-align: left;
  padding: 11px 13px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}

.data-table td,
.article-body td {
  padding: 11px 13px;
  border-bottom: 1px solid #EEF2F7;
  color: var(--ink-2);
  vertical-align: top;
}

.price-cell {
  font-weight: 700;
  color: var(--blue) !important;
  white-space: nowrap;
}

.two-col-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.info-card h2 {
  margin: 0 0 11px;
  font-size: 18.5px;
}

.info-card p,
.info-card li {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.75;
}

.info-card ul {
  margin: 0;
  padding-left: 20px;
}

/* ===== 文章详情页 ===== */
.article-header-wrap {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 26px 0 28px;
}

.article-title {
  margin: 0 0 12px;
  font-size: 27px;
  line-height: 1.35;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

.article-summary {
  margin: 0;
  font-size: 15.2px;
  color: var(--ink-2);
  max-width: 860px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 315px;
  gap: 26px;
  align-items: start;
}

.article-main {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  min-width: 0;
}

.key-points-box {
  background: var(--blue-soft);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 15px 18px;
  margin-bottom: 22px;
}

.key-points-box h2 {
  margin: 0 0 9px;
  font-size: 16px;
  color: var(--blue);
}

.key-points-box ul {
  margin: 0;
  padding-left: 18px;
}

.key-points-box li {
  margin-bottom: 6px;
  font-size: 14.5px;
  color: var(--ink);
}

.article-body h2 {
  margin: 24px 0 10px;
  font-size: 20px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--border);
}

.article-body h3 {
  margin: 17px 0 8px;
  font-size: 16.5px;
}

.article-body p {
  margin: 0 0 13px;
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.8;
}

.article-body ul,
.article-body ol {
  margin: 0 0 15px;
  padding-left: 22px;
  color: var(--ink-2);
  font-size: 15px;
}

.article-body li {
  margin-bottom: 7px;
  line-height: 1.75;
}

.tip-callout {
  background: var(--amber-soft);
  border: 1px solid #F3D9A4;
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  margin: 16px 0;
  font-size: 14.5px;
  color: #6B3F06;
}

.article-cta-box {
  margin-top: 28px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #EFF7FE 0%, #E7F7FB 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.article-cta-box h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.article-cta-box p {
  margin: 0;
  font-size: 13.8px;
  color: var(--ink-2);
}

.article-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* 侧边栏 */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.side-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 17px;
  box-shadow: var(--shadow);
}

.side-card h3 {
  margin: 0 0 11px;
  font-size: 15.5px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.side-tool-list,
.side-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-tool-list li {
  margin-bottom: 8px;
}

.side-tool-list a {
  display: block;
  padding: 8px 10px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}

.side-tool-list a:hover {
  background: var(--blue-soft);
  color: var(--blue);
}

.side-link-list li {
  padding: 8px 0;
  border-bottom: 1px solid #F1F5F9;
}

.side-link-list li:last-child {
  border-bottom: none;
}

.side-link-list a {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 2px;
}

.side-link-list a:hover {
  color: var(--blue);
}

.side-link-list span {
  font-size: 12px;
  color: var(--muted);
}

.side-mat-item {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
}

.side-mat-item:last-child {
  border-bottom: none;
}

.side-mat-name {
  font-size: 13.5px;
  color: var(--ink);
  margin-bottom: 3px;
}

.side-mat-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

.side-mat-meta strong {
  color: var(--blue);
}

.side-more-link {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
}

/* ===== 计算器工具箱 ===== */
.tools-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tool-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  scroll-margin-top: 84px;
}

.tool-head h2 {
  margin: 8px 0 6px;
  font-size: 20px;
}

.tool-head p {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--muted);
}

.tool-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.field-group {
  margin-bottom: 13px;
}

.field-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 5px;
}

.field-group input,
.field-group select {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  background: #fff;
  color: var(--ink);
}

.field-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tool-result-card {
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.res-hero {
  background: linear-gradient(135deg, #EAF4FD 0%, #E7F7FB 100%);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.res-hero span {
  font-size: 13.5px;
  color: var(--ink-2);
}

.res-hero strong {
  font-size: 24px;
  color: var(--blue);
}

.res-breakdown {
  margin: 0;
}

.res-breakdown > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 14px;
}

.res-breakdown dt {
  color: var(--muted);
}

.res-breakdown dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

.text-green {
  color: var(--green) !important;
}

.res-tip {
  margin: 12px 0 0;
  font-size: 13px;
  color: #163E68;
  background: var(--blue-soft);
  padding: 9px 12px;
  border-radius: var(--radius-sm);
}

.prompt-output-box {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
}

.prompt-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 13px;
  background: #EFF4FA;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
}

.btn-copy {
  border: none;
  background: var(--blue);
  color: #fff;
  padding: 5px 12px;
  border-radius: 5px;
  font-size: 12.5px;
  cursor: pointer;
}

.prompt-output-box textarea {
  width: 100%;
  border: none;
  padding: 13px;
  font-family: inherit;
  font-size: 13.8px;
  line-height: 1.65;
  color: var(--ink);
  resize: vertical;
}

/* ===== 搜索、关于与分页 ===== */
.search-page-form {
  display: flex;
  gap: 10px;
  max-width: 620px;
  margin-bottom: 12px;
}

.search-page-form input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  font-size: 15px;
}

.hot-keywords {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.hot-keywords a {
  padding: 3px 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink-2);
}

.hot-keywords a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.search-summary {
  margin: 0 0 20px;
  font-size: 14.5px;
  color: var(--ink-2);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
}

.empty-state {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 46px 20px;
  text-align: center;
}

.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.page-btn {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink-2);
  font-size: 14px;
}

.page-btn.active,
.page-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--navy);
  color: #B9CBE0;
  margin-top: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 26px;
  padding: 40px 18px 32px;
}

.footer-logo-box {
  display: inline-block;
  background: #fff;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.footer-logo-box img {
  height: 36px;
  width: auto;
}

.footer-desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: #90A8C3;
}

.footer-col h3 {
  margin: 0 0 12px;
  font-size: 15px;
  color: #fff;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #B4C7DC;
  font-size: 13.5px;
}

.footer-col a:hover {
  color: #7DD3FC;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 0;
  font-size: 13px;
  color: #87A0BC;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  margin: 0;
}

.footer-icp a {
  color: #C2D4E8;
}

.footer-icp a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ===== 响应式适配（保障 375px 无横向滚动） ===== */
@media (max-width: 1060px) {
  .header-search {
    display: none;
  }
  .hero-grid,
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .materials-grid,
  .solutions-grid,
  .guides-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .main-nav {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .brand-logo img {
    height: 36px;
  }
  .header-inner {
    min-height: 58px;
  }
  .acoustic-hero {
    padding: 26px 0 30px;
  }
  .hero-copy h1 {
    font-size: 24px;
  }
  .metric-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .section {
    padding: 26px 0;
  }
  .section-head h2 {
    font-size: 19.5px;
  }
  .materials-grid,
  .solutions-grid,
  .guides-grid,
  .two-col-info,
  .tool-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .article-main {
    padding: 18px 15px;
  }
  .article-title,
  .page-banner h1 {
    font-size: 21.5px;
  }
  .tool-panel {
    padding: 18px 15px;
  }
  .field-row-2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .search-page-form {
    flex-direction: column;
  }
  .res-hero {
    flex-direction: column;
    align-items: flex-start;
  }
}
