/* ============================================================
   北京中雁远扬知识产权代理有限公司
   视觉参考：intellecpro.com（极简黑白 + 全屏影像 + 75rem 栅格）
   ============================================================ */

:root {
  --black: #161869;          /* 品牌深蓝，替代参考站的纯黑 */
  --white: #ffffff;
  --light: #eeeef1;
  --dark: #3d3f48;
  --grey: #787878;
  --primary: #e60012;        /* 品牌红，用于强调与链接 */
  --secondary: #6a7b94;
  --tertiary: #fbe3e5;
  --content-size: 75rem;
  --nav-height: 5rem;
  --font-title: "Century Gothic", "Avenir Next", "Futura", "Helvetica Neue", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: Arial, "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--dark);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; line-height: 1.35; }

p { margin: 0; }

a { color: inherit; text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--primary); }

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

ul { margin: 0; padding: 0; }

::selection { background: var(--primary); color: #fff; }

/* ============================== 顶部导航 ============================== */

#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 2.4rem;
  color: #fff;
  background-color: transparent;
  transition: opacity 0.6s ease;
}

/* 页面顶部时完全透明；下滑后淡入极淡的蓝色（顶部略实、底部完全透明） */
#main-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(
    to bottom,
    rgba(22, 24, 105, 0.18),
    rgba(22, 24, 105, 0)
  );
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

#main-nav.scrolled::before { opacity: 1; }

/* logo 图片：禁止拖拽/长按保存，右键命中父级链接而不出现“图片另存为” */
.logo .logo-img {
  pointer-events: none;
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: #fff;
  flex-shrink: 0;
}

.logo:hover { color: #fff; }

.logo-mark { display: none; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.34em;
}

.logo-text small {
  font-family: var(--font-title);
  font-size: 0.5rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  opacity: 0.62;
  margin-top: 0.3rem;
}

#top-menu {
  display: flex;
  list-style: none;
  gap: 4rem;
  margin: 0 auto 0 0;
  padding: 0;
  font-size: 1.15rem;
}

#top-menu li a {
  position: relative;
  display: inline-block;
  color: #fff;
  padding-bottom: 0.35rem;
}

#top-menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

#top-menu li a:hover::after,
#top-menu li a.active::after { width: 100%; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-title);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.lang-switch button {
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 0 0 0.2rem;
  font: inherit;
  color: rgba(255, 255, 255, 0.62);
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.lang-switch button:hover { color: #fff; }

.lang-switch button.active {
  color: #fff;
  border-bottom-color: var(--primary);
}

.menu-toggle {
  width: 2.6rem;
  height: 2.6rem;
  padding: 0 0.55rem;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.menu-toggle:hover { border-color: var(--primary); }

.menu-toggle span {
  display: block;
  height: 1px;
  width: 100%;
  background-color: #fff;
}

/* ============================== 全屏菜单 ============================== */

.menu-wrapper {
  position: fixed;
  inset: 0;
  z-index: 30;
  background-color: var(--black);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.menu-wrapper.open { opacity: 1; visibility: visible; }

.menu-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  /* 与 #main-nav 保持一致的开边距，logo 与关闭按钮对齐首页导航 */
  padding: 0 2.4rem 2.4rem;
}

/* 菜单列表与底部信息仍按 90rem 栅格居中，避免贴着屏幕左侧 */
.menu-body {
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: calc(90rem - 4.8rem);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  flex-shrink: 0;
}

.menu-close {
  width: 2.6rem;
  height: 2.6rem;
  position: relative;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.menu-close:hover { border-color: var(--primary); }

.menu-close::before,
.menu-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.1rem;
  height: 1px;
  background-color: #fff;
}

.menu-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.menu-close::after { transform: translate(-50%, -50%) rotate(-45deg); }

.menu-list {
  list-style: none;
  margin: auto 0;
  padding: 0;
  max-width: 42rem;
}

.menu-list li { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }

.menu-list li:last-child { border-bottom: 0; }

.menu-list li a {
  display: block;
  padding: 1.6rem 0;
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1em;
  letter-spacing: 0.02em;
  color: #fff;
  opacity: 0;
  transform: translateX(6rem);
  transition: opacity 0.9s cubic-bezier(0.19, 1, 0.22, 1), transform 0.9s cubic-bezier(0.19, 1, 0.22, 1), padding 0.5s ease, color 0.3s ease;
}

.menu-wrapper.open .menu-list li a {
  opacity: 1;
  transform: translateX(0);
}

.menu-wrapper.open .menu-list li:nth-child(1) a { transition-delay: 0.28s; }
.menu-wrapper.open .menu-list li:nth-child(2) a { transition-delay: 0.36s; }
.menu-wrapper.open .menu-list li:nth-child(3) a { transition-delay: 0.44s; }
.menu-wrapper.open .menu-list li:nth-child(4) a { transition-delay: 0.52s; }
.menu-wrapper.open .menu-list li:nth-child(5) a { transition-delay: 0.6s; }
.menu-wrapper.open .menu-list li:nth-child(6) a { transition-delay: 0.68s; }

.menu-list li a:hover { opacity: 0.4; padding-left: 1rem; color: #fff; }

.menu-list li a.active { color: var(--primary); opacity: 1; }

.menu-foot {
  flex-shrink: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 2.4rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.04em;
}

.menu-foot a { color: rgba(255, 255, 255, 0.6); }
.menu-foot a:hover { color: #fff; }

/* ============================== 首屏 / 内页头图 ============================== */

#main-header {
  position: relative;
  height: 40vh;
  min-height: 18rem;
  background-color: var(--black);
  color: #fff;
  overflow: hidden;
}

#main-header.is-front { height: 100vh; }

#main-header .back-nav {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  transform: scale(1.03);
  transition: transform 8s ease;
}

#main-header.is-front:hover .back-nav,
#main-header .back-nav { transform: scale(1.03); }

#main-header.is-front::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
  background-color: var(--black);
  opacity: 0.5;
}

.wrapper-content-abs {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: var(--content-size);
  padding: 0 2rem;
  z-index: 3;
}

/* 与参考站一致：左半屏主标题，右半屏副标题 */
.infos-header {
  display: flex;
  align-items: center;
  gap: 0;
}

.infos-header .col-elt {
  flex: 1 1 50%;
  max-width: 50%;
  text-align: left;
}

.infos-header .col-elt:first-child { padding: 0 2rem 0 0; }

.infos-header .col-elt:last-child { padding: 0 4rem; }

.hero-inner { animation: heroFade 1.1s cubic-bezier(0.19, 1, 0.22, 1) both; }

@keyframes heroFade {
  from { opacity: 0; transform: translateY(2rem); }
  to { opacity: 1; transform: translateY(0); }
}

.page-title {
  font-family: var(--font-title);
  font-size: 4rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0;
}

.is-front .page-title { font-size: 4.6rem; }

.page-subtitle {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 3rem;
  line-height: 1.3;
  letter-spacing: 0.02em;
  margin: 0;
}

.page-subtitle span { display: block; white-space: nowrap; }

.page-lead {
  max-width: 34rem;
  margin-top: 2.4rem;
  font-size: 0.95rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.78);
}

