/* ============ 威海市高盛广告有限公司 官网样式 ============ */
:root {
  --ink: #1c2430;
  --ink-2: #2b3543;
  --paper: #ffffff;
  --paper-2: #f7f5f1;
  --gold: #b8893f;
  --gold-soft: #c8a35b;
  --muted: #6b7280;
  --line: #e7e3db;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(28, 36, 48, 0.08);
  --shadow-lg: 0 20px 50px rgba(28, 36, 48, 0.14);
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.brand .logo {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
  color: var(--gold-soft);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 20px;
}
.brand .name { font-size: 17px; letter-spacing: .5px; }
.brand .name small { display: block; font-size: 11px; color: var(--muted); font-weight: 400; letter-spacing: 2px; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
  font-size: 15px; color: var(--ink-2); position: relative; padding: 6px 0;
  transition: color .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--gold); transition: width .25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after, .nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; font-size: 15px; font-weight: 600;
  cursor: pointer; border: 1px solid transparent; transition: all .2s; white-space: nowrap;
}
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: #a3792f; transform: translateY(-1px); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(1200px 500px at 70% -10%, rgba(184,137,63,.12), transparent),
    linear-gradient(160deg, #1c2430, #2b3543 60%, #1c2430);
  color: #fff; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .5;
  pointer-events: none; /* 装饰纹理层不拦截鼠标，否则会盖住首屏按钮导致点不动 */
}
.hero-inner { position: relative; z-index: 1; padding: 110px 0 120px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero-copy { max-width: 620px; }
.hero-visual { position: relative; height: 400px; }
.hv-card { position: absolute; display: block; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; cursor: pointer; transition: transform .28s ease, box-shadow .28s ease; }
.hv-card:hover, .hv-card:focus-visible { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(0,0,0,.45); z-index: 5; }
.hv-card:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; }
.hv-card .hv-tag { position: absolute; left: 14px; top: 12px; z-index: 3; background: rgba(255,255,255,.94); color: var(--ink); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }

