/* ============================================
   惠州市汇财税会计服务有限公司 - 官网样式
   风格：简约商务，墨绿+金
   ============================================ */

/* ---------- Reset & Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #1f4e44;        /* 深墨绿 */
  --primary-dark: #163a32;    /* 更深墨绿 */
  --primary-light: #2d6b5c;   /* 亮墨绿 */
  --gold: #c9a961;            /* 金色点缀 */
  --gold-light: #e0c98f;
  --text: #2b2b2b;
  --text-muted: #6b7280;
  --bg: #ffffff;
  --bg-light: #f6f7f6;
  --border: #e5e7eb;
}

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- 滚动进场动画（JS控制） ---------- */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .2s; }
.reveal.delay-3 { transition-delay: .3s; }
.reveal.delay-4 { transition-delay: .4s; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 46px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  align-items: center;
}

.brand-text .cn {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 2px;
}

.brand-text .en {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 400;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  gap: 40px;
}

.nav-menu a {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  padding: 8px 2px;
  position: relative;
  transition: color .2s;
}

.nav-menu a:hover,
.nav-menu a.active { color: var(--primary); }

.nav-menu a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold);
}

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: 4px;
  font-size: 14px;
  transition: all .3s ease;
}

.nav-cta:hover { background: var(--primary-dark); color: #fff !important; transform: scale(1.05); }
.nav-cta::after { display: none !important; }

/* 移动端汉堡 */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--primary);
}

/* ============================================
   首页大导航（首屏放大 + 滚动收缩）
   ============================================ */
body.home {
  padding-top: 45vh;
  transition: padding-top .5s cubic-bezier(.4, 0, .2, 1);
}
body.home.header-collapsed { padding-top: 76px; }

.home-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 45vh;
  background: transparent;
  border-bottom: none;
  overflow: hidden;
  transition: height .5s cubic-bezier(.4, 0, .2, 1);
}

.home-header.scrolled {
  height: 76px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
}

/* 背景图图层 */
.home-header .header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('../images/hero-bg.jpg') center 30% / cover no-repeat;
  opacity: 1;
  transition: opacity .5s ease;
}
.home-header .header-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(22, 58, 50, .30) 0%,
    rgba(22, 58, 50, .10) 55%,
    rgba(14, 32, 27, .92) 100%);
}
.home-header.scrolled .header-bg { opacity: 0; }

/* 导航行（大态：品牌顶部 + 五块竖排） */
.home-header .nav-wrap {
  position: relative;
  z-index: 2;
  height: 100%;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 14px 0 0;
  transition: height .5s cubic-bezier(.4, 0, .2, 1);
}
.home-header .brand { justify-content: center; padding-bottom: 8px; }
.home-header .brand img { height: 48px; transition: height .5s cubic-bezier(.4, 0, .2, 1); }
.home-header .brand-text .cn { font-size: 22px; color: #fff; transition: font-size .5s cubic-bezier(.4, 0, .2, 1), color .4s; }
.home-header .brand-text .en { font-size: 11px; color: rgba(255, 255, 255, .7); transition: font-size .5s cubic-bezier(.4, 0, .2, 1), color .4s; }
.home-header .nav-toggle { position: absolute; top: 16px; right: 22px; color: #fff; z-index: 3; }

/* 五块：横排、各带背景图、文字竖排 */
.home-header .nav-menu {
  flex: 1;
  width: 100%;
  gap: 2px;
  margin-top: 4px;
}
.home-header .nav-menu a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  font-size: 20px;
  letter-spacing: 8px;
  color: #fff;
  background-color: var(--primary-dark);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  transition: color .3s, background-size .4s ease, transform .3s;
}
/* 遮罩层：保证文字可读，hover 变淡露出图片 */
.home-header .nav-menu a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(14, 32, 27, .42) 0%, rgba(14, 32, 27, .68) 100%);
  transition: background .3s;
}
.home-header .nav-menu a:hover::before { background: linear-gradient(180deg, rgba(14, 32, 27, .20) 0%, rgba(14, 32, 27, .42) 100%); }
.home-header .nav-menu a > span { position: relative; z-index: 1; }

