/* 衡阳弘尊建筑工程有限公司 官网样式
   主色 深蓝 #0F3460 | 点缀 金 #B8860B | 正文 #222222 | 说明灰 #666666 */

:root {
  --blue: #0f3460;
  --blue-dark: #0a2545;
  --blue-light: #1a4a80;
  --gold: #b8860b;
  --text: #222222;
  --gray: #666666;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --max: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Source Han Sans SC", "Noto Sans SC", "PingFang SC",
    "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ============ 顶部条 ============ */
.topbar {
  background: var(--blue-dark);
  color: #c9d6e5;
  font-size: 13px;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
}
.topbar span { margin-right: 18px; }
.topbar a:hover { color: #fff; }

/* ============ 头部导航 ============ */
.header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark {
  width: 46px; height: 46px;
  background: var(--blue);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; letter-spacing: 1px;
  border-radius: 2px;
}
.logo-txt strong {
  display: block; font-size: 19px; color: var(--blue);
  letter-spacing: 1px; line-height: 1.3;
}
.logo-txt span { font-size: 12px; color: var(--gray); letter-spacing: 2px; }

.nav { display: flex; align-items: center; flex-shrink: 0; }
.nav > ul { display: flex; flex-wrap: nowrap; list-style: none; margin: 0; padding: 0; }
.nav > ul > li { position: relative; flex: 0 0 auto; }
.nav > ul > li > a {
  display: flex; align-items: center;
  height: 81px; padding: 0 13px;
  font-size: 15px; color: var(--text);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.nav > ul > li > a:hover { color: var(--blue); }
.nav > ul > li.active > a { color: var(--blue); border-bottom-color: var(--gold); }

.dropdown {
  display: none;
  position: absolute; top: 100%; left: 0;
  min-width: 168px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 2px solid var(--blue);
  box-shadow: 0 6px 18px rgba(15, 52, 96, 0.1);
  list-style: none; margin: 0; padding: 6px 0;
}
.nav li:hover .dropdown { display: block; }
.dropdown li a {
  display: block; padding: 9px 18px; font-size: 14px; color: #444;
}
.dropdown li a:hover { background: var(--bg-soft); color: var(--blue); }

.menu-btn { display: none; background: none; border: 0; font-size: 26px; color: var(--blue); cursor: pointer; }

/* ============ Banner / 页头 ============ */
.hero {
  background: linear-gradient(120deg, #0a2545 0%, #0f3460 55%, #1a4a80 100%);
  color: #fff;
  padding: 92px 0 88px;
  position: relative;
}
.hero::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px;
  background: var(--gold);
}
.hero h1 { font-size: 40px; line-height: 1.45; margin: 0 0 18px; font-weight: 700; }
.hero p { font-size: 18px; color: #d3deeb; margin: 0 0 12px; }
.hero .btn-row { margin-top: 32px; }

.page-head {
  background: linear-gradient(120deg, #0a2545 0%, #0f3460 100%);
  color: #fff; padding: 54px 0 50px;
}
.page-head h1 { font-size: 30px; margin: 0 0 8px; font-weight: 700; }
.page-head p { margin: 0; color: #c2d0e0; font-size: 15px; }
.crumb { font-size: 13px; color: #a9bbd0; margin-bottom: 10px; }
.crumb a:hover { color: #fff; }

/* ============ 按钮 ============ */
.btn {
  display: inline-block; padding: 12px 30px;
  background: var(--gold); color: #fff; font-size: 15px;
  border: 0; border-radius: 2px; cursor: pointer;
}
.btn:hover { background: #9c7209; }
.btn-o {
  display: inline-block; padding: 11px 28px;
  border: 1px solid #7d95b3; color: #fff; font-size: 15px; border-radius: 2px;
}
.btn-o:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-blue { background: var(--blue); color: #fff; padding: 12px 30px; display: inline-block; }
.btn-blue:hover { background: var(--blue-dark); }

/* ============ 区块 ============ */
.section { padding: 72px 0; }
.section.soft { background: var(--bg-soft); }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head h2 {
  font-size: 28px; color: var(--blue); margin: 0 0 10px; font-weight: 700;
}
.sec-head .en { font-size: 12px; letter-spacing: 3px; color: var(--gold); text-transform: uppercase; }
.sec-head p { color: var(--gray); margin: 0; }
.bar { width: 46px; height: 3px; background: var(--gold); margin: 14px auto 0; }

.lead { font-size: 17px; line-height: 2; color: #333; }
.muted { color: var(--gray); font-size: 14px; }

/* 两栏图文 */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

/* 卡片 */
.cards { display: grid; gap: 24px; }
.c3 { grid-template-columns: repeat(3, 1fr); }
.c2 { grid-template-columns: repeat(2, 1fr); }
.c4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line);
  padding: 30px 26px; transition: box-shadow .2s;
}
.card:hover { box-shadow: 0 8px 24px rgba(15, 52, 96, 0.1); }
.card h3 { margin: 0 0 12px; font-size: 18px; color: var(--blue); }
.card p { margin: 0; color: #555; font-size: 15px; line-height: 1.9; }
.card .num {
  display: inline-block; width: 34px; height: 34px; line-height: 34px;
  text-align: center; background: var(--blue); color: #fff;
  font-size: 15px; margin-bottom: 14px;
}

/* 优势条目 */
.adv-item { border-left: 3px solid var(--blue); padding: 2px 0 2px 18px; }
.adv-item h4 { margin: 0 0 6px; font-size: 17px; color: var(--blue); }
.adv-item p { margin: 0; color: #555; font-size: 15px; }

/* 子栏目导航 */
.subnav { background: #fff; border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; flex-wrap: wrap; gap: 4px; }
.subnav a {
  display: block; padding: 14px 20px; font-size: 15px; color: #555;
  border-bottom: 3px solid transparent;
}
.subnav a:hover { color: var(--blue); }
.subnav a.on { color: var(--blue); border-bottom-color: var(--gold); font-weight: 600; }

/* 分类筛选按钮 */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.tab {
  padding: 8px 22px; font-size: 15px; background: #fff; cursor: pointer;
  border: 1px solid var(--line); color: #555; font-family: inherit;
}
.tab:hover { border-color: var(--blue); color: var(--blue); }
.tab.on { background: var(--blue); border-color: var(--blue); color: #fff; }

/* 图片占位 */
.ph {
  background: linear-gradient(180deg, #eef2f7 0%, #e2e8f0 100%);
  border: 1px dashed #b9c6d6;
  color: #8093aa;
  display: flex; align-items: center; justify-content: center;
  text-align: center; font-size: 14px;
  min-height: 220px; padding: 20px; border-radius: 2px;
}
.ph.sm { min-height: 150px; }
.ph.lg { min-height: 340px; }

/* 项目卡片 */
.proj-card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.proj-card .ph { border: 0; border-bottom: 1px solid var(--line); min-height: 210px; }
/* 有图的卡片：固定高度 + 裁切，避免不同比例的原图把网格撑得高低不齐 */
.pc-img { position: relative; }
.pc-img img { display: block; width: 100%; height: 210px; object-fit: cover; border-bottom: 1px solid var(--line); }
/* 右下角「N 图」角标：这张图册还有更多实景照 */
.pc-count {
  position: absolute; right: 10px; bottom: 10px;
  background: rgba(15, 52, 96, .78); color: #fff;
  font-size: 12px; padding: 3px 9px; border-radius: 3px;
}
#proj-detail img, #news-detail img { display: block; width: auto; height: auto; max-width: 100%; max-height: 620px; margin: 0 auto; }

/* 项目详情页图集（多图） */
.pd-stage {
  position: relative; background: #f4f6f9; border: 1px solid var(--line);
  padding: 14px; text-align: center;
}
#proj-detail .pd-main, #news-detail .pd-main { max-height: 560px; cursor: zoom-in; }
.pd-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 60px; border: 0; line-height: 1;
  background: rgba(15, 52, 96, .5); color: #fff; font-size: 28px; cursor: pointer;
}
.pd-nav:hover { background: rgba(15, 52, 96, .82); }
.pd-nav.prev { left: 0; }
.pd-nav.next { right: 0; }
.pd-count {
  position: absolute; right: 14px; bottom: 14px;
  background: rgba(15, 52, 96, .7); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 3px;
}
.pd-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 6px; }
#proj-detail .pd-thumb, #news-detail .pd-thumb {
  width: 104px; height: 74px; max-height: none; margin: 0;
  object-fit: cover; border: 2px solid transparent; border-radius: 2px; cursor: pointer;
}
#proj-detail .pd-thumb.on, #news-detail .pd-thumb.on { border-color: var(--gold); }

/* 灯箱：点击大图全屏查看 */
.lb { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 9999;
      background: rgba(0, 0, 0, .88); display: flex; align-items: center; justify-content: center; }
.lb img { max-width: 92vw; max-height: 86vh; }
.lb .lb-x { position: absolute; top: 16px; right: 26px; color: #fff; font-size: 34px; cursor: pointer; }
.lb .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0;
              color: #fff; font-size: 46px; cursor: pointer; padding: 0 24px; }
.lb .lb-prev { left: 6px; }
.lb .lb-next { right: 6px; }
.lb .lb-c { position: absolute; bottom: 24px; color: #ddd; font-size: 14px; }

@media (max-width: 640px) {
  #proj-detail .pd-thumb, #news-detail .pd-thumb { width: 74px; height: 56px; }
  .pd-nav { width: 34px; height: 50px; font-size: 22px; }
}
.proj-body { padding: 22px 24px 26px; }
.proj-body h3 { margin: 0 0 6px; font-size: 19px; color: var(--blue); }
.proj-meta { font-size: 13px; color: var(--gray); margin-bottom: 12px; }
.proj-body p { margin: 0 0 16px; font-size: 15px; color: #555; }
.tag {
  display: inline-block; padding: 2px 10px; font-size: 12px;
  border: 1px solid var(--blue); color: var(--blue); margin-right: 6px;
}
.tag.gold { border-color: var(--gold); color: var(--gold); }
.tag.green { border-color: #2e7d52; color: #2e7d52; }
.tag.gray { border-color: #999; color: #777; }
.tag.red { border-color: #b0483e; color: #b0483e; }

/* 时间轴 */
.timeline { border-left: 2px solid var(--line); padding-left: 30px; }
.tl-item { position: relative; padding-bottom: 30px; }
.tl-item::before {
  content: ""; position: absolute; left: -37px; top: 8px;
  width: 12px; height: 12px; background: var(--blue); border-radius: 50%;
  border: 2px solid #fff;
}
.tl-year { font-size: 20px; color: var(--blue); font-weight: 700; }
.tl-item p { margin: 4px 0 0; color: #555; }

/* 新闻列表 */
.news-item {
  display: grid; grid-template-columns: 130px 1fr;
  gap: 26px; padding: 24px 0; border-bottom: 1px solid var(--line);
}
.news-date { text-align: center; background: var(--bg-soft); padding: 12px 0; }
.news-date .d { font-size: 26px; color: var(--blue); font-weight: 700; line-height: 1.2; }
.news-date .y { font-size: 12px; color: var(--gray); }
.news-item h3 { margin: 4px 0 8px; font-size: 18px; color: var(--blue); }
.news-item p { margin: 0; color: #666; font-size: 15px; }
/* 有配图的新闻：右侧多出一列缩略图 */
.news-item.has-img { grid-template-columns: 130px 1fr 220px; }
.news-thumb {
  position: relative; display: block; width: 220px; height: 132px;
  border-radius: 6px; overflow: hidden; background: var(--bg-soft);
  border: 1px solid var(--line);
}
.news-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.news-thumb:hover img { transform: scale(1.05); }

/* 表格 */
.tbl { width: 100%; border-collapse: collapse; }
.tbl th, .tbl td { border: 1px solid var(--line); padding: 12px 16px; font-size: 15px; }
.tbl th { background: var(--bg-soft); color: var(--blue); text-align: left; width: 150px; }
.tbl tr td { color: #444; }

/* 表单 */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; color: #444; margin-bottom: 7px; }
.field label i { color: #c0392b; font-style: normal; }
.field input, .field select, .field textarea {
  border: 1px solid #cfd8e3; padding: 11px 13px; font-size: 15px;
  font-family: inherit; background: #fff; color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--blue);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 13px; color: var(--gray); margin-top: 6px; }
.form-msg {
  display: none; margin-top: 18px; padding: 14px 18px;
  background: #eef4fa; border-left: 3px solid var(--blue); font-size: 15px;
}

/* 联系条 */
.cta {
  background: var(--blue); color: #fff; padding: 54px 0; text-align: center;
}
.cta h2 { margin: 0 0 10px; font-size: 26px; }
.cta p { margin: 0 0 26px; color: #cfdcec; }

/* 下载列表 */
.dl-item {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 22px; border: 1px solid var(--line); margin-bottom: 14px; background: #fff;
}
.dl-item:hover { box-shadow: 0 8px 24px rgba(15, 52, 96, 0.08); }
.dl-item .name { font-size: 17px; color: var(--blue); }
.dl-item .desc { font-size: 13px; color: var(--gray); margin-top: 4px; }
.dl-item .btn-dl {
  display: inline-block; padding: 8px 20px;
  border: 1px solid var(--blue); color: var(--blue); font-size: 14px; white-space: nowrap;
}
.dl-item .btn-dl:hover { background: var(--blue); color: #fff; }
.dl-item .btn-dl.off { border-color: var(--line); color: #9aa3ad; cursor: default; }
.dl-item .btn-dl.off:hover { background: none; color: #9aa3ad; }

/* 文件类型图标 */
.dl-ico {
  flex: 0 0 auto; width: 54px; height: 54px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px; color: #fff; background: var(--blue);
}
.dl-ico.pdf  { background: #c0392b; }
.dl-ico.doc  { background: #2b579a; }
.dl-ico.xls  { background: #1e7145; }
.dl-ico.zip  { background: #8e6e38; }
.dl-ico.img  { background: #7a5ea8; }
.dl-ico.file { background: #6b7684; }
.dl-info { flex: 1 1 auto; min-width: 0; }
.dl-meta { margin-top: 6px; font-size: 12.5px; color: #9aa3ad; }
.dl-act { flex: 0 0 auto; text-align: center; }
.dl-size { margin-top: 6px; font-size: 12px; color: #9aa3ad; min-height: 16px; }
@media (max-width: 640px) {
  .dl-item { flex-wrap: wrap; gap: 12px; }
  .dl-act { width: 100%; text-align: left; }
  .dl-size { margin-top: 0; }
  .dl-item .btn-dl { width: 100%; text-align: center; }
}

/* 招标比选列表 */
.bid-item {
  display: grid; grid-template-columns: 108px 1fr 150px;
  gap: 24px; align-items: center;
  padding: 20px 22px; border: 1px solid var(--line); border-left: 3px solid var(--blue);
  margin-bottom: 14px; background: #fff;
}
.bid-item:hover { box-shadow: 0 8px 24px rgba(15, 52, 96, 0.08); }
.bid-date { text-align: center; background: var(--bg-soft); padding: 10px 0; }
.bid-date .d { font-size: 24px; color: var(--blue); font-weight: 700; line-height: 1.2; }
.bid-date .y { font-size: 12px; color: var(--gray); }
.bid-main h3 { margin: 0 0 7px; font-size: 17px; color: var(--blue); line-height: 1.5; font-weight: 600; }
.bid-main h3 a { color: var(--blue); }
.bid-main h3 a:hover { color: var(--gold); }
.bid-meta { font-size: 13px; color: var(--gray); display: flex; flex-wrap: wrap; gap: 4px 2px; align-items: center; }
.bid-left {
  display: inline-block; margin-left: 8px; padding: 1px 9px; font-size: 12px;
  background: #fdf3dc; color: #8a6608; border-radius: 10px;
}
.bid-left.over { background: #eef2f7; color: #777; }
.bid-main p {
  margin: 8px 0 0; font-size: 14px; color: #666; line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bid-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.bid-side .btn-dl {
  display: inline-block; margin-top: 2px; padding: 5px 14px;
  font-size: 13px; color: var(--blue);
  border: 1px solid var(--line); background: #fff;
}
.bid-side .btn-dl:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
/* 首页/侧栏精简列表 */
.bid-brief { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.bid-brief:last-child { border-bottom: 0; }
.bid-brief > a { font-size: 16px; color: var(--blue); line-height: 1.6; }
.bid-brief > a:hover { color: var(--gold); }
.bid-brief-meta { margin-top: 6px; font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bid-brief-meta .bid-left { margin-left: 0; }
/* 公告详情 */
.bid-detail-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
  margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.bid-body {
  margin-top: 28px; font-size: 16px; line-height: 2; color: #333;
  padding-top: 24px; border-top: 1px solid var(--line);
}
.bid-side .tag { margin: 0; }

/* 中标候选人公示 */
.tag.goldline { border-color: var(--gold); background: var(--gold); color: #fff; }
.award-block {
  margin-top: 30px; padding: 24px 26px 26px;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold);
}
.award-block.live { box-shadow: 0 6px 20px rgba(184, 134, 11, 0.1); }
.award-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.award-head h3 { margin: 0; font-size: 20px; color: var(--blue); }
.award-bar {
  padding: 10px 16px; margin-bottom: 18px; font-size: 14px;
  background: #fdf9ef; border: 1px solid #f0e2be; color: #7a5c0a;
}
.award-block:not(.live) .award-bar { background: var(--bg-soft); border-color: var(--line); color: var(--gray); }
.award-bar .bid-left { background: #fff; margin-left: 8px; }
.award-tbl { margin-bottom: 0; table-layout: fixed; }
.award-tbl thead th {
  width: auto; text-align: center; font-size: 14px; font-weight: 500;
  background: var(--blue); color: #fff; border-color: var(--blue);
}
.award-tbl thead th.c-rank { width: 20%; }
.award-tbl thead th.c-price { width: 24%; }
.award-tbl thead th.c-rem { width: 22%; }
.award-tbl tbody th { width: 20%; font-weight: 500; font-size: 15px; white-space: nowrap; background: var(--bg-soft); color: var(--blue); }
.award-tbl tbody td { font-size: 15px; color: #333; }
.award-tbl tbody td:nth-child(3) { white-space: nowrap; }
.award-tbl tbody tr.first th { background: #fdf3dc; color: #8a6608; }
.award-tbl tbody tr.first td { background: #fffdf6; font-weight: 600; }
.award-note {
  margin-top: 18px; padding: 14px 20px; line-height: 1.9;
  font-size: 14px; color: #444; background: var(--bg-soft); border-left: 3px solid var(--blue);
}
.award-note .t { margin-bottom: 4px; color: var(--blue); font-weight: 600; }

/* 资质证书占位墙 */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert {
  border: 1px solid var(--line); background: #fff; padding: 14px; text-align: center;
}
.cert .ph { min-height: 200px; font-size: 13px; }
.cert span { display: block; margin-top: 10px; font-size: 14px; color: #444; }
/* 已上传的证书：统一高度、完整显示（证书多为竖版，用 contain 不裁切），点击放大 */
.cert > img {
  width: 100%; height: 200px; object-fit: contain; background: #fafbfc;
  border: 1px solid var(--line); border-radius: 4px; cursor: zoom-in; display: block;
}
.cert-meta { margin-top: 6px; font-size: 12.5px; color: #6b7684; line-height: 1.7; }
.cert-note { margin-top: 4px; font-size: 12.5px; color: #8a94a0; line-height: 1.6; }

/* ============ 页脚 ============ */
.footer { background: #0a2545; color: #b8c8db; padding: 56px 0 0; font-size: 14px; }
.footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 36px; }
.footer h4 { color: #fff; font-size: 16px; margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin-bottom: 9px; }
.footer a:hover { color: #fff; }
.footer .f-logo strong { color: #fff; font-size: 18px; }
.footer .f-logo p { color: #94a9c0; margin: 12px 0 0; line-height: 1.9; }
.qr {
  width: 108px; height: 108px; background: #fff; color: #8093aa;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; text-align: center; padding: 8px;
}
.f-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 40px; padding: 20px 0; font-size: 13px; color: #8fa5bf;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ============ 响应式 ============ */
/* 一级栏目较多，中等宽度先收紧内边距，避免挤压折行 */
@media (max-width: 1200px) {
  .nav > ul > li > a { padding: 0 11px; }
}
@media (max-width: 1080px) {
  .nav > ul > li > a { padding: 0 8px; font-size: 14px; }
  .logo-txt span { letter-spacing: 1px; }
}
@media (max-width: 992px) {
  .two-col { grid-template-columns: 1fr; gap: 28px; }
  .c3, .c4 { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .menu-btn { display: block; }
  .nav.open {
    display: block; position: absolute; top: 84px; left: 0; width: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08); max-height: 70vh; overflow-y: auto;
  }
  .nav.open > ul { display: block; }
  .nav.open > ul > li > a { height: auto; padding: 14px 24px; border-bottom: 1px solid var(--line); }
  .nav.open .dropdown {
    display: block; position: static; border: 0; box-shadow: none; padding: 0 0 6px 14px;
  }
  .header .wrap { position: relative; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 16px; }
}
@media (max-width: 640px) {
  .c2, .c3, .c4 { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .news-item, .news-item.has-img { grid-template-columns: 1fr; gap: 10px; }
  .news-thumb { width: 100%; height: 200px; }
  .news-date { display: flex; gap: 10px; align-items: baseline; width: 130px; padding: 6px 10px; }
  .bid-item { grid-template-columns: 1fr; gap: 12px; }
  .bid-date { display: flex; gap: 10px; align-items: baseline; width: 108px; padding: 6px 10px; }
  .bid-side { text-align: left; }
  .footer .cols { grid-template-columns: 1fr; }
  .award-block { padding: 18px 14px 20px; }
  .award-tbl { display: block; overflow-x: auto; table-layout: auto; }
  .award-tbl th, .award-tbl td { white-space: nowrap; }
  .section { padding: 48px 0; }
  .topbar .wrap { justify-content: center; padding: 0 12px; }
  .topbar .r { display: none; }
  .topbar .l { display: flex; gap: 8px; justify-content: center; min-width: 0; }
  .topbar span { margin-right: 0; font-size: 12px; white-space: nowrap; }
  .header .wrap { padding: 0 14px; }
  .logo-txt span { font-size: 10px; letter-spacing: 1px; }
}

/* ===== 项目卡片无图占位（按分类配色的色块，对外更体面） ===== */
.pc-ph {
  height: 210px; border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #eef2f7 0%, #e2e9f2 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
}
.pc-ph .pc-ph-t { color: var(--blue); font-size: 18px; letter-spacing: 4px; font-weight: 600; }
.pc-ph .pc-ph-s { color: #9aa8b8; font-size: 12px; letter-spacing: 2px; }
.pc-ph.park { background: linear-gradient(135deg, #eef4f2 0%, #dfe9e5 100%); }
.pc-ph.park .pc-ph-t { color: #1c5b4c; }
.pc-ph.build { background: linear-gradient(135deg, #f5f2ec 0%, #eae2d6 100%); }
.pc-ph.build .pc-ph-t { color: #7a5a22; }
.pc-ph.service { background: linear-gradient(135deg, #f2f0f7 0%, #e6e2ef 100%); }
.pc-ph.service .pc-ph-t { color: #4a3c74; }

/* ===== 经营范围标签 ===== */
.scope-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.scope-grid span {
  display: inline-block; padding: 8px 16px; background: #fff;
  border: 1px solid var(--line); border-left: 3px solid var(--gold);
  font-size: 14px; color: #33475f;
}

/* ===== 项目详情页 ===== */
.pd-hd { padding-bottom: 18px; border-bottom: 2px solid var(--blue); margin-bottom: 26px; }
.pd-hd h1 { color: var(--blue); margin: 0 0 12px; font-size: 29px; line-height: 1.45; }
.pd-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.pd-lead { color: #445566; font-size: 16px; margin: 0; }

.pd-kpi {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.pd-kpi-i { background: #fff; padding: 15px 18px; }
.pd-kpi-i span { display: block; color: var(--gray); font-size: 12px; letter-spacing: 1px; }
.pd-kpi-i b { display: block; color: var(--blue); font-size: 16px; margin-top: 3px; font-weight: 600; }

.pd-sec { margin-top: 44px; }
.pd-h {
  font-size: 21px; color: var(--blue); margin: 0 0 4px;
  padding-left: 12px; border-left: 4px solid var(--gold); line-height: 1.35;
}
.pd-sub { color: var(--gray); font-size: 13px; margin: 0 0 14px; padding-left: 16px; }
.pd-p { color: #445566; margin: 14px 0 18px; }
.pd-tbl { margin-top: 4px; }
.pd-tbl th { width: 130px; }

/* 工程内容清单 */
.scope-list {
  list-style: none; padding: 0; margin: 18px 0 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 26px;
}
.scope-list li { position: relative; padding-left: 22px; font-size: 15px; color: #3a4a5c; }
.scope-list li::before {
  content: ""; position: absolute; left: 5px; top: 12px;
  width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg);
}

/* 重难点与对策 */
.pd-chal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 18px; }
.pd-chal-i { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue); padding: 18px 20px; }
.pd-chal-i h4 { margin: 0 0 8px; color: var(--blue); font-size: 16px; }
.pd-chal-i p { margin: 0; color: #4a5a6c; font-size: 14.5px; }

/* 实施节点 */
.pd-ms { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 24px; }
.pd-ms-i { position: relative; padding: 18px 14px 0; }
.pd-ms-i::before {
  content: ""; position: absolute; top: 26px; left: 0; right: 0;
  height: 2px; background: var(--line);
}
.pd-ms-i:first-child::before { left: 50%; }
.pd-ms-i:last-child::before { right: 50%; }
.pd-ms-d {
  position: relative; z-index: 1; display: inline-block; background: #fff;
  padding: 3px 14px; border: 2px solid var(--line); border-radius: 20px;
  font-size: 13px; color: var(--gray);
}
.pd-ms-i.done .pd-ms-d { background: var(--blue); border-color: var(--blue); color: #fff; }
.pd-ms-i.now .pd-ms-d { border-color: var(--gold); color: var(--gold); }
.pd-ms-t { margin-top: 10px; font-size: 13.5px; color: #5a6a7c; line-height: 1.65; }

/* 质量安全文明施工 */
.pd-meas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.pd-meas-i { background: var(--bg-soft); padding: 18px 20px; }
.pd-meas-i h4 { margin: 0 0 10px; color: var(--blue); font-size: 15px; }
.pd-meas-i ul { margin: 0; padding-left: 18px; }
.pd-meas-i li { font-size: 14px; color: #4a5a6c; margin-bottom: 7px; line-height: 1.6; }

/* 项目团队 */
.pd-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.pd-team-i { background: #fff; border: 1px solid var(--line); padding: 14px 16px; }
.pd-team-i span { display: block; font-size: 12px; color: var(--gray); letter-spacing: 1px; }
.pd-team-i b { display: block; margin-top: 3px; color: var(--blue); font-size: 15px; }

/* 附件 */
.pd-files { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }

/* 相关业绩卡片在详情页内仍需固定裁切高度 */
#proj-detail .cards img { width: 100%; height: 210px; max-height: none; object-fit: cover; margin: 0; }

@media (max-width: 900px) {
  .pd-kpi { grid-template-columns: repeat(2, 1fr); }
  .pd-chal, .scope-list, .pd-meas { grid-template-columns: 1fr; }
  .pd-ms { grid-template-columns: repeat(2, 1fr); }
  .pd-ms-i::before { display: none; }
  .pd-team { grid-template-columns: repeat(2, 1fr); }
  .pd-hd h1 { font-size: 23px; }
}

/* ---------- 公司公告（首页公告栏） ---------- */
.notice-list { border-top: 1px solid #e8e8e8; }
.notice-item { border-bottom: 1px solid #e8e8e8; }
.notice-head { display: flex; align-items: center; gap: 12px; padding: 15px 6px; cursor: pointer; }
.notice-head:hover .notice-title { color: var(--blue); }
.notice-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; }
.notice-item:first-child .notice-dot { background: #c0392b; animation: noticeBlink 1.6s ease-in-out infinite; }
@keyframes noticeBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.notice-title { flex: 1; font-size: 16px; color: #333; line-height: 1.6; }
.notice-date { color: #999; font-size: 13px; flex: none; font-family: monospace, sans-serif; }
.notice-body { padding: 0 6px 18px 26px; color: #555; line-height: 2; font-size: 15px; }
@media (max-width: 640px) {
  .notice-title { font-size: 15px; }
  .notice-body { padding-left: 4px; }
}
.notice-file { margin-top: 10px; padding: 10px 14px; background: #f5f8fc; border: 1px solid #dfe8f2; border-radius: 6px; font-size: 14px; color: #555; }
.notice-file a { color: var(--blue); font-weight: 600; word-break: break-all; }
.notice-file a:hover { text-decoration: underline; }
.notice-code { font-size: 13px; color: #888; font-family: monospace, sans-serif; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px dashed #e0e0e0; }
