/* ============================================================
 * 网站样式 - 商务蓝简约风格
 * ============================================================ */

/* ---------- 基础变量 ---------- */
:root {
  --blue-900: #0a2a5e;
  --blue-800: #0d3b7d;
  --blue-700: #1152a3;
  --blue-600: #1a63c4;
  --blue-500: #2b7de9;
  --blue-100: #e8f1fd;
  --blue-50:  #f3f8ff;
  --ink:      #1a2740;
  --ink-2:    #4a5a75;
  --ink-3:    #8695ad;
  --line:     #e4ebf5;
  --bg:       #ffffff;
  --bg-soft:  #f6f9fe;
  --shadow:   0 12px 40px rgba(13, 59, 125, 0.10);
  --radius:   12px;
  --container: 1180px;
}

/* ---------- 重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
svg { width: 1em; height: 1em; }
.container { width: min(var(--container), 92%); margin: 0 auto; }

/* ---------- 通用组件 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 30px; border-radius: 6px; font-size: 15px; font-weight: 600;
  transition: all .25s ease; cursor: pointer; border: 2px solid transparent;
}
.btn-primary { background: var(--blue-600); color: #fff; }
.btn-primary:hover { background: var(--blue-700); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(26,99,196,.3); }
.btn-outline { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.15); }
.btn-block { width: 100%; }

.section { padding: 96px 0; }
.section-head.center { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  color: var(--blue-600); font-size: 13px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px;
}
.section-title { font-size: 34px; font-weight: 700; color: var(--blue-900); line-height: 1.3; }
.section-sub { color: var(--ink-2); font-size: 16px; margin-top: 14px; }
.section-sub.left { max-width: 480px; }

/* ---------- 导航栏 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 76px; display: flex; align-items: center;
  transition: all .3s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(10,42,94,.08); height: 68px;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; }
.brand-logo:empty::before {
  content: ""; width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.25);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M3 21h18M5 21V7l7-4 7 4v14M9 21v-6h6v6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 24px;
}
.brand-logo img { width: 42px; height: 42px; object-fit: contain; border-radius: 8px; background: #fff; }
.brand-name { font-size: 18px; font-weight: 700; color: #fff; letter-spacing: .5px; white-space: nowrap; }
.site-header.scrolled .brand-name { color: var(--blue-900); }
.nav-menu { display: flex; align-items: center; gap: 34px; }
.nav-link {
  font-size: 15px; font-weight: 500; color: rgba(255,255,255,.85);
  position: relative; padding: 6px 0; transition: color .2s;
}
.site-header.scrolled .nav-link { color: var(--ink-2); }
.nav-link::after {
  content: ""; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--blue-500); transition: width .25s ease;
}
.nav-link:hover, .nav-link.active { color: #fff; }
.site-header.scrolled .nav-link:hover, .site-header.scrolled .nav-link.active { color: var(--blue-600); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.site-header.scrolled .nav-toggle span { background: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 720px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: 76px; }
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 55%, var(--blue-500) 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .15;
  background-image: radial-gradient(circle at 20% 80%, rgba(255,255,255,.4) 0 2px, transparent 2px),
                    radial-gradient(circle at 80% 20%, rgba(255,255,255,.4) 0 2px, transparent 2px);
  background-size: 60px 60px, 80px 80px;
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; padding: 70px 0 90px; }
.hero-eyebrow { color: #8fc0ff; font-size: 15px; font-weight: 600; letter-spacing: 3px; margin-bottom: 20px; }
.hero-title { font-size: 52px; color: #fff; font-weight: 700; line-height: 1.35; letter-spacing: 1px; }
.hero-title span { color: #ffd98a; }
.hero-desc { color: rgba(255,255,255,.82); font-size: 16px; margin: 24px 0 34px; max-width: 560px; line-height: 1.9; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { position: relative; height: 360px; }
.hero-card { position: absolute; border-radius: 16px; background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.05)); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); }
.hero-card-1 { width: 260px; height: 210px; top: 20px; left: 40px; transform: rotate(-6deg); background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(220,235,255,.7)); }
.hero-card-2 { width: 230px; height: 190px; bottom: 20px; right: 20px; transform: rotate(7deg); background: linear-gradient(145deg, rgba(255,217,138,.95), rgba(255,190,90,.85)); }
.hero-badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) rotate(-12deg);
  font-size: 46px; font-weight: 800; letter-spacing: 4px; color: rgba(255,255,255,.9);
  text-shadow: 0 4px 20px rgba(0,0,0,.15); z-index: 3;
}

/* ---------- 关于我们 ---------- */
.about { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.about-visual { position: relative; }
.about-frame { position: relative; width: 100%; aspect-ratio: 4/4.3; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.about-shape { position: absolute; width: 78%; height: 78%; border-radius: 50%; background: linear-gradient(135deg, var(--blue-100), var(--blue-50)); }
.about-shape::after { content: ""; position: absolute; inset: 18%; border: 2px dashed rgba(26,99,196,.25); border-radius: 50%; }
.about-icon { position: relative; z-index: 2; width: 110px; height: 110px; color: var(--blue-600); }
.about-icon svg { width: 100%; height: 100%; }
.about-lead { font-size: 17px; color: var(--ink-2); margin: 22px 0 14px; line-height: 1.9; }
.about-text { font-size: 15.5px; color: var(--ink-3); line-height: 1.9; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; margin-top: 30px; }
.feature { display: flex; gap: 12px; align-items: flex-start; }
.feature-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--blue-600); margin-top: 9px; box-shadow: 0 0 0 4px var(--blue-100); }
.feature h4 { font-size: 16px; color: var(--blue-900); }
.feature p { font-size: 13.5px; color: var(--ink-3); }