/* 卡片内部内容：序号 + 定位语 + 核心服务关键词 + 了解详情 */
.hv-thumb { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 44px 16px 14px; overflow: hidden; }
.hv-thumb::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.48), rgba(0,0,0,.10) 58%, transparent);
}
.hv-inner { position: relative; z-index: 1; display: flex; flex-direction: column; }
.hv-sub { font-size: 15px; font-weight: 600; color: #fff; letter-spacing: .3px; text-shadow: 0 1px 10px rgba(0,0,0,.32); }
.hv-keys { margin-top: 5px; font-size: 11.5px; line-height: 1.6; color: rgba(255,255,255,.84); letter-spacing: .2px; }
.hv-more { margin-top: 8px; font-size: 11.5px; color: rgba(255,255,255,.7); display: inline-block; transition: color .25s, transform .25s; }
.hv-card:hover .hv-more, .hv-card:focus-visible .hv-more { color: #fff; transform: translateX(3px); }
.hv-1 { width: 56%; height: 45%; left: 0; top: 0; }
.hv-2 { width: 50%; height: 43%; right: 0; top: 11%; }
.hv-3 { width: 54%; height: 45%; left: 17%; bottom: 0; }
.hero .eyebrow {
  letter-spacing: 4px; font-size: 13px; color: var(--gold-soft);
  text-transform: uppercase; margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--serif); font-size: clamp(34px, 5.4vw, 62px);
  line-height: 1.18; font-weight: 700; max-width: 16em;
}
.hero h1 .accent { color: var(--gold-soft); }
.hero p.lead { margin: 24px 0 36px; font-size: 18px; color: #d7dbe2; max-width: 40em; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; margin-top: 64px; flex-wrap: wrap; }
.hero-stats .stat .num { font-family: var(--serif); font-size: 38px; color: #fff; }
.hero-stats .stat .num span { color: var(--gold-soft); }
.hero-stats .stat .label { font-size: 13px; color: #aeb6c2; letter-spacing: 1px; }

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--paper-2); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .tag { color: var(--gold); letter-spacing: 3px; font-size: 13px; font-weight: 600; }
.section-head h2 { font-family: var(--serif); font-size: clamp(26px, 3.6vw, 40px); margin: 12px 0 14px; }
.section-head p { color: var(--muted); font-size: 16px; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.section.alt .card { background: #fff; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .ic { font-size: 34px; margin-bottom: 16px; }
.card h3 { font-family: var(--serif); font-size: 21px; margin-bottom: 10px; }
.card .cat { display: inline-block; font-size: 12px; color: var(--gold); border: 1px solid var(--gold); border-radius: 999px; padding: 2px 12px; margin-bottom: 14px; }
.card p { color: var(--muted); font-size: 15px; }
.svc-card { display: flex; flex-direction: column; }
.svc-items { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line); display: grid; gap: 10px; }
.svc-item { display: flex; flex-direction: column; gap: 2px; }
.svc-name { font-size: 15px; font-weight: 600; color: var(--ink); }
.svc-name::before { content: "·"; color: var(--gold); font-weight: 800; margin-right: 8px; }
.svc-desc { font-size: 13px; color: var(--muted); padding-left: 14px; }

/* ---------- 作品案例 ---------- */
.work-card { padding: 0; overflow: hidden; }
.work-cover { width: 100%; height: 178px; object-fit: cover; display: block; }
.work-cover.placeholder { display: grid; place-items: center; color: #fff; font-size: 15px; letter-spacing: 1px; }
.work-body { padding: 22px 26px 28px; }
.work-body .cat { margin-bottom: 10px; }
.work-body h3 { font-family: var(--serif); font-size: 19px; margin-bottom: 8px; }
.work-body p { color: var(--muted); font-size: 14px; }

/* ---------- 中标信息 ---------- */
.bid-list { display: grid; gap: 20px; }
.bid-item {
  display: grid; grid-template-columns: 160px 1fr auto; gap: 24px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px; transition: box-shadow .2s, transform .2s;
  color: inherit; text-decoration: none;
}
.bid-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.bid-link { color: var(--gold); font-size: 13px; margin-top: 8px; }
.bid-thumb { width: 160px; height: 110px; border-radius: 10px; object-fit: cover; background: var(--paper-2); }
.bid-thumb.placeholder { display: grid; place-items: center; color: var(--gold); font-size: 30px; }
.bid-main .title { font-family: var(--serif); font-size: 19px; margin-bottom: 6px; }
.bid-main .meta { color: var(--muted); font-size: 14px; }
.bid-main .meta b { color: var(--ink); font-weight: 600; }
.bid-meta-right { text-align: right; }
.bid-amount { font-family: var(--serif); font-size: 20px; color: var(--gold); }
.bid-date { color: var(--muted); font-size: 13px; }

/* ---------- 信息公开：栏目切换 ---------- */
.info-tabs {
  display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 30px;
}
.info-tab {
  font-family: inherit; font-size: 16px; color: var(--muted);
  background: none; border: none; padding: 12px 26px; cursor: pointer;
  border-bottom: 3px solid transparent; margin-bottom: -1px;
  transition: color .2s, border-color .2s;
}
.info-tab:hover { color: var(--ink); }
.info-tab.active { color: var(--ink); font-weight: 600; border-bottom-color: var(--gold); }

/* ---------- 信息公开：公告区块（蓝色标题栏 + 配图 + 列表 + MORE）---------- */
.notice-block {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); overflow: hidden;
}
.notice-head {
  position: relative;
  background: linear-gradient(90deg, #3f6488, #2a4258 68%);
  color: #fff; font-size: 17px; font-weight: 600; letter-spacing: 3px;
  padding: 12px 22px 12px 22px;
}
.notice-head::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 5px; background: var(--gold);
}
.notice-body {
  display: grid; grid-template-columns: 132px 1fr; gap: 26px;
  padding: 24px 22px 10px; align-items: start;
}
.notice-figure {
  width: 132px; height: 132px; border-radius: 10px; overflow: hidden;
  box-shadow: 0 6px 18px rgba(28, 36, 48, .16);
}
.notice-list { list-style: none; display: flex; flex-direction: column; }
.notice-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0; border-bottom: 1px dashed var(--line);
}
.notice-item:first-child { padding-top: 0; }
.notice-item:last-child { border-bottom: none; }
.notice-item::before { content: "▪"; color: var(--gold); font-size: 15px; line-height: 1; flex: none; }
.notice-item .t {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: var(--ink-2); font-size: 15px; transition: color .2s;
}
.notice-item .t:hover { color: var(--gold); }
.notice-item .d {
  color: var(--muted); font-size: 13px; white-space: nowrap; flex: none;
  font-variant-numeric: tabular-nums;
}
.notice-list .empty { padding: 26px 0; color: var(--muted); font-size: 14px; }
.notice-foot { display: flex; justify-content: flex-end; padding: 4px 22px 20px; }
.notice-more {
  display: inline-flex; align-items: center;
  background: var(--gold); color: #fff; border-radius: 6px;
  font-size: 12px; letter-spacing: 1.5px; padding: 7px 16px;
  transition: background .2s, transform .2s;
}
.notice-more:hover { background: #a3762f; transform: translateX(2px); }

/* ---------- 招标公告：全部列表页 ---------- */
/* 注：input 自身带 class="field" 时需单独定义（.field input 是后代选择器，匹配不到） */
input.field, .tender-search {
  width: 100%; max-width: 420px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: var(--sans); background: #fff; color: var(--ink);
}
input.field:focus, .tender-search:focus { outline: none; border-color: var(--gold); }
.tender-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; margin-bottom: 22px; flex-wrap: wrap;
}
.tender-count { color: var(--muted); font-size: 14px; }
.tender-search { max-width: 320px; margin: 0; font-size: 14px; }
.tender-list { display: flex; flex-direction: column; }
.tender-row {
  display: grid; grid-template-columns: 1fr auto 18px; gap: 20px; align-items: center;
  padding: 20px 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  margin-bottom: 14px; transition: box-shadow .2s, transform .2s, border-color .2s;
}
.tender-row:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: transparent; }
.tr-title { font-family: var(--serif); font-size: 17px; color: var(--ink); line-height: 1.55; }
.tr-meta { color: var(--muted); font-size: 13px; margin-top: 6px; }
.tr-right { text-align: right; }
.tr-date { font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.tr-deadline { font-size: 12px; color: #b4552f; margin-top: 4px; font-variant-numeric: tabular-nums; }
.tr-arrow { color: var(--gold); font-size: 20px; line-height: 1; }

/* ---------- 招标公告：详情页（模板）---------- */
.tender-section { padding: 52px 0 96px; }
.crumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted); margin-bottom: 26px;
}
.crumb a:hover { color: var(--gold); }
.crumb span { color: #c9c9c9; }
.crumb em { font-style: normal; color: var(--ink-2); }
.tender-layout { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: start; }
.tender-title {
  font-family: var(--serif); font-size: clamp(21px, 2.4vw, 28px); line-height: 1.5;
  text-align: center; margin: 0 auto 38px; max-width: 42em; color: var(--ink);
}
.tender-fields { display: grid; gap: 16px; }
.tf-row { display: grid; grid-template-columns: 88px 1fr; gap: 18px; align-items: start; }
.tf-row dt { font-weight: 600; color: var(--ink); font-size: 15px; }
.tf-row dd { color: var(--ink-2); font-size: 15px; line-height: 1.9; word-break: break-word; }
.tf-block { padding-top: 4px; }
.tf-block dd.pre { white-space: pre-wrap; }
.tender-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line);
}
.buyer-card {
  position: sticky; top: 96px;
  border: 1px solid #cfdce8; border-radius: 12px; overflow: hidden; background: #f8fbfe;
}
.bc-head {
  background: linear-gradient(90deg, #4a7ba7, #2f5d86);
  color: #fff; font-size: 14px; font-weight: 600; letter-spacing: 2px;
  padding: 11px 18px;
}
.bc-body { padding: 16px 18px; display: grid; gap: 16px; }
.bc-row { display: grid; grid-template-columns: 68px 1fr; gap: 10px; font-size: 13px; line-height: 1.75; }
.bc-row span { color: var(--muted); }
.bc-row b { font-weight: 500; color: var(--ink-2); }

/* ---------- 成交公告：公文式模板 ---------- */
.bid-doc {
  max-width: 880px; margin: 0 auto; background: #fff;
  border: 1px solid var(--line); border-radius: 14px;
  padding: 52px 60px 56px; box-shadow: 0 2px 10px rgba(20, 28, 38, .05);
}
.doc-title {
  font-family: var(--serif); font-size: clamp(21px, 2.2vw, 27px); line-height: 1.5;
  text-align: center; color: #1b4a72; letter-spacing: 1px; margin: 0 0 16px;
}
.doc-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px;
  font-size: 13px; color: var(--muted);
  padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 28px;
}
.doc-sec { margin-bottom: 22px; }
.doc-h {
  font-family: var(--sans); font-size: 16px; font-weight: 700; color: var(--ink);
  margin: 0 0 8px; line-height: 1.75;
}
.doc-p { font-size: 15px; line-height: 1.95; color: var(--ink-2); margin: 0 0 4px; word-break: break-word; }
.doc-sub { margin-top: 10px; font-weight: 600; color: var(--ink); }
.doc-table { width: 100%; border-collapse: collapse; margin: 8px 0 4px; font-size: 15px; table-layout: fixed; }
.doc-table th, .doc-table td {
  border: 1px solid #c9d2db; padding: 13px 14px; text-align: center;
  line-height: 1.7; word-break: break-word;
}
.doc-table th { background: #f4f8fb; font-weight: 600; color: var(--ink); }
.doc-table th:nth-child(1) { width: 36%; }
.doc-table th:nth-child(2) { width: 38%; }
.doc-table th:nth-child(3) { width: 26%; }
.doc-table td { color: var(--ink-2); }
.doc-table td.num { font-variant-numeric: tabular-nums; }
.doc-info { display: grid; gap: 6px; font-size: 15px; line-height: 1.9; color: var(--ink-2); }
.doc-info span { color: var(--muted); }
.doc-info b { font-weight: 500; color: var(--ink-2); }
.doc-actions {
  max-width: 880px; margin: 26px auto 0;
  display: flex; gap: 12px; flex-wrap: wrap;
}

.filters { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.filter-chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 8px 18px; font-size: 14px; cursor: pointer; transition: all .2s; color: var(--ink-2);
}
.filter-chip:hover { border-color: var(--gold); color: var(--gold); }
.filter-chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- 时间线（关于） ---------- */
.timeline { max-width: 760px; margin: 0 auto; position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 34px 28px; }
.tl-item::before {
  content: ""; position: absolute; left: -28px; top: 6px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(184,137,63,.18);
}
.tl-item .year { font-family: var(--serif); color: var(--gold); font-size: 18px; }
.tl-item h4 { font-size: 17px; margin: 4px 0 6px; }
.tl-item p { color: var(--muted); font-size: 15px; }

/* ---------- 表单 ---------- */
.form-wrap { max-width: 620px; margin: 0 auto; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: var(--sans); background: #fff; color: var(--ink); transition: border-color .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 8px; }
.msg { padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 16px; display: none; }
.msg.ok { display: block; background: #eafaf1; color: #1c7a45; border: 1px solid #b7e6c9; }
.msg.err { display: block; background: #fdecec; color: #b42323; border: 1px solid #f3c2c2; }

/* ---------- 联系信息卡 ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.info-card { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 38px 34px; }
.info-card h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 20px; color: #fff; }
.info-row { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.info-row:last-child { border-bottom: none; }
.info-row .k { color: var(--gold-soft); width: 64px; flex-shrink: 0; font-size: 14px; }
.info-card .info-row .k { width: 88px; white-space: nowrap; }
.info-row .v { color: #e6e9ef; font-size: 15px; }

/* ---------- 工商登记信息 / 资质 ---------- */
.legal-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 42px; align-items: start; }
.license-figure { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.license-figure img { width: 100%; border-radius: 8px; }
.license-figure figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 12px; }
.kv { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.kv-row { display: flex; gap: 16px; padding: 14px 22px; border-bottom: 1px solid var(--line); font-size: 15px; }
.kv-row:last-child { border-bottom: none; }
.kv-row .k { width: 126px; flex-shrink: 0; color: var(--muted); font-size: 14px; white-space: nowrap; }
.kv-row .v { color: var(--ink); word-break: break-word; }
.scope-text { font-size: 14.5px; color: var(--ink-2); line-height: 2; max-width: 980px; margin: 0 auto; }
.scope-text .lead-in { color: var(--gold); font-weight: 600; }

/* ---------- 后台 ---------- */
.admin-bar { display: flex; align-items: center; gap: 12px; justify-content: space-between; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 22px; margin-bottom: 30px; }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.admin-table th, .admin-table td { padding: 12px 14px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--line); }
.admin-table th { background: var(--paper-2); color: var(--ink-2); font-weight: 600; }
.admin-table tr:last-child td { border-bottom: none; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--ink); color: #c9cfda; padding: 60px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-family: var(--serif); font-size: 17px; margin-bottom: 16px; }
.site-footer a { color: #c9cfda; font-size: 14px; display: block; padding: 5px 0; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer .about { font-size: 14px; line-height: 1.9; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: 13px; color: #8b94a3; text-align: center; }
/* 版权与备案号各成一段，换行时不会把「·」孤立到行首 */
.footer-bottom .fb-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 16px; line-height: 1.9; }
/* 每段内部不折行，宽度不够时整段换到下一行，避免「·」被撕到行首 */
.footer-bottom .fb-row > span { white-space: nowrap; }
.footer-bottom .fb-row a:hover { color: var(--gold-soft); }

/* ---------- 顶部小条 ---------- */
.topline { background: var(--ink); color: #c9cfda; font-size: 13px; }
.topline .container { display: flex; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }

/* ---------- 工具类 ---------- */
.center { text-align: center; }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.hidden { display: none !important; }
.empty { text-align: center; color: var(--muted); padding: 40px; }

/* ---------- 滚动进场动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .legal-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 18px 24px; gap: 14px; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .bid-item { grid-template-columns: 1fr; }
  .bid-thumb { width: 100%; height: 180px; }
  .bid-meta-right { text-align: left; }
  .hero-stats { gap: 28px; }
  .hero-inner { grid-template-columns: 1fr; padding: 80px 0 90px; }
  .hero-visual { display: none; }
  .hero h1 { max-width: 100%; }
  /* 信息公开：公告区块小屏单列，隐藏配图 */
  .notice-body { grid-template-columns: 1fr; gap: 14px; padding: 18px 16px 8px; }
  .notice-figure { display: none; }
  .notice-item { gap: 8px; }
  .notice-item .t { white-space: normal; }
  .info-tab { padding: 11px 18px; font-size: 15px; }
  /* 招标公告：列表与详情小屏适配 */
  .tender-row { grid-template-columns: 1fr auto; gap: 12px; padding: 16px 18px; }
  .tr-arrow { display: none; }
  .tr-title { font-size: 16px; }
  .tender-layout { grid-template-columns: 1fr; gap: 28px; }
  .buyer-card { position: static; }
  .tf-row { grid-template-columns: 76px 1fr; gap: 12px; }
  .tender-section { padding: 38px 0 72px; }
  /* 成交公告：公文模板小屏适配 */
  .bid-doc { padding: 32px 20px 34px; border-radius: 10px; }
  .doc-meta { justify-content: flex-start; gap: 4px 14px; }
  .doc-h { font-size: 15px; }
  .doc-p, .doc-info { font-size: 14px; }
  .doc-table { font-size: 13px; }
  .doc-table th, .doc-table td { padding: 10px 8px; }
}

@media print {
  header, footer, .crumb, .doc-actions { display: none !important; }
  .bid-doc, .tender-layout { border: none; box-shadow: none; padding: 0; max-width: none; }
  .tender-section { padding: 0; }
  .bid-doc { break-inside: avoid; }
}
