:root {
  --brand: #0f3d6e;
  --brand-2: #1c6bb0;
  --brand-soft: #eaf2fb;
  --accent: #c8a15a;
  --ink: #1b2430;
  --muted: #6b7785;
  --line: #e4e9f0;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --radius: 10px;
  --shadow: 0 8px 30px rgba(15, 61, 110, .08);
  --shadow-hover: 0 16px 44px rgba(15, 61, 110, .16);
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.3; font-weight: 700; letter-spacing: .3px; }
p { margin: 0 0 1em; }
ul { padding-left: 0; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -.12em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(15, 61, 110, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { height: 40px; width: auto; }
.brand-mark {
  width: 40px; height: 40px; flex: none; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px;
}
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-text strong { font-size: 17px; letter-spacing: .5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text em { font-style: normal; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 15px; color: var(--ink); position: relative; padding: 6px 0; white-space: nowrap; }
.nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--brand); transition: right .25s;
}
.nav a:not(.btn):hover::after, .nav a.active::after { right: 0; }
.nav a.active { color: var(--brand); font-weight: 600; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; transition: .3s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 12px 26px; border-radius: 6px; font-size: 15px; font-weight: 500;
  border: 1px solid transparent; cursor: pointer; transition: all .25s; white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(15, 61, 110, .22); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .15); }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-lg { padding: 15px 36px; font-size: 16px; }
