/* =========================================================
   北京圣伟律师事务所济南分所 — 官网样式
   设计基调：深海军蓝 + 鎏金点缀，衬线标题，大气简洁
   ========================================================= */

:root {
  --navy: #0e2a47;
  --navy-2: #143a5f;
  --navy-3: #1b4a77;
  --gold: #c8a464;
  --gold-2: #a9853f;
  --gold-light: #e6d3ab;
  --text: #333a45;
  --muted: #7a8494;
  --bg: #f5f7fa;
  --line: #e4e9f0;
  --white: #ffffff;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --shadow: 0 10px 30px rgba(14, 42, 71, 0.08);
  --radius: 6px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s; }
ul, ol { list-style: none; }

.container { width: min(1200px, 92%); margin: 0 auto; }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); font-weight: 700; }

/* ---------- 顶部通栏 ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  font-size: 12.5px;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  height: 34px;
}
.topbar a:hover { color: var(--gold-light); }
.topbar .top-contact span { margin-left: 18px; }
.topbar .top-contact b { color: var(--gold-light); font-weight: 600; letter-spacing: .5px; }

/* ---------- 导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(14,42,71,.1); }
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 46px; height: 46px; flex: none;
  border-radius: 50%;
  object-fit: contain;
  overflow: hidden;
}
.logo-text .cn {
  font-family: var(--serif); font-size: 19px; font-weight: 700;
  color: var(--navy); letter-spacing: 1px; line-height: 1.3;
}
.logo-text .en {
  font-size: 10.5px; color: var(--muted); letter-spacing: 1.6px;
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nav > li > a {
  display: block; padding: 8px 17px;
  font-size: 15.5px; color: var(--navy);
  font-family: var(--serif); letter-spacing: 1px;
  border-bottom: 2px solid transparent;
}
.nav > li > a:hover, .nav > li.active > a {
  color: var(--gold-2);
  border-bottom-color: var(--gold);
}
.nav > li > a .sub-en {
  display: block; font-family: var(--sans); font-size: 10px;
  color: #b3bac4; letter-spacing: .5px; text-transform: uppercase;
  line-height: 1.2;
}
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 8px; right: 8px;
  height: 2px; background: var(--navy); transition: .3s;
}
.nav-toggle span { top: 50%; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

/* ---------- 首页轮播 ---------- */
.home-slider { position: relative; height: min(78vh, 640px); min-height: 420px; overflow: hidden; }
.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease;
  display: flex; align-items: center;
}
.slide.active { opacity: 1; }
.slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,28,50,.82) 0%, rgba(10,28,50,.45) 55%, rgba(10,28,50,.2) 100%);
}
.slide-content {
  position: relative; z-index: 2; color: #fff;
  width: min(1200px, 92%); margin: 0 auto;
}
.slide-content .kicker {
  font-size: 14px; letter-spacing: 4px; color: var(--gold-light);
  text-transform: uppercase; margin-bottom: 14px;
  opacity: 0; transform: translateY(24px); transition: .8s .3s;
}
.slide-content h2 {
  font-size: clamp(30px, 4.6vw, 54px); color: #fff;
  letter-spacing: 6px; line-height: 1.35; margin-bottom: 18px;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
  opacity: 0; transform: translateY(24px); transition: .8s .45s;
}
.slide-content p {
  font-size: clamp(14px, 1.6vw, 18px); letter-spacing: 2px;
  color: rgba(255,255,255,.85); max-width: 640px;
  opacity: 0; transform: translateY(24px); transition: .8s .6s;
}
.slide.active .kicker, .slide.active h2, .slide.active p {
  opacity: 1; transform: translateY(0);
}
.slide-dots {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 5;
}
.slide-dots button {
  width: 34px; height: 3px; border: none; cursor: pointer;
  background: rgba(255,255,255,.4); transition: .3s;
}
.slide-dots button.active { background: var(--gold); }

