/* ============================================================
   无锡顺康旺贸易有限公司官网 样式表
   沉稳实业风 | 纯静态 HTML5 + CSS3 | 全资源本地自托管
   ============================================================ */

/* ---------- 字体：思源黑体（Source Han Sans SC / Noto Sans SC）本地自托管，零外链，免费商用 ---------- */
@font-face {
  font-family: "Source Han Sans SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../vendor/fonts/source-han-sans-sc-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Source Han Sans SC";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../vendor/fonts/source-han-sans-sc-bold.woff2") format("woff2");
}

/* ---------- 客户反馈小标题（201/303 共用） ---------- */
.cust-title{font-weight:800;color:#1e3a5f;font-size:1.08rem;margin-bottom:8px;letter-spacing:.5px;line-height:1.5;}
.cust-card .q{font-weight:400 !important;color:#3a4a5a !important;}

/* ---------- 全局盒模型与基础重置 ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Han Sans SC", "Noto Sans SC", sans-serif;
  font-weight: 400;
  color: #1f2937;
  background: #ffffff;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: #1e3a5f; text-decoration: none; }
a:hover { color: #ff9f43; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0 0 .6em; font-weight: 700; line-height: 1.35; color: #1f2937; }
h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
/* 全局内容最大宽度：1200px（放大之前的状态，首页与全部内页统一，留白适中、不挤不宽） */
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* 文本溢出兜底 */
.ellipsis, .nav-link, .btn, h1, h2, h3, h4 { overflow-wrap: break-word; }

/* ---------- 颜色变量：温润低饱和深蓝 + 柔和橙 ---------- */
:root {
  --primary: #1e3a5f;
  --primary-dark: #163050;
  --primary-light: #2a5588;
  --accent: #ff9f43;
  --accent-dark: #e67e22;
  --bg-gray: #f5f7fa;
  --border: #e3e8f0;
  --text: #1f2937;
  --text-soft: #5a6b7d;
  --white: #ffffff;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
}
.logo .logo-mark {
  width: 38px; height: 38px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1rem;
  flex-shrink: 0;
}
.logo small { display:block; font-size:.7rem; font-weight:400; color:#cdd5dd; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: #dbe2e8;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: .98rem;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: #fff; background: rgba(255,255,255,.16); }
.nav-toggle {
  display: none;
  background: none; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
  transition: background .2s;
  text-align: center;
}
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn-primary { background: var(--primary); }
.btn-primary:hover { background: var(--primary-light); }
.btn-outline { background: transparent; border: 1px solid var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-lg { padding: 15px 36px; font-size: 1.1rem; }

/* ---------- 首屏 Hero（左文右图） ---------- */
.hero {
  background: linear-gradient(135deg, #1e3a5f 0%, #2a5588 100%);
  color: #fff;
  padding: 60px 0;
}
.hero-grid {
  display: flex;
  align-items: center;
  gap: 40px;
}
.hero-text { flex: 1 1 58%; }
.hero-visual { flex: 1 1 42%; }
.hero h1 { color: #fff; font-size: 1.25rem; font-weight: 400; opacity: .95; margin-bottom: 10px; }
.hero .hero-position {
  font-size: 1.65rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  line-height: 1.35;
}
.hero .hero-slogan {
  font-size: 1.8rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 18px;
  line-height: 1.4;
  letter-spacing: 2px;
  text-align: left;
}
.hero .hero-standard {
  display: inline-block;
  text-align: left;
  font-size: 2.05rem;
  font-weight: 700;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 12px;
  padding: 18px 26px;
  margin: 0 0 22px;
  line-height: 1.5;
  background: rgba(255,159,67,.12);
  box-shadow: 0 4px 16px rgba(255,159,67,.15);
}
.hero .hero-sub { color: #d6e3f0; font-size: 1rem; line-height: 2.0; margin-bottom: 0; }
.hero .hero-tags { margin: 18px 0 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero .hero-tags span {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  color: #fff; padding: 6px 12px; border-radius: 30px; font-size: .88rem;
}
.hero .hero-tags span svg { width: 14px; height: 14px; fill: #ffcc80; }
@media (max-width: 767px) {
  .hero h1 { font-size: 1.1rem; }
  .hero .hero-slogan { font-size: 1.35rem; letter-spacing: 1px; }
  .hero .hero-standard { font-size: 1.6rem; padding: 14px 18px; }
  .hero .hero-tags { gap: 8px; }
  .hero .hero-tags span { font-size: .82rem; padding: 5px 10px; }
}
.hero .hero-cta { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: .88rem;
  margin-bottom: 14px;
}
.hero-badge svg { width: 14px; height: 14px; fill: #ffcc80; }
/* Hero 右侧服务优势卡片 */
.hero-icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.hero-icon-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  padding: 22px 16px;
  text-align: center;
  color: #eaf0f5;
  transition: transform .2s, background .2s;
}
.hero-icon-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.14); }
.hero-icon-card .ic { width: 42px; height: 42px; margin: 0 auto 12px; fill: var(--accent); }
.hero-icon-card .t { font-weight: 700; font-size: 1.05rem; }
.hero-icon-card .d { font-size: .85rem; color: #c8d6e5; margin-top: 4px; }

/* ---------- 中标醒目大模块（深蓝底左文右图） ---------- */
.bid-section { background: linear-gradient(135deg, #1e3a5f 0%, #254b7a 100%); color: #fff; padding: 60px 0; }
.bid-section .container { display: flex; align-items: center; gap: 48px; }
.bid-section .bid-text-col { flex: 1 1 50%; }
.bid-section .bid-media-col { flex: 1 1 46%; }
.bid-section .bid-media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bid-section .bid-media-grid figure {
  margin: 0; background: #fff; border-radius: 10px; border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 10px 30px rgba(0,0,0,.25); overflow: hidden;
  display: flex; align-items: center; justify-content: center; min-height: 440px;
}
.bid-section .bid-media-grid img { width: 100%; height: 100%; object-fit: contain; object-position: top; }
.bid-section .bid-media-caption { text-align: center; font-size: .98rem; color: #eaf0f5; margin-top: 16px; line-height: 1.6; }
.bid-section .bid-label { display:inline-flex; align-items:center; gap:8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; padding: 6px 14px; border-radius: 30px; font-size: .9rem; font-weight: 700; margin-bottom: 16px; }
.bid-section h2 { color: #fff; margin:0 0 16px; font-size: 2rem; line-height: 1.35; }
.bid-section .bid-amount-line { font-size: 1rem; color: #d6e3f0; margin-bottom: 16px; }
.bid-section .bid-amount { font-size: 2.2rem; font-weight: 700; color: var(--accent); margin-left: 6px; }
.bid-section .bid-desc { color: #d6e3f0; font-size: 1rem; line-height: 1.85; margin-bottom: 20px; }
.bid-section .bid-cta { margin-top: 24px; display: flex; gap: 14px; flex-wrap: wrap; }
.bid-section .bid-cta .btn { background: #fff; color: var(--primary); }
.bid-section .bid-cta .btn:hover { background: var(--accent); color: #fff; }
.bid-section .bid-cta .btn-outline { background: transparent; border: 1px solid #fff; color: #fff; }
.bid-section .bid-cta .btn-outline:hover { background: #fff; color: var(--primary); }
@media (max-width: 767px) {
  .bid-section { padding: 44px 0; }
  .bid-section .container { flex-direction: column; gap: 28px; }
  .bid-section .bid-text-col, .bid-section .bid-media-col { flex: 1 1 100%; width: 100%; }
  .bid-section h2 { font-size: 1.5rem; }
  .bid-section .bid-amount { font-size: 1.7rem; }
  .bid-section .bid-media-grid { grid-template-columns: 1fr; }
  .bid-section .bid-media-grid figure { min-height: 0; }
  .bid-section .bid-media-grid img { height: auto; }
}

/* ---------- 通用区块 ---------- */
.section { padding: 56px 0; }
.section-gray { background: var(--bg-gray); }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 1.8rem; position: relative; display: inline-block; padding-bottom: 12px; }
.section-title h2::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 0; width: 56px; height: 4px; background: var(--accent); border-radius: 2px;
}
.section-title p { color: var(--text-soft); margin-top: 10px; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 26px 22px;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(30,58,95,.12); }
.card .ic { width: 42px; height: 42px; fill: var(--accent); margin-bottom: 12px; }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--text-soft); font-size: .95rem; margin: 0; }
.card .num { font-size: 2rem; font-weight: 700; color: var(--accent); }

/* ---------- 图文区块 ---------- */
.media-row { display: flex; gap: 36px; align-items: center; flex-wrap: wrap; }
.media-row .media { flex: 1 1 360px; }
.media-row .media img { border-radius: 10px; width: 100%; }
.media-row .text { flex: 1 1 360px; }
.media-row.reverse { flex-direction: row-reverse; }

/* ---------- 数据条 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats .num { font-size: 2.2rem; font-weight: 700; color: var(--accent); }
.stats .label { color: var(--text-soft); font-size: .92rem; }

/* ---------- 面包屑 ---------- */
.breadcrumb { font-size: .9rem; color: var(--text-soft); padding: 16px 0; }
.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span.sep { margin: 0 8px; color: #b8c2cc; }

/* ---------- 时间线 ---------- */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content:""; position:absolute; left:8px; top:6px; bottom:6px; width:3px; background: var(--border); }
.tl-item { position: relative; padding: 0 0 28px 0; }
.tl-item::before { content:""; position:absolute; left:-26px; top:4px; width:16px; height:16px; background: var(--accent); border:3px solid #fff; border-radius:50%; box-shadow:0 0 0 2px var(--accent); }
.tl-year { font-weight: 700; color: var(--primary); }
.tl-title { font-weight: 700; }
.tl-desc { color: var(--text-soft); font-size: .95rem; }

/* ---------- 主体布局（侧栏 + 内容） ---------- */
.layout { display: flex; gap: 30px; align-items: flex-start; }
.sidebar { flex: 0 0 260px; position: sticky; top: 88px; }
.sidebar .side-title { background: var(--primary); color:#fff; padding: 14px 16px; font-weight:700; border-radius: 8px 8px 0 0; }
.side-nav { border: 1px solid var(--border); border-top: 0; border-radius: 0 0 8px 8px; overflow: hidden; }
.side-group > .side-parent {
  padding: 12px 16px; cursor: pointer; font-weight: 700; background: #fafbfc;
  border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center;
}
.side-group > .side-parent .arrow { transition: transform .2s; color: var(--text-soft); }
.side-group.open > .side-parent .arrow { transform: rotate(90deg); }
.side-children { display: none; }
.side-group.open .side-children { display: block; }
.side-children li a {
  display: block; padding: 10px 16px 10px 30px; color: var(--text-soft);
  border-bottom: 1px solid var(--border); font-size: .95rem;
}
.side-children li a:hover { background: #f1f4f7; color: var(--accent); }
.side-children li a.active { background: var(--accent); color: #fff; }
.content-main { flex: 1 1 auto; min-width: 0; }
.content-placeholder {
  border: 2px dashed var(--border); border-radius: 10px; padding: 60px 30px;
  text-align: center; color: var(--text-soft); background: #fafbfc;
}
.content-placeholder h3 { color: var(--text-soft); }
.placeholder-tag {
  display:inline-block; background:#eef2f5; color:#8493a1; padding:6px 14px;
  border-radius:30px; font-size:.85rem; margin-top:10px;
}

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; background: #fff; }
table.data th, table.data td { border: 1px solid var(--border); padding: 12px 14px; text-align: left; font-size: .95rem; }
table.data th { background: var(--primary); color: #fff; font-weight: 700; }
table.data tr:nth-child(even) td { background: #f8fafb; }

/* ---------- 资质证书网格 ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cert-card { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background:#fff; }
.cert-card img { width: 100%; height: 200px; object-fit: cover; }
.cert-card .cert-body { padding: 14px 16px; }
.cert-card .cert-name { font-weight: 700; }
.cert-card .cert-meta { color: var(--text-soft); font-size: .85rem; margin-top: 4px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--primary-dark); color: #cdd5dd; padding: 44px 0 20px; margin-top: 0; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer-cols h4 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer-cols a { color: #cdd5dd; display: block; padding: 4px 0; font-size: .92rem; }
.footer-cols a:hover { color: #fff; }
.footer-about p { font-size: .92rem; line-height: 1.8; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 30px; padding-top: 18px;
  font-size: .85rem; color: #aab4be; text-align: center; line-height: 2;
}
.footer-bottom a { color: #aab4be; }
.footer-bottom a:hover { color: #fff; }
.police-link { display: inline-flex; align-items: center; gap: 6px; }
.police-link img { width: 16px; height: 16px; display: inline-block; }

/* ---------- 悬浮咨询按钮 ---------- */
.float-cta {
  position: fixed; right: 20px; bottom: 24px; z-index: 200;
  background: var(--accent); color: #fff; padding: 14px 20px; border-radius: 40px;
  box-shadow: 0 6px 18px rgba(255,159,67,.4); font-weight: 700; display: flex; align-items: center; gap: 8px;
}
.float-cta:hover { background: var(--accent-dark); color: #fff; }

/* ---------- FAQ / 结构化 ---------- */
.faq-item { border: 1px solid var(--border); border-radius: 8px; margin-bottom: 12px; padding: 16px 18px; background: #fff; }
.faq-item .q { font-weight: 700; color: var(--primary); }
.faq-item .a { color: var(--text-soft); margin-top: 8px; }

/* ---------- 信息更新日志 / 合规标注 ---------- */
.update-log { background: #f8fafb; border-left: 4px solid var(--accent); padding: 14px 18px; font-size: .88rem; color: var(--text-soft); border-radius: 0 8px 8px 0; margin-top: 30px; }
.compliance-note { font-size: .82rem; color: var(--text-soft); margin-top: 12px; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 80px 0; }
.notfound h1 { font-size: 5rem; color: var(--accent); }

/* ---------- 响应式断点 ---------- */
@media (max-width: 1199px) {
  .container { max-width: 100%; }
  /* 防止宽规格表格把内容区撑破，表格改为自身横向滚动 */
  .content-main { min-width: 0; max-width: 100%; }
  .table-wrap { max-width: 100%; }
}
@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { gap: 28px; }
}
@media (max-width: 767px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--primary); flex-direction: column; padding: 10px 0; gap: 0;
  }
  .main-nav.show { display: flex; }
  .main-nav a { padding: 12px 20px; border-radius: 0; }
  .hero { padding: 36px 0; }
  .hero-grid { flex-direction: column-reverse; }
  .hero-text, .hero-visual { flex: 1 1 100%; width: 100%; }
  .hero h1 { font-size: 1.7rem; }
  .hero-icons { grid-template-columns: repeat(2, 1fr); }
  .bid-section .container { flex-direction: column; text-align: center; }
  .media-row, .media-row.reverse { flex-direction: column; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .layout { flex-direction: column; }
  .sidebar { position: static; flex: 1 1 auto; width: 100%; }
  .footer-cols { grid-template-columns: 1fr; }
  .float-cta { right: 12px; bottom: 14px; padding: 12px 16px; font-size: .92rem; }
  .content-placeholder { padding: 40px 16px; }
  /* 移动端：内容区锁定为容器宽度，避免宽表格/长标签撑破版面产生横向滚动 */
  .content-main { width: 100%; min-width: 0; max-width: 100%; }
  .table-wrap { max-width: 100%; -webkit-overflow-scrolling: touch; }
}

/* ---------- 小提醒 醒目卡片（201 冷轧板专用） ---------- */
.note{
  margin: 24px 0 10px;
  padding: 16px 18px 16px 20px;
  background: linear-gradient(135deg,#eef4fb 0%,#f7fafd 100%);
  border: 1px solid var(--border);
  border-left: 5px solid var(--accent);
  border-radius: 10px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.9;
  box-shadow: 0 4px 14px rgba(30,58,95,.08);
}
.note strong{ color: var(--primary); font-weight: 800; letter-spacing:.5px; }

/* 309S / 310S 热轧板：图片较小，收窄图片列、文字整体左移，左右更平衡 */
.media-row.compact { gap: 26px; align-items: flex-start; }
.media-row.compact .media { flex: 0 0 320px; }
.media-row.compact .media img { width: 100%; display: block; }
.media-row.compact .text { flex: 1 1 auto; }

/* 500批次：部分 h2 提升为 h1，此处锁定原 h2 视觉，页面显示零变化 */
h1.prod-title { font-size: 1.6rem; }
