/* ==========================================================================
   陕西德居正税务师事务所 · 全局样式
   深藏青 #16324F / 沉稳金 #B8893A / CTA 正红 #C0392B
   ========================================================================== */

:root {
  --navy: #16324F;
  --navy-dark: #0F2438;
  --navy-light: #24486B;
  --gold: #B8893A;
  --gold-light: rgba(184, 137, 58, 0.12);
  --red: #C0392B;
  --bg-gray: #F4F5F7;
  --bg-beige: #F7F3EA;
  --text: #333333;
  --text-gray: #666666;
  --border: #E5E7EB;
  --white: #FFFFFF;
  --radius: 8px;
  --shadow-hover: 0 8px 24px rgba(22, 50, 79, 0.08);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --transition: all 0.3s var(--ease);
  --font: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", sans-serif;
}

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

html { scroll-behavior: smooth; }

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

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section--gray { background: var(--bg-gray); }
.section--beige { background: var(--bg-beige); }
.section--navy { background: var(--navy); color: var(--white); }

.section-head { text-align: center; margin-bottom: 56px; }
.section-head--left { text-align: left; }
.section-kicker {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}
.section-title { font-size: 34px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.section--navy .section-title { color: var(--white); }
.section-sub { margin-top: 14px; font-size: 16px; color: var(--text-gray); }
.section--navy .section-sub { color: rgba(255, 255, 255, 0.72); }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}
.link-more svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.link-more:hover svg { transform: translateX(4px); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 4px 16px rgba(15, 36, 56, 0.08); }
.header-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.site-header .container { max-width: 1360px; }
.brand-logo-img {
  height: 54px;
  width: auto;
  display: block;
  transition: var(--transition);
}
.brand:hover .brand-logo-img { transform: scale(1.05); }
.brand-name { font-size: 20px; font-weight: 700; color: var(--navy); letter-spacing: 0.5px; white-space: nowrap; }

.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: block;
  padding: 10px 10px;
  font-size: 18px;
  color: var(--text);
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover { color: var(--navy); }
.nav-item.active .nav-link { color: var(--navy); font-weight: 700; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover::after, .nav-item.active .nav-link::after { transform: scaleX(1); }

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  background: var(--bg-gray);
  color: var(--text-gray);
  flex-shrink: 0;
  transition: var(--transition);
}
.header-search:focus-within { border-color: var(--gold); background: var(--white); }
.header-search input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  width: 84px;
  color: var(--text);
  transition: width 0.3s var(--ease);
}
.header-search:focus-within input { width: 150px; }
.header-search svg { width: 16px; height: 16px; color: var(--text-gray); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}
.menu-toggle svg { width: 26px; height: 26px; }

/* ---------- 抽屉式 Mega Menu ---------- */
.drawer-mask {
  position: fixed;
  inset: 0;
  top: 80px;
  background: rgba(15, 36, 56, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 950;
}
.drawer {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  height: 460px;
  background: var(--white);
  z-index: 960;
  display: flex;
  box-shadow: 0 24px 48px rgba(15, 36, 56, 0.16);
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s var(--ease);
}
body.drawer-open .drawer-mask,
body.drawer-open .drawer { opacity: 1; visibility: visible; transform: translateY(0); }
body.drawer-open { overflow: hidden; }

.drawer-sidebar {
  width: 340px;
  flex-shrink: 0;
  background: var(--bg-gray);
  padding: 40px 0;
  overflow-y: auto;
}
.drawer-side-title {
  padding: 0 40px 20px;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--text-gray);
}
.drawer-side-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  font-size: 16px;
  color: var(--text);
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: var(--transition);
}
.drawer-side-item:hover { color: var(--navy); background: rgba(22, 50, 79, 0.05); }
.drawer-side-item.selected {
  color: var(--navy);
  font-weight: 700;
  border-left-color: var(--gold);
  background: var(--white);
}
.drawer-side-item svg { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; }

/* 抽屉打开时侧栏逐项级联滑入 */
@keyframes drawerSideIn {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}
body.drawer-open .drawer-side-item { animation: drawerSideIn 0.32s var(--ease) both; }