/* ---------- 页面 banner（内页） ---------- */
.page-banner {
  position: relative; height: 320px;
  background-size: cover; background-position: center;
  display: flex; align-items: center;
}
.page-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,28,50,.85), rgba(10,28,50,.5));
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 {
  color: #fff; font-size: 34px; letter-spacing: 4px; margin-bottom: 6px;
}
.page-banner .en {
  color: var(--gold-light); font-size: 13px; letter-spacing: 3px;
  text-transform: uppercase;
}
.breadcrumb {
  position: absolute; bottom: -1px; left: 0; right: 0; z-index: 2;
  background: rgba(255,255,255,.92);
}
.breadcrumb .container {
  display: flex; align-items: center; height: 46px; gap: 8px;
  font-size: 13px; color: var(--muted);
}
.breadcrumb a:hover { color: var(--gold-2); }
.breadcrumb .sep { color: #c3cad4; }

/* ---------- 区块标题 ---------- */
.section { padding: 84px 0; }
.section.tight { padding: 60px 0; }
.section.gray { background: var(--bg); }
.section.navy { background: var(--navy); }

.sec-head { text-align: center; margin-bottom: 52px; }
.sec-head .kicker {
  display: block; font-size: 12.5px; letter-spacing: 3px;
  color: var(--gold-2); text-transform: uppercase; margin-bottom: 10px;
  font-family: var(--serif);
}
.sec-head h2 {
  font-size: 32px; letter-spacing: 3px; position: relative;
  display: inline-block; padding-bottom: 18px;
}
.sec-head h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 46px; height: 3px; background: var(--gold);
}
.sec-head .desc {
  margin-top: 16px; color: var(--muted); font-size: 15px;
  letter-spacing: 1px;
}
.sec-head.left { text-align: left; }
.sec-head.left h2::after { left: 0; transform: none; }