.home-header .nav-menu a:nth-child(1) { background-image: url('../images/nav-1.jpg'); }
.home-header .nav-menu a:nth-child(2) { background-image: url('../images/nav-2.jpg'); }
.home-header .nav-menu a:nth-child(3) { background-image: url('../images/nav-3.jpg'); }
.home-header .nav-menu a:nth-child(4) { background-image: url('../images/nav-4.jpg'); }
.home-header .nav-menu a:nth-child(5) { background-image: url('../images/nav-5.jpg'); }

/* hover：背景放大 + 文字金色 + 底部金线展开 */
.home-header .nav-menu a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width .35s ease;
  z-index: 1;
}
.home-header .nav-menu a:hover::after,
.home-header .nav-menu a.active::after { width: 100%; }
.home-header .nav-menu a:hover { color: var(--gold-light); transform: scale(1.04); background-size: 128%; }
.home-header .nav-menu a.active { color: #fff; text-shadow: 0 0 20px rgba(201, 169, 97, .6); }

.home-header .nav-cta { border: none; }
.home-header .nav-cta:hover { color: var(--gold-light); }

/* 收缩后：导航恢复小态样式 */
.home-header.scrolled .nav-wrap {
  flex-direction: row;
  height: 76px;
  padding: 0;
  align-items: center;
}
.home-header.scrolled .brand { justify-content: flex-start; padding-bottom: 0; }
.home-header.scrolled .brand img { height: 46px; }
.home-header.scrolled .brand-text .cn { font-size: 20px; color: var(--primary); }
.home-header.scrolled .brand-text .en { font-size: 11px; color: var(--text-muted); }
.home-header.scrolled .nav-toggle { position: static; top: auto; right: auto; color: var(--primary); }
.home-header.scrolled .nav-menu {
  flex: none;
  width: auto;
  gap: 40px;
  margin-top: 0;
  align-items: center;
}
.home-header.scrolled .nav-menu a {
  flex: none;
  flex-direction: row;
  writing-mode: horizontal-tb;
  font-size: 15px;
  letter-spacing: 0;
  color: var(--text);
  background-image: none !important;
  background-color: transparent;
  border-radius: 0;
}
.home-header.scrolled .nav-menu a::before { display: none; }
.home-header.scrolled .nav-menu a::after { bottom: -2px; }
.home-header.scrolled .nav-menu a > span { position: static; }
.home-header.scrolled .nav-menu a:hover { color: var(--primary); transform: scale(1.05); background-size: cover; }
.home-header.scrolled .nav-menu a.active { color: var(--primary); text-shadow: none; }
.home-header.scrolled .nav-cta { background: transparent; border: none; color: var(--primary) !important; }
.home-header.scrolled .nav-cta:hover { background: var(--primary-dark); color: #fff !important; transform: scale(1.05); }



/* ---------- Banner（首页） ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  color: #fff;
  overflow: hidden;
  padding: 110px 0 130px;
}

/* 斜切装饰块 */
.hero::before {
  content: "";
  position: absolute;
  right: -5%;
  top: 0;
  width: 55%;
  height: 100%;
  background: rgba(255,255,255,.05);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: 10%;
  bottom: -2px;
  width: 120px;
  height: 4px;
  background: var(--gold);
}

.hero-inner { position: relative; z-index: 2; max-width: 720px; }

.hero .tag {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--gold-light);
  border: 1px solid rgba(201,169,97,.5);
  padding: 5px 16px;
  border-radius: 2px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: 46px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 36px;
  letter-spacing: 2px;
  display: inline-block;
  cursor: default;
}

.hero h1:hover { transform: scale(1.06); }

.hero h1 span { color: var(--gold-light); transition: color .3s; }
.hero h1:hover span { color: #fff; }

.hero p.sub {
  font-size: 17px;
  color: rgba(255,255,255,.85);
  margin-bottom: 36px;
  font-weight: 300;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 34px;
  font-size: 15px;
  border-radius: 4px;
  transition: all .3s ease;
  cursor: pointer;
  border: none;
}

.btn:hover { transform: scale(1.06); }

.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #b8964e; transform: scale(1.06); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.5);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); transform: scale(1.06); }

/* ---------- 数据条 ---------- */
.stats {
  background: #fff;
  margin-top: -60px;
  position: relative;
  z-index: 5;
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
  border-radius: 6px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 36px 0;
}

.stat-item {
  text-align: center;
  padding: 10px 20px;
  border-right: 1px solid var(--border);
}

.stat-item:last-child { border-right: none; }

.stat-item .num {
  font-size: 34px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  display: inline-block;
  transition: transform .3s ease;
  cursor: default;
}

.stat-item:hover .num { transform: scale(1.15); color: var(--primary-light); }

.stat-item .num em {
  font-style: normal;
  font-size: 18px;
  color: var(--gold);
  margin-left: 2px;
}

.stat-item .label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ---------- 通用 Section ---------- */
.section { padding: 90px 0; }
.section.gray { background: var(--bg-light); }

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-head .en {
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.section-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 50px;
  height: 3px;
  background: var(--gold);
}

.section-head p.desc {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 15px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- 服务卡片（4列） ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 40px 24px;
  transition: all .3s;
  text-align: center;
}

.service-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 30px rgba(31,78,68,.1);
  transform: translateY(-6px);
}

.service-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: rgba(31,78,68,.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary);
}