.drawer-content {
  flex: 1;
  padding: 56px 64px;
  position: relative;
  overflow-y: auto;
}
.drawer-close {
  position: absolute;
  top: 24px;
  right: 32px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: var(--transition);
  z-index: 2;
}
.drawer-close:hover { background: var(--navy); color: var(--white); border-color: var(--navy); transform: rotate(90deg); }
.drawer-close svg { width: 18px; height: 18px; }

.drawer-detail-kicker { font-size: 13px; letter-spacing: 3px; color: var(--gold); font-weight: 600; margin-bottom: 16px; }
.drawer-detail-title { font-size: 30px; font-weight: 700; color: var(--navy); line-height: 1.35; max-width: 560px; }
.drawer-detail-desc { margin: 20px 0 32px; font-size: 16px; color: var(--text-gray); max-width: 520px; }
.drawer-children { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; max-width: 640px; }
.drawer-child-link {
  padding: 10px 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text);
  transition: var(--transition);
}
.drawer-child-link:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }

/* 详情切换交叉淡入 */
@keyframes drawerDetailIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.drawer-content.detail-enter .drawer-detail-kicker { animation: drawerDetailIn 0.35s ease both; }
.drawer-content.detail-enter .drawer-detail-title { animation: drawerDetailIn 0.35s ease 0.05s both; }
.drawer-content.detail-enter .drawer-detail-desc { animation: drawerDetailIn 0.35s ease 0.1s both; }
.drawer-content.detail-enter .link-more { animation: drawerDetailIn 0.35s ease 0.15s both; }
.drawer-content.detail-enter .drawer-children { animation: drawerDetailIn 0.35s ease 0.18s both; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); min-height: 420px; display: flex; align-items: center; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 50%;
  background: var(--navy);
}
.hero-img-wrap {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 50%;
  border-radius: 0 0 0 120px;
  overflow: hidden;
  animation: heroWrapIn 0.8s ease both;
}
.hero-slider { position: relative; width: 100%; height: 100%; animation: heroImgIn 1.4s var(--ease) both; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-dots { position: absolute; right: 32px; bottom: 24px; display: flex; gap: 8px; z-index: 3; }
.hero-dot { width: 24px; height: 3px; border: 0; padding: 0; border-radius: 2px; background: rgba(255, 255, 255, 0.5); cursor: pointer; transition: var(--transition); }
.hero-dot.is-active { width: 36px; background: var(--gold); }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(22, 50, 79, 0.45); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); }
.hero-arrow:hover { background: rgba(22, 50, 79, 0.75); }
.hero-img-wrap:hover .hero-arrow, .hero-arrow:focus-visible { opacity: 1; }
.hero-arrow--prev { left: 20px; }
.hero-arrow--next { right: 20px; }
.hero-arrow svg { width: 18px; height: 18px; }
.hero-slider.is-single .hero-dots, .hero-slider.is-single .hero-arrow { display: none; }
/* 内页 Hero 单图（非轮播） */
.hero-img-wrap > img { width: 100%; height: 100%; object-fit: cover; display: block; animation: heroImgIn 1.4s var(--ease) both; }
.hero-content { position: relative; z-index: 2; width: 100%; padding: 72px 0; }
.hero-text { max-width: 46%; color: var(--white); }
.hero-kicker { font-size: 14px; letter-spacing: 4px; color: var(--gold); font-weight: 600; margin-bottom: 18px; animation: heroFadeUp 0.6s var(--ease) 0.05s both; }
.hero-title { font-size: 48px; font-weight: 700; line-height: 1.3; letter-spacing: 2px; animation: heroFadeUp 0.7s var(--ease) 0.15s both; }
.hero-sub { margin-top: 20px; font-size: 18px; color: rgba(255, 255, 255, 0.82); letter-spacing: 1px; animation: heroFadeUp 0.7s var(--ease) 0.28s both; }
.hero--page { min-height: 340px; }
.hero--page .hero-title { font-size: 40px; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroWrapIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes heroImgIn {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

/* ---------- 数据高亮带 ---------- */
.data-band { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px 88px; }
.data-item { text-align: center; }
.data-num { font-size: 46px; font-weight: 700; color: var(--gold); line-height: 1.2; letter-spacing: 1px; font-variant-numeric: tabular-nums; }
.data-label { margin-top: 6px; font-size: 14px; color: var(--navy); letter-spacing: 1px; }

/* ---------- 服务卡片 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.svc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(184, 137, 58, 0.4); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-icon { width: 44px; height: 44px; color: var(--navy); margin-bottom: 20px; transition: transform 0.35s var(--ease); }
.svc-card:hover .svc-icon { transform: translateY(-2px); color: var(--gold); }
.svc-icon svg { width: 100%; height: 100%; }
.svc-title { font-size: 18px; font-weight: 700; color: var(--navy); }
.svc-desc { margin: 12px 0 24px; font-size: 14px; color: var(--text-gray); flex: 1; }

/* ---------- 行业卡片 ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ind-card {
  position: relative;
  height: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
}
.ind-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.ind-card:hover img { transform: scale(1.05); }
.ind-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 36, 56, 0.86) 0%, rgba(15, 36, 56, 0.28) 46%, rgba(15, 36, 56, 0) 72%);
}
.ind-card-text { position: absolute; left: 28px; right: 28px; bottom: 24px; z-index: 2; color: var(--white); }
.ind-card-title { font-size: 22px; font-weight: 700; letter-spacing: 1px; }
.ind-card-title::after {
  content: "→";
  display: inline-block;
  margin-left: 10px;
  font-weight: 400;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-6px);
  transition: var(--transition);
}
.ind-card:hover .ind-card-title::after { opacity: 1; transform: translateX(0); }
.ind-card-desc { margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, 0.82); }

/* ---------- 为什么选择 ---------- */
.why-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-img { border-radius: var(--radius); overflow: hidden; }
.why-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.why-img:hover img { transform: scale(1.03); }
.why-list { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px; }
.why-item { display: flex; align-items: flex-start; gap: 12px; }
.why-check {
  width: 22px; height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold-light);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  transition: var(--transition);
}
.why-item:hover .why-check { background: var(--gold); color: var(--white); }
.why-check svg { width: 12px; height: 12px; }
.why-item-text strong { display: block; font-size: 16px; color: var(--navy); font-weight: 700; }
.why-item-text span { font-size: 14px; color: var(--text-gray); }

/* ---------- 案例卡片 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.case-grid--3 { grid-template-columns: repeat(3, 1fr); }
.case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: var(--transition);
}
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.tag-gold {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--gold-light);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
}
.case-title { margin: 14px 0 12px; font-size: 15px; font-weight: 700; color: var(--navy); line-height: 1.5; }
.case-meta { font-size: 13px; color: var(--text-gray); }

/* ---------- 团队卡片 ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  text-align: center;
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.team-avatar {
  width: 92px; height: 92px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D4AF7A 0%, #C8A063 45%, #B8893A 100%);
  border: 2px solid #E8D5B5;
  color: var(--white);
  font-size: 34px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.team-card:hover .team-avatar { transform: scale(1.05); }
.team-name { font-size: 20px; font-weight: 700; color: var(--navy); }
.team-role { margin-top: 4px; font-size: 14px; color: var(--gold); font-weight: 600; letter-spacing: 1px; }
.team-tags { margin: 16px 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.team-desc { font-size: 14px; color: var(--text-gray); }
.team-exp { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--border); font-size: 13px; color: var(--text-gray); }

/* ---------- 资质卡片 ---------- */
.qual-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.qual-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: var(--transition);
}
.qual-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.qual-icon { width: 40px; height: 40px; color: var(--gold); margin-bottom: 18px; transition: var(--transition); }
.qual-card:hover .qual-icon { transform: translateY(-2px) scale(1.06); }
.qual-icon svg { width: 100%; height: 100%; }
.qual-title { font-size: 18px; font-weight: 700; color: var(--navy); }
.qual-desc { margin-top: 10px; font-size: 14px; color: var(--text-gray); }