/* ---------- 数字统计 ---------- */
.stats-band { background: var(--navy); padding: 60px 0; position: relative; overflow: hidden; }
.stats-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(200,164,100,.12), transparent 45%),
    radial-gradient(ellipse at 85% 85%, rgba(200,164,100,.1), transparent 45%);
}
.stats {
  position: relative; display: grid;
  grid-template-columns: repeat(5, 1fr); gap: 20px;
}
.stat { text-align: center; color: #fff; }
.stat .num {
  font-family: var(--serif); font-size: 46px; font-weight: 700;
  color: var(--gold-light); line-height: 1.15;
}
.stat .num small { font-size: 20px; margin-left: 2px; }
.stat .label { margin-top: 6px; font-size: 14.5px; letter-spacing: 2px; color: rgba(255,255,255,.78); }

/* ---------- 简介预览（首页） ---------- */
.about-preview { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.about-preview .pic { position: relative; }
.about-preview .pic img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-preview .pic::before {
  content: ""; position: absolute; left: -16px; bottom: -16px;
  width: 60%; height: 60%; border: 2px solid var(--gold);
  border-radius: var(--radius); z-index: -1;
}
.about-preview h3 { font-size: 26px; letter-spacing: 2px; margin-bottom: 20px; }
.about-preview h3 em { font-style: normal; color: var(--gold-2); }
.about-preview .text p { margin-bottom: 14px; text-align: justify; color: #4a5361; }
.btn {
  display: inline-block; margin-top: 10px; padding: 11px 34px;
  border: 1px solid var(--navy); color: var(--navy);
  letter-spacing: 3px; font-size: 14px; border-radius: 2px;
  transition: .3s; background: transparent; cursor: pointer;
}
.btn:hover { background: var(--navy); color: #fff; }
.btn.gold { border-color: var(--gold); color: var(--gold-2); }
.btn.gold:hover { background: var(--gold); color: #fff; }
.btn.light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn.light:hover { background: var(--gold); border-color: var(--gold); }

/* ---------- 业务领域 ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.biz-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; position: relative; overflow: hidden;
  transition: .35s;
}
.biz-card::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 0; height: 3px; background: var(--gold); transition: .35s;
}
.biz-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.biz-card:hover::before { width: 100%; }
.biz-card .ico {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  color: var(--gold-light); display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; font-size: 22px; font-family: var(--serif);
}
.biz-card h4 { font-size: 17.5px; letter-spacing: 1px; margin-bottom: 8px; }
.biz-card p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.biz-more { text-align: center; margin-top: 44px; }

/* ---------- 理念文化 ---------- */
.concept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.concept-card {
  background: #fff; border-radius: var(--radius); padding: 38px 30px;
  text-align: center; border-top: 3px solid var(--gold);
  box-shadow: 0 6px 24px rgba(14,42,71,.07); transition: .35s;
}
.concept-card:hover { transform: translateY(-6px); }
.concept-card .tag {
  display: inline-block; font-size: 12.5px; letter-spacing: 2px;
  color: var(--gold-2); border: 1px solid var(--gold);
  padding: 3px 14px; border-radius: 20px; margin-bottom: 16px;
  font-family: var(--serif);
}
.concept-card h4 { font-size: 21px; letter-spacing: 2px; margin-bottom: 10px; }
.concept-card p { color: var(--muted); font-size: 13.5px; letter-spacing: 1px; }

/* 四大支持体系 */
.system-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.system-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(200,164,100,.35);
  border-radius: var(--radius); padding: 34px 26px; color: #fff;
  transition: .35s;
}
.system-card:hover { background: rgba(200,164,100,.12); transform: translateY(-5px); }
.system-card .no {
  font-family: var(--serif); font-size: 15px; color: var(--gold);
  letter-spacing: 2px; margin-bottom: 14px;
}
.system-card h4 { color: #fff; font-size: 19px; letter-spacing: 2px; margin-bottom: 12px; }
.system-card p { color: rgba(255,255,255,.72); font-size: 13.5px; line-height: 2; letter-spacing: 1px; }

/* ---------- 荣誉精选（首页） ---------- */
.honor-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.honor-item {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; transition: .3s;
}
.honor-item:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.honor-item .medal {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, #e8cf9a 100%);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 21px;
}
.honor-item h4 { font-size: 16.5px; letter-spacing: .5px; line-height: 1.55; margin-bottom: 6px; }
.honor-item .meta { font-size: 13px; color: var(--muted); }
.honor-item .meta b { color: var(--gold-2); font-weight: 600; margin-right: 8px; }

/* ---------- 分屏板块（党建/公益） ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .pic img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.split h3 { font-size: 26px; letter-spacing: 2px; margin-bottom: 18px; }
.split p { color: #4a5361; text-align: justify; margin-bottom: 12px; }
.point-list { margin: 14px 0 20px; }
.point-list li {
  position: relative; padding-left: 24px; margin-bottom: 10px;
  color: #4a5361; font-size: 14.5px;
}
.point-list li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg);
}

/* ---------- 联系条（首页底部） ---------- */
.contact-strip { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.contact-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 54px 0; flex-wrap: wrap; }
.contact-strip h3 { color: #fff; font-size: 24px; letter-spacing: 2px; margin-bottom: 8px; }
.contact-strip h3 em { font-style: normal; color: var(--gold-light); }
.contact-strip p { color: rgba(255,255,255,.75); font-size: 14px; letter-spacing: 1px; }
.contact-strip .tel { text-align: right; }
.contact-strip .tel .label { font-size: 13px; color: var(--gold-light); letter-spacing: 2px; }
.contact-strip .tel .num {
  font-family: var(--serif); font-size: 34px; font-weight: 700;
  color: #fff; letter-spacing: 1px;
}
.contact-strip .tel .addr { font-size: 13.5px; color: rgba(255,255,255,.75); margin-top: 4px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #0b2138; color: rgba(255,255,255,.62); font-size: 13.5px; }
.footer-main {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px; padding: 64px 0 48px;
}
.footer-main h4 {
  color: #fff; font-size: 16px; letter-spacing: 2px; margin-bottom: 20px;
  font-family: var(--serif); position: relative; padding-bottom: 12px;
}
.footer-main h4::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 28px; height: 2px; background: var(--gold);
}
.footer-main p { margin-bottom: 10px; line-height: 1.9; }
.footer-main .f-about .logo { margin-bottom: 18px; }
.footer-main .f-about .logo-text .cn { color: #fff; font-size: 17px; }
.footer-main .f-about .logo-text .en { color: rgba(255,255,255,.4); }
.footer-main li { margin-bottom: 9px; }
.footer-main li a:hover { color: var(--gold-light); }
.footer-main .f-contact li { display: flex; gap: 10px; }
.footer-main .f-contact .ic { color: var(--gold); flex: none; }
.footer-copy { border-top: 1px solid rgba(255,255,255,.08); }
.footer-copy .container {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; flex-wrap: wrap; gap: 8px; font-size: 12.5px;
  color: rgba(255,255,255,.4);
}
.footer-copy a { color: rgba(255,255,255,.4); }
.footer-copy a:hover { color: var(--gold-light); }

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed; right: 26px; bottom: 30px; z-index: 90;
  width: 46px; height: 46px; border: none; border-radius: 4px;
  background: var(--navy); color: var(--gold-light); font-size: 18px;
  cursor: pointer; opacity: 0; pointer-events: none; transition: .3s;
  box-shadow: 0 6px 18px rgba(14,42,71,.3);
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--gold-2); color: #fff; }

/* =========================================================
   内页组件
   ========================================================= */

/* --- 图文长文 --- */
.article { max-width: 860px; margin: 0 auto; }
.article p { text-indent: 2em; margin-bottom: 18px; text-align: justify; color: #3d4552; font-size: 15.5px; }
.article p.no-indent { text-indent: 0; }

/* --- 律所概况页 --- */
.about-block + .about-block { margin-top: 64px; }
.about-block h3.block-title {
  font-size: 22px; letter-spacing: 2px; margin-bottom: 24px;
  padding-left: 14px; border-left: 4px solid var(--gold);
}

/* 文化六宫格 */
.culture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.culture-item {
  background: var(--bg); border-radius: var(--radius);
  padding: 30px 26px; transition: .3s; border: 1px solid transparent;
}
.culture-item:hover { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.culture-item .tag {
  font-size: 12.5px; color: var(--gold-2); letter-spacing: 2px;
  font-family: var(--serif); display: block; margin-bottom: 8px;
}
.culture-item h4 { font-size: 19px; letter-spacing: 1px; line-height: 1.6; }

/* 十有 */
.shiyou-list { display: flex; flex-wrap: wrap; gap: 12px; }
.shiyou-list span {
  background: #fff; border: 1px solid var(--gold);
  color: var(--gold-2); border-radius: 30px;
  padding: 7px 22px; font-size: 14.5px; letter-spacing: 2px;
  font-family: var(--serif); transition: .3s;
}
.shiyou-list span:hover { background: var(--gold); color: #fff; }

/* --- 时间轴 --- */
.timeline { position: relative; padding: 20px 0; }
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(var(--gold) 0%, var(--line) 100%);
  transform: translateX(-50%);
}
.tl-item { position: relative; width: 50%; padding: 0 48px 44px 0; }
.tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 44px 48px; }
.tl-item .dot {
  position: absolute; top: 4px; right: -7px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3px solid var(--gold); z-index: 2;
}
.tl-item:nth-child(even) .dot { right: auto; left: -7px; }
.tl-item .year {
  font-family: var(--serif); font-size: 26px; font-weight: 700;
  color: var(--gold-2); margin-bottom: 8px; letter-spacing: 1px;
}
.tl-item h4 { font-size: 17px; margin-bottom: 6px; letter-spacing: 1px; }
.tl-item p { color: var(--muted); font-size: 14px; text-align: justify; }

/* --- 组织架构 --- */
.org-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.org-card {
  text-align: center; background: #fff; border-radius: var(--radius);
  padding: 36px 22px; border: 1px solid var(--line); transition: .3s; position: relative;
}
.org-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.org-card .char {
  font-family: var(--serif); font-size: 44px; font-weight: 700;
  color: var(--navy); line-height: 1;
}
.org-card .char b { color: var(--gold-2); }
.org-card h4 { margin-top: 14px; font-size: 17px; letter-spacing: 1px; }
.org-card p { margin-top: 8px; font-size: 13px; color: var(--muted); }
.org-card .like { margin-top: 10px; font-size: 12px; color: var(--gold-2); letter-spacing: 1px; }

/* --- 业务领域页 --- */
.biz-detail { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.biz-row {
  display: flex; gap: 20px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: .3s;
}
.biz-row:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-4px); }
.biz-row .ico {
  flex: none; width: 56px; height: 56px; border-radius: 8px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  color: var(--gold-light); font-family: var(--serif); font-size: 24px;
  display: flex; align-items: center; justify-content: center;
}
.biz-row h4 { font-size: 17.5px; margin-bottom: 6px; letter-spacing: 1px; }
.biz-row p { font-size: 13.5px; color: var(--muted); text-align: justify; }

/* --- 团队页 --- */
.team-note {
  background: linear-gradient(120deg, var(--navy), var(--navy-2));
  color: rgba(255,255,255,.85); border-radius: var(--radius);
  padding: 34px 40px; font-size: 15px; letter-spacing: 1px; line-height: 2;
  margin-bottom: 48px;
}
.team-note b { color: var(--gold-light); }
.lawyer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lawyer-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; text-align: center; transition: .3s; position: relative; overflow: hidden;
}
.lawyer-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; background: var(--gold); transform: scaleX(0); transition: .35s;
}
.lawyer-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.lawyer-card:hover::after { transform: scaleX(1); }
.lawyer-card .avatar {
  width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  color: var(--gold-light); font-family: var(--serif); font-size: 32px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--gold);
}
.lawyer-card h4 { font-size: 19px; letter-spacing: 2px; }
.lawyer-card .role {
  font-size: 13px; color: var(--gold-2); letter-spacing: 1px; margin: 6px 0 12px;
}
.lawyer-card p { font-size: 13px; color: var(--muted); text-align: justify; }

/* --- 荣誉页 tabs --- */
.honor-tabs { display: flex; justify-content: center; gap: 14px; margin-bottom: 44px; flex-wrap: wrap; }
.honor-tabs button {
  padding: 10px 36px; background: transparent; cursor: pointer;
  border: 1px solid var(--line); border-radius: 30px;
  font-size: 15px; letter-spacing: 2px; color: var(--muted);
  font-family: var(--serif); transition: .3s;
}
.honor-tabs button.active {
  background: var(--navy); border-color: var(--navy); color: var(--gold-light);
}
.honor-panel { display: none; }
.honor-panel.active { display: block; animation: fadeIn .5s; }
.honor-row {
  display: flex; gap: 20px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 30px; margin-bottom: 16px; transition: .3s;
}
.honor-row:hover { box-shadow: var(--shadow); transform: translateX(6px); }
.honor-row .date {
  flex: none; width: 108px; text-align: center;
  font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--gold-2);
  border-right: 1px dashed var(--line); padding: 4px 14px 4px 0;
}
.honor-row h4 { font-size: 16.5px; letter-spacing: .5px; line-height: 1.6; }
.honor-row .from { font-size: 13px; color: var(--muted); margin-top: 4px; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(14px);} to { opacity: 1; transform: none;} }

/* --- 党建页 --- */
.party-method { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pm-card {
  background: #fff; border-radius: var(--radius); padding: 34px 30px;
  border: 1px solid var(--line); border-left: 4px solid var(--gold); transition: .3s;
}
.pm-card:hover { box-shadow: var(--shadow); }
.pm-card .no { font-family: var(--serif); color: var(--gold-2); font-size: 14px; letter-spacing: 2px; margin-bottom: 10px; }
.pm-card h4 { font-size: 18px; letter-spacing: 1px; margin-bottom: 8px; }
.pm-card p { font-size: 13.5px; color: var(--muted); }

/* --- 公益页 --- */
.welfare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.welfare-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; transition: .3s;
}
.welfare-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); border-color: transparent; }
.welfare-card .ico {
  width: 54px; height: 54px; border-radius: 50%; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--gold) 0%, #e2c78e 100%);
  color: #fff; font-size: 23px; display: flex; align-items: center; justify-content: center;
}
.welfare-card h4 { font-size: 17.5px; margin-bottom: 10px; letter-spacing: 1px; }
.welfare-card p { font-size: 13.5px; color: var(--muted); text-align: justify; }

