/* ==========================================================================
   广东鑫证司法鉴定所 — 机构网站样式
   设计语言：庄重、克制、可信赖（司法蓝 + 鎏金 + 宋体标题）
   ========================================================================== */

:root {
  --navy-900: #0d1e38;
  --navy-800: #12294a;
  --navy-700: #1a3763;
  --navy-100: #e8edf5;
  --gold: #a98a52;
  --gold-dark: #8f7343;
  --gold-100: #f3eee3;
  --ink: #26282d;
  --gray: #5d646f;
  --gray-light: #8a919c;
  --line: #e2dfd6;
  --bg: #faf9f6;
  --white: #ffffff;
  --font-serif: "Songti SC", "STSong", "STZhongsong", "SimSun", "Noto Serif SC", serif;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --container: 1180px;
  --shadow-sm: 0 1px 2px rgba(13, 30, 56, .06);
  --shadow-md: 0 6px 24px rgba(13, 30, 56, .08);
}

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

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 1rem;
}

img { max-width: 100%; display: block; }

a { color: var(--navy-700); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-dark); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .82);
  font-size: .8125rem;
  letter-spacing: .02em;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 38px;
  padding-top: 4px;
  padding-bottom: 4px;
}
.topbar a { color: #fff; }
.topbar a:hover { color: var(--gold-100); }
.topbar .topbar-right { display: flex; gap: 22px; white-space: nowrap; }
.topbar .topbar-left { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 站点头部 ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 84px;
}

.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.seal-img { width: 54px; height: 54px; flex-shrink: 0; object-fit: contain; }
.seal {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
  outline: 1px solid var(--gold);
  outline-offset: 3px;
  color: var(--navy-800);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.15;
  text-align: center;
  background: var(--white);
  letter-spacing: .05em;
}
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--navy-800);
  letter-spacing: .12em;
  line-height: 1.3;
  white-space: nowrap;
}
.brand-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: .6875rem;
  font-weight: 400;
  color: var(--gray-light);
  letter-spacing: .18em;
  margin-top: 2px;
  text-transform: uppercase;
}

/* 主导航 */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}
.main-nav a {
  display: block;
  padding: 10px 14px;
  font-size: .9375rem;
  color: var(--ink);
  letter-spacing: .06em;
  position: relative;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--navy-800); font-weight: 600; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  width: 42px;
  height: 42px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy-800);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: 13px 34px;
  font-size: .9375rem;
  letter-spacing: .12em;
  border: 1px solid transparent;
  transition: all .25s ease;
  cursor: pointer;
  text-align: center;
}
.btn-gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn-outline-light {
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
  background: transparent;
}
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn-outline-dark {
  border-color: var(--navy-800);
  color: var(--navy-800);
  background: transparent;
}
.btn-outline-dark:hover { background: var(--navy-800); color: #fff; }

/* ---------- 首页横幅 ---------- */
.hero {
  background: var(--navy-800);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold) 30%, transparent 30%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr .9fr;
  gap: 64px;
  align-items: center;
  padding: 96px 0 88px;
}
.hero-kicker {
  font-size: .8125rem;
  letter-spacing: .3em;
  color: var(--gold-100);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-kicker::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.6vw, 3.125rem);
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.4;
  margin-bottom: 24px;
}
.hero h1 .ph { display: inline-block; }
.hero h1 .dot { margin: 0 .35em; }
.hero-lead {
  color: rgba(255, 255, 255, .82);
  max-width: 560px;
  margin-bottom: 40px;
  font-size: 1.0625rem;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-panel {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .16);
  padding: 34px 32px 30px;
}
.hero-panel-title {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  letter-spacing: .2em;
  color: var(--gold-100);
  padding-bottom: 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.hero-panel ul { list-style: none; }
.hero-panel li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .14);
  font-size: .9375rem;
}
.hero-panel li:last-child { border-bottom: 0; }
.hero-panel li .k { color: rgba(255, 255, 255, .6); flex-shrink: 0; }
.hero-panel li .v { text-align: right; }

