/* ===== 中禹建工 公共样式（与首页设计语言一致）===== */
:root {
  --ink-950: #050b14;
  --ink-900: #0a1526;
  --brand-dark: #0f4c93;
  --ink-200: #c6d1e0;
  --ink-400: #6b819e;
  --gold: #c9a44c;
  --primary: #1668c4;
  --white: #ffffff;
  --bg-light: #f4f7fa;
  --border-w10: rgba(255,255,255,0.1);
  --border-w20: rgba(255,255,255,0.2);
  --border-w30: rgba(255,255,255,0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Top Bar ===== */
.topbar {
  background: rgba(10, 21, 38, 0.95);
  color: var(--ink-200);
  font-size: 13px;
  border-bottom: 1px solid var(--border-w10);
}
.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-right .phone { color: var(--gold); font-weight: 500; }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 21, 38, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-w10);
  height: 77px;
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 12px; color: var(--white); }
.logo-mark {
  width: 40px; height: 40px;
  background: var(--gold);
  color: var(--ink-900);
  font-family: "Noto Serif SC", Georgia, serif;
  font-weight: 700; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 2px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-weight: 700; font-size: 17px; color: var(--white); }
.logo-sub { font-size: 11px; color: var(--ink-400); letter-spacing: 0.05em; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--ink-200);
  font-size: 15px;
  padding: 26px 0;
  position: relative;
  transition: color .2s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--gold);
}
.nav-phone {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary);
  color: var(--white);
  padding: 10px 20px;
  font-size: 15px; font-weight: 500;
  border-radius: 0;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px;
  font-size: 15px; font-weight: 500;
  border-radius: 0;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--border-w30); }
.btn-outline:hover { background: rgba(255,255,255,0.08); }
.btn-light { background: var(--white); color: var(--ink-900); }
.btn-light:hover { background: var(--bg-light); }
.btn-gold { background: var(--gold); color: var(--ink-900); }
.btn-gold:hover { background: #b8923a; }

/* ===== Section common ===== */
section.block { padding: 96px 0; }
.section-label {
  color: var(--gold);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: inline-block;
}
.section-title {
  font-family: "Noto Serif SC", Georgia, serif;
  font-size: 38px; font-weight: 700;
  line-height: 1.25;
  color: var(--ink-900);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 16px; line-height: 1.75;
  color: var(--ink-400);
  max-width: 720px;
  margin-bottom: 32px;
}
.section-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary);
  font-weight: 500; font-size: 15px;
  margin-top: 8px;
}
.section-link:hover { color: var(--brand-dark); }
.block-header { max-width: 760px; margin-bottom: 56px; }

/* ===== Hero (page) ===== */
.page-hero {
  background: var(--ink-950);
  color: var(--white);
  padding: 96px 24px 80px;
  position: relative;
  overflow: hidden;
}
.page-hero-inner {
  max-width: 1280px; margin: 0 auto;
}
.page-hero h1 {
  font-family: "Noto Serif SC", Georgia, serif;
  font-size: 52px; font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.page-hero p {
  font-size: 17px; line-height: 1.75;
  color: var(--ink-200);
  max-width: 760px;
}

/* ===== Cards / Tags ===== */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tag-list li {
  background: var(--bg-light);
  color: var(--ink-900);
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 2px;
  border: 1px solid #e6ebf2;
}

/* ===== Stats ===== */
.stats {
  background: var(--ink-950);
  border-top: 1px solid var(--border-w10);
}
.stats-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-num {
  font-family: "Noto Serif SC", Georgia, serif;
  font-size: 42px; font-weight: 700;
  color: var(--white); line-height: 1;
}
.stat-num .plus { color: var(--gold); }
.stat-label { font-size: 14px; color: var(--ink-200); margin-top: 8px; }

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, var(--ink-950), var(--brand-dark));
  color: var(--white);
  text-align: center;
  padding: 80px 24px;
}
.cta-inner { max-width: 760px; margin: 0 auto; }
.cta h2 {
  font-family: "Noto Serif SC", Georgia, serif;
  font-size: 38px; font-weight: 700;
  margin-bottom: 16px;
}
.cta p { color: var(--ink-200); font-size: 16px; line-height: 1.75; margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Footer ===== */
footer {
  background: var(--ink-950);
  color: var(--ink-200);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--ink-400); font-size: 14px; line-height: 1.75; margin-bottom: 16px; }
.footer-col h4 { color: var(--white); font-size: 15px; font-weight: 500; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; font-size: 14px; color: var(--ink-200); }
.footer-col ul li a:hover { color: var(--white); }
.footer-contact div { font-size: 14px; color: var(--ink-200); margin-bottom: 10px; }
.footer-contact .label { color: var(--ink-400); margin-right: 8px; }
.footer-bottom {
  border-top: 1px solid var(--border-w10);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-400);
}

/* ===== Project card (reused) ===== */
.project-card {
  background: var(--white);
  border: 1px solid #e6ebf2;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.project-card:hover {
  box-shadow: 0 12px 40px rgba(15, 76, 147, 0.08);
  transform: translateY(-2px);
}
.project-img { width: 100%; height: 220px; object-fit: cover; }
.project-body { padding: 28px; }
.project-meta {
  display: flex; gap: 12px;
  font-size: 13px; color: var(--ink-400);
  margin-bottom: 12px; flex-wrap: wrap;
}
.project-meta .cat {
  color: var(--white); background: var(--primary);
  padding: 2px 10px; border-radius: 2px; font-weight: 500;
}
.project-card h3 {
  font-family: "Noto Serif SC", Georgia, serif;
  font-size: 20px; font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 16px; line-height: 1.4;
}
.project-block { margin-bottom: 14px; }
.project-block .label {
  font-size: 12px; color: var(--gold);
  font-weight: 500; letter-spacing: 0.05em;
  margin-bottom: 4px; text-transform: uppercase;
}
.project-block .text { font-size: 14px; color: var(--ink-900); line-height: 1.65; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .page-hero h1 { font-size: 38px; }
}
@media (max-width: 640px) {
  .page-hero h1 { font-size: 30px; }
  .section-title { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
}