/* --- 联系页 --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; }
.contact-card {
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; border-radius: var(--radius); padding: 44px 40px;
}
.contact-card h3 { color: #fff; font-size: 22px; letter-spacing: 2px; margin-bottom: 26px; }
.contact-card h3 em { font-style: normal; color: var(--gold-light); }
.contact-card li { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-card .ic {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(200,164,100,.18); border: 1px solid rgba(200,164,100,.5);
  color: var(--gold-light); display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.contact-card b { display: block; font-size: 13.5px; color: var(--gold-light); letter-spacing: 2px; margin-bottom: 4px; }
.contact-card p { font-size: 14.5px; color: rgba(255,255,255,.85); line-height: 1.8; }
.branch-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.branch-table th {
  background: var(--navy); color: var(--gold-light); font-weight: 600;
  padding: 15px 18px; text-align: left; font-size: 14.5px; letter-spacing: 2px;
}
.branch-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 13.8px; color: #4a5361; }
.branch-table tr:last-child td { border-bottom: none; }
.branch-table tr:hover td { background: #f8fafc; }
.branch-table td.name { font-weight: 600; color: var(--navy); white-space: nowrap; }
.contact-map-note {
  margin-top: 20px; background: var(--bg); border: 1px dashed var(--line);
  border-radius: var(--radius); padding: 20px 24px; font-size: 13.5px; color: var(--muted);
}

/* --- 滚动显现动画 --- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 新闻动态页 ---------- */
.news-hero {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px;
  align-items: center; margin-bottom: 56px;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s;
}
.news-hero:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(14,42,71,.12); }
.news-hero .pic img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.news-hero .info { padding: 0 36px 0 0; }
.news-hero .meta {
  display: flex; align-items: center; gap: 14px; margin-bottom: 14px;
  font-size: 13px; color: var(--muted);
}
.news-hero .meta .cat {
  background: var(--navy); color: var(--gold-light);
  padding: 3px 12px; border-radius: 2px; font-size: 12px; letter-spacing: 2px;
}
.news-hero h3 {
  font-size: 22px; letter-spacing: 1px; line-height: 1.5; margin-bottom: 16px;
  color: var(--navy);
}
.news-hero p { font-size: 14.5px; color: #4a5361; line-height: 1.85; margin-bottom: 18px; }
.news-hero .more { color: var(--gold-2); font-size: 14px; letter-spacing: 2px; }

.news-tabs {
  display: flex; justify-content: center; gap: 14px;
  margin-bottom: 44px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line); padding-bottom: 0;
}
.news-tabs button {
  background: none; border: none; cursor: pointer;
  padding: 12px 26px; font-size: 15px; font-family: var(--serif);
  color: var(--muted); letter-spacing: 2px; position: relative;
  transition: color .25s;
}
.news-tabs button::after {
  content: ""; position: absolute; left: 50%; bottom: -1px;
  transform: translateX(-50%); width: 0; height: 3px;
  background: var(--gold); transition: width .3s;
}
.news-tabs button:hover { color: var(--navy); }
.news-tabs button.active { color: var(--navy); font-weight: 700; }
.news-tabs button.active::after { width: 60%; }