.service-card h3 {
  font-size: 19px;
  margin-bottom: 14px;
  color: var(--text);
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

.service-card .more {
  display: inline-block;
  margin-top: 20px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
}

/* ---------- 关于我们（首页摘要） ---------- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
  height: 420px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 6px;
  overflow: hidden;
}

.about-visual::before {
  content: "";
  position: absolute;
  left: -30px; top: -30px;
  width: 180px; height: 180px;
  border: 2px solid rgba(201,169,97,.3);
  border-radius: 50%;
}

.about-visual::after {
  content: "";
  position: absolute;
  right: -40px; bottom: -40px;
  width: 220px; height: 220px;
  background: rgba(201,169,97,.1);
  border-radius: 50%;
}

.about-visual .inner-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 2;
}

.about-visual .inner-text .big {
  font-size: 56px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.about-visual .inner-text .small {
  margin-top: 10px;
  font-size: 15px;
  letter-spacing: 3px;
  color: rgba(255,255,255,.8);
}

.about-text .label {
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 12px;
}

.about-text h2 {
  font-size: 30px;
  margin-bottom: 22px;
  line-height: 1.3;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 15px;
}

.about-text .features {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

.about-text .features li {
  font-size: 14px;
  color: var(--text);
  padding-left: 22px;
  position: relative;
}

.about-text .features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ---------- CTA 条 ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

.cta-band h2 { font-size: 28px; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.8); margin-bottom: 28px; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: #142822;
  color: rgba(255,255,255,.7);
  padding: 60px 0 0;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-grid h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 18px;
}

.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul li a:hover { color: var(--gold-light); }

.footer-brand img { height: 50px; margin-bottom: 16px; }
.footer-brand p { line-height: 1.8; font-size: 13px; }

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 12px;
  color: rgba(255,255,255,.4);
}

/* ---------- 内页 Banner ---------- */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.page-banner::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 80px;
  height: 3px;
  background: var(--gold);
}

.page-banner h1 { font-size: 36px; letter-spacing: 3px; margin-bottom: 10px; }
.page-banner .crumb { font-size: 13px; color: rgba(255,255,255,.7); letter-spacing: 1px; }
.page-banner .crumb a:hover { color: var(--gold-light); }

/* ---------- 关于页 ---------- */
.prose { max-width: 900px; margin: 0 auto; }
.prose p { margin-bottom: 18px; color: var(--text-muted); }
.prose h3 { margin: 30px 0 14px; color: var(--text); font-size: 20px; }

.timeline {
  position: relative;
  padding-left: 30px;
  border-left: 2px solid var(--gold);
  margin: 30px 0;
}

.timeline .t-item {
  position: relative;
  margin-bottom: 28px;
}

.timeline .t-item::before {
  content: "";
  position: absolute;
  left: -38px;
  top: 6px;
  width: 14px; height: 14px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--gold);
}