/* ============================== 内容区 ============================== */

.main-container {
  padding: 8rem 0;
  width: 100%;
}

.main-container.is-tight { padding: 5rem 0; }

.wrapper-content {
  max-width: var(--content-size);
  margin: 0 auto;
  padding: 0 2rem;
}

.cols-container {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  justify-content: center;
  align-items: flex-start;
}

.col-elt.size-1-2 { flex: 1 1 calc(50% - 2rem); max-width: calc(50% - 2rem); }
.col-elt.size-1-3 { flex: 1 1 calc(33.333% - 2.67rem); max-width: calc(33.333% - 2.67rem); }
.col-elt.size-1-4 { flex: 1 1 calc(25% - 3rem); max-width: calc(25% - 3rem); }
.col-elt.size-2-3 { flex: 1 1 calc(66.666% - 1.33rem); max-width: calc(66.666% - 1.33rem); }
.col-elt.size-3-4 { flex: 1 1 calc(75% - 1rem); max-width: calc(75% - 1rem); }

.gut-content > * { margin: 0 auto 2rem; }

.gut-content h2 {
  font-family: var(--font-title);
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--primary);
  margin: 0 0 2rem;
}

.gut-content h2:not(:first-child) { margin-top: 4rem; }

.gut-content h3 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  margin: 2.6rem 0 1rem;
}

.gut-content p {
  font-size: 1rem;
  line-height: 2.1;
  text-align: justify;
  color: var(--dark);
}

.has-red-color { color: var(--primary); }

.has-primary-color,
.gut-content p.has-primary-color,
p.has-primary-color {
  color: var(--primary);
  font-weight: 700;
}

.divider {
  border: 0;
  border-top: 1px solid var(--light);
  margin: 4rem 0;
}

.list-plain { list-style: none; padding: 0; margin: 0; }

.list-plain li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--light);
  font-size: 0.95rem;
  color: var(--dark);
}

.list-plain li:first-child { border-top: 1px solid var(--light); }

.list-dash { list-style: none; padding: 0; margin: 0; }

.list-dash li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.3rem;
  font-size: 0.95rem;
  line-height: 1.9;
}

.list-dash li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 0.6rem;
  height: 1px;
  background-color: var(--primary);
}

/* 关于我们：行业排名里程碑列表 */
.about-ranks {
  list-style: none;
  margin: 2rem auto;
  padding: 1.2rem 1.6rem;
  background-color: #f7f7f9;
  border-left: 3px solid var(--primary);
}

.about-ranks li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.5rem;
  font-size: 0.95rem;
  line-height: 1.9;
  font-weight: 700;
  color: var(--black);
}

.about-ranks li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 1.15rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--primary);
}

/* 关于我们：服务公约列表 */
.about-covenant {
  max-width: 52rem;
  margin-top: 1.6rem;
}

.about-covenant li {
  font-weight: 700;
  color: var(--black);
}

/* 关于我们：合作伙伴 logo 轮播 */
.partners { margin-top: 5rem; }

.partners-sub {
  margin-top: 0.6rem;
  color: var(--grey);
  font-size: 0.9rem;
}

.partners-marquee {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  overflow: hidden;
  margin-top: 2.4rem;
  padding: 0.5rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.partners-track {
  display: flex;
  width: max-content;
  animation: partnersScroll linear infinite;
}

.partners-track--reverse { animation-direction: reverse; }

.partners-track:hover { animation-play-state: paused; }

.partners-group {
  display: flex;
  align-items: center;
  gap: 4.5rem;
  padding-right: 4.5rem;
}

.partner-logo {
  position: relative;
  flex: 0 0 auto;
  width: 11rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.62;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.partner-logo:hover img { filter: grayscale(0); opacity: 1; }

.partner-mark {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 2.6rem 2.6rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.partner-logo.is-missing {
  background-color: #f6f6f9;
  border-radius: 4px;
}

@keyframes partnersScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 900px) {
  .partner-logo { width: 8rem; height: 4rem; }
  .partners-group { gap: 2.8rem; padding-right: 2.8rem; }
  .partners { margin-top: 3.5rem; }
}

.link-list { list-style: none; padding: 0; margin: 2rem 0 0; }

.link-list li { margin-bottom: 1rem; }

.link-list a {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--primary);
  border-bottom: 1px solid var(--tertiary);
  padding-bottom: 0.15rem;
}

.link-list a:hover { border-bottom-color: var(--primary); }

/* 卡片 / 文化 */

.culture-card {
  border-top: 1px solid var(--dark);
  padding-top: 1.6rem;
}

.culture-card h3 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  color: var(--primary);
  margin: 0 0 0.8rem;
}

