/* ============================================================
   湖北沮宜工程项目管理有限责任公司 - 全站样式
   风格：稳重商务蓝灰
   ============================================================ */

:root {
  --navy: #1c3a5e;          /* 深海军蓝 - 主色 */
  --navy-deep: #14293f;     /* 更深蓝 - 页脚/渐变 */
  --steel: #3b6ea5;         /* 钢蓝 - 次色/链接 */
  --steel-light: #5b8cc4;   /* 浅钢蓝 - 悬停 */
  --gold: #c8a35b;          /* 金棕 - 点缀/强调 */
  --gold-light: #e0c489;
  --bg: #f4f6f9;            /* 页面浅灰背景 */
  --bg-soft: #eef2f7;       /* 区块浅背景 */
  --white: #ffffff;
  --text: #2c3440;          /* 正文深灰 */
  --text-soft: #5d6b7a;     /* 次要文字 */
  --line: #dde3ea;          /* 描边 */
  --shadow: 0 8px 30px rgba(20, 41, 63, 0.08);
  --shadow-hover: 0 14px 40px rgba(20, 41, 63, 0.16);
  --radius: 10px;
  --maxw: 1200px;
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB",
    "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--steel); text-decoration: none; transition: color .2s; }
a:hover { color: var(--steel-light); }

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

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------------- 顶部条 ---------------- */
.topbar {
  background: var(--navy-deep);
  color: #c9d6e4;
  font-size: 13px;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  height: 38px;
}
.topbar a { color: #c9d6e4; }
.topbar .tb-right span { margin-left: 18px; }

/* ---------------- 导航 ---------------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 14px rgba(20,41,63,0.06);
  height: var(--header-h);
}
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo .mark {
  width: 42px; height: 42px; border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), var(--steel));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 18px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.15);
}
.logo .name { font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.logo .name small { display: block; font-size: 11px; font-weight: 400; color: var(--text-soft); letter-spacing: .5px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--text); padding: 10px 14px; border-radius: 6px;
  font-size: 15px; position: relative; font-weight: 500;
}
.nav a:hover { color: var(--steel); background: var(--bg-soft); }
.nav a.active { color: var(--navy); }
.nav a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 3px; border-radius: 3px; background: var(--gold);
}

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: 6px; font-size: 15px; font-weight: 600;
  cursor: pointer; border: 1px solid transparent; transition: .25s;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--steel); color: #fff; }
.btn-gold { background: var(--gold); color: #2a2410; }
.btn-gold:hover { background: var(--gold-light); color: #2a2410; }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-ghost { border-color: var(--line); color: var(--text); background: #fff; }
.btn-ghost:hover { border-color: var(--steel); color: var(--steel); }

/* ---------------- 首屏 Banner ---------------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    linear-gradient(120deg, rgba(20,41,63,.92), rgba(28,58,94,.78)),
    url("../img/hero.svg") center/cover no-repeat;
}
.hero-inner { padding: 110px 0 120px; max-width: 760px; }
.hero .tag {
  display: inline-block; padding: 6px 14px; border: 1px solid rgba(255,255,255,.35);
  border-radius: 30px; font-size: 13px; letter-spacing: 1px; margin-bottom: 22px;
  color: var(--gold-light);
}
.hero h1 { font-size: 42px; line-height: 1.25; font-weight: 700; margin-bottom: 20px; }
.hero p { font-size: 17px; color: #d8e2ee; margin-bottom: 34px; max-width: 600px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* 数据条 */
.stats {
  background: var(--navy-deep); color: #fff;
}
.stats .container { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; padding: 36px 20px; }
.stat { text-align: center; }
.stat .num { font-size: 34px; font-weight: 700; color: var(--gold-light); }
.stat .num small { font-size: 16px; font-weight: 500; }
.stat .label { font-size: 14px; color: #b8c6d6; margin-top: 4px; }

/* ---------------- 通用区块 ---------------- */
.section { padding: 80px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head .eyebrow { color: var(--gold); font-weight: 600; letter-spacing: 2px; font-size: 13px; }
.section-head h2 { font-size: 32px; color: var(--navy); margin: 10px 0 14px; }
.section-head p { color: var(--text-soft); font-size: 16px; }

/* 卡片网格 */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }

.card {
  background: #fff; border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow); transition: .25s; border: 1px solid transparent;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--line); }
.card .ico {
  width: 54px; height: 54px; border-radius: 12px; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--steel), var(--navy));
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.card h3 { font-size: 18px; color: var(--navy); margin-bottom: 10px; }
.card p { color: var(--text-soft); font-size: 14.5px; }

/* 服务流程 */
.flow { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; counter-reset: step; }
.flow .step { text-align: center; position: relative; padding-top: 10px; }
.flow .step .dot {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%;
  background: #fff; border: 2px solid var(--steel); color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px;
}
.flow .step h4 { color: var(--navy); font-size: 16px; margin-bottom: 6px; }
.flow .step p { color: var(--text-soft); font-size: 13.5px; }
.flow .step:not(:last-child)::after {
  content: ""; position: absolute; top: 38px; left: 56%; right: -6%;
  height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}

/* 案例卡 */
.case-card {
  border-radius: var(--radius); overflow: hidden; background: #fff;
  box-shadow: var(--shadow); transition: .25s;
}
.case-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.case-card .thumb { height: 180px; position: relative; display:flex; align-items:flex-end; }
.case-card .thumb .cap {
  background: rgba(20,41,63,.72); color: #fff; width: 100%;
  padding: 10px 16px; font-size: 14px; font-weight: 600;
}
.case-card .body { padding: 18px 20px 22px; }
.case-card .body h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.case-card .body .meta { font-size: 13px; color: var(--text-soft); display:flex; gap:14px; flex-wrap:wrap; }
.case-card .body .meta span b { color: var(--steel); font-weight: 600; }

/* 资质荣誉 */
.honor-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.honor {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 20px; text-align: center; transition: .25s;
}
.honor:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.honor .badge {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #b5894a); color:#fff;
  display:flex; align-items:center; justify-content:center;
}
.honor h4 { color: var(--navy); font-size: 15px; margin-bottom: 6px; }
.honor p { color: var(--text-soft); font-size: 13px; }

/* 招标信息列表 */
.tender-list { background:#fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow:hidden; }
.tender-row {
  display: grid; grid-template-columns: 160px 1fr 130px 120px 100px; gap: 14px;
  align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line);
  transition: .2s;
}
.tender-row > div:first-child { word-break: break-all; font-size: 13px; line-height: 1.4; }
.tender-row:hover { background: var(--bg-soft); }
.tender-row.head { background: var(--navy); color:#fff; font-weight:600; font-size:14px; }
.tender-row .status { font-size:13px; padding:3px 10px; border-radius:20px; text-align:center; }
.status.ing { background: #e6f4ea; color:#2e7d4f; }
.status.soon { background: #fdeede; color:#b9772a; }
.status.done { background:#eef1f5; color:#7a8694; }
.tender-row .t-title { color: var(--navy); font-weight:600; }
.tender-row .t-title small { display:block; color:var(--text-soft); font-weight:400; font-size:12.5px; }

/* 关于我们 */
.about-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-wrap .pic { height: 380px; border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow); }
.about-wrap h2 { font-size: 30px; color: var(--navy); margin-bottom: 18px; }
.about-wrap p { color: var(--text-soft); margin-bottom: 16px; }
.about-wrap ul { list-style: none; margin-top: 10px; }
.about-wrap li { padding-left: 26px; position: relative; margin-bottom: 10px; color: var(--text); }
.about-wrap li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--gold);
}

/* 价值观 */
.values { display:grid; grid-template-columns: repeat(3,1fr); gap:24px; }
.value { text-align:center; padding: 30px 22px; background:#fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.value .ico { margin: 0 auto 14px; }
.value h3 { color: var(--navy); font-size: 18px; margin-bottom: 8px; }
.value p { color: var(--text-soft); font-size: 14px; }

/* 联系 / 表单 */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.info-box { background: var(--navy); color: #dfe8f2; border-radius: var(--radius); padding: 36px 32px; }
.info-box h3 { color:#fff; font-size: 20px; margin-bottom: 22px; }
.info-box .line { display:flex; gap: 14px; margin-bottom: 20px; align-items:flex-start; }
.info-box .line .ico { flex: 0 0 40px; height:40px; border-radius:8px; background: rgba(255,255,255,.12); display:flex; align-items:center; justify-content:center; }
.info-box .line b { color:#fff; display:block; font-size:14px; margin-bottom:2px; font-weight:600; }
.info-box .line span { font-size: 14px; color:#c4d2e2; }
.info-box .map-note { margin-top: 22px; font-size:13px; color:#9fb2c7; border-top:1px solid rgba(255,255,255,.15); padding-top:16px; }

.form-box { background:#fff; border-radius: var(--radius); padding: 34px 32px; box-shadow: var(--shadow); }
.form-box h3 { color: var(--navy); font-size: 20px; margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display:block; font-size: 14px; color: var(--text); margin-bottom: 7px; font-weight:500; }
.field label .req { color:#d66; }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 6px;
  font-size: 14px; font-family: inherit; color: var(--text); background:#fff; transition:.2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline:none; border-color: var(--steel); box-shadow: 0 0 0 3px rgba(59,110,165,.12); }
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 12.5px; color: var(--text-soft); margin-top: 10px; }

/* 招聘 */
.jobs { display:grid; gap: 16px; }
.job {
  background:#fff; border:1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px; display:flex; align-items:center; justify-content:space-between; gap:18px; transition:.2s;
}
.job:hover { border-color: var(--steel); box-shadow: var(--shadow); }
.job h4 { color: var(--navy); font-size: 17px; margin-bottom: 6px; }
.job .tags { font-size: 13px; color: var(--text-soft); display:flex; gap:16px; flex-wrap:wrap; }
.job .tags span b { color: var(--steel); }
.job .salary { color: var(--gold); font-weight: 700; font-size: 16px; white-space: nowrap; }

/* 面包屑 */
.crumb { background: var(--bg-soft); padding: 16px 0; font-size: 13px; color: var(--text-soft); }
.crumb a { color: var(--steel); }

/* 页脚 */
.footer { background: var(--navy-deep); color: #aebccd; padding: 56px 0 26px; }
.footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.footer h4 { color:#fff; font-size: 16px; margin-bottom: 18px; }
.footer .about-foot p { font-size: 14px; line-height: 1.8; margin-bottom: 14px; }
.footer ul { list-style:none; }
.footer ul li { margin-bottom: 10px; font-size: 14px; }
.footer ul li a { color:#aebccd; }
.footer ul li a:hover { color: #fff; }
.footer .contact-foot div { font-size:14px; margin-bottom: 10px; display:flex; gap:10px; }
.footer .contact-foot .ico { flex:0 0 18px; margin-top:3px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px;
  text-align: center; font-size: 13px; color: #8597aa;
}
.footer-bottom a { color:#9fb2c7; }

/* 返回顶部 */
.totop {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color:#fff; display:flex; align-items:center; justify-content:center;
  cursor:pointer; opacity:0; pointer-events:none; transition:.3s; box-shadow: var(--shadow); z-index: 60;
}
.totop.show { opacity:1; pointer-events:auto; }
.totop:hover { background: var(--steel); }

/* 滚动出现动画 */
.reveal { opacity:0; transform: translateY(24px); transition: .6s ease; }
.reveal.in { opacity:1; transform:none; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 992px) {
  .grid-4, .honor-grid { grid-template-columns: repeat(2,1fr); }
  .flow { grid-template-columns: repeat(2,1fr); gap: 28px 16px; }
  .flow .step::after { display:none; }
  .footer .cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  .about-wrap, .contact-wrap { grid-template-columns: 1fr; gap: 30px; }
  .about-wrap .pic { height: 260px; }
  .stats .container { grid-template-columns: repeat(2,1fr); gap: 28px; }
}
@media (max-width: 768px) {
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; padding: 12px; gap: 2px;
    box-shadow: 0 12px 24px rgba(20,41,63,.12); transform: translateY(-120%); transition: .3s; }
  .nav.open { transform: none; }
  .nav a { padding: 13px 14px; }
  .nav a.active::after { display:none; }
  .nav-toggle { display: flex; }
  .topbar { display:none; }
  .hero-inner { padding: 70px 0 80px; }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 15px; }
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 26px; }
  .grid-3, .grid-2, .values { grid-template-columns: 1fr; }
  .tender-row { grid-template-columns: 1fr; gap: 6px; padding: 16px; }
  .tender-row.head { display:none; }
  .tender-row .t-title small { margin-top:2px; }
  .job { flex-direction: column; align-items: flex-start; }
  .footer .cols { grid-template-columns: 1fr; }
}

/* ---------------- 报名入口 ---------------- */
.apply-cta {
  margin-top: 28px; padding: 20px 22px; background: var(--soft);
  border: 1px solid var(--line); border-radius: 10px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.apply-cta .btn { white-space: nowrap; }
.apply-cta .apply-note { font-size: 13px; color: var(--text-soft); margin: 0; }

/* ---------------- 审核后台 ---------------- */
.admin-wrap { max-width: 1080px; margin: 0 auto; padding: 30px 20px; }
.admin-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.login-box { max-width: 380px; margin: 80px auto; background: #fff; padding: 34px 32px; border-radius: 12px; box-shadow: var(--shadow); }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.admin-table th, .admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; vertical-align: top; }
.admin-table th { background: var(--navy); color: #fff; font-weight: 600; }
.admin-table tr:hover { background: #f6f9fc; }
.admin-table code { background: #eef3f8; padding: 2px 6px; border-radius: 4px; font-size: 12px; word-break: break-all; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge.pending  { background: #fff4e0; color: #b9770e; }
.badge.approved { background: #e3f6e9; color: #1a7f43; }
.badge.rejected { background: #fde8e8; color: #c0392b; }