/* ---------- 荣誉证书 ---------- */
.honor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.honor-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 20px 24px;
  text-align: center;
  transition: var(--transition);
}
.honor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(184, 137, 58, 0.4); }
.honor-frame {
  aspect-ratio: 4 / 3;
  background: #F5EFE4;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.honor-frame img { width: 100%; height: 100%; object-fit: contain; display: block; }
.honor-card .tag-gold { margin-top: 16px; }
.honor-title { margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--navy); line-height: 1.6; }

/* ---------- 服务内容步骤 ---------- */
.step-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.step-item {
  display: flex;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
  transition: var(--transition);
}
.step-item:hover { box-shadow: var(--shadow-hover); border-color: rgba(184, 137, 58, 0.4); }
.step-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.step-item:hover .step-num { background: var(--gold); color: var(--white); }
.step-item strong { display: block; font-size: 16px; color: var(--navy); margin-bottom: 6px; }
.step-item span { font-size: 14px; color: var(--text-gray); }

/* ---------- 痛点对比 ---------- */
.pain-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pain-card { border-radius: var(--radius); padding: 40px 36px; }
.pain-card--q { background: var(--bg-gray); border: 1px solid var(--border); }
.pain-card--a { background: var(--navy); color: var(--white); }
.pain-card-title { font-size: 22px; font-weight: 700; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.pain-card--q .pain-card-title { color: var(--navy); }
.pain-card--a .pain-card-title { color: var(--gold); }
.pain-card ul li { position: relative; padding-left: 22px; margin-bottom: 14px; font-size: 15px; line-height: 1.7; }
.pain-card--q ul li::before { content: "?"; position: absolute; left: 0; top: 0; color: var(--red); font-weight: 700; }
.pain-card--a ul li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 700; }