.news-panel { display: none; }
.news-panel.active { display: block; animation: fadeIn .5s; }

.news-card {
  display: grid; grid-template-columns: 260px 1fr; gap: 28px;
  padding: 24px; background: #fff; border-radius: var(--radius);
  border: 1px solid var(--line); margin-bottom: 22px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.news-card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow);
  border-color: rgba(200,164,100,.5);
}
.news-card .pic { position: relative; overflow: hidden; border-radius: 4px; }
.news-card .pic img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  transition: transform .5s;
}
.news-card:hover .pic img { transform: scale(1.06); }
.news-card .pic .tag {
  position: absolute; top: 10px; left: 10px;
  background: rgba(14,42,71,.92); color: var(--gold-light);
  padding: 4px 12px; border-radius: 2px;
  font-size: 12px; letter-spacing: 2px;
}
.news-card .info { display: flex; flex-direction: column; }
.news-card .info .date {
  font-family: var(--serif); font-size: 14px; color: var(--gold-2);
  letter-spacing: 2px; margin-bottom: 10px;
}
.news-card .info h4 {
  font-size: 17.5px; line-height: 1.55; letter-spacing: .5px;
  margin-bottom: 12px; color: var(--navy);
  transition: color .25s;
}
.news-card:hover .info h4 { color: var(--gold-2); }
.news-card .info p {
  font-size: 13.8px; color: #5a6371; line-height: 1.85;
  flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card .info .from {
  margin-top: 12px; font-size: 12.5px; color: var(--muted);
  border-top: 1px dashed var(--line); padding-top: 10px;
}

.news-list-home {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.news-list-home .news-card {
  grid-template-columns: 1fr; gap: 0; padding: 0;
  overflow: hidden; margin-bottom: 0;
}
.news-list-home .news-card .pic img { aspect-ratio: 16/9; }
.news-list-home .news-card .info { padding: 22px 24px 26px; }

.news-pager {
  display: flex; justify-content: center; align-items: center;
  gap: 8px; margin-top: 48px;
}
.news-pager a, .news-pager span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 4px;
  font-size: 14px; color: var(--text); transition: .25s;
}
.news-pager a:hover { border-color: var(--gold); color: var(--gold-2); }
.news-pager .cur { background: var(--navy); color: #fff; border-color: var(--navy); }

/* =========================================================
   新闻详情
   ========================================================= */
.news-detail { max-width: 860px; margin: 0 auto; }
.nd-loading, .nd-error { padding: 80px 0; text-align: center; color: var(--muted); font-size: 16px; }
.nd-error h2 { font-family: var(--serif); color: var(--navy); margin-bottom: 12px; }
.nd-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  font-size: 13.5px; color: var(--muted); margin-bottom: 18px;
}
.nd-meta .nd-cat {
  display: inline-block; padding: 4px 14px; border-radius: 3px;
  background: var(--navy); color: var(--gold-light); font-size: 13px; letter-spacing: 1px;
}
.nd-title {
  font-family: var(--serif); font-size: 30px; font-weight: 700;
  color: var(--navy); line-height: 1.45; margin-bottom: 26px;
}
.nd-cover { margin-bottom: 28px; border-radius: 6px; overflow: hidden; }
.nd-cover img { display: block; width: 100%; }
.nd-summary {
  font-size: 16px; color: #4a5361; line-height: 1.9;
  padding: 18px 22px; margin-bottom: 30px;
  background: #f5f7fa; border-left: 4px solid var(--gold); border-radius: 0 4px 4px 0;
}
.article-body { font-size: 16.5px; color: #2b3442; line-height: 2; }
.article-body p { margin-bottom: 18px; text-align: justify; }
.article-body img { max-width: 100%; height: auto; border-radius: 4px; margin: 18px 0; }
.article-body h2, .article-body h3 {
  font-family: var(--serif); color: var(--navy); margin: 30px 0 14px;
}
.article-body h2 { font-size: 22px; }
.article-body h3 { font-size: 18px; }
.article-body a { color: var(--gold-2); text-decoration: underline; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 26px; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote {
  margin: 20px 0; padding: 14px 22px; border-left: 4px solid var(--gold);
  background: #f5f7fa; color: #4a5361; border-radius: 0 4px 4px 0;
}
.nd-nav {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line);
  font-size: 14px;
}
.nd-nav a { color: var(--text); transition: .2s; max-width: 42%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nd-nav a:hover { color: var(--gold-2); }
.nd-nav .nd-next { text-align: right; }
.nd-back {
  display: inline-block; padding: 10px 26px; border: 1px solid var(--navy);
  border-radius: 4px; color: var(--navy); font-size: 14px; white-space: nowrap; transition: .25s;
}
.nd-back:hover { background: var(--navy); color: #fff; }

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 1024px) {
  .biz-grid, .system-grid, .org-grid { grid-template-columns: repeat(2, 1fr); }
  .concept-grid, .culture-grid, .welfare-grid, .lawyer-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .about-preview, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .biz-detail, .party-method { grid-template-columns: 1fr; }
  .contact-strip .tel { text-align: left; }
  .news-hero { grid-template-columns: 1fr; gap: 0; }
  .news-hero .info { padding: 28px 32px 36px; }
  .news-card { grid-template-columns: 220px 1fr; gap: 22px; }
}

@media (max-width: 768px) {
  .topbar .top-contact span.hide-sm { display: none; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 10px 0; gap: 0;
    box-shadow: 0 14px 24px rgba(14,42,71,.12);
    display: none;
  }
  .nav.open { display: flex; }
  .nav > li > a { padding: 13px 24px; border-bottom: 1px solid var(--line); }
  .home-slider { height: 60vh; min-height: 380px; }
  .section { padding: 56px 0; }
  .sec-head h2 { font-size: 25px; }
  .biz-grid, .system-grid, .org-grid, .concept-grid,
  .culture-grid, .welfare-grid, .lawyer-grid,
  .stats, .honor-strip { grid-template-columns: 1fr 1fr; }
  .biz-grid { grid-template-columns: 1fr 1fr; }
  .timeline::before { left: 8px; }
  .tl-item, .tl-item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 36px 34px; }
  .tl-item .dot, .tl-item:nth-child(even) .dot { left: 1px; right: auto; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; padding: 44px 0 34px; }
  .page-banner { height: 230px; }
  .contact-card { padding: 32px 26px; }
  .branch-table th, .branch-table td { padding: 10px 10px; font-size: 12.5px; }
  .branch-table { display: block; overflow-x: auto; }
  .news-card { grid-template-columns: 1fr; gap: 0; padding: 0; overflow: hidden; }
  .news-card .pic img { aspect-ratio: 16/9; }
  .news-card .info { padding: 20px 22px 24px; }
  .news-list-home { grid-template-columns: 1fr; }
  .news-hero h3 { font-size: 18px; }
  .news-tabs button { padding: 10px 18px; font-size: 14px; }
  .nd-title { font-size: 22px; }
  .article-body { font-size: 15.5px; line-height: 1.9; }
  .nd-nav { flex-direction: column; align-items: stretch; }
  .nd-nav a { max-width: 100%; white-space: normal; }
  .nd-nav .nd-next { text-align: left; }
}

@media (max-width: 480px) {
  .biz-grid, .stats { grid-template-columns: 1fr 1fr; }
  .concept-grid, .culture-grid, .welfare-grid, .lawyer-grid,
  .honor-strip, .system-grid, .org-grid { grid-template-columns: 1fr; }
  .stat .num { font-size: 36px; }
  .logo-text .cn { font-size: 16px; }
  .slide-content h2 { letter-spacing: 3px; }
}