.culture-card p { font-size: 0.92rem; line-height: 2; color: var(--dark); }

/* 服务页侧边栏 */

.sidebar.is-left {
  border-right: 1px solid var(--light);
  padding-right: 2rem;
}

.sidebar h3 {
  font-family: var(--font-title);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: var(--grey);
  text-transform: uppercase;
  margin: 0 0 1.2rem;
}

.submenu { list-style: none; margin: 0; padding: 0; }

.submenu li {
  border-bottom: 1px solid var(--light);
  font-size: 0.98rem;
  font-weight: 700;
  padding: 1rem 0;
}

.submenu li:first-child { border-top: 1px solid var(--light); }

.submenu li a { color: var(--dark); display: block; }

.submenu li a:hover,
.submenu li.current a { color: var(--primary); }

/* ============================== 专业人员 ============================== */

.professional-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--light);
  margin-bottom: 1rem;
}

.filter-label {
  font-family: var(--font-title);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: var(--grey);
  text-transform: uppercase;
}

.filter-input,
.filter-select {
  border: 0;
  border-bottom: 1px solid var(--light);
  background: transparent;
  padding: 0.55rem 0.2rem;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--dark);
  outline: none;
  min-width: 11rem;
  transition: border-color 0.3s ease;
}

.filter-input:focus,
.filter-select:focus { border-bottom-color: var(--primary); }

.alphabet-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
}

.alphabet-filter button {
  width: 1.9rem;
  height: 1.9rem;
  border: 0;
  background: none;
  font-family: var(--font-title);
  font-size: 0.8rem;
  color: var(--grey);
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.alphabet-filter button:hover,
.alphabet-filter button.active { color: #fff; background-color: var(--black); }

.professional-list { margin-top: 1rem; }

.professional-card {
  display: grid;
  grid-template-columns: 1fr 1.75fr;
  gap: 2rem;
  padding: 2.4rem 0.4rem;
  border-bottom: 1px solid var(--light);
  color: inherit;
  transition: background-color 0.3s ease;
}

.professional-card:hover { background-color: #fafafa; }

.professional-card h3 {
  font-family: var(--font-title);
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
}

.professional-card .role {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--grey);
}

.professional-card .meta {
  font-size: 0.9rem;
  line-height: 2;
  color: var(--dark);
}

.professional-card .meta strong {
  display: inline-block;
  min-width: 5.4rem;
  font-family: var(--font-title);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--grey);
  text-transform: uppercase;
  font-weight: 400;
}

/* ============================== 联系方式 ============================== */

.contact-row { border-bottom: 1px solid var(--light); padding: 3rem 0; }
.contact-row:first-child { border-top: 1px solid var(--light); }

.contact-city h2 {
  font-family: var(--font-title);
  font-size: 1.9rem;
  font-weight: 400;
}

.contact-city p {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--grey);
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.contact-block p {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  line-height: 1.9;
}

.contact-block .company { color: var(--primary); font-weight: 700; }

.contact-block .label {
  display: inline-block;
  min-width: 4.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--grey);
  text-transform: uppercase;
}

/* 表单 */

.contact-form { display: grid; gap: 1.8rem; margin-top: 1rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; }

.form-field { display: flex; flex-direction: column; gap: 0.5rem; }

.form-field label {
  font-family: var(--font-title);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: var(--grey);
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--light);
  background: transparent;
  padding: 0.7rem 0;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--dark);
  outline: none;
  transition: border-color 0.3s ease;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus { border-bottom-color: var(--primary); }