/* ---------- 数据条 ---------- */
.facts {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.fact {
  padding: 34px 28px;
  text-align: center;
  border-left: 1px solid var(--line);
}
.fact:first-child { border-left: 0; }
.fact-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.2;
}
.fact-num small { font-size: .9rem; font-weight: 400; margin-left: 2px; }
.fact-label { font-size: .875rem; color: var(--gray); margin-top: 6px; letter-spacing: .08em; }

/* ---------- 通用区块 ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}
.section-head-main { max-width: 720px; }
.sec-no {
  font-size: .8125rem;
  letter-spacing: .3em;
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.sec-no::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.sec-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy-800);
  letter-spacing: .1em;
  font-weight: 700;
}
.sec-sub { color: var(--gray); margin-top: 12px; font-size: .9375rem; }
.section-more { flex-shrink: 0; }

.link-arrow {
  font-size: .875rem;
  letter-spacing: .12em;
  color: var(--navy-800);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
}
.link-arrow:hover { color: var(--gold-dark); }

/* ---------- 机构概况 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 72px;
  align-items: start;
}
.prose p { margin-bottom: 1.1em; color: var(--ink); }
.prose p:last-child { margin-bottom: 0; }
.prose .lead-p { font-size: 1.0625rem; }
.prose strong { color: var(--navy-800); }

.aside-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy-800);
  padding: 30px 30px 24px;
  box-shadow: var(--shadow-sm);
}
.aside-box h3 {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  color: var(--navy-800);
  letter-spacing: .14em;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.aside-box ul { list-style: none; }
.aside-box li {
  padding: 10px 0 10px 18px;
  position: relative;
  font-size: .9375rem;
  color: var(--gray);
  border-bottom: 1px dashed var(--line);
}
.aside-box li:last-child { border-bottom: 0; }
.aside-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 6px;
  height: 6px;
  background: var(--gold);
}

/* ---------- 业务范围（首页两大面板） ---------- */
.svc-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.svc-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 44px 40px 36px;
  position: relative;
  transition: box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.svc-panel:hover { box-shadow: var(--shadow-md); }
.svc-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 3px;
  background: var(--gold);
}
.svc-tag {
  font-size: .75rem;
  letter-spacing: .24em;
  color: var(--gold-dark);
  margin-bottom: 12px;
}
.svc-panel h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--navy-800);
  letter-spacing: .1em;
  margin-bottom: 14px;
}
.svc-panel > p { color: var(--gray); font-size: .9375rem; margin-bottom: 22px; }
.svc-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
  margin-bottom: 28px;
}
.svc-list li {
  font-size: .9375rem;
  padding: 9px 0 9px 16px;
  position: relative;
  border-bottom: 1px dashed var(--line);
  color: var(--ink);
}
.svc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.1em;
  width: 5px;
  height: 5px;
  background: var(--gold);
}
.svc-panel .btn { margin-top: auto; align-self: flex-start; padding: 11px 28px; }

/* ---------- 鉴定流程 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  counter-reset: step;
}
.step {
  padding: 0 22px;
  text-align: center;
  position: relative;
}
.step + .step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 30px;
  height: 1px;
  width: 100%;
  transform: translateX(-50%);
  background: var(--line);
  z-index: 0;
}
.step-no {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gold);
  color: var(--navy-800);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.step h4 {
  font-size: 1rem;
  color: var(--navy-800);
  letter-spacing: .1em;
  margin-bottom: 8px;
}
.step p { font-size: .8125rem; color: var(--gray); line-height: 1.7; }

/* ---------- 团队条 ---------- */
.team-strip {
  background: var(--navy-800);
  color: #fff;
  padding: 64px 0;
}
.team-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.team-strip-main { max-width: 640px; }
.team-strip .sec-no { color: var(--gold-100); }
.team-strip h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 2.6vw, 1.75rem);
  letter-spacing: .1em;
  margin-bottom: 14px;
}
.team-strip p { color: rgba(255, 255, 255, .75); font-size: .9375rem; }