/* ---------- 文章/新闻卡片 ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.article-title { margin: 14px 0 10px; font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.55; transition: color 0.3s ease; }
.article-card:hover .article-title { color: var(--gold); }
.article-summary { font-size: 14px; color: var(--text-gray); flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.article-date { font-size: 13px; color: var(--text-gray); }

/* ---------- 新闻头条与筛选 ---------- */
.news-banner { background: var(--navy); color: var(--white); padding: 88px 0; }
.news-banner-tag { display: inline-block; padding: 4px 14px; border: 1px solid var(--gold); color: var(--gold); border-radius: 999px; font-size: 13px; letter-spacing: 2px; margin-bottom: 20px; animation: heroFadeUp 0.5s var(--ease) 0.05s both; }
.news-banner-title { font-size: 36px; font-weight: 700; line-height: 1.4; max-width: 760px; animation: heroFadeUp 0.65s var(--ease) 0.15s both; }
.news-banner-meta { margin-top: 24px; display: flex; align-items: center; gap: 24px; font-size: 14px; color: rgba(255, 255, 255, 0.72); animation: heroFadeUp 0.65s var(--ease) 0.28s both; }

.filter-bar { display: flex; gap: 16px; flex-wrap: wrap; }
.filter-select, .filter-input {
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 16px;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  outline: none;
  font-family: inherit;
  transition: border-color 0.3s ease;
}
.filter-select:focus, .filter-input:focus { border-color: var(--gold); }
.filter-select { width: 180px; }
.filter-input { flex: 1; min-width: 220px; }
.btn-red {
  height: 44px;
  padding: 0 32px;
  background: var(--red);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  letter-spacing: 2px;
  transition: var(--transition);
}
.btn-red:hover { background: #A93226; transform: translateY(-1px); }

.pagination { margin-top: 56px; display: flex; align-items: center; justify-content: center; gap: 20px; }
.btn-more {
  height: 44px;
  padding: 0 36px;
  border: 1px solid var(--navy);
  color: var(--navy);
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 2px;
  transition: var(--transition);
}
.btn-more:hover { background: var(--navy); color: var(--white); }
.page-count { font-size: 14px; color: var(--text-gray); letter-spacing: 2px; }

/* ---------- 联系我们 ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.contact-card { border-radius: var(--radius); padding: 44px 40px; }
.contact-card--navy { background: var(--navy); color: var(--white); }
.contact-card--white { background: var(--white); border: 1px solid var(--border); padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.contact-title { font-size: 24px; font-weight: 700; margin-bottom: 28px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-item:last-child { margin-bottom: 0; }
.contact-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.contact-item:hover .contact-icon { border-color: var(--gold); transform: scale(1.06); }
.contact-icon svg { width: 20px; height: 20px; }
.contact-item strong { display: block; font-size: 14px; color: rgba(255, 255, 255, 0.66); font-weight: 400; margin-bottom: 4px; letter-spacing: 2px; }
.contact-item p { font-size: 16px; line-height: 1.7; }
.map-placeholder { flex: 1; min-height: 380px; position: relative; background: #F5EFE4; }
.map-placeholder svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin-label {
  position: absolute;
  left: 50%; top: 42%;
  transform: translate(-50%, -100%);
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 6px;
  white-space: nowrap;
  animation: pinFloat 2.4s ease-in-out infinite;
}
@keyframes pinFloat {
  0%, 100% { transform: translate(-50%, -100%); }
  50% { transform: translate(-50%, calc(-100% - 6px)); }
}
.map-pin-label::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -5px;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--navy);
}

/* ---------- 标签云 ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 12px; }
.tag-item {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  color: var(--navy);
  background: var(--white);
  transition: var(--transition);
}
.tag-item:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.tag-item--gold { background: var(--gold-light); border-color: transparent; color: var(--gold); font-weight: 600; }

/* ---------- 服务理念四词卡片 ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(184, 137, 58, 0.4); }
.value-card h3 { font-size: 22px; font-weight: 700; color: var(--navy); letter-spacing: 4px; }
.value-card .value-en { margin-top: 8px; font-size: 12px; letter-spacing: 2px; color: var(--gold); text-transform: uppercase; }
.value-card p { margin-top: 16px; font-size: 14px; color: var(--text-gray); }

/* ---------- 简介正文 ---------- */
.prose { max-width: 860px; }
.prose p { margin-bottom: 20px; font-size: 16px; line-height: 1.9; color: var(--text); }
.prose p strong { color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.72); }
.footer-top {
  padding: 56px 0 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-nav a {
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  transition: var(--transition);
}
.footer-nav a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }
.footer-nav a.active { background: var(--gold); border-color: var(--gold); color: var(--white); font-weight: 600; }
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 42px; height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.82);
  transition: var(--transition);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; }