/* 表单提交状态提示 */
.form-status {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  line-height: 1.7;
  min-height: 1.4em;
}
.form-status.is-ok { color: #2a9d4f; }
.form-status.is-error { color: var(--primary); }

/* ============================== 在线聊天浮窗 ============================== */

.chat-widget {
  position: fixed;
  right: 1.6rem;
  bottom: 1.6rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
}

/* 社交联系方式竖排（QQ / 微信 / LinkedIn / WhatsApp） */
.social-stack {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.social-item {
  position: relative;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  color: var(--dark);
  border: 1px solid var(--light);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

a.social-item { text-decoration: none; }

.social-item:hover {
  transform: scale(1.08);
  border-color: currentColor;
  color: #fff;
}

.social-item--qq:hover { background-color: #12b7f5; border-color: #12b7f5; }
.social-item--wechat:hover { background-color: #07c160; border-color: #07c160; }
.social-item--linkedin:hover { background-color: #0a66c2; border-color: #0a66c2; }
.social-item--whatsapp:hover { background-color: #25d366; border-color: #25d366; }

/* 四个渠道的悬浮二维码弹层（QQ / 微信 / LinkedIn / WhatsApp） */
.qr-pop {
  position: absolute;
  right: calc(100% + 0.9rem);
  top: 50%;
  width: 216px;
  transform: translateY(-50%) translateX(10px);
  background-color: #fff;
  border: 1px solid var(--light);
  border-radius: 12px;
  padding: 0.75rem 0.75rem 0.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  pointer-events: none;
  z-index: 60;
}

.social-item:hover .qr-pop,
.social-item:focus .qr-pop,
.social-item:focus-within .qr-pop {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.qr-pop::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 7px solid transparent;
  border-left-color: #fff;
}

.qr-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 6px;
  background-color: #fff;
}

.qr-tip {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--grey);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* 在线咨询按钮 */
.chat-toggle {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  border: 0;
  background-color: var(--primary);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(230, 0, 18, 0.35);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.chat-toggle:hover { background-color: #c20010; transform: scale(1.05); }

.chat-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.8rem);
  width: 22rem;
  max-width: calc(100vw - 2rem);
  background-color: #fff;
  border: 1px solid var(--light);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  transform: translateY(12px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
}

.chat-widget.open .chat-panel {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.1rem;
  background-color: var(--black);
  color: #fff;
  font-family: var(--font-title);
  font-size: 1rem;
}

.chat-close {
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.2rem;
}

.chat-form { padding: 1.1rem; }

.chat-field { margin-bottom: 0.9rem; }

.chat-field input,
.chat-field textarea {
  width: 100%;
  border: 1px solid var(--light);
  border-radius: 6px;
  padding: 0.6rem 0.75rem;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--dark);
  outline: none;
  resize: vertical;
  transition: border-color 0.25s ease;
}

.chat-field input:focus,
.chat-field textarea:focus { border-color: var(--primary); }

.chat-send { width: 100%; }

.chat-status {
  margin: 0 0 0.7rem;
  font-size: 0.8rem;
  min-height: 1.3em;
}
.chat-status.is-ok { color: #2a9d4f; }
.chat-status.is-error { color: var(--primary); }

@media (max-width: 900px) {
  .chat-widget { right: 1rem; bottom: 1rem; }
}

/* ============================== 按钮 ============================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.7rem;
  font-family: var(--font-title);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  border: 1px solid var(--black);
  background: transparent;
  color: var(--black);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

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

.btn-outline { background-color: transparent; color: var(--black); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-sm { padding: 0.5rem 1rem; font-size: 0.74rem; }

/* ============================== 尼斯分类 ============================== */

.nice-toolbar {
  max-width: 88rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.nice-search-wrap {
  margin-bottom: 1.6rem;
}

.nice-item-search {
  width: 100%;
  border: 1px solid var(--light);
  border-radius: 2rem;
  background: #fff;
  padding: 0.85rem 1.4rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nice-item-search:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(180, 30, 30, 0.08);
}

.nice-classes-bar {
  border-top: 1px solid var(--light);
  border-bottom: 1px solid var(--light);
  padding: 1.1rem 0;
  margin-bottom: 2.2rem;
}

.nice-layout {
  display: grid;
  grid-template-columns: 12.5rem minmax(0, 1fr) 19rem;
  gap: 2.5rem;
  max-width: 88rem;
  margin: 0 auto;
  padding: 0 2rem 8rem;
}

/* 左侧：类似群导航 */
.nice-groups-nav {
  position: sticky;
  top: calc(var(--nav-height) + 1.8rem);
  align-self: start;
  max-height: calc(100vh - var(--nav-height) - 3.6rem);
  overflow-y: auto;
  border-right: 1px solid var(--light);
  padding-right: 1.2rem;
}

.nice-nav-title {
  font-family: var(--font-title);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--grey);
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.nice-nav-class {
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1.2rem 0 0.5rem;
  cursor: pointer;
}

.nice-nav-class:first-child { margin-top: 0; }

.nice-nav-item {
  display: block;
  padding: 0.45rem 0.5rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--dark);
  cursor: pointer;
  border-left: 2px solid transparent;
  border-radius: 0 0.3rem 0.3rem 0;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.nice-nav-item:hover { color: var(--primary); background: var(--tertiary); }

.nice-nav-item.active {
  color: var(--primary);
  background: var(--tertiary);
  border-left-color: var(--primary);
  font-weight: 700;
}

.nice-nav-code {
  font-family: var(--font-title);
  font-size: 0.78rem;
  color: var(--grey);
  margin-right: 0.35rem;
}

.nice-nav-item.active .nice-nav-code { color: var(--primary); }

.nice-sidebar-right {
  position: sticky;
  top: calc(var(--nav-height) + 1.8rem);
  align-self: start;
  max-height: calc(100vh - var(--nav-height) - 3.6rem);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--light);
  padding-left: 2rem;
}

.nice-sidebar-header h3,
.nice-selected-header h3 {
  font-family: var(--font-title);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--grey);
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.nice-search {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--light);
  background: transparent;
  padding: 0.6rem 0;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--dark);
  outline: none;
  margin-bottom: 1rem;
}

.nice-search:focus { border-bottom-color: var(--primary); }

.nice-class-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.8rem;
}

.nice-class-item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.1rem 0;
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--dark);
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nice-class-item:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.nice-class-item.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 700;
}

.nice-class-num {
  font-family: var(--font-title);
  font-size: 0.82rem;
  color: var(--grey);
  flex-shrink: 0;
}

.nice-class-item:hover .nice-class-num,
.nice-class-item.active .nice-class-num { color: var(--primary); }

.nice-main { min-width: 0; }

.nice-main-header { border-bottom: 1px solid var(--light); padding-bottom: 1.6rem; margin-bottom: 2rem; }

.nice-main-header h2 {
  font-family: var(--font-title);
  font-size: 1.9rem;
  font-weight: 400;
  margin: 0;
}

.nice-main-header span {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  color: var(--grey);
  text-transform: uppercase;
}

.nice-note {
  font-size: 0.92rem;
  line-height: 2;
  color: var(--dark);
  border-left: 2px solid var(--light);
  padding-left: 1.4rem;
  margin-bottom: 3rem;
}

.nice-note h4 {
  font-family: var(--font-title);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--grey);
  text-transform: uppercase;
  margin: 0 0 0.8rem;
}

.nice-section-title {
  font-family: var(--font-title);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--grey);
  text-transform: uppercase;
  margin: 0 0 1.4rem;
}