/* ---------- 案例列表 ---------- */
.case-list { border-top: 1px solid var(--line); }
.case-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 30px 8px;
  border-bottom: 1px solid var(--line);
  transition: background .2s ease;
}
.case-item:hover { background: var(--white); }
.case-idx {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--gold-dark);
  font-weight: 700;
}
.case-item h3 {
  font-size: 1.125rem;
  color: var(--navy-800);
  letter-spacing: .06em;
  margin-bottom: 6px;
}
.case-item p { font-size: .875rem; color: var(--gray); }
.case-cat {
  font-size: .75rem;
  letter-spacing: .14em;
  color: var(--gray-light);
  border: 1px solid var(--line);
  padding: 6px 14px;
  white-space: nowrap;
  background: var(--white);
}

/* ---------- CTA 横幅 ---------- */
.cta-band {
  background: var(--navy-900);
  color: #fff;
  padding: 72px 0;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  letter-spacing: .12em;
  margin-bottom: 14px;
}
.cta-band p { color: rgba(255, 255, 255, .7); margin-bottom: 32px; }
.cta-band .hero-actions { justify-content: center; }
.cta-phone {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--gold-100);
  letter-spacing: .06em;
  display: block;
  margin-bottom: 6px;
}
.cta-phone:hover { color: #fff; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .68);
  font-size: .875rem;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding: 64px 0 48px;
}
.footer-brand .brand-name { color: #fff; font-size: 1.25rem; }
.footer-brand .seal { border-color: var(--gold-100); outline-color: rgba(255, 255, 255, .3); color: #fff; width: 46px; height: 46px; font-size: .9375rem; background: transparent; }
.footer-brand .seal-img { width: 52px; height: 52px; }
.footer-brand p { margin-top: 18px; line-height: 1.9; max-width: 320px; }
.footer-col h4 {
  color: #fff;
  font-size: .9375rem;
  letter-spacing: .18em;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  display: inline-block;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: rgba(255, 255, 255, .68); }
.footer-col a:hover { color: var(--gold-100); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.7; }
.footer-contact .k { color: rgba(255, 255, 255, .42); flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .8125rem;
  color: rgba(255, 255, 255, .45);
}
.footer-bottom a { color: rgba(255, 255, 255, .55); }
.footer-bottom a:hover { color: var(--gold-100); }
.footer-bottom .links { display: flex; gap: 20px; }

/* ---------- 内页页头 ---------- */
.page-hero {
  background: var(--navy-800);
  color: #fff;
  padding: 60px 0 54px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 44px 44px;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30%;
  height: 3px;
  background: var(--gold);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb {
  font-size: .8125rem;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 16px;
  letter-spacing: .06em;
}
.breadcrumb a { color: rgba(255, 255, 255, .75); }
.breadcrumb a:hover { color: var(--gold-100); }
.breadcrumb span { margin: 0 8px; color: rgba(255, 255, 255, .35); }
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.625rem, 3.4vw, 2.25rem);
  letter-spacing: .14em;
  font-weight: 700;
}
.page-hero .page-sub { color: rgba(255, 255, 255, .72); margin-top: 12px; max-width: 640px; font-size: .9375rem; }

/* ---------- 内页正文通用 ---------- */
.doc-section { margin-bottom: 64px; }
.doc-section:last-child { margin-bottom: 0; }
.doc-title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  color: var(--navy-800);
  letter-spacing: .1em;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}
.doc-title::before {
  content: "";
  width: 4px;
  height: 1.25em;
  background: var(--gold);
  flex-shrink: 0;
}