.footer-info {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr auto 1fr;
  gap: 40px;
  padding: 40px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-col-title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--gold);
  padding-bottom: 10px;
  margin-bottom: 18px;
}
.footer-col-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  border-radius: 1px;
  background: var(--gold);
  opacity: 0.85;
}
.footer-col-title svg { width: 16px; height: 16px; flex: none; }
.footer-line {
  display: block;
  font-size: 14px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.75);
}
a.footer-line { transition: color 0.3s ease; }
a.footer-line:hover { color: var(--gold); }
.footer-line .who { color: rgba(255, 255, 255, 0.5); margin-right: 8px; }
.footer-line--dim { color: rgba(255, 255, 255, 0.5); font-size: 13px; margin-top: 6px; }

@media (max-width: 1199px) {
  .footer-info { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .footer-info { grid-template-columns: 1fr; gap: 24px; }
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 13px;
}

/* ---------- 回到顶部 ---------- */
.back-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(15, 36, 56, 0.24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.35s var(--ease);
  z-index: 800;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--gold); transform: translateY(-3px); }
.back-top svg { width: 20px; height: 20px; }

/* ---------- 滚动渐显 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .map-pin-label { animation: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1199px) {
  .nav-list { display: none; }
  .header-search input { width: 70px; }
  .menu-toggle { display: flex; }
  .svc-grid, .team-grid, .qual-grid, .article-grid, .honor-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(3, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-text { max-width: 52%; }
  .hero-title { font-size: 38px; }
  .data-band { gap: 24px 56px; }
}

@media (max-width: 767px) {
  .section { padding: 64px 0; }
  .section-title { font-size: 26px; }
  .header-search { display: none; }
  .brand-name { font-size: 15px; letter-spacing: 0; }
  .brand-logo-img { height: 40px; }
  .hero { min-height: 0; flex-direction: column; }
  .hero::before { width: 100%; }
  .hero-content { padding: 56px 0 24px; }
  .hero-text { max-width: 100%; }
  .hero-title { font-size: 30px; }
  .hero--page .hero-title { font-size: 28px; }
  .hero-sub { font-size: 16px; }
  .hero-img-wrap { position: relative; width: calc(100% - 24px); margin: 0 0 24px auto; height: 240px; border-radius: 0 0 0 48px; }
  .svc-grid, .ind-grid, .team-grid, .qual-grid, .article-grid, .case-grid, .case-grid--3,
  .step-grid, .pain-wrap, .contact-wrap, .why-wrap, .value-grid, .honor-grid { grid-template-columns: 1fr; }
  .why-wrap { gap: 32px; }
  .why-list { grid-template-columns: 1fr; }
  .data-band { gap: 32px 40px; }
  .data-num { font-size: 34px; }
  .drawer { height: calc(100vh - 80px); flex-direction: column; }
  .drawer-sidebar { width: 100%; padding: 20px 0; }
  .drawer-side-item { padding: 12px 24px; }
  .drawer-side-title { padding: 0 24px 12px; }
  .drawer-content { padding: 32px 24px; }
  .drawer-detail-title { font-size: 22px; }
  .news-banner-title { font-size: 26px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .contact-card { padding: 32px 24px; }
  .pain-card { padding: 32px 24px; }
}

/* ============================================================
   文章详情页（article.html）
   ============================================================ */
