/* ===================================================================
   常德顺安建设有限公司 —— 现代大页设计系统
   深海军蓝 + 金  · 克制流畅动效
   =================================================================== */

:root {
  --navy-950: #060f1e;
  --navy-900: #071A33;
  --navy-800: #0A2540;
  --navy-700: #10305a;
  --navy-600: #16406f;
  --gold-600: #9c7c1e;
  --gold-500: #C9A227;
  --gold-400: #e0bd4e;
  --gold-100: #f5ead0;
  --ink: #232c3b;
  --ink-2: #5a6474;
  --bg-soft: #f4f6f9;
  --line: #e4e8ee;
  --radius: 10px;
  --shadow-sm: 0 4px 14px rgba(10, 37, 64, .08);
  --shadow-md: 0 12px 32px rgba(10, 37, 64, .13);
  --font-head: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  --font-body: -apple-system, "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy-800); }
.container-narrow { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- 动效：滚动渐显 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ---------- 顶部信息条 ---------- */
.topbar { background: var(--navy-900); color: rgba(255,255,255,.78); font-size: 13px; }
.topbar .container-narrow { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 14px; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,.8); margin-right: 16px; transition: color .2s; }
.topbar a:hover { color: var(--gold-400); }
.topbar .tb-right { display: flex; gap: 4px; flex-wrap: wrap; }
.topbar svg { vertical-align: -2px; margin-right: 4px; }

/* ---------- 导航 ---------- */
.navbar-wrap { position: sticky; top: 0; z-index: 1000; background: #fff; box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(10,37,64,.05); }
.navbar { position: relative; }
.navbar .container-narrow { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 46px; height: 46px; border-radius: 8px; background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); display: flex; align-items: center; justify-content: center; color: var(--gold-400); font-weight: 800; font-size: 20px; letter-spacing: 1px; font-family: var(--font-head); }
.brand-mark-img { width: 60px; height: 60px; border-radius: 8px; object-fit: contain; background: #fff; padding: 2px; }
.brand-text { line-height: 1.25; }
.brand-text .cn { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--navy-800); letter-spacing: .5px; }
.brand-text .en { font-size: 10.5px; color: var(--gold-600); letter-spacing: 1.6px; text-transform: uppercase; }
.nav-links { display: flex; gap: 6px; list-style: none; margin: 0; }
.nav-links a { display: block; padding: 8px 5px; font-size: 15px; font-weight: 600; color: var(--ink); position: relative; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px; height: 2px; background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a:hover, .nav-links a.active { color: var(--navy-700); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy-800); margin: 5px 0; }
@media (max-width: 992px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 74px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 10px 20px 18px; box-shadow: 0 12px 20px rgba(10,37,64,.08); display: none; }
  .nav-links.open { display: flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-700) 52%, var(--navy-600) 100%); color: #fff; min-height: 620px; display: flex; align-items: center; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 56px 56px; }
.hero::after { content: ""; position: absolute; right: -140px; bottom: -200px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(201,162,39,.22), transparent 68%); }
.hero-inner { position: relative; z-index: 2; padding: 90px 0 100px; width: 100%; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-400); font-size: 14px; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 22px; }
.hero-kicker::before { content: ""; width: 42px; height: 1.5px; background: var(--gold-500); }
.hero h1 { color: #fff; font-size: clamp(34px, 5.2vw, 62px); font-weight: 800; line-height: 1.18; letter-spacing: 1px; margin: 0 0 16px; }
.hero h1 .gold { color: var(--gold-400); }
.hero-sub { max-width: 660px; color: rgba(255,255,255,.82); font-size: 17px; margin: 0 0 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-head); font-weight: 700; border-radius: 6px; padding: 13px 30px; font-size: 15px; transition: all .25s; cursor: pointer; border: 1.5px solid transparent; }
.btn-gold { background: var(--gold-500); color: var(--navy-900); }
.btn-gold:hover { background: var(--gold-400); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(201,162,39,.35); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; transform: translateY(-2px); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }
.btn-line { border-color: var(--gold-500); color: var(--gold-600); }
.btn-line:hover { background: var(--gold-500); color: var(--navy-900); }
.hero-badges { position: absolute; bottom: 36px; left: 0; right: 0; z-index: 2; }
.hero-badges .row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hero-badge { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 16px 20px; color: rgba(255,255,255,.85); backdrop-filter: blur(4px); }
.hero-badge b { display: block; color: var(--gold-400); font-size: 24px; font-family: var(--font-head); }
.hero-badge span { font-size: 13px; }
@media (max-width: 768px) { .hero-badges .row { grid-template-columns: repeat(2, 1fr); display:none;} .hero { min-height: 520px; } }