/* 服务明细（定义列表样式） */
.svc-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.svc-detail {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px 32px 26px;
  position: relative;
}
.svc-detail::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 3px;
  background: var(--gold);
}
.svc-detail h3 {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  color: var(--navy-800);
  letter-spacing: .08em;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.svc-detail dl { margin-bottom: 14px; }
.svc-detail dl:last-child { margin-bottom: 0; }
.svc-detail dt {
  font-size: .875rem;
  color: var(--gold-dark);
  letter-spacing: .1em;
  font-weight: 600;
  margin-bottom: 6px;
}
.svc-detail dd { font-size: .9375rem; color: var(--ink); line-height: 1.85; }

/* 两栏信息块（关于页） */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.info-block {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 34px 34px 28px;
}
.info-block h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--navy-800);
  letter-spacing: .1em;
  margin-bottom: 12px;
}
.info-block p, .info-block li { font-size: .9375rem; color: var(--gray); }
.info-block ul { list-style: none; margin-top: 4px; }
.info-block li { padding: 6px 0 6px 16px; position: relative; }
.info-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1em;
  width: 5px;
  height: 5px;
  background: var(--gold);
}

/* 理念三条 */
.value-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value-item {
  text-align: center;
  padding: 40px 28px 34px;
  background: var(--white);
  border: 1px solid var(--line);
}
.value-item .v-char {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold-dark);
  font-weight: 700;
  letter-spacing: .2em;
  margin-bottom: 12px;
}
.value-item h3 { font-size: 1.0625rem; color: var(--navy-800); letter-spacing: .16em; margin-bottom: 10px; }
.value-item p { font-size: .875rem; color: var(--gray); }

/* 资质页 */
.qual-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.qual-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.qual-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow .25s ease;
}
.qual-card:hover { box-shadow: var(--shadow-md); }
.qual-img {
  aspect-ratio: 4 / 3;
  background: #eef1f6;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.qual-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.qual-body { padding: 20px 22px 18px; }
.qual-body .q-year {
  font-size: .75rem;
  letter-spacing: .16em;
  color: var(--gold-dark);
  margin-bottom: 6px;
}
.qual-body h3 { font-size: 1rem; color: var(--navy-800); letter-spacing: .04em; line-height: 1.5; }
.qual-body p { font-size: .8125rem; color: var(--gray-light); margin-top: 6px; }

.qual-license {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 40px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy-800);
  padding: 36px;
  align-items: center;
}
.qual-license .qual-img { border: 1px solid var(--line); }
.qual-license h3 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  color: var(--navy-800);
  letter-spacing: .1em;
  margin-bottom: 16px;
}
.qual-license .meta-list { list-style: none; margin-top: 18px; }
.qual-license .meta-list li {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: .9375rem;
}
.qual-license .meta-list li:last-child { border-bottom: 0; }
.qual-license .meta-list .k { color: var(--gray-light); width: 96px; flex-shrink: 0; }

/* 案例页 */
.case-full {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 36px 40px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 28px;
}
.case-full .case-idx { font-size: 2.25rem; }
.case-full h3 { font-size: 1.25rem; color: var(--navy-800); font-family: var(--font-serif); letter-spacing: .06em; margin-bottom: 12px; }
.case-full .case-cat {
  display: inline-block;
  margin-bottom: 14px;
  background: var(--gold-100);
  border: 0;
  color: var(--gold-dark);
}
.case-full p { color: var(--gray); font-size: .9375rem; margin-bottom: 12px; }
.case-full .scope { font-size: .875rem; color: var(--ink); background: var(--bg); border-left: 3px solid var(--gold); padding: 12px 16px; }
.case-full .scope strong { color: var(--navy-800); }