/* 导航里的按钮：导航链接的 .nav a 会盖掉 .btn 的 padding/font-size/颜色，这里统一提高优先级 */
.nav a.btn { padding: 9px 20px; font-size: 14px; line-height: 1; }
.nav a.btn-primary, .footer-col a.btn-primary { color: #fff; }
.nav a.btn-outline { color: var(--brand); }
.nav a.btn-outline:hover { color: #fff; }
.footer-col a.btn-outline { color: #fff; border-color: rgba(255, 255, 255, .45); padding: 10px 20px; line-height: 1; }
.footer-col a.btn-outline:hover { background: #fff; color: var(--brand); transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; height: min(78vh, 640px); min-height: 460px; overflow: hidden; background: #0b2a4a; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease;
  background-size: cover; background-position: center; display: flex; align-items: center;
}
.hero-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 24, 44, .82) 0%, rgba(6, 24, 44, .45) 60%, rgba(6, 24, 44, .2) 100%); }
.hero-slide.is-active { opacity: 1; }
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 720px; }
.hero-content h1 { font-size: clamp(28px, 4.4vw, 50px); margin-bottom: 18px; letter-spacing: 1px; }
.hero-content p { font-size: clamp(15px, 1.6vw, 19px); color: rgba(255, 255, 255, .88); margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots { position: absolute; bottom: 32px; left: 0; right: 0; display: flex; gap: 10px; justify-content: center; z-index: 3; }
.hero-dots button {
  width: 30px; height: 4px; border: 0; padding: 0; border-radius: 2px; cursor: pointer;
  background: rgba(255, 255, 255, .4); transition: .3s;
}
.hero-dots button.is-active { background: var(--accent); width: 46px; }

/* ---------- Stats ---------- */
.stats { background: var(--brand); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { padding: 38px 16px; text-align: center; border-right: 1px solid rgba(255, 255, 255, .13); }
.stat-item:last-child { border-right: 0; }
.stat-num { font-size: 38px; font-weight: 700; letter-spacing: 1px; }
.stat-num span { font-size: 18px; margin-left: 3px; color: var(--accent); }
.stat-label { font-size: 14px; color: rgba(255, 255, 255, .78); margin-top: 4px; }

/* ---------- Section ---------- */
.section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(24px, 3vw, 34px); }
.section-head p { color: var(--muted); font-size: 16px; }
.section-tag {
  display: inline-block; font-size: 12px; letter-spacing: 3px; color: var(--brand);
  text-transform: uppercase; margin-bottom: 10px; font-weight: 700;
}

/* ---------- About ---------- */
.about-block { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.about-text h2 { font-size: clamp(24px, 3vw, 34px); }
.lead { color: var(--muted); font-size: 16px; margin-bottom: 22px; }
.check-list { list-style: none; margin: 0 0 28px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.check-list li:last-child { border-bottom: 0; }
.check-list .icon { color: var(--brand); flex: none; margin-top: 5px; font-size: 17px; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .3s; display: flex; flex-direction: column;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }
.svc-media { height: 190px; overflow: hidden; background: var(--brand-soft); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.svc-card:hover .svc-media img { transform: scale(1.06); }
.svc-body { padding: 24px; position: relative; flex: 1; display: flex; flex-direction: column; }
.svc-icon {
  width: 46px; height: 46px; border-radius: 8px; background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-size: 22px; margin-bottom: 16px;
}
.svc-body h3 { font-size: 19px; margin-bottom: 10px; }
.svc-body p { color: var(--muted); font-size: 14px; flex: 1; }
.more { color: var(--brand); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .3s; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.news-media { height: 180px; overflow: hidden; background: var(--bg-soft); }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-media img { transform: scale(1.05); }
.news-body { padding: 22px 24px 26px; }
.news-date { font-size: 13px; color: var(--accent); font-weight: 600; }
.news-body h3 { font-size: 17px; margin: 8px 0 10px; line-height: 1.5; }
.news-body p { color: var(--muted); font-size: 14px; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-list { display: flex; flex-direction: column; gap: 20px; }
.news-row { display: grid; grid-template-columns: 260px 1fr; gap: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .3s; }
.news-row:hover { box-shadow: var(--shadow-hover); border-color: transparent; }
.news-row-media { height: 100%; min-height: 170px; overflow: hidden; }
.news-row-media img { width: 100%; height: 100%; object-fit: cover; }
.news-row-body { padding: 22px 26px 22px 0; display: flex; flex-direction: column; justify-content: center; }
.news-row-body h3 { font-size: 19px; }
.news-row-body p { color: var(--muted); font-size: 14px; }
.news-meta { display: flex; gap: 20px; font-size: 13px; color: #9aa4b0; }
.pager { display: flex; gap: 10px; justify-content: center; margin-top: 40px; }
.pager a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; }
.pager a.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }
.empty { padding: 60px; text-align: center; color: var(--muted); background: var(--bg-soft); border-radius: var(--radius); }

/* ---------- Page hero ---------- */
.page-hero {
  padding: 96px 0 72px; color: #fff; text-align: center; position: relative;
  background: linear-gradient(135deg, #0b2a4a, #1c6bb0);
  background-size: cover; background-position: center;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: rgba(8, 28, 50, .62); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(26px, 3.6vw, 40px); margin-bottom: 12px; }
.page-hero p { color: rgba(255, 255, 255, .85); font-size: 16px; margin-bottom: 16px; }
.breadcrumb { font-size: 13px; color: rgba(255, 255, 255, .7); display: flex; gap: 8px; justify-content: center; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Article ---------- */
.article { max-width: 900px; }
.article h2 { font-size: 24px; margin-top: 42px; padding-left: 14px; border-left: 4px solid var(--brand); }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 19px; margin-top: 28px; }
.article p, .article li { font-size: 16px; color: #37414f; }
.article ul { padding-left: 22px; }
.article li { margin-bottom: 10px; }
.article strong { color: var(--ink); }
.article-meta { color: var(--muted); font-size: 14px; margin-bottom: 26px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.article-nav { margin-top: 46px; }

/* ---------- CTA ---------- */
.cta { padding: 70px 0; background: linear-gradient(135deg, #0f3d6e, #1c6bb0); color: #fff; background-size: cover; background-position: center; position: relative; }
.cta::before { content: ''; position: absolute; inset: 0; background: rgba(9, 32, 56, .72); }
.cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(22px, 2.8vw, 30px); margin-bottom: 8px; }
.cta p { color: rgba(255, 255, 255, .82); margin: 0; }
.cta-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hotline-link { display: inline-flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 700; color: var(--accent); }

/* ---------- Contact ---------- */
.contact-block { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-info h2, .contact-form h2 { font-size: 24px; }
.info-list { list-style: none; margin: 24px 0; }
.info-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-ico { width: 40px; height: 40px; flex: none; border-radius: 8px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 19px; }
.info-list em { display: block; font-style: normal; font-size: 13px; color: var(--muted); }
.info-list strong { font-size: 16px; font-weight: 600; }
.map-box { border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); min-height: 220px; }
.map-box iframe { width: 100%; height: 260px; border: 0; display: block; }
.map-placeholder { display: grid; place-items: center; color: var(--muted); font-size: 14px; }
.contact-form form { margin-top: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; margin-bottom: 16px; font-size: 14px; color: #45505e; }
.contact-form label i { color: #e05b5b; font-style: normal; }
.contact-form input, .contact-form textarea {
  width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 6px; font-size: 15px; font-family: inherit; transition: .2s; background: #fff; color: var(--ink);
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(28, 107, 176, .12); }
.contact-form textarea { resize: vertical; }
.form-tip { margin-top: 12px; font-size: 14px; min-height: 22px; }
.form-tip.ok { color: #17915c; }
.form-tip.err { color: #d9534f; }

/* ---------- Footer ---------- */
.site-footer { background: #12212f; color: rgba(255, 255, 255, .72); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.2fr 1fr; gap: 40px; padding: 60px 20px 40px; }
.footer-brand { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.footer-contact span { display: flex; gap: 8px; align-items: flex-start; }
.footer-contact .icon { margin-top: 5px; flex: none; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-col a { display: block; padding: 5px 0; transition: .2s; }
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.hotline { font-size: 22px; color: var(--accent); }
.qr { width: 108px; height: 108px; background: #fff; border-radius: 8px; padding: 6px; }
.qr-empty { display: grid; place-items: center; color: var(--muted); font-size: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 20px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px;
}
.footer-bottom a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .card-grid, .news-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav {
    position: fixed; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column;
    align-items: stretch; gap: 0; padding: 10px 20px 20px; border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .08); transform: translateY(-140%); transition: transform .3s;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; }
  .nav-toggle { display: block; }
  .about-block, .contact-block { grid-template-columns: 1fr; gap: 34px; }
  .section { padding: 60px 0; }
  .news-row { grid-template-columns: 1fr; }
  .news-row-body { padding: 0 22px 22px; }
}
@media (max-width: 640px) {
  .card-grid, .news-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-bottom: 1px solid rgba(255, 255, 255, .13); }
  .stat-item:nth-child(2n) { border-right: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .field-row { grid-template-columns: 1fr; }
  .brand-text em { display: none; }
}