.nice-group-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 3.5rem;
  font-size: 0.88rem;
}

.nice-group-table th {
  text-align: left;
  font-family: var(--font-title);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--grey);
  text-transform: uppercase;
  font-weight: 400;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--dark);
}

.nice-group-table td { padding: 0.7rem 0; border-bottom: 1px solid var(--light); }
.nice-group-table tr:hover td { color: var(--primary); }

.nice-group-section {
  margin-bottom: 2.4rem;
  scroll-margin-top: calc(var(--nav-height) + 1.5rem);
}

.nice-group-label {
  font-family: var(--font-title);
  font-size: 1rem;
  color: var(--black);
  border-bottom: 1px solid var(--light);
  padding-bottom: 0.7rem;
  margin-bottom: 1rem;
}

.nice-group-label .nice-group-code {
  color: var(--primary);
  font-weight: 700;
  margin-right: 0.6rem;
}

.nice-group-label .nice-group-name { font-size: 0.9rem; color: var(--dark); }

/* 跨类搜索结果中的类别标题 */
.nice-result-class {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  padding: 1.6rem 0 0.6rem;
  border-bottom: 2px solid var(--primary);
  margin-bottom: 0.8rem;
  cursor: pointer;
}

.nice-result-class-num { color: var(--primary); }

.nice-group-items { min-width: 0; }

.nice-items-block { margin: 0 0 1rem; }
.nice-items-block:last-child { margin-bottom: 0; }

.nice-item-type {
  font-family: var(--font-title);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--grey);
  margin-bottom: 0.4rem;
}

.nice-items-text {
  line-height: 2.2;
  font-size: 0.95rem;
  color: var(--dark);
  word-break: break-word;
}

.nice-item-link {
  color: var(--dark);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nice-item-link:hover {
  color: var(--primary);
  background-color: var(--tertiary);
}

.nice-item-link.selected {
  color: #fff;
  background-color: var(--primary);
  font-weight: 700;
  padding: 0.05rem 0.15rem;
}

.nice-items-text .sep { color: var(--grey); }

.nice-selected-actions { display: flex; gap: 0.6rem; margin-bottom: 1.4rem; }

.nice-selected-list {
  list-style: none;
  overflow-y: auto;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--light);
  flex: 1;
}

.nice-selected-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--light);
  font-size: 0.85rem;
  line-height: 1.7;
}

.remove-btn {
  color: var(--grey);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: color 0.2s ease;
}

.remove-btn:hover { color: var(--primary); }

.nice-empty {
  padding: 1.4rem 0;
  font-size: 0.85rem;
  color: var(--grey);
  line-height: 1.9;
}

.nice-count {
  margin-top: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--grey);
}

.nice-toast {
  position: fixed;
  left: 50%;
  bottom: 3rem;
  transform: translate(-50%, 1rem);
  background-color: var(--black);
  color: #fff;
  padding: 0.8rem 1.7rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 40;
}

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

/* ============================== 页脚 ============================== */

#main-footer {
  background-color: var(--black);
  color: #fff;
  padding: 4rem 2rem;
}

.footer-grid {
  max-width: var(--content-size);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

#main-footer h3 {
  font-family: var(--font-title);
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0 0 2rem;
  font-weight: 400;
}

#main-footer ul { list-style: none; padding: 0; margin: 0; }

#main-footer li {
  font-size: 0.9rem;
  line-height: 2.1;
}

#main-footer a { color: rgba(255, 255, 255, 0.82); }
#main-footer a:hover { color: var(--primary); }

/* 底部友情链接（常规文字样式） */
/* 底部第一行：友情链接 */
.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 0;
}

.footer-links-label { margin-right: 0.35rem; }

.footer-links-label::after { content: "："; }

.footer-links a { color: inherit; }

.footer-links a + a::before {
  content: "|";
  margin: 0 0.6rem;
  opacity: 0.5;
}

#main-footer .footer-links a:hover { color: #fff; }
.footer .footer-links a:hover { color: var(--primary); }

/* 「友情链接：」标签与版权文字保持与旁边链接一致的白色 */
#main-footer .footer-links-label,
#main-footer .footer-copy { color: rgba(255, 255, 255, 0.82); }

.footer-brand .logo { margin-bottom: 1.2rem; }

.footer-brand p {
  font-size: 0.82rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.55);
  max-width: 18rem;
}

.footer-bottom {
  max-width: var(--content-size);
  margin: 3.5rem auto 0;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
}

/* 底部第二行：版权 + ICP + 公安备案 */
.footer-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem 2.4rem;
}

.icp-record,
.police-record {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.police-record img {
  display: block;
  height: 1.15rem;
  width: auto;
  opacity: 0.9;
}

.icp-record:hover,
.police-record:hover { color: rgba(255, 255, 255, 0.8); }
.police-record:hover img { opacity: 1; }

/* 浅色底页面（join）上的底部信息 */
.footer-bottom--light {
  color: #6b6b6b;
  border-top-color: #e5e5e5;
}

.footer-bottom--light .icp-record:hover,
.footer-bottom--light .police-record:hover { color: var(--primary); }

/* ============================== 响应式 ============================== */

@media (max-width: 1200px) {
  #top-menu { gap: 2rem; font-size: 0.92rem; }
  .nice-layout { grid-template-columns: 10.5rem minmax(0, 1fr) 17rem; gap: 1.8rem; }
}

@media (max-width: 1080px) {
  #top-menu { display: none; }

  .nice-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  /* 小屏隐藏左侧群组导航，避免占满首屏 */
  .nice-groups-nav { display: none; }

  .nice-sidebar-right {
    position: static;
    grid-column: 1 / -1;
    max-height: none;
    border-left: 0;
    border-top: 1px solid var(--light);
    padding-left: 0;
    padding-top: 2rem;
  }

  .nice-selected-list { max-height: 18rem; }
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.6rem; }
}