.timeline .t-item .year {
  font-weight: 700;
  color: var(--primary);
  font-size: 16px;
}

.timeline .t-item p { color: var(--text-muted); margin-top: 4px; }

/* ---------- 政策库 ---------- */
.policy-list {
  max-width: 900px;
  margin: 0 auto;
}

/* 分类筛选栏 */
.policy-filter {
  max-width: 900px;
  margin: 0 auto 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.pf-btn {
  padding: 8px 20px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 20px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  transition: all .25s;
}

.pf-btn span {
  margin-left: 4px;
  font-size: 12px;
  color: var(--text-muted);
}

.pf-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.05);
}

.pf-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.pf-btn.active span { color: rgba(255,255,255,.75); }

.policy-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 22px 28px;
  margin-bottom: 14px;
  transition: all .25s;
  cursor: pointer;
}

.policy-item:hover {
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
}

.policy-item .cat {
  display: inline-block;
  font-size: 12px;
  color: var(--gold);
  background: rgba(201,169,97,.1);
  padding: 2px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
}

.policy-item .policy-meta {
  float: right;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.policy-item h3 {
  font-size: 17px;
  margin-bottom: 4px;
  color: var(--text);
  line-height: 1.5;
  padding-right: 10px;
}

.policy-item .policy-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s ease, margin .3s ease;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.9;
}

.policy-item.open {
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
}

.policy-item.open h3 { color: var(--primary); }

.policy-item.open .policy-body {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}

/* 长文摘要 */
.policy-brief {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 8px;
}

.policy-readmore {
  display: inline-block;
  margin-left: 6px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  border-bottom: 1px dashed var(--primary);
  transition: color .2s;
}

.policy-readmore:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* 长文弹窗 */
.policy-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.policy-modal.show { display: flex; }

.policy-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(20,40,34,.55);
  opacity: 0;
  transition: opacity .3s;
}

.policy-modal.show .policy-modal-mask { opacity: 1; }

.policy-modal-box {
  position: relative;
  width: 100%;
  max-width: 860px;
  max-height: 86vh;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  transform: translateY(24px);
  opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
}

.policy-modal.show .policy-modal-box { transform: translateY(0); opacity: 1; }

.policy-modal-head {
  padding: 26px 32px 20px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.policy-modal-head h3 {
  font-size: 20px;
  line-height: 1.5;
  color: var(--text);
  margin: 10px 0 8px;
  padding-right: 40px;
}

.policy-modal-meta {
  font-size: 13px;
  color: var(--text-muted);
}

.policy-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: none;
  background: var(--bg-light);
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: all .2s;
}

.policy-modal-close:hover { background: var(--primary); color: #fff; transform: scale(1.1); }

.policy-modal-body {
  padding: 26px 32px 34px;
  overflow-y: auto;
  font-size: 14px;
  color: var(--text);
  line-height: 2;
  white-space: normal;
}

.policy-modal-body p { margin-bottom: 12px; }

@media (max-width: 600px) {
  .policy-modal { padding: 14px; }
  .policy-modal-head { padding: 20px 20px 16px; }
  .policy-modal-body { padding: 20px; }
}

/* ---------- 案例展示 ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.case-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: all .3s;
}

.case-card:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,.1);
  transform: translateY(-4px);
}

.case-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.9);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 4px;
}

.case-body { padding: 24px; }
.case-body .tag {
  display: inline-block;
  font-size: 12px;
  color: var(--gold);
  background: rgba(201,169,97,.1);
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 12px;
}
.case-body h3 { font-size: 17px; margin-bottom: 10px; }
.case-body p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ---------- 联系我们交互（复制/地图/二维码） ---------- */
.contact-click {
  cursor: pointer;
  border-bottom: 1px dashed rgba(201,169,97,.9);
  transition: all .2s;
}

.contact-click:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
  transform: scale(1.03);
  display: inline-block;
}

.site-footer .contact-click:hover { color: var(--gold-light); border-bottom-color: var(--gold-light); }

.contact-card { cursor: pointer; }