/* ---------- 业务范围 ---------- */
.services { background: var(--bg-soft); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 30px; transition: all .3s ease; position: relative; overflow: hidden;
}
.service-card::before { content: ""; position: absolute; top: 0; left: 0; width: 0; height: 3px; background: linear-gradient(90deg, var(--blue-600), var(--blue-500)); transition: width .35s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { width: 100%; }
.service-icon { width: 54px; height: 54px; border-radius: 12px; background: var(--blue-100); color: var(--blue-600); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 19px; color: var(--blue-900); margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--ink-2); line-height: 1.8; }

/* ---------- 资质荣誉 ---------- */
.qualifications { background: #fff; }
.qual-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; }
.qual-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
.qual-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); padding: 12px 14px; background: var(--bg-soft); border-radius: 8px; border: 1px solid var(--line); }
.qual-check { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-600); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.qual-visual { display: flex; justify-content: center; }
.cert-card { width: 100%; max-width: 380px; aspect-ratio: 3/3.6; border-radius: 16px; background: linear-gradient(160deg, var(--blue-800), var(--blue-900)); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.cert-card::before, .cert-card::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; }
.cert-card::before { width: 340px; height: 340px; }
.cert-card::after { width: 240px; height: 240px; }
.cert-seal { width: 92px; height: 92px; border: 2px solid rgba(255,217,138,.7); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #ffd98a; z-index: 2; }
.cert-seal svg { width: 48px; height: 48px; }
.cert-card p { font-size: 20px; font-weight: 600; z-index: 2; }
.cert-card span { font-size: 11px; letter-spacing: 2px; color: rgba(255,255,255,.6); z-index: 2; }

/* ---------- 招标公告 ---------- */
.announce { background: #fff; }
.announce-panel {
  max-width: 920px; margin: 0 auto; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px 34px; box-shadow: 0 6px 24px rgba(13, 59, 125, 0.06);
}
.announce-item {
  display: flex; align-items: center; gap: 14px;
  padding: 17px 4px; border-bottom: 1px dashed var(--line);
  transition: background .2s ease;
}
.announce-item:last-child { border-bottom: 0; }
a.announce-item:hover .announce-title { color: var(--blue-600); }
a.announce-item:hover .announce-dot { transform: scale(1.4); }
.announce-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-600); transition: transform .2s ease; }
.announce-title {
  flex: 1; font-size: 15px; color: var(--ink-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s ease;
}
.announce-date { flex: none; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.announce-empty { text-align: center; color: var(--ink-3); font-size: 14px; padding: 40px 0; }

/* ---------- 内页 Banner ---------- */
.page-hero { position: relative; padding: 150px 0 64px; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 60%, var(--blue-500) 100%); }
.page-hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .15;
  background-image: radial-gradient(circle at 20% 80%, rgba(255,255,255,.4) 0 2px, transparent 2px);
  background-size: 60px 60px;
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero .section-eyebrow { color: #8fc0ff; }
.page-hero h1 { font-size: 40px; color: #fff; font-weight: 700; letter-spacing: 1px; }
.page-hero-sub { color: rgba(255,255,255,.8); font-size: 15px; margin-top: 12px; }

/* ---------- 咨询引导条 ---------- */
.cta-band { background: linear-gradient(120deg, var(--blue-800), var(--blue-600)); padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-text h2 { color: #fff; font-size: 24px; margin-bottom: 6px; }
.cta-text p { color: rgba(255,255,255,.75); font-size: 14.5px; }
.btn-light { background: #fff; color: var(--blue-700); }
.btn-light:hover { background: var(--blue-100); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.18); }

.section-more { text-align: center; margin-top: 44px; }
.btn-more { background: transparent; color: var(--blue-600); border: 2px solid var(--blue-600); }
.btn-more:hover { background: var(--blue-600); color: #fff; transform: translateY(-2px); }

/* ---------- 联系我们 ---------- */
.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 0; align-items: start; }
.contact-list { margin-top: 34px; display: grid; gap: 18px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { flex: none; width: 46px; height: 46px; border-radius: 10px; background: var(--blue-100); color: var(--blue-600); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.contact-item h4 { font-size: 15px; color: var(--blue-900); }
.contact-item p { font-size: 14px; color: var(--ink-2); }
.contact-form-wrap { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
.contact-form h3 { font-size: 22px; color: var(--blue-900); margin-bottom: 6px; }
.form-tip { font-size: 12.5px; color: var(--ink-3); margin-bottom: 24px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 7px;
  font-size: 14px; font-family: inherit; color: var(--ink); background: #fff; margin-bottom: 14px;
  transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px var(--blue-100); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--blue-900); color: rgba(255,255,255,.7); padding: 46px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-brand .brand-name { color: #fff; font-size: 18px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 6px; }
.footer-meta { text-align: right; font-size: 13px; }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .brand-name { font-size: 15px; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; }
  .hero-inner, .about-grid, .qual-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-inner { padding-top: 50px; }
  .hero-visual { display: none; }
  .hero-title { font-size: 42px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .qual-visual { order: -1; }
  .cert-card { max-width: 320px; }
  .nav-menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 5%;
    background: #fff; box-shadow: 0 10px 30px rgba(10,42,94,.12);
  }
  .nav-menu.open { display: flex; }
  .nav-link { color: var(--ink-2) !important; padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .section-title { font-size: 27px; }
  .hero-title { font-size: 34px; }
  .services-grid, .qual-list, .about-features, .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 26px 20px; }
  .footer-inner, .footer-meta { text-align: center; justify-content: center; }
}