/* 联系页 */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 36px 26px 30px;
  text-align: center;
}
.contact-card svg { margin: 0 auto 18px; display: block; }
.contact-card h3 {
  font-size: .8125rem;
  letter-spacing: .28em;
  color: var(--gray-light);
  margin-bottom: 12px;
  font-weight: 500;
}
.contact-card .c-main {
  font-size: 1.0625rem;
  color: var(--navy-800);
  font-weight: 600;
  line-height: 1.6;
}
.contact-card .c-note { font-size: .8125rem; color: var(--gray-light); margin-top: 8px; }

.contact-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}
.notice-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy-800);
  padding: 34px 36px;
}
.notice-box h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--navy-800);
  letter-spacing: .12em;
  margin-bottom: 18px;
}
.notice-box ol { padding-left: 20px; }
.notice-box ol li { margin-bottom: 12px; font-size: .9375rem; color: var(--gray); }
.notice-box ol li strong { color: var(--ink); }

/* 内页布局（带侧边导航） */
.layout-aside {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
}
.side-nav {
  background: var(--white);
  border: 1px solid var(--line);
  position: sticky;
  top: 108px;
}
.side-nav .side-title {
  background: var(--navy-800);
  color: #fff;
  font-family: var(--font-serif);
  letter-spacing: .16em;
  font-size: .9375rem;
  padding: 16px 22px;
}
.side-nav ul { list-style: none; padding: 8px 0; }
.side-nav a {
  display: block;
  padding: 12px 22px;
  font-size: .9375rem;
  color: var(--gray);
  border-left: 3px solid transparent;
}
.side-nav a:hover { color: var(--navy-800); background: var(--bg); }
.side-nav a.active {
  color: var(--navy-800);
  border-left-color: var(--gold);
  background: var(--gold-100);
  font-weight: 600;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
  .main-nav a { padding: 13px 24px; border-bottom: 1px solid var(--bg); }
  .main-nav a::after { display: none; }
  .main-nav a.active { background: var(--gold-100); }
}

@media (max-width: 1024px) {
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; }
  .fact { border-top: 1px solid var(--line); }
  .fact:nth-child(-n+2) { border-top: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; padding: 72px 0 64px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .step + .step::before { display: none; }
  .qual-grid { grid-template-columns: repeat(2, 1fr); }
  .qual-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .qual-license { grid-template-columns: 1fr; }
  .qual-license .qual-img { max-width: 320px; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-split { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .layout-aside { grid-template-columns: 1fr; }
  .side-nav { position: static; }
  .side-nav ul { display: flex; flex-wrap: wrap; }
  .side-nav a { border-left: 0; border-bottom: 3px solid transparent; }
  .side-nav a.active { border-bottom-color: var(--gold); }
}

@media (max-width: 720px) {
  .hero h1 .ph { display: block; }
  .hero h1 .dot { display: none; }
  .topbar .topbar-left { display: none; }
  .topbar .topbar-right { gap: 14px; }
  .topbar .container { justify-content: center; }
  .site-header .container { min-height: 68px; }
  .brand-name { font-size: 1.0625rem; letter-spacing: .06em; }
  .brand-sub { display: none; }
  .seal { width: 42px; height: 42px; font-size: .875rem; }
  .seal-img { width: 42px; height: 42px; }
  .section { padding: 60px 0; }
  .svc-panels { grid-template-columns: 1fr; }
  .svc-detail-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .value-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; row-gap: 32px; }
  .case-item { grid-template-columns: 1fr; gap: 10px; }
  .case-idx { font-size: 1.25rem; }
  .case-cat { justify-self: start; }
  .case-full { grid-template-columns: 1fr; gap: 12px; padding: 28px 24px; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; padding: 48px 0 36px; }
  .footer-bottom .container { justify-content: center; text-align: center; }
  .qual-grid, .qual-grid.cols-3 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-panel li { flex-direction: column; gap: 2px; }
  .hero-panel li .v { text-align: left; }
}

@media (max-width: 560px) {
  .topbar .topbar-right span:last-child { display: none; }
  .topbar .container { min-height: 34px; }
}