/* ---------- 通用 section ---------- */
.section { padding: 86px 0; }
.section.bg-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.sec-label { color: var(--gold-600); letter-spacing: 5px; font-size: 13px; text-transform: uppercase; }
.sec-title { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; margin: 8px 0 14px; position: relative; padding-bottom: 14px; }
.sec-title::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 56px; height: 3px; background: var(--gold-500); }
.sec-desc { color: var(--ink-2); font-size: 15.5px; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head.left .sec-title::after { left: 0; transform: none; }

/* ---------- 关于（首页区块） ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.about-media { position: relative; }
.about-media .img-main { border-radius: 14px; box-shadow: var(--shadow-md); height: 460px; object-fit: cover; width: 100%; }
.about-media .img-sub { position: absolute; right: -18px; bottom: -24px; width: 46%; border: 6px solid #fff; border-radius: 10px; box-shadow: var(--shadow-sm); }
.about-media .img-badge { position: absolute; top: -26px; left: -18px; background: var(--gold-500); color: var(--navy-900); border-radius: 10px; padding: 14px 20px; font-family: var(--font-head); font-weight: 800; font-size: 15px; box-shadow: var(--shadow-md); }
.about-body .lead { font-size: 18px; color: var(--navy-700); font-weight: 700; font-family: var(--font-head); margin-bottom: 14px; }
.about-body p { color: var(--ink-2); margin-bottom: 12px; }
.about-points { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-points li { display: flex; align-items: center; gap: 9px; color: var(--ink); font-size: 15px; }
.about-points .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); flex: none; box-shadow: 0 0 0 4px var(--gold-100); }
@media (max-width: 992px) { .about-grid { grid-template-columns: 1fr; gap: 46px; } .about-media .img-main { height: 340px; } }

/* ---------- 数据墙 ---------- */
.stats { background: linear-gradient(120deg, var(--navy-800), var(--navy-900)); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item { padding: 30px 10px; border-right: 1px solid rgba(255,255,255,.09); }
.stat-item:last-child { border-right: 0; }
.stat-num { font-family: var(--font-head); font-size: clamp(38px, 4.4vw, 58px); font-weight: 800; color: var(--gold-400); line-height: 1.1; }
.stat-num .unit { font-size: .5em; margin-left: 2px; }
.stat-label { margin-top: 8px; color: rgba(255,255,255,.75); font-size: 15px; letter-spacing: 2px; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } .stat-item:nth-child(2) { border-right: 0; } }

/* ---------- 案例 / 卡片 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.case-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; border: 1px solid var(--line); }
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.case-card .thumb { position: relative; overflow: hidden; aspect-ratio: 4/3; background: #eef1f5; }
.case-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.case-card:hover .thumb img { transform: scale(1.07); }
.case-card .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,15,30,.55), transparent 55%); opacity: 0; transition: opacity .3s; }
.case-card:hover .thumb::after { opacity: 1; }
.case-card .c-body { padding: 18px 20px 20px; }
.case-card .c-cat { font-size: 12px; color: var(--gold-600); letter-spacing: 1px; text-transform: uppercase; }
.case-card .c-title { font-size: 17px; font-weight: 700; color: var(--navy-800); margin: 6px 0 0; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 992px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .case-grid { grid-template-columns: 1fr; } }

/* ---------- 新闻列表行 ---------- */
.news-row { display: flex; flex-direction: column; gap: 0; }
.news-item { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 2px; border-bottom: 1px dashed var(--line); transition: padding .2s; }
.news-item:hover { padding-left: 8px; }
.news-item .t { display: flex; align-items: center; gap: 10px; min-width: 0; }
.news-item .t a { color: var(--ink); font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .2s; }
.news-item .t a:hover { color: var(--navy-700); }
.news-tag { flex: none; font-size: 11px; padding: 1px 8px; border-radius: 3px; background: var(--gold-100); color: var(--gold-600); border: 1px solid #ecdca6; }
.news-tag.top { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.news-item .d { flex: none; color: #98a1ae; font-size: 13px; font-variant-numeric: tabular-nums; }

/* 双栏（新闻+公告） */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; }
.mini-title { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--navy-800); padding-bottom: 12px; margin-bottom: 6px; }
.mini-title h3 { margin: 0; font-size: 21px; font-weight: 800; }
.mini-title .more { font-size: 13px; color: var(--ink-2); }
.mini-title .more:hover { color: var(--gold-600); }
@media (max-width: 992px) { .split-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- 荣誉横幅（首页） ---------- */
.honor-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.honor-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px 10px; text-align: center; transition: all .3s; }
.honor-card:hover { border-color: var(--gold-500); box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.honor-card .n { font-size: 13px; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 992px) { .honor-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .honor-strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 理念 CTA ---------- */
.quote-band { position: relative; background-color: var(--navy-800); background-image: url("/static/media/bg/quote-bg.jpg"); background-size: cover; background-position: center; padding: 100px 0; text-align: center; color: #fff; }
.quote-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(6,15,30,.88), rgba(16,48,90,.84)); }
.quote-band > * { position: relative; z-index: 1; }
.quote-band .q { font-family: var(--font-head); font-size: clamp(22px, 3vw, 34px); font-weight: 700; max-width: 900px; margin: 0 auto; line-height: 1.7; }
.quote-band .q span { color: var(--gold-400); }

/* ---------- 页脚 ---------- */
.footer { background: var(--navy-950); color: rgba(255,255,255,.72); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer h4 { color: #fff; font-size: 16px; margin: 0 0 18px; letter-spacing: 1px; }
.footer h4::before { content: ""; display: inline-block; width: 16px; height: 2px; background: var(--gold-500); vertical-align: middle; margin-right: 8px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 9px; }
.footer ul a { color: rgba(255,255,255,.68); transition: color .2s; font-size: 14px; }
.footer ul a:hover { color: var(--gold-400); }
.footer .f-about p { font-size: 14px; line-height: 1.9; margin-top: 6px; }
.footer .f-contact li { display: flex; gap: 8px; align-items: baseline; font-size: 14px; }
.footer .f-contact svg { flex: none; transform: translateY(3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; color: rgba(255,255,255,.5); }
.footer-bottom a { color: rgba(255,255,255,.6); }
@media (max-width: 992px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 内页：页头 ---------- */
.page-hero { background: linear-gradient(110deg, var(--navy-800), var(--navy-700) 60%, var(--navy-600)); color: #fff; padding: 62px 0 56px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -160px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(201,162,39,.16), transparent 65%); }
.page-hero h1 { color: #fff; font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin: 0; }
.page-hero .crumb { font-size: 13px; color: rgba(255,255,255,.66); margin-top: 10px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.page-hero .crumb a:hover { color: var(--gold-400); }
.page-hero .crumb .sep { color: rgba(255,255,255,.35); }

/* 内页通用布局 */
.page-main { padding: 56px 0 80px; }
.list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.list-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: all .25s; }
.list-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.list-card.noimg { padding: 22px 24px; display: block; }
.list-card .lc-title { font-size: 16.5px; font-weight: 700; color: var(--navy-800); margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.list-card .lc-meta { font-size: 12.5px; color: #98a1ae; display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 992px) { .list-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .list-grid { grid-template-columns: 1fr; } }

/* 纯文本新闻列表（内页） */
.text-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 26px; }
.text-list .news-item { padding: 16px 2px; }
.text-list .news-item .t a { font-size: 15px; }
.text-list .news-item .d { width: 84px; text-align: right; }

/* 分页 */
.pagination-bar { display: flex; justify-content: center; margin-top: 44px; gap: 6px; flex-wrap: wrap; }
.pagination-bar a, .pagination-bar .page-current { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); font-size: 14px; background: #fff; transition: all .2s; }
.pagination-bar a:hover { border-color: var(--gold-500); color: var(--gold-600); }
.pagination-bar .page-current { background: var(--navy-800); border-color: var(--navy-800); color: #fff; font-weight: 700; }

/* ---------- 文章详情 ---------- */
.article-wrap { max-width: 860px; margin: 0 auto; }
.article-head { text-align: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.article-head h1 { font-size: clamp(22px, 2.8vw, 32px); font-weight: 800; line-height: 1.4; margin: 0 0 16px; }
.article-meta { color: #98a1ae; font-size: 13.5px; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.article-meta span { display: inline-flex; align-items: center; gap: 5px; }
.article-meta .src-tag { background: var(--gold-100); color: var(--gold-600); padding: 1px 10px; border-radius: 20px; font-size: 12px; }
.article-body { font-size: 16px; line-height: 2; color: var(--ink); }
.article-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 18px auto; box-shadow: var(--shadow-sm); }
.article-body p { margin: 0 0 18px; }
.article-body h2, .article-body h3 { margin: 28px 0 12px; }
.article-body table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.article-body td, .article-body th { border: 1px solid var(--line); padding: 8px 12px; font-size: 15px; }
.article-origin { margin: 24px 0; padding: 14px 18px; background: var(--bg-soft); border-left: 3px solid var(--gold-500); border-radius: 0 8px 8px 0; font-size: 14px; color: var(--ink-2); }
.article-origin a { color: var(--navy-700); font-weight: 600; }
.article-pager { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; font-size: 14.5px; }
.article-pager a { color: var(--ink-2); max-width: 46%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .2s; }
.article-pager a:hover { color: var(--navy-700); }
.article-pager .disable { color: #c4cad3; }
.related-list { margin-top: 48px; }
.related-list h3 { font-size: 19px; padding-bottom: 12px; border-bottom: 2px solid var(--navy-800); margin-bottom: 4px; }

/* ---------- 单页 ---------- */
.page-doc { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 46px 54px; }
.page-doc h2 { font-size: 22px; margin: 30px 0 14px; padding-left: 12px; border-left: 4px solid var(--gold-500); }
.page-doc p { margin-bottom: 16px; }
.page-doc img { border-radius: 8px; margin: 14px auto; }
@media (max-width: 768px) { .page-doc { padding: 26px 20px; } }

/* ---------- 空状态 ---------- */
.empty { text-align: center; padding: 70px 0; color: #9aa4b1; }
.empty::before { content: "—"; display: block; font-size: 40px; color: #d7dde5; margin-bottom: 8px; }

/* ---------- 搜索页 ---------- */
.search-box-inline { max-width: 560px; margin: 0 auto 40px; display: flex; border: 1.5px solid var(--navy-700); border-radius: 40px; overflow: hidden; background: #fff; }
.search-box-inline input { flex: 1; border: 0; outline: 0; padding: 12px 20px; font-size: 15px; }
.search-box-inline button { background: var(--navy-800); border: 0; color: #fff; padding: 0 26px; cursor: pointer; font-weight: 700; }

/* 底部浮动回到顶部 */
.to-top { position: fixed; right: 26px; bottom: 30px; width: 44px; height: 44px; border-radius: 50%; background: var(--navy-800); color: #fff; display: none; align-items: center; justify-content: center; cursor: pointer; z-index: 900; box-shadow: var(--shadow-md); border: 0; }
.to-top.show { display: flex; }
@media( max-width: 768px){
 #dd{display: display;｝   
}