@media (max-width: 820px) {
  #main-nav { padding: 0 1.2rem; }
  .logo-text { font-size: 0.95rem; }
  .logo-text small { display: none; }
  .logo-mark { width: 2.1rem; height: 2.1rem; font-size: 0.85rem; }
  .lang-switch { gap: 0.65rem; font-size: 0.72rem; }
  .menu-toggle { width: 2.2rem; height: 2.2rem; }
  .menu-inner { padding: 0 1.2rem 1.8rem; }
  .menu-close { width: 2.2rem; height: 2.2rem; }

  #main-header { height: 34vh; min-height: 15rem; }
  #main-header.is-front { height: 100vh; }

  .wrapper-content-abs { padding: 0 1.2rem; }
  .infos-header { display: block; }
  .infos-header .col-elt {
    max-width: 100%;
    padding: 0 !important;
    text-align: center;
  }
  .infos-header .col-elt:last-child { display: none; }
  .page-title { font-size: 2.1rem; }
  .is-front .page-title { font-size: 2.6rem; }
  .page-lead { font-size: 0.85rem; margin-top: 1.4rem; }

  .wrapper-content { padding: 0 1.2rem; }
  .main-container { padding: 4.5rem 0; }

  .cols-container { gap: 2.4rem; }

  .col-elt.size-1-2,
  .col-elt.size-1-3,
  .col-elt.size-1-4,
  .col-elt.size-2-3,
  .col-elt.size-3-4 {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .gut-content h2 { font-size: 1.5rem; }
  .gut-content p { font-size: 0.94rem; line-height: 2; }

  .sidebar.is-left {
    border-right: 0;
    border-bottom: 1px solid var(--light);
    padding-right: 0;
    padding-bottom: 1.6rem;
    width: 100%;
  }

  .submenu { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
  .submenu li, .submenu li:first-child { border: 0; padding: 0.4rem 0; font-size: 0.9rem; }

  .professional-card { grid-template-columns: 1fr; gap: 0.8rem; }
  .professional-card h3 { font-size: 1.15rem; }

  .contact-form .form-row { grid-template-columns: 1fr; gap: 1.8rem; }

  .nice-layout { grid-template-columns: 1fr; padding: 2.6rem 1.2rem 5rem; gap: 2.4rem; }

  .nice-class-list { gap: 0.3rem 1.1rem; }
  .nice-class-item { font-size: 1rem; }
  .nice-main { overflow-y: visible; }

  .menu-inner { padding: 0 2.4rem 1.8rem; }
  .menu-list li a { font-size: 1.8rem; }

  #main-footer { padding: 3.4rem 1.2rem 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer-bottom { margin-top: 2.4rem; }
}

/* ============================== 导航栏图形 Logo ============================== */

.logo-img {
  display: block;
  height: 3rem;
  width: auto;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.28));
}

@media (max-width: 60rem) {
  .logo-img { height: 2.3rem; }
}

/* ============================================================
   服务领域 · 左侧 Tab + 右侧卡片 布局
   ============================================================ */

.svc-layout {
  display: grid;
  grid-template-columns: 14rem 1fr;
  gap: 3rem;
  align-items: start;
}

/* ---------- 左侧 Tab ---------- */
.svc-tabs {
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 0;
  border-right: 1px solid rgba(22, 24, 105, 0.08);
}

.svc-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.85rem 1rem;
  background: none;
  border: 0;
  border-radius: 0.35rem;
  color: var(--dark);
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease, color 0.2s ease;
}

.svc-tab:hover:not(.svc-tab--disabled) {
  background: rgba(22, 24, 105, 0.05);
  color: var(--black);
}

.svc-tab--active {
  color: var(--black);
  font-weight: 600;
  background: rgba(22, 24, 105, 0.06);
}

.svc-tab--active::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 1.2rem;
  background: var(--primary);
  border-radius: 2px;
}

.svc-tab-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--secondary);
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.svc-tab--active .svc-tab-dot {
  background: var(--primary);
}

.svc-tab em {
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--grey);
  border: 1px solid rgba(120, 120, 120, 0.4);
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  margin-left: auto;
}

.svc-tab--disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.svc-tab--disabled:hover {
  background: none;
}

/* ---------- 右侧内容区 ---------- */
.svc-target {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}

/* 建设中占位、法律板块说明区横跨两列 */
.svc-build,
.svc-legal-head {
  grid-column: 1 / -1;
}

/* ---------- 卡片网格 ---------- */
.svc-card {
  background: #fff;
  border: 1px solid rgba(22, 24, 105, 0.08);
  border-radius: 0.75rem;
  padding: 1.75rem 2rem;
  box-shadow: 0 1px 3px rgba(22, 24, 105, 0.04);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.svc-card:hover {
  border-color: rgba(22, 24, 105, 0.18);
  box-shadow: 0 6px 18px rgba(22, 24, 105, 0.07);
}

.svc-card-title {
  font-family: var(--font-title);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--black);
  letter-spacing: 0.02em;
  margin-bottom: 0.6rem;
}

/* ---------- 费用行 ---------- */
.svc-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
}