/* 复制/提示 Toast */
.toast {
  position: fixed;
  left: 50%;
  top: 18%;
  transform: translate(-50%, -10px);
  background: rgba(31,78,68,.95);
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 14px;
  z-index: 1300;
  opacity: 0;
  pointer-events: none;
  transition: all .35s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  letter-spacing: .5px;
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 通用弹层（二维码 / 地图） */
.app-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.app-modal.show { display: flex; }

.app-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(20,40,34,.62);
  opacity: 0;
  transition: opacity .3s;
}

.app-modal.show .app-modal-mask { opacity: 1; }

.app-modal-box {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
  padding: 36px;
  text-align: center;
  transform: scale(.92);
  opacity: 0;
  transition: transform .3s cubic-bezier(.22,.61,.36,1), opacity .3s ease;
}

.app-modal.show .app-modal-box { transform: scale(1); opacity: 1; }

.app-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: none;
  background: var(--bg-light);
  color: var(--text);
  font-size: 19px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: all .2s;
  z-index: 2;
}

.app-modal-close:hover { background: var(--primary); color: #fff; transform: scale(1.1); }

/* 二维码弹窗 */
.qr-box {
  width: 230px;
  height: 230px;
  margin: 0 auto 20px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-light);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.8;
}

.qr-box img { width: 100%; height: 100%; object-fit: contain; }

.qr-title { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 8px; }

.qr-tip { font-size: 13px; color: var(--text-muted); line-height: 1.8; }

/* 地图弹窗 */
.map-title { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 14px; }

.map-box {
  width: min(90vw, 900px);
  height: 68vh;
  min-height: 380px;
  border: 0;
  border-radius: 8px;
  display: block;
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  /* 首页大导航：移动端大态保持五块显示 */
  .home-header:not(.scrolled) .nav-menu {
    position: static;
    display: flex;
    flex-direction: row;
    background: none;
    border-bottom: none;
    padding: 0;
    gap: 2px;
  }
  .home-header:not(.scrolled) .nav-menu.open {
    position: fixed;
    top: 62px; left: 12px; right: 12px;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    gap: 0;
    z-index: 98;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .15);
  }
  .home-header:not(.scrolled) .nav-menu.open a {
    writing-mode: horizontal-tb;
    flex: none;
    flex-direction: row;
    font-size: 15px;
    letter-spacing: 0;
    color: var(--text);
    background-image: none !important;
    background-color: transparent;
    padding: 14px 24px;
    border-bottom: 1px solid var(--bg-light);
    border-radius: 0;
  }
  .home-header:not(.scrolled) .nav-menu.open a::before,
  .home-header:not(.scrolled) .nav-menu.open a::after { display: none; }
  .home-header:not(.scrolled) .nav-menu.open a > span { position: static; }
  .home-header:not(.scrolled) .nav-cta { margin: 0 24px; text-align: center; }

  .nav-menu {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 14px 24px; border-bottom: 1px solid var(--bg-light); }
  .nav-cta { margin: 10px 24px; text-align: center; }
  .nav-toggle { display: block; }

  .hero { padding: 70px 0 90px; }
  .hero h1 { font-size: 30px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid var(--border); }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; gap: 30px; }
  .about-visual { height: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 60px 0; }
  .section-head h2 { font-size: 26px; }
}