.article-hero { background: var(--navy); padding: 56px 0 48px; }
.article-crumb { font-size: 13px; color: rgba(255, 255, 255, 0.6); margin-bottom: 18px; animation: heroFadeUp 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) 0.05s both; }
.article-crumb a { color: rgba(255, 255, 255, 0.6); transition: var(--transition); }
.article-crumb a:hover { color: var(--gold); }
.article-crumb .sep { margin: 0 8px; color: rgba(255, 255, 255, 0.3); }
.article-hero-title { font-size: 32px; font-weight: 700; color: #fff; line-height: 1.45; max-width: 800px; animation: heroFadeUp 0.65s cubic-bezier(0.22, 0.61, 0.36, 1) 0.15s both; }
.article-hero-meta { margin-top: 18px; display: flex; align-items: center; gap: 14px; animation: heroFadeUp 0.65s cubic-bezier(0.22, 0.61, 0.36, 1) 0.25s both; }
.article-hero-meta .article-date { color: rgba(255, 255, 255, 0.6); font-size: 14px; }
.article-wrap { max-width: 760px; margin: 0 auto; }
.article-lead { font-size: 17px; color: var(--text-dark); line-height: 1.8; padding: 20px 24px; background: var(--gray-bg); border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; margin: 0 0 32px; }
.article-body p { font-size: 16px; line-height: 1.9; color: var(--text-dark); margin: 0 0 20px; }
.article-body strong { color: var(--navy); }
.article-foot-actions { margin-top: 40px; text-align: center; }
.article-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); }
.article-pn-item { display: block; border: 1px solid var(--border); border-radius: 8px; padding: 18px 20px; transition: var(--transition); }
.article-pn-item:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(22, 50, 79, 0.08); }
.article-pn-label { display: block; font-size: 12px; color: var(--text-gray); margin-bottom: 6px; }
.article-pn-title { display: block; font-size: 15px; font-weight: 600; color: var(--navy); line-height: 1.5; }
.article-pn-item.is-disabled { opacity: 0.45; pointer-events: none; }
.article-empty { text-align: center; padding: 96px 0 72px; }
.article-empty-title { font-size: 28px; font-weight: 700; color: var(--navy); margin: 18px 0 12px; }
.article-empty-desc { font-size: 15px; color: var(--text-gray); margin: 0 0 32px; }
.article-empty-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

@media (max-width: 767px) {
  .article-hero { padding: 40px 0 36px; }
  .article-hero-title { font-size: 24px; }
  .article-pn { grid-template-columns: 1fr; }
  .article-empty { padding: 64px 0 48px; }
}
