/* ==========================================================================
   广东富泽金属构件有限公司 — 官网样张（竞品排布版）
   排布参照 webforge.com.cn（无锡美罗钢格板）的首页：
   顶栏 / 横向主导航(带下拉) / 1002×350 轮播 / 三栏(283 · 386 · 283) / 深蓝页脚
   实现上换成现代语义标签 + CSS Grid/Flex + 原生 JS，不用 table 布局、不用 jQuery
   ========================================================================== */

:root {
  --shell: 1002px;

  --blue:        #004593;
  --blue-hover:  #004996;
  --blue-dark:   #013a7b;
  --blue-deep:   #00275c;
  --blue-pager:  #d34600;

  --text:        #666464;
  --ink:         #2b2b2b;
  --line:        #dcdddd;
  --line-soft:   #cccccc;
  --bar:         #e6e6e6;

  --font: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB",
          "Source Han Sans SC", "Noto Sans CJK SC", Arial, Helvetica, sans-serif;
}

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

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

body {
  margin: 0;
  font: 12px/1.75 var(--font);
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0, #e8eef7 900px, #d2dde9 1600px) no-repeat #d2dde9;
}

img { border: 0; display: block; max-width: 100%; }
figure { margin: 0; }
a { color: #666464; text-decoration: none; }
a:hover { color: var(--blue); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  background: #fff;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 顶栏：logo + 语言 ---------- */
.header {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  height: 90px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5px;
}

.logo { margin: 0; font-size: 0; }
.logo img { height: 46px; width: auto; }

.lang { font-size: 12px; color: var(--blue); }
.lang a { color: var(--text); }
.lang a:hover { color: var(--blue); }

/* ---------- 主导航 ---------- */
.menu-bar {
  max-width: var(--shell);
  margin: 0 auto;
  height: 42px;
  background: linear-gradient(180deg, #f7f9fc, #dbe4f0);
  border-top: 1px solid #eef2f8;
  border-bottom: 1px solid #b9c8da;
  position: relative;
  z-index: 30;
}

.menu {
  display: flex;
  height: 42px;
}

.menu > li {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  border-right: 1px solid #b5b5b7;
}

.menu > li:last-child { border-right: 0; }

.menu > li > a {
  display: block;
  height: 41px;
  line-height: 41px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  color: var(--blue);
  white-space: nowrap;
}

.menu > li:hover > a,
.menu > li:focus-within > a,
.menu > li.is-current > a {
  color: #fff;
  background: var(--blue-hover);
}

/* 下拉 */
.menu ul {
  position: absolute;
  top: 41px;
  left: -1px;
  width: 152px;
  background: var(--blue-dark);
  border-top: 1px solid var(--blue-deep);
  box-shadow: 0 8px 18px -6px rgba(0, 39, 92, .45);
  padding: 4px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.menu > li:hover ul,
.menu > li:focus-within ul {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.menu ul a {
  display: block;
  padding: 0 12px 0 26px;
  line-height: 30px;
  font-size: 12px;
  color: #fff;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='7'%3E%3Cpath d='M0 0l5 3.5L0 7z' fill='%237fa9d4'/%3E%3C/svg%3E") no-repeat 14px 12px;
}

.menu ul a:hover { background-color: #19589a; text-decoration: underline; }

/* ---------- 轮播 ---------- */
.flash {
  max-width: var(--shell);
  margin: 0 auto;
  position: relative;
  height: 350px;
  overflow: hidden;
  background: #0a2540;
}

.flash .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
}

.flash .slide.is-active { opacity: 1; }

.flash .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flash .pager {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 16px;
  display: flex;
  gap: 0;
  background: rgba(136, 136, 136, .82);
  z-index: 5;
}

.flash .pager button {
  width: 22px;
  height: 16px;
  padding: 0;
  border: 0;
  border-left: 1px solid #cccccc;
  background: transparent;
  color: #fff;
  font: 9px/16px Arial, sans-serif;
  cursor: pointer;
}

.flash .pager button[aria-current="true"] { background: var(--blue-pager); }

/* ---------- 主体三栏 ---------- */
.main {
  max-width: var(--shell);
  margin: 0 auto;
  background: #fff;
  padding: 20px 0 26px;
}

.cols {
  display: grid;
  grid-template-columns: 283px 386px 283px;
  column-gap: 25px;
  align-items: start;
}

/* 栏目标题：5px 蓝线 + 14px 标题（对应原站 index_08.jpg + 标题行） */
.sec-head {
  border-top: 5px solid var(--blue);
  padding-top: 5px;
  margin-bottom: 10px;
}

.sec-head h2 {
  margin: 0;
  font-size: 14px;
  font-weight: bold;
  color: var(--blue);
  line-height: 30px;
}

.sec-head.with-more {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.sec-head .more {
  font-size: 12px;
  color: #999;
  padding-right: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='8'%3E%3Cpath d='M0 0l5 4L0 8z' fill='%23a0a0a0'/%3E%3C/svg%3E") no-repeat right 6px;
}

.sec-head .more:hover { color: var(--blue); }

/* ---------- 左栏：公司介绍 ---------- */
.intro p { margin: 0 0 6px; font-size: 12px; line-height: 22px; color: var(--text); }

.intro .more-link {
  display: block;
  text-align: right;
  font-size: 12px;
  color: var(--blue);
}

.col-photo {
  margin-top: 20px;
  border: 1px solid var(--line);
  padding: 3px;
  background: #fff;
}

.col-photo img { width: 100%; height: 170px; object-fit: cover; }

.col-photo figcaption {
  font-size: 11px;
  color: #999;
  padding: 4px 2px 0;
  line-height: 1.5;
}

/* ---------- 中栏：新闻 ---------- */
.tabs {
  display: flex;
  gap: 2px;
  margin-bottom: 8px;
}

.tabs button {
  width: 177px;
  height: 21px;
  padding: 0 0 0 15px;
  border: 0;
  text-align: left;
  font-size: 14px;
  font-weight: bold;
  line-height: 21px;
  color: #fff;
  background: #9fa0a0;
  cursor: pointer;
}

.tabs button[aria-selected="true"] { background: var(--blue); }

.news-list li {
  line-height: 24px;
  padding-left: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23004593'/%3E%3C/svg%3E") no-repeat 2px 10px;
}

.news-list a {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  min-width: 0;
}

.news-list .t {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.news-list time {
  flex: none;
  width: 80px;
  text-align: right;
  color: #999;
  font-variant-numeric: tabular-nums;
}

.news-list a:hover .t { color: var(--blue); }

/* ---------- 中栏：工程案例 ---------- */
.case-block { margin-top: 14px; }

.case-grid {
  display: grid;
  grid-template-columns: 117px 136px 117px;
  column-gap: 8px;
  align-items: start;
  margin-top: 6px;
}

.case-list li + li { margin-top: 2px; }

.case-list button {
  width: 100%;
  height: 32px;
  padding: 0 8px 0 21px;
  border: 0;
  text-align: left;
  font-size: 12px;
  line-height: 32px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  background: #f7f7f7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='8'%3E%3Cpath d='M0 0l5 4L0 8z' fill='%23004593'/%3E%3C/svg%3E") no-repeat 12px 12px;
}

.case-list button:hover,
.case-list button[aria-current="true"] {
  background-color: #e9eff8;
  color: var(--blue);
}

.case-preview img {
  width: 136px;
  height: 88px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #fff;
}

.case-preview figcaption {
  font-size: 11px;
  color: #999;
  line-height: 1.5;
  margin-top: 3px;
}

/* ---------- 右栏：联系 / 下载 ---------- */
.contact li {
  display: flex;
  gap: 8px;
  line-height: 24px;
  padding: 2px 0;
}

.contact .k {
  flex: none;
  width: 44px;
  color: #999;
}

.contact a.tel {
  font-size: 15px;
  font-weight: bold;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

.wechat {
  margin: 10px 0 4px;
  text-align: center;
}

.wechat img {
  width: 130px;
  height: 130px;
  margin: 0 auto;
  border: 1px solid var(--line);
  padding: 3px;
  background: #fff;
}

.wechat figcaption { font-size: 11px; color: #999; line-height: 1.6; margin-top: 4px; }

.download { margin-top: 18px; }

.download li { border-bottom: 1px dashed var(--line-soft); }

.download a {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 30px;
  padding-left: 2px;
}

.download a::before {
  content: "PDF";
  flex: none;
  width: 30px;
  text-align: center;
  font: 9px/14px Arial, sans-serif;
  letter-spacing: .02em;
  color: #fff;
  background: #b43a2f;
  border-radius: 2px;
}

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

/* 右栏/左栏的纯文字链接列表（不带 PDF 标记） */
.links { margin-top: 18px; }

.links li { border-bottom: 1px dashed var(--line-soft); }

.links a {
  display: block;
  line-height: 30px;
  padding-left: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='8'%3E%3Cpath d='M0 0l5 4L0 8z' fill='%23004593'/%3E%3C/svg%3E") no-repeat 2px 11px;
}

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

/* ---------- 页脚 ---------- */
.footer {
  max-width: var(--shell);
  margin: 0 auto;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  line-height: 24px;
  text-align: center;
  padding: 7px 10px 9px;
}

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

.footer .row + .row { margin-top: 2px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1050px) {
  .shell, .header, .menu-bar, .flash, .main, .footer {
    max-width: 100%;
    width: 100%;
  }

  .header { padding: 0 16px; }

  .cols {
    grid-template-columns: 1fr 1.25fr 1fr;
    column-gap: 18px;
    padding: 0 16px;
  }

  .flash { height: auto; aspect-ratio: 1002 / 350; }

  .case-grid { grid-template-columns: 1fr 136px 1fr; }
}

@media (max-width: 880px) {
  .header { height: 74px; }
  .logo img { height: 40px; }

  .menu { overflow-x: auto; scrollbar-width: none; }
  .menu::-webkit-scrollbar { display: none; }
  .menu > li { flex: none; width: 108px; }
  .menu ul { width: 140px; }

  /* 右侧淡出，暗示导航还能横向滑动 */
  .menu-bar {
    mask-image: linear-gradient(to right, #000 calc(100% - 20px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 20px), transparent 100%);
  }

  .cols { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .col-intro { grid-column: 1 / -1; }
  .col-intro .intro { max-width: 46em; }
  .col-photo { max-width: 283px; }

  .flash { aspect-ratio: 16 / 9; }
}

@media (max-width: 620px) {
  .cols { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr 110px 1fr; column-gap: 6px; }
  .case-preview img { width: 110px; height: 71px; }
  .flash { aspect-ratio: 3 / 2; }
  .flash .slide img { object-position: center; }
  .contact .k { width: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flash .slide, .menu ul { transition: none; }
}

@media print {
  .menu-bar, .flash, .footer { display: none; }
  body { background: #fff; }
}

/* ==========================================================================
   内页组件（多页版新增）
   排版沿用竞品内页结构：页面横幅 263 高 / 左栏 233 栏目导航 / 右栏 730 内容
   ========================================================================== */

/* ---------- 页面横幅 ---------- */
.page-banner {
  max-width: var(--shell);
  margin: 0 auto;
  height: 263px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(0, 39, 92, .92) 0%, rgba(0, 69, 147, .86) 46%, rgba(25, 88, 154, .55) 100%),
    url("img/slide-1.jpg") center 62% / cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
}

.page-banner .inner-wrap {
  width: 100%;
  max-width: 952px;   /* 1002 - 左右各 25 */
  margin: 0 auto;
  padding: 0 6px;
}

.page-banner .kicker {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}

.page-banner h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.3;
  font-weight: bold;
  letter-spacing: .02em;
}

.page-banner .sub {
  margin: 10px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, .82);
  max-width: 42em;
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  max-width: var(--shell);
  margin: 0 auto;
  background: #f5f7fa;
  border-bottom: 1px solid #e3e9f1;
  font-size: 12px;
  line-height: 34px;
  color: #8b9099;
  padding: 0 16px;
}

.breadcrumb a { color: #6b7280; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .sep { margin: 0 6px; color: #b9c2cd; }

/* ---------- 内页两栏 ---------- */
.inner-layout {
  max-width: var(--shell);
  margin: 0 auto;
  background: #fff;
  padding: 22px 0 30px;
  display: grid;
  grid-template-columns: 233px minmax(0, 1fr);
  column-gap: 39px;
}

/* 左栏：栏目导航 */
.side-nav { border-top: 3px solid var(--blue); }

.side-nav .hd {
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  background: var(--blue);
  line-height: 40px;
  padding-left: 18px;
}

.side-nav ul li { border-bottom: 1px solid #e6e6e6; }

.side-nav ul a {
  display: block;
  line-height: 38px;
  padding-left: 28px;
  font-size: 13px;
  color: #4b5563;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='8'%3E%3Cpath d='M0 0l5 4L0 8z' fill='%23004593'/%3E%3C/svg%3E") no-repeat 12px 15px;
}

.side-nav ul a:hover { color: var(--blue); background-color: #f5f8fc; }

.side-nav ul a.is-current {
  color: var(--blue);
  font-weight: bold;
  background-color: #eef3fa;
}

/* 左栏：联系方式卡 */
.side-card {
  margin-top: 18px;
  border: 1px solid #e6e6e6;
  padding: 14px 16px;
  font-size: 12px;
  line-height: 1.9;
}

.side-card .hd2 { font-size: 13px; font-weight: bold; color: var(--blue); margin-bottom: 6px; }
.side-card .tel { font-size: 16px; font-weight: bold; color: var(--blue); font-variant-numeric: tabular-nums; }
.side-card .qr { width: 120px; margin: 8px auto 0; border: 1px solid #e6e6e6; padding: 3px; background: #fff; }

/* ---------- 右栏内容 ---------- */
.content { min-width: 0; }

.entry-head {
  border-bottom: 4px solid var(--blue);
  padding-bottom: 8px;
  margin-bottom: 18px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.entry-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  color: var(--blue);
}

.entry-head .en {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #b0b7c1;
  white-space: nowrap;
}

.prose-body { font-size: 13px; line-height: 2; color: #555; }
.prose-body p { margin: 0 0 12px; }
.prose-body h3 {
  font-size: 14px;
  color: var(--blue);
  margin: 22px 0 8px;
  padding-left: 10px;
  border-left: 3px solid var(--blue);
  line-height: 1.5;
}
.prose-body ul { margin: 0 0 12px; padding-left: 0; }
.prose-body ul li {
  padding-left: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23004593'/%3E%3C/svg%3E") no-repeat 2px 11px;
  line-height: 2;
}

.note-line {
  margin: 0 0 14px;
  padding: 9px 12px;
  background: #fbf6ea;
  border-left: 3px solid #c9a227;
  font-size: 12px;
  line-height: 1.8;
  color: #7a6420;
}

/* 表格 */
.tbl-wrap { overflow-x: auto; margin: 0 0 16px; }

table.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  min-width: 520px;
}

table.spec caption {
  caption-side: top;
  text-align: left;
  font-size: 12px;
  color: #8b9099;
  padding-bottom: 6px;
}

table.spec th,
table.spec td {
  border: 1px solid #dfe4ea;
  padding: 7px 10px;
  text-align: center;
  white-space: nowrap;
}

table.spec thead th {
  background: #eef3fa;
  color: var(--blue);
  font-weight: bold;
}

table.spec tbody tr:nth-child(even) { background: #fafbfd; }

table.spec td.dash { color: #b9c2cd; }

/* 卡片网格（产品/案例） */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}

.p-card {
  border: 1px solid #e6e6e6;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.p-card:hover {
  border-color: var(--blue);
  box-shadow: 0 10px 24px -16px rgba(0, 69, 147, .5);
  transform: translateY(-2px);
}

.p-card .thumb { height: 118px; overflow: hidden; background: #eef3fa; }
.p-card .thumb img { width: 100%; height: 100%; object-fit: cover; }

.p-card .bd { padding: 11px 13px 13px; display: flex; flex-direction: column; flex: 1; }
.p-card h3 { margin: 0 0 4px; font-size: 14px; color: #333; }
.p-card .meta { font-size: 11px; color: #98a1ab; margin-bottom: 6px; }
.p-card p { margin: 0 0 10px; font-size: 12px; line-height: 1.8; color: #777; }
.p-card .go { margin-top: auto; font-size: 12px; color: var(--blue); }

/* 案例条目 */
.case-item {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px dashed #e0e4ea;
}

.case-item img { width: 190px; height: 124px; object-fit: cover; border: 1px solid #e6e6e6; }
.case-item h3 { margin: 0 0 6px; font-size: 15px; color: #333; }
.case-item .tag {
  display: inline-block;
  font-size: 11px;
  color: var(--blue);
  background: #eef3fa;
  padding: 1px 8px;
  margin-bottom: 8px;
}
.case-item p { margin: 0; font-size: 12px; line-height: 1.9; color: #777; }

/* 流程步骤 */
.steps { counter-reset: step; margin: 0 0 16px; padding: 0; list-style: none; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 14px 40px;
  font-size: 12px;
  line-height: 1.9;
  color: #666;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font: bold 12px/24px Arial, sans-serif;
  text-align: center;
}
.steps li::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 30px;
  bottom: 2px;
  width: 1px;
  background: #e0e6ef;
}
.steps li:last-child::after { display: none; }
.steps strong { color: #333; }

/* 下载条目 */
.dl-list { margin: 0; padding: 0; list-style: none; }
.dl-list li { border-bottom: 1px dashed #e0e4ea; }
.dl-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 2px;
  font-size: 13px;
}
.dl-list a::before {
  content: "PDF";
  flex: none;
  width: 32px;
  text-align: center;
  font: 9px/15px Arial, sans-serif;
  color: #fff;
  background: #b43a2f;
  border-radius: 2px;
}
.dl-list .size { margin-left: auto; color: #a4acb6; font-size: 11px; }
.dl-list a:hover { color: var(--blue); }

/* 询价表单 */
.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  margin-top: 6px;
}
.quote-form .full { grid-column: 1 / -1; }
.quote-form label { display: block; font-size: 12px; color: #6b7280; margin-bottom: 4px; }
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid #d8dee7;
  padding: 8px 10px;
  font: 12px/1.6 var(--font);
  color: #333;
  background: #fff;
  border-radius: 2px;
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 2px solid rgba(0, 69, 147, .25);
  border-color: var(--blue);
}
.quote-form textarea { min-height: 92px; resize: vertical; }
.quote-form .actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.quote-form button {
  height: 36px;
  padding: 0 22px;
  border: 0;
  border-radius: 2px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}
.quote-form button:hover { background: var(--blue-hover); }
.quote-form .hint { font-size: 11px; color: #98a1ab; }
.quote-form .msg { font-size: 12px; color: #2e7d32; }

/* 联系方式表 */
.info-list { margin: 0; padding: 0; list-style: none; }
.info-list li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed #e0e4ea;
  font-size: 13px;
}
.info-list .k { flex: none; width: 70px; color: #98a1ab; }

/* 内页响应式 */
@media (max-width: 1050px) {
  .page-banner, .breadcrumb, .inner-layout { max-width: 100%; }
  .page-banner .inner-wrap { padding: 0 18px; }
  .inner-layout { grid-template-columns: 210px minmax(0, 1fr); column-gap: 24px; padding: 20px 16px 28px; }
}

@media (max-width: 820px) {
  .page-banner { height: 200px; }
  .page-banner h2 { font-size: 24px; }
  .inner-layout { grid-template-columns: 1fr; row-gap: 22px; }
  .side-nav { order: 2; }
  .side-card { order: 3; }
  .content { order: 1; }
  .case-item { grid-template-columns: 1fr; }
  .case-item img { width: 100%; height: 170px; }
  .quote-form { grid-template-columns: 1fr; }
}

/* ---------- 多页版补充 ---------- */
.btn-line {
  display: inline-block;
  padding: 6px 14px;
  background: var(--blue);
  color: #fff;
  font-size: 12.5px;
  border-radius: 2px;
}
.btn-line:hover { background: var(--blue-hover); color: #fff; }

.news-list.news-full a { gap: 16px; align-items: baseline; }
.news-list .cat {
  flex: none;
  width: 60px;
  text-align: right;
  font-size: 11px;
  color: #a4acb6;
}
.news-list.news-full li { padding: 6px 0 6px 12px; border-bottom: 1px dashed #e6ebf2; }

code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11.5px;
  background: #f2f5f9;
  padding: 1px 5px;
  border-radius: 2px;
  color: #3d4b5c;
}

/* 移动端：内容在左栏之前；表格滑动提示 */
.tbl-tip { display: none; }
@media (max-width: 820px) {
  .side-col { order: 2; }
  .content { order: 1; }
  .tbl-tip { display: block; font-size: 11px; color: #98a1ab; margin: -6px 0 16px; }
}

/* ---------- 填充版补充 ---------- */
.table-note,
.tbl-note {
  font-size: 11.5px;
  line-height: 1.8;
  color: #6b7280;
  background: #f7f9fc;
  border-left: 3px solid #c9a227;
  padding: 7px 12px;
  margin: -4px 0 14px;
}

.case-meta {
  font-size: 12px;
  color: #8b9099;
  margin: 0 0 6px !important;
}

.dl-desc {
  margin: -6px 0 8px;
  padding-left: 44px;
  font-size: 11.5px;
  color: #98a1ab;
  line-height: 1.7;
}

.dl-list li { padding-bottom: 4px; }

/* ---------- 四语切换器：窄屏不要撑破头部 ---------- */
@media (max-width: 760px) {
  .header {
    height: auto;
    min-height: 64px;
    flex-wrap: wrap;
    row-gap: 2px;
    padding: 8px 16px;
  }
  .lang { font-size: 11px; }
}

@media (max-width: 520px) {
  .logo img { height: 38px; }
  .lang {
    width: 100%;
    text-align: right;
    padding-top: 2px;
    border-top: 1px solid rgba(0, 69, 147, .08);
  }
}

/* ---------- 三栏在窄屏被 min-content 撑破：允许收缩 ---------- */
.cols > * { min-width: 0; }

@media (max-width: 880px) {
  .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 620px) {
  .cols { grid-template-columns: minmax(0, 1fr); }
  .case-grid { grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr); }
}

/* 长串（电话、邮箱、网址）不要撑破容器 */
.case-list button, .news-list .t { min-width: 0; }

/* ---------- 页脚署名 ---------- */
.site-footer .credit,
.footer .credit {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 255, 255, .25);
  font-size: 12px;
  opacity: .9;
}
.footer .credit strong { letter-spacing: .04em; }

/* ---------- 赞助卡片（浅色主题适配） ---------- */
.pay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 16px 0 14px;
}

.pay-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 14px 14px 12px;
  border: 1px solid #e0e6ef;
  border-radius: 4px;
  background: #fff;
}

.pay-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pay-head h3 { margin: 0; font-size: 15px; font-weight: bold; color: #004593; }
.chain-badge {
  flex: none;
  padding: 1px 7px;
  border: 1px solid #d8e0ea;
  border-radius: 999px;
  font-size: 10.5px;
  color: #6b7a8d;
  white-space: nowrap;
}

.qr-box {
  display: grid;
  place-items: center;
  padding: 8px;
  border-radius: 3px;
  background: #fff;
  border: 1px solid #eef1f5;
}
.qr-box img { width: 100%; max-width: 132px; height: auto; }

.pay-label { margin: 0; font-size: 11px; color: #98a1ab; }

.pay-addr {
  display: block;
  padding: 7px 9px;
  border: 1px solid #e0e6ef;
  border-radius: 3px;
  background: #f7f9fc;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 10.5px;
  line-height: 1.6;
  letter-spacing: .01em;
  word-break: break-all;
  color: #33445c;
  user-select: all;
}

.pay-actions { display: flex; gap: 6px; }
.pay-actions .copy-btn { flex: 1; margin: 0; height: 28px; }
.pay-link {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  border: 1px solid #d8e0ea;
  border-radius: 999px;
  font-size: 11.5px;
  color: #004593;
}
.pay-link:hover { border-color: #004593; }

.pay-contract {
  margin: 0;
  padding-top: 6px;
  border-top: 1px dashed #e6ebf2;
  font-size: 10.5px;
  color: #98a1ab;
}
.pay-contract a { color: #004593; font-family: ui-monospace, Consolas, monospace; }

.pay-note {
  margin: 0 0 16px;
  padding: 10px 12px;
  border: 1px solid #e6ebf2;
  border-left: 3px solid #c9a227;
  border-radius: 3px;
  background: #f7f9fc;
  font-size: 11.5px;
  line-height: 1.85;
  color: #55657a;
}
.pay-note strong { color: #33445c; }

/* 复制成功文案按语言切换 */
html[lang="en"] .copy-btn[data-state="copied"]::after { content: "Copied"; }
html[lang="ja"] .copy-btn[data-state="copied"]::after { content: "コピー済み"; }
html[lang="zh-Hant"] .copy-btn[data-state="copied"]::after { content: "已複製"; }