.svc-price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
  padding: 0.35rem 0.8rem;
  background: rgba(22, 24, 105, 0.04);
  border-radius: 0.4rem;
}

/* 原价：灰色 + 划线 */
.svc-price--striked {
  opacity: 0.55;
}

.svc-price--striked .svc-price-amount {
  text-decoration: line-through;
  text-decoration-color: var(--primary);
  text-decoration-thickness: 1.5px;
  color: var(--grey);
}

.svc-price--striked .svc-price-symbol,
.svc-price--striked .svc-price-unit,
.svc-price--striked .svc-price-currency {
  color: var(--grey);
}

/* 折扣价：红色高亮 */
.svc-price--discount {
  background: rgba(230, 0, 18, 0.08);
  border: 1px solid rgba(230, 0, 18, 0.15);
}

.svc-price--discount .svc-price-amount {
  color: var(--primary);
}

.svc-price--discount .svc-price-symbol {
  color: var(--primary);
}

/* 扫码咨询价格区 */
.svc-quotation {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  padding: 0.55rem 0.9rem;
  background: rgba(22, 24, 105, 0.04);
  border-radius: 0.4rem;
}

.svc-quotation-label {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--secondary);
  text-transform: uppercase;
}

.svc-price-symbol {
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 600;
}

.svc-price-amount {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.02em;
}

.svc-price-unit {
  font-size: 0.82rem;
  color: var(--grey);
  margin-left: 0.15rem;
}

.svc-price-currency {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-left: 0.4rem;
}

/* ---------- 服务内容 / 作业流程 ---------- */
.svc-card-block {
  margin-top: 1rem;
}

.svc-card-block h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--black);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
  border-bottom: 1px solid rgba(22, 24, 105, 0.08);
  padding-bottom: 0.35rem;
}

.svc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  gap: 0.35rem 1rem;
}

.svc-list li {
  position: relative;
  padding-left: 0.9rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--dark);
}

.svc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--primary);
}

.svc-ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: svcstep;
}

.svc-ol li {
  position: relative;
  padding-left: 2.2rem;
  padding-top: 0.1rem;
  padding-bottom: 0.35rem;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--dark);
  counter-increment: svcstep;
}

.svc-ol li::before {
  content: counter(svcstep);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
  font-family: var(--font-title);
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc-card-notes {
  margin-top: 1rem;
  padding: 0.65rem 0.9rem;
  background: rgba(22, 24, 105, 0.03);
  border-radius: 0.35rem;
  font-size: 0.82rem;
  color: var(--grey);
  line-height: 1.65;
}

/* ---------- 建设中占位 ---------- */
.svc-build {
  text-align: center;
  padding: 4rem 2rem;
  border: 1px dashed rgba(22, 24, 105, 0.18);
  border-radius: 0.75rem;
  background: rgba(22, 24, 105, 0.02);
}

.svc-build-badge {
  display: inline-block;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  background: var(--black);
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  margin-bottom: 1.2rem;
}

.svc-build h2 {
  font-family: var(--font-title);
  font-size: 1.7rem;
  color: var(--black);
  margin-bottom: 0.75rem;
}

.svc-build p {
  max-width: 40rem;
  margin: 0 auto;
  color: var(--grey);
  line-height: 1.85;
}

/* ---------- 法律服务特殊样式 ---------- */
.svc-legal-head {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(22, 24, 105, 0.1);
}

.svc-legal-lead {
  font-size: 0.95rem;
  color: var(--dark);
  line-height: 1.85;
}

.svc-legal-sub {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--black);
  margin-top: 1rem;
  letter-spacing: 0.04em;
}

.svc-legal-notes {
  margin: 0.3rem 0 1.2rem;
  padding: 0.65rem 0.9rem;
  background: rgba(22, 24, 105, 0.03);
  border-radius: 0.35rem;
  font-size: 0.82rem;
  color: var(--grey);
  line-height: 1.65;
}

.svc-legal-notes p {
  margin: 0;
}

.svc-legal-cta {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.svc-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.4rem;
  border-radius: 0.4rem;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  font-family: var(--font-title);
  font-weight: 500;
  background: var(--primary);
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.svc-cta-btn:hover {
  background: #c2000f;
  color: #fff;
}

.svc-cta-btn--ghost {
  background: transparent;
  color: var(--black);
  border: 1px solid rgba(22, 24, 105, 0.25);
}

.svc-cta-btn--ghost:hover {
  border-color: var(--black);
  color: var(--primary);
}

/* ---------- 费用明细（可折叠） ---------- */
.svc-breakdown {
  margin-top: 0.9rem;
  border-top: 1px dashed rgba(22, 24, 105, 0.12);
  padding-top: 0.6rem;
}

.svc-breakdown summary {
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--secondary);
  letter-spacing: 0.04em;
  padding: 0.25rem 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease;
}

.svc-breakdown summary:hover {
  color: var(--primary);
}

.svc-breakdown summary::-webkit-details-marker { display: none; }

.svc-breakdown summary::before {
  content: "+";
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.svc-breakdown[open] summary::before {
  content: "−";
}

.svc-breakdown h4 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--black);
  letter-spacing: 0.06em;
  margin: 0.55rem 0 0.3rem;
}

.svc-list--dense li {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--grey);
}

.svc-list--dense li::before {
  background: var(--secondary);
  width: 0.22rem;
  height: 0.22rem;
  top: 0.65rem;
}

/* 费用明细底部注释 */
.svc-breakdown-note {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--grey);
  padding-left: 0.9rem;
}

/* ---------- 在线咨询按钮 + 二维码浮层（右侧弹出） ---------- */
.svc-consult {
  position: relative;
  margin-top: 1.2rem;
  display: inline-block;
}