/* ---------- 案例展示 v2（客户/痛点/方案/成果） ---------- */
.case-thumb { flex-direction: column; gap: 8px; }
.case-thumb em { font-size: 12px; letter-spacing: 3px; opacity: .8; font-style: normal; font-weight: 400; }
.case-thumb.t1 { background: linear-gradient(135deg, #2d6b5c, #1f4e44); }
.case-thumb.t2 { background: linear-gradient(135deg, #b3925a, #7d6434); }
.case-thumb.t3 { background: linear-gradient(135deg, #3a7a6c, #205a4b); }
.case-thumb.t4 { background: linear-gradient(135deg, #c9a961, #8a6f3d); }
.case-thumb.t5 { background: linear-gradient(135deg, #2f6f60, #163a32); }
.case-thumb.t6 { background: linear-gradient(135deg, #a8884f, #6d5429); }
.case-client {
  font-size: 12px;
  color: #4b5563;
  background: #f7f5f0;
  border-left: 3px solid var(--gold);
  padding: 6px 10px;
  margin-bottom: 12px;
  border-radius: 2px;
}
.case-point { font-size: 13px; color: var(--text-muted); line-height: 1.75; margin-bottom: 8px; }
.case-point b {
  display: inline-block;
  font-size: 11px;
  color: #fff;
  background: var(--primary);
  padding: 2px 8px;
  border-radius: 2px;
  margin-right: 6px;
  letter-spacing: 1px;
  vertical-align: 1px;
}
.case-point.result b { background: var(--gold); }
.case-point.result { color: #374151; }

/* ---------- 案例列表 v3（图片卡片） ---------- */
a.case-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.case-img-wrap { position: relative; height: 190px; overflow: hidden; }
.case-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
a.case-card:hover .case-img { transform: scale(1.07); }
.case-badge {
  position: absolute;
  left: 16px;
  top: 16px;
  background: rgba(31,78,68,.92);
  color: #fff;
  font-size: 13px;
  letter-spacing: 3px;
  padding: 5px 14px;
  border-radius: 2px;
}
.case-more { margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--gold); }
.case-body h3 { transition: color .2s; }
a.case-card:hover .case-body h3 { color: var(--primary); }

/* ---------- 案例详情页 ---------- */
.detail-banner-tag {
  display: inline-block;
  font-size: 13px;
  color: var(--gold-light);
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.detail-container { max-width: 860px; }
.detail-hero {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: 0 10px 30px rgba(31,78,68,.15);
}
.detail-hero img { width: 100%; display: block; }
.detail-client {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 32px;
  background: #f7f5f0;
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  padding: 18px 24px;
  margin-bottom: 36px;
}
.dc-item { display: flex; flex-direction: column; gap: 4px; }
.dc-item span { font-size: 12px; color: var(--text-muted); }
.dc-item b { font-size: 15px; color: var(--primary-dark); }
.dc-btn { margin-left: auto; padding: 10px 22px; font-size: 14px; text-decoration: none; }

.detail-block { margin-bottom: 36px; }
.detail-block h3 {
  display: flex;
  align-items: center;
  font-size: 19px;
  color: var(--primary-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.db-num {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border-radius: 2px;
  margin-right: 12px;
  flex-shrink: 0;
}
.detail-block > p { font-size: 14.5px; color: #374151; line-height: 1.9; }

.detail-list { list-style: none; }
.detail-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 14.5px;
  color: #374151;
  line-height: 1.85;
}
.detail-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-muted);
}
.detail-list.sol-list li::before { background: var(--primary); }
.detail-list.result-list li::before { background: var(--gold); }
.detail-list.result-list li { font-weight: 500; color: var(--primary-dark); }

.detail-services { display: flex; flex-wrap: wrap; gap: 10px; }
.sv-tag {
  display: inline-block;
  font-size: 13px;
  color: var(--primary);
  background: rgba(31,78,68,.08);
  border: 1px solid rgba(31,78,68,.2);
  padding: 6px 16px;
  border-radius: 2px;
}

.detail-quote {
  position: relative;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 8px;
  padding: 30px 36px;
  margin-bottom: 40px;
}
.detail-quote p { font-size: 17px; line-height: 1.8; font-weight: 500; }
.dq-mark { font-size: 48px; line-height: 1; color: var(--gold); font-family: Georgia, serif; display: block; margin-bottom: 6px; }

.detail-pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.pager-btn {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s;
}
.pager-btn:hover { color: var(--primary); }
.pager-back { font-weight: 600; color: var(--primary); }

@media (max-width: 600px) {
  .detail-client { flex-direction: column; align-items: flex-start; gap: 12px; }
  .dc-btn { margin-left: 0; }
  .detail-quote { padding: 22px; }
  .detail-quote p { font-size: 15px; }
  .detail-pager { flex-direction: column; gap: 14px; }
  .case-img-wrap { height: 180px; }
}
.footer-bottom .beian {
  color: rgba(255,255,255,.4);
  margin-left: 14px;
  text-decoration: none;
  transition: color .2s;
}
.footer-bottom .beian:hover {
  color: rgba(255,255,255,.75);
}