.svc-consult-btn {
  cursor: pointer;
}

.svc-qr-pop {
  position: absolute;
  left: calc(100% + 0.9rem);
  bottom: 50%;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.85rem 1rem 0.7rem;
  background: #fff;
  border: 1px solid rgba(22, 24, 105, 0.1);
  border-radius: 0.75rem;
  box-shadow: 0 18px 44px rgba(22, 24, 105, 0.16), 0 2px 8px rgba(22, 24, 105, 0.05);
  width: max-content;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(0.4rem, 50%) scale(0.96);
  transform-origin: left center;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

/* 浮层左侧小箭头，指向「在线咨询」按钮 */
.svc-qr-pop::before {
  content: "";
  position: absolute;
  left: -0.4rem;
  top: 50%;
  width: 0.75rem;
  height: 0.75rem;
  background: #fff;
  border-left: 1px solid rgba(22, 24, 105, 0.1);
  border-bottom: 1px solid rgba(22, 24, 105, 0.1);
  border-radius: 0 0 0 0.12rem;
  transform: translateY(-50%) rotate(45deg);
}

/* 按钮与浮层之间的隐形连接区，避免鼠标移动时闪烁 */
.svc-qr-pop::after {
  content: "";
  position: absolute;
  right: 100%;
  top: 0;
  bottom: 0;
  width: 1rem;
}

.svc-consult:hover .svc-qr-pop,
.svc-consult:focus-within .svc-qr-pop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(0, 50%) scale(1);
}

.svc-qr-head {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  text-align: center;
}

/* 两个二维码始终横向并排 */
.svc-qr-list {
  display: flex;
  gap: 0.85rem;
}

.svc-qr-item {
  flex: 0 0 auto;
  margin: 0;
  text-align: center;
}

.svc-qr-item img {
  display: block;
  width: 6rem;
  height: 6rem;
  object-fit: contain;
  padding: 0.3rem;
  background: #fff;
  border: 1px solid rgba(22, 24, 105, 0.08);
  border-radius: 0.45rem;
}

.svc-qr-item figcaption {
  margin-top: 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--grey);
}

/* ---------- 「/标/类」释义提示 ---------- */
.svc-unit {
  position: relative;
  cursor: help;
  border-bottom: 1px dotted rgba(22, 24, 105, 0.35);
}

.svc-unit-pop {
  position: absolute;
  left: 50%;
  top: calc(100% + 0.55rem);
  z-index: 70;
  width: min(17rem, 62vw);
  padding: 0.7rem 0.85rem;
  background: var(--black);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  line-height: 1.75;
  letter-spacing: 0.02em;
  border-radius: 0.5rem;
  box-shadow: 0 12px 30px rgba(22, 24, 105, 0.22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 0.25rem);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.svc-unit-pop::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%);
  border: 0.35rem solid transparent;
  border-bottom-color: var(--black);
}

.svc-unit:hover .svc-unit-pop,
.svc-unit:focus .svc-unit-pop {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* ---------- 办理时效 ---------- */
.svc-timeline {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.svc-timeline-label {
  flex: none;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: rgba(22, 24, 105, 0.72);
  color: #fff;
}



/* ---------- 建设中占位 ---------- */
.svc-build {
  text-align: center;
  padding: 4rem 2rem 3rem;
  border: 1px dashed rgba(22, 24, 105, 0.18);
  border-radius: 0.75rem;
  background: linear-gradient(160deg, rgba(22,24,105,0.02) 0%, rgba(22,24,105,0.05) 100%);
}

.svc-build-badge {
  display: inline-block;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  background: var(--black);
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  margin-bottom: 2rem;
}

.svc-build-img {
  width: 6rem;
  height: 6rem;
  margin: 0 auto;
  background: radial-gradient(circle at 35% 35%, var(--primary) 0%, rgba(22,24,105,0.85) 70%, var(--black) 100%);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 12px 40px rgba(22,24,105,0.2);
}

/* 齿轮 + 灯泡叠加图标（用伪元素画） */
.svc-build-img::before {
  content: "";
  position: absolute;
  inset: 1.2rem;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    inset 0 -0.3rem 0 0 var(--primary),
    inset 0 0.2rem 0.3rem 0 rgba(22,24,105,0.3);
}

.svc-build-img::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.2rem;
  transform: translateX(-50%);
  width: 0.6rem;
  height: 0.3rem;
  border-radius: 0 0 0.3rem 0.3rem;
  background: #fff;
}

/* ---------- 移动端：两列变一列 ---------- */
@media (max-width: 64rem) {
  .svc-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .svc-tabs {
    position: static;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.4rem;
    padding: 0.5rem 0 0.8rem;
    border-right: 0;
    border-bottom: 1px solid rgba(22, 24, 105, 0.08);
    scrollbar-width: none;
  }

  .svc-tabs::-webkit-scrollbar { display: none; }

  .svc-tab {
    flex-shrink: 0;
    padding: 0.55rem 1rem;
    font-size: 0.95rem;
  }

  .svc-tab--active::before {
    left: 50%;
    top: auto;
    bottom: 0.15rem;
    transform: translateX(-50%);
    width: 1.2rem;
    height: 3px;
  }

  .svc-target {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 40rem) {
  .svc-card {
    padding: 1.25rem 1.1rem;
    border-radius: 0.55rem;
  }

  .svc-card-title { font-size: 1.1rem; }

  .svc-price-amount { font-size: 1rem; }

  .svc-list li,
  .svc-ol li,
  .svc-card-block h4 {
    font-size: 0.86rem;
  }
}
