/* ===================================================
   海腾网络主站改版 v2 — 高级审美设计系统
   设计方向：Refined Editorial Light
   字体：Fraunces (Display) + DM Sans (Body) + JetBrains Mono
   =================================================== */

/* ========== 设计 Token ========== */
:root {
  /* 背景色阶 — 暖白系，避免冷白 */
  --bg-base: #fafaf7; /* 主背景：暖白 */
  --bg-paper: #ffffff; /* 卡片底 */
  --bg-muted: #f4f3ee; /* 区块交替：暖米 */
  --bg-sunken: #ecebe5; /* 凹陷区 */
  --bg-invert: #0e0e10; /* 深色反转区 */

  /* 主色 — 克制深红，比 #D20031 更沉稳 */
  --accent: #b91c1c; /* 主色：深红 */
  --accent-deep: #7f1010; /* 深红：hover */
  --accent-soft: #fcebeb; /* 红色浅底 */
  --accent-line: rgba(185, 28, 28, 0.22);
  --accent-glow: rgba(185, 28, 28, 0.12);

  /* 辅助强调 — 暖金（仅用于关键数据） */
  --gold: #a67c2e;
  --gold-soft: #f5eedb;

  /* 文字 — 暖灰阶，避免纯黑冷感 */
  --text-primary: #14110f; /* 近黑暖调 */
  --text-secondary: #4a4540; /* 次要 */
  --text-muted: #8a847c; /* 弱化 */
  --text-faint: #b8b2a8; /* 最弱 */
  --text-invert: #fafaf7;

  /* 边框 — 极克制 */
  --border: rgba(20, 17, 15, 0.08);
  --border-strong: rgba(20, 17, 15, 0.16);
  --border-accent: rgba(185, 28, 28, 0.3);

  /* 渐变 — 仅用于关键强调 */
  --gradient-accent: linear-gradient(135deg, #b91c1c 0%, #7f1010 100%);
  --gradient-text: linear-gradient(120deg, #b91c1c 0%, #d9442b 100%);

  /* 阴影 — 极克制，主要靠边框区分层次 */
  --shadow-xs: 0 1px 2px rgba(20, 17, 15, 0.04);
  --shadow-sm: 0 2px 8px rgba(20, 17, 15, 0.05);
  --shadow-md: 0 8px 24px rgba(20, 17, 15, 0.08);
  --shadow-lg: 0 20px 48px rgba(20, 17, 15, 0.12);
  --shadow-accent: 0 12px 32px rgba(185, 28, 28, 0.18);

  /* 字体系统 */
  --font-display:
    "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  --font-body:
    "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Consolas, monospace;

  /* 字号 — 编辑式层级 */
  --text-display: clamp(3.5rem, 7vw, 6rem);
  --text-hero: clamp(2.75rem, 5.5vw, 4.5rem);
  --text-h1: clamp(2.25rem, 4vw, 3.25rem);
  --text-h2: clamp(1.75rem, 3vw, 2.5rem);
  --text-h3: 1.375rem;
  --text-h4: 1.125rem;
  --text-lead: 1.1875rem;
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-micro: 0.75rem;
  --text-caption: 0.6875rem;

  /* 间距 — 慷慨留白 */
  --space-section: clamp(5rem, 10vw, 8rem);
  --space-lg: 4rem;
  --space-md: 2rem;
  --space-sm: 1rem;
  --space-xs: 0.5rem;
  --space-xxs: 0.25rem;

  /* 圆角 — 克制，避免圆胖感 */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* 容器 */
  --container-max: 1500px;
  --container-pad: clamp(1.5rem, 5vw, 3rem);
  --container-narrow: 880px;

  /* 动效 */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 0.2s;
  --dur-base: 0.4s;
  --dur-slow: 0.7s;
}

/* ========== Reset ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--text-secondary);
  background: var(--bg-base);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
a:hover {
  color: var(--accent);
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

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

/* 滚动条 */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 4px;
  border: 2px solid var(--bg-base);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ========== 布局工具 ========== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: var(--space-section);
}
.section-tight {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

/* 区块背景交替 */
.section--paper {
  background: var(--bg-paper);
}
.section--muted {
  background: var(--bg-muted);
}
.section--invert {
  background: var(--bg-invert);
  color: var(--text-invert);
}
.section--invert .text-primary {
  color: var(--text-invert);
}

/* 章节标题 */
.section-head {
  /* max-width: 720px; */
  margin: 0 auto clamp(3rem, 6vw, 5rem);
}
.section-head--left {
  margin-inline: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-mono);
  font-size: var(--text-micro);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.125rem);
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: -0.015em;
  line-height: 1.4;
  margin-bottom: 1.25rem;
  font-optical-sizing: auto;
}
.section-title em {
  font-style: normal;
  font-weight: 500;
  color: var(--accent);
}
.section-title .accent {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-desc {
  font-size: var(--text-lead);
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.65;
}
/* .section-head--center { text-align: center; margin-inline: auto; } */
/* .section-head--center .section-desc { margin-inline: auto; } */

/* 文字工具类 */
.text-display {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
}
.text-mono {
  font-family: var(--font-mono);
}
.text-primary {
  color: var(--text-primary);
}
.text-accent {
  color: var(--accent);
}
.text-muted {
  color: var(--text-muted);
}

/* ========== 按钮 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.625rem;
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 500;
  border-radius: var(--radius-pill);
  transition: all var(--dur-base) var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  font-weight: 500;
}
.btn-primary:hover {
  background: var(--accent-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  font-weight: 500;
}
.btn-accent:hover {
  background: var(--accent-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.btn-outline-light {
  background: transparent;
  color: var(--text-invert);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-outline-light:hover {
  color: var(--bg-invert);
  background: #fff;
  border-color: #fff;
}

.btn-lg {
  padding: 1.0625rem 2rem;
  font-size: 1.0625rem;
}
.btn-sm {
  padding: 0.5rem 1.125rem;
  font-size: 0.875rem;
}

.btn .arrow {
  transition: transform var(--dur-base) var(--ease-out);
}
.btn:hover .arrow {
  transform: translateX(4px);
}

/* ========== 顶部导航 ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 0;
  background: transparent;
  transition: all var(--dur-base) var(--ease-out);
}
.site-header.scrolled {
  padding: 0.875rem 0;
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.logo-img {
  height: 30px;
  width: auto;
  display: block;
  transition:
    opacity var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}
.logo:hover .logo-img {
  opacity: 0.85;
  transform: scale(1.02);
}
.logo-text {
  display: none;
}
.logo-text small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 2px;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}
.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}
.nav-phone svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-paper);
  border: 1px solid var(--border);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--text-primary);
  transition: all var(--dur-base) var(--ease-out);
}

/* ========== 安全稳定企业服务 保障横条 ========== */
.guarantee {
  background: var(--bg-paper);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.guarantee-item {
  padding: 2.25rem 1.75rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.875rem;
  transition: background var(--dur-base) var(--ease-out);
}
.guarantee-item:last-child {
  border-right: none;
}
.guarantee-item:hover {
  background: var(--bg-muted);
}
.guarantee-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  display: grid;
  place-items: center;
}
.guarantee-icon svg {
  width: 28px;
  height: 28px;
}
.guarantee-item h4 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.guarantee-item p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
}
@media (max-width: 1024px) {
  .guarantee-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .guarantee-item:nth-child(3) {
    border-right: none;
  }
  .guarantee-item:nth-child(n + 4) {
    border-top: 1px solid var(--border);
  }
}
@media (max-width: 768px) {
  .guarantee-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .guarantee-item:nth-child(2n) {
    border-right: none;
  }
  .guarantee-item:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }
}
@media (max-width: 480px) {
  .guarantee-grid {
    grid-template-columns: 1fr;
  }
  .guarantee-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .guarantee-item:last-child {
    border-bottom: none;
  }
}

/* ========== 页脚 ========== */
.site-footer {
  background: #252a2e;
  color: #fff;
  position: relative;
  font-family: var(--font-sans);
  padding-top: 2.5rem;
}

/* 服务保障 5 项 */
.footer-service {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-inline: auto;
  max-width: var(--container-max);
  padding-inline: var(--container-pad);
  margin-bottom: 2rem;
}
.footer-service-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer-service-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: var(--accent);
  position: relative;
}
.footer-service-icon svg {
  width: 32px;
  height: 32px;
}
.footer-service-icon::after {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: 8px;
  bottom: 8px;
  background: var(--accent);
  opacity: 0.15;
  border-radius: 50%;
  filter: blur(8px);
  z-index: 0;
}
.footer-service-icon svg {
  position: relative;
  z-index: 1;
}
.footer-service-text h5 {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.25rem;
}
.footer-service-text p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}
.wai {
  background-color: #1f2326;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
/* 分公司地址 3 列 */
.footer-locations {
  display: grid;
  max-width: var(--container-max);
  padding-inline: var(--container-pad);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 1.5rem 0;
}
.footer-location {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0 2rem;
  position: relative;
}
.footer-location:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}
/* .footer-location:first-child { padding-left: 0; } */
.footer-location:last-child {
  padding-right: 0;
}
.footer-location-icon {
  width: 56px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.35);
  display: grid;
  place-items: start;
}
.footer-location-icon svg {
  width: 56px;
  height: 72px;
}
.footer-location-text .city {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}
.footer-location-text .company {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.5rem;
}
.footer-location-text .address {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

.f_wai {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
/* 联系电话栏 */
.footer-phones {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 2rem 0;
  flex-wrap: wrap;
  margin-inline: auto;
  max-width: var(--container-max);
  padding-inline: var(--container-pad);
}
.footer-phones-label {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}
.footer-phones-label svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}
.footer-phone-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
}
.footer-phone-item strong {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}
.footer-phone-item .num {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* 底部二维码区（左文右码，两端对齐） */
.footer-qr-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.5rem 0;
  flex-wrap: wrap;
  margin-inline: auto;
  max-width: var(--container-max);
  padding-inline: var(--container-pad);
}
.footer-qr-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.footer-qr-brand {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.footer-qr-brand-name {
  font-size: 1.125rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.footer-qr-brand-sep {
  margin: 0 0.4em;
  opacity: 0.45;
  font-weight: 400;
}
.footer-qr-slogan {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.footer-qr-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-qr-list-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: #fff;
  min-width: 0;
}
.footer-qr-list-item.is-full {
  grid-column: 1 / -1;
}
.footer-qr-list-label {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 500;
  white-space: nowrap;
}
.footer-qr-list-text {
  color: #fff;
  font-weight: 600;
  word-break: break-all;
}
.footer-qr-list-link {
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-qr-list-link:hover {
  opacity: 0.75;
}
.footer-qr-icon {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.75);
  flex-shrink: 0;
}
.footer-qr-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-right: 6.5rem;
}
.footer-qr-image img {
  width: 110px;
  height: 110px;
  border-radius: 4px;
  background: #fff;
  padding: 4px;
  box-sizing: border-box;
}
.footer-qr-caption {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  text-align: center;
}

/* 底部版权 */
.footer-bottom {
  padding: 2rem 0 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.6;
  margin-inline: auto;
  max-width: var(--container-max);
  padding-inline: var(--container-pad);
}
.footer-bottom-left {
  text-align: left;
}
.footer-bottom-center {
  text-align: center;
}
.footer-bottom-right {
  text-align: right;
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--dur-fast);
}
.footer-bottom a:hover {
  color: #fff;
}

/* ========== 通用组件 ========== */
/* 卡片 */
.card {
  background: var(--bg-paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--dur-base) var(--ease-out);
  position: relative;
}
.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* 网格 */
.grid {
  display: grid;
  gap: 1.5rem;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* 数据计数器 */
.stat {
  text-align: left;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 0.95;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  font-optical-sizing: auto;
  display: flex;
  align-items: baseline;
  gap: 0.125rem;
  justify-content: center;
}
.stat-num .suffix {
  font-size: 0.4em;
  color: var(--accent);
  font-weight: 400;
}
.stat-label {
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: var(--text-micro);
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* 滚动入场动画 */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}
.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}
.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}
.reveal[data-delay="4"] {
  transition-delay: 0.32s;
}
.reveal[data-delay="5"] {
  transition-delay: 0.4s;
}

/* 页面通用 Hero（非首页） */
.page-hero {
  position: relative;
  padding: calc(7rem + 60px) 0 5rem;
  background: var(--bg-base);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.banner {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  height: 32rem;
  object-fit: cover;
  object-position: center;
}
.anbanner {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  height: 50rem;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  filter: saturate(0.85) contrast(0.95);
  animation: pageHeroBreathe 22s ease-in-out infinite alternate;
}
.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--bg-base) 0%,
    rgba(250, 250, 247, 0.96) 15%,
    rgba(250, 250, 247, 0.92) 40%,
    rgba(250, 250, 247, 0.96) 70%,
    var(--bg-base) 100%
  );
}
@keyframes pageHeroBreathe {
  from {
    transform: scale(1) translate(0, 0);
  }
  to {
    transform: scale(1.05) translate(-0.8%, -0.8%);
  }
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(
    ellipse 80% 60% at 50% 30%,
    black 20%,
    transparent 70%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 80% 60% at 50% 30%,
    black 20%,
    transparent 70%
  );
  opacity: 0.6;
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-optical-sizing: auto;
}
.page-hero h1 em {
  font-style: normal;
  font-weight: 500;
  color: var(--accent);
}
.page-hero p {
  font-size: var(--text-lead);
  color: rgba(255, 255, 255, 0.8);
  max-width: 640px;
  line-height: 1.65;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.breadcrumb a:hover {
  color: var(--accent);
}
.breadcrumb span {
  color: var(--accent);
}

/* CTA 横条 */
.cta-band {
  background: var(--bg-invert);
  color: var(--text-invert);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(185, 28, 28, 0.4), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}
.cta-band > * {
  position: relative;
  z-index: 1;
}
.cta-band h3 {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 400;
  color: #fff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.cta-band h3 em {
  font-style: normal;
  color: #fff;
  opacity: 0.85;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.65);
}

/* ===================================================
   精致动效模块
   =================================================== */

/* 滚动进度条 */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* 自定义光标 */
.cursor-glow {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 28, 28, 0.25), transparent 70%);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition:
    width 0.3s,
    height 0.3s,
    opacity 0.3s;
  filter: blur(4px);
}
.cursor-glow.is-hover {
  width: 48px;
  height: 48px;
}
.cursor-dot {
  position: fixed;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.05s linear;
}
@media (hover: none) {
  .cursor-glow,
  .cursor-dot {
    display: none;
  }
}

/* 3D 卡片倾斜 */
.tilt-card {
  transform-style: preserve-3d;
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out);
  will-change: transform;
}
.tilt-card.is-tilting {
  transition:
    transform 0.05s linear,
    box-shadow var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out);
}
.tilt-card .tilt-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(185, 28, 28, 0.08) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
  z-index: 2;
}
.tilt-card:hover .tilt-shine {
  opacity: 1;
}

/* 渐变文字微动 */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Hero 视差背景层 */
.parallax-bg {
  position: absolute;
  inset: -10% 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
  z-index: 0;
}

/* 案例图片样式 */
.case-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform var(--dur-slow) var(--ease-out),
    filter var(--dur-slow) var(--ease-out);
  filter: saturate(0.95) contrast(1.02);
}
.case-card:hover .case-img,
.case-item:hover .case-img {
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.05);
}

/* 图片遮罩 */
.img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 40%,
    rgba(14, 14, 16, 0.4) 75%,
    rgba(14, 14, 16, 0.92) 100%
  );
  pointer-events: none;
}

/* 浮动动画 */
@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.float-y {
  animation: floatY 8s ease-in-out infinite;
}

/* 案例缩略图容器 */
.case-visual {
  position: relative;
  overflow: hidden;
}
.case-visual .case-img {
  position: absolute;
  inset: 0;
}

/* 视差装饰球 */
.deco-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 28, 28, 0.18), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  animation: floatY 12s ease-in-out infinite;
}

/* 分割线装饰 */
.divider-line {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--border-strong),
    transparent
  );
}

/* 索引编号 */
.index-num {
  font-family: var(--font-mono);
  font-size: var(--text-micro);
  font-weight: 500;
  color: var(--text-faint);
  letter-spacing: 0.12em;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --space-section: 3.5rem;
    --container-pad: 1.25rem;
  }

  .nav-menu,
  .nav-phone {
    display: none;
  }
  .nav-toggle {
    display: block;
  }

  .nav-menu.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 1rem;
    right: 1rem;
    background: var(--bg-paper);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1rem;
    gap: 0;
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.is-open .nav-link {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-menu.is-open .nav-link:last-child {
    border-bottom: none;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cta-band {
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
  }

  .nav-actions .btn {
    display: none;
  }
  .nav-actions .nav-phone {
    display: none;
  }
  .nav-link {
    color: #333333 !important;
  }
}

@media (max-width: 480px) {
  .btn-lg {
    padding: 0.9375rem 1.5rem;
    font-size: 1rem;
  }
  .stat-num {
    font-size: 2.5rem;
  }
}

/* ===================================================
   炫酷交互增强模块 v2（纯 CSS 部分）
   =================================================== */

/* 页面首次进入淡入上浮 */
main {
  animation: pageEnter 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== B. 按钮液态光效 ===== */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  z-index: -1;
}
.btn:hover::before {
  transform: translateX(100%);
}
/* 按钮按下涟漪 */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: ripple 0.6s ease-out;
  pointer-events: none;
  z-index: 0;
}
@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ===== C. 高级入场动画变体 ===== */
/* 从左滑入 */
.reveal-slide-l {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
}
.reveal-slide-l.in-view {
  opacity: 1;
  transform: translateX(0);
}
/* 从右滑入 */
.reveal-slide-r {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
}
.reveal-slide-r.in-view {
  opacity: 1;
  transform: translateX(0);
}
/* 缩放进入 */
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}
.reveal-scale.in-view {
  opacity: 1;
  transform: scale(1);
}
/* 翻转进入 */
.reveal-flip {
  opacity: 0;
  transform: perspective(800px) rotateY(-15deg);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
}
.reveal-flip.in-view {
  opacity: 1;
  transform: perspective(800px) rotateY(0);
}

/* ===== D. 文字逐字浮现 ===== */
.split-text .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px) rotate(8deg);
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.5s var(--ease-out);
}
.split-text.in-view .char {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

/* ===== E. 滚动方向感知导航 ===== */
.site-header {
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.3s,
    box-shadow 0.3s,
    border-color 0.3s;
}
.site-header.is-hidden {
  /* transform: translateY(-100%); */
}

/* ===== F. 鼠标拖尾粒子 ===== */
.cursor-particle {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
  z-index: 9998;
  opacity: 0;
  mix-blend-mode: multiply;
}

/* ===== G. 滚动文字高亮 ===== */
.scroll-highlight {
  background: linear-gradient(
    90deg,
    var(--text-secondary) 0%,
    var(--text-secondary) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 200% 100%;
  background-position: 100% 0;
  transition: background-position 1.2s var(--ease-out);
}
.scroll-highlight.in-view {
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent) 50%,
    var(--text-secondary) 50%,
    var(--text-secondary) 100%
  );
  background-size: 200% 100%;
  background-position: 0 0;
}

/* ===== H. 卡片 3D 倾斜光斑优化 ===== */
.tilt-card {
  position: relative;
}
.tilt-card .tilt-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.25),
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}
.tilt-card:hover .tilt-glare {
  opacity: 1;
}

/* ===== J. 数字翻滚数字增强 ===== */
.stat-num {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent);
}

/* ===== K. 滚动指示器动效 ===== */
.scroll-indicator {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-paper);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--accent);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  transition:
    opacity 0.4s ease,
    transform 0.4s var(--ease-out);
  z-index: 100;
  box-shadow: var(--shadow-lg);
}
.scroll-indicator.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.scroll-indicator:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px) scale(1.05);
}
.scroll-indicator svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}
.scroll-indicator:hover svg {
  transform: translateY(-2px);
}

/* ===== L. 图片悬停视差 ===== */
.img-parallax-wrap {
  overflow: hidden;
}
.img-parallax-wrap img {
  transition: transform 0.8s var(--ease-out);
}
.img-parallax-wrap:hover img {
  transform: scale(1.08);
}

/* ===== M. 标题装饰光带 ===== */
.title-shine {
  position: relative;
  display: inline-block;
}
.title-shine::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease-out) 0.2s;
}
.title-shine.in-view::after {
  transform: scaleX(1);
}

/* ===== N. 噪点纹理增强 ===== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: multiply;
}

/* ========== 首页深色 Hero 导航适配 ========== */
/* 未滚动时导航文字白色，适配深色 Hero */
.site-header:not(.scrolled) .nav-link {
  color: rgba(250, 250, 247, 0.8);
}
.site-header:not(.scrolled) .nav-link:hover,
.site-header:not(.scrolled) .nav-link.active {
  color: #fafaf7;
}
.site-header:not(.scrolled) .nav-link::after {
  background: rgba(185, 28, 28, 0.8);
}
.site-header:not(.scrolled) .nav-phone,
.site-header:not(.scrolled) .logo {
  color: #fafaf7;
}
.site-header:not(.scrolled) .logo-img {
  filter: brightness(0) invert(1);
}
.site-header:not(.scrolled) .nav-phone svg {
  color: rgba(185, 28, 28, 0.8);
}
.site-header:not(.scrolled) .nav-toggle {
  background: rgba(250, 250, 247, 0.1);
  border-color: rgba(250, 250, 247, 0.2);
}
.site-header:not(.scrolled) .nav-toggle span {
  background: #fafaf7;
}
.foot_icon {
  width: 50px;
}
.foot_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 3.5rem;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.top_left {
  flex-shrink: 0;
}
.top_txt {
  font-size: 20px;
  color: #ffffff;
  padding-bottom: 0.6rem;
}
.top_h2 {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  padding-bottom: 1.5rem;
}
.view_more {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.3s;
}
.view_more:hover {
  color: var(--accent);
}
.foot_pic {
  width: 15rem;
}
.flex {
  display: flex;
  align-items: center;
}

@media screen and (max-width: 750px) {
  .foot_top {
    flex-wrap: wrap;
    margin: 0;
    width: 100%;
    padding-bottom: 1.2rem;
  }
  .top_left {
    width: 100%;
  }
  .foot_pic {
    display: none;
  }
  .footer-service {
    display: flex !important;
    flex-wrap: wrap;
  }
  .footer-locations {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }
  .footer-location img {
    display: none;
  }
  .footer-location:not(:last-child)::after {
    width: 0;
  }
  .footer-phones {
    gap: 0.5rem;
    padding: 1rem 1.5rem;
  }
  .footer-qr-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem 1.5rem;
  }
  .footer-qr-list {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
  .footer-qr-image {
    align-self: flex-end;
    margin-right: 0;
  }
  .foot_icon {
    width: 30px;
  }
  .footer-service-item {
    width: 47%;
  }
  .footer-bottom {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 1rem;
    gap: 0.5rem;
  }
  .footer-bottom-center {
    text-align: left;
    font-size: 0.7rem;
  }
  .footer-bottom-left {
    font-size: 0.7rem;
  }
  .footer-bottom-right {
    font-size: 0.7rem;
  }
  .nav-menu.is-open {
    gap: 1rem !important;
  }
}
.ht-page-h a {
  border: none !important;
  background-color: transparent !important;
  border-radius: 5px;
  padding: 10px 15px !important;
}
.ht-page-h a,
.ht-page-h span {
  border: none !important;
  background-color: transparent !important;
  border-radius: 5px;
  padding: 10px 15px !important;
}

/* 咨询二维码弹窗 */
.consult-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.62);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}
.consult-modal.is-visible {
  opacity: 1;
  visibility: visible;
}
.consult-modal__dialog {
  position: relative;
  width: min(460px, 100%);
  padding: 42px 36px 34px;
  text-align: center;
  background: linear-gradient(180deg, #fff7f7 0%, #fff 45%);
  border: 2px solid #b91c1c;
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s ease;
}
.consult-modal.is-visible .consult-modal__dialog {
  transform: translateY(0) scale(1);
}
.consult-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  padding: 0;
  color: #b91c1c;
  font-size: 32px;
  line-height: 32px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.consult-modal__title {
  margin: 0;
  color: #1f2937;
  font-size: 25px;
  font-weight: 600;
}
.consult-modal__subtitle {
  margin: 10px 0 22px;
  color: #b91c1c;
  font-size: 15px;
}
.consult-modal__qr {
  width: 224px;
  height: 224px;
  margin: 0 auto 20px;
  padding: 10px;
  background: #fff;
  border: 2px solid #b91c1c;
  border-radius: 12px;
}
.consult-modal__qr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 42%;
  border-radius: 6px;
}
.consult-modal__phone {
  margin: 0;
  color: #b91c1c;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.consult-modal__tip {
  margin: 10px 0 0;
  color: #6b7280;
  font-size: 14px;
}
body.consult-modal-open {
  overflow: hidden;
}
@media (max-width: 480px) {
  .consult-modal__dialog {
    padding: 40px 24px 28px;
    border-radius: 20px;
  }
  .consult-modal__title {
    font-size: 21px;
  }
  .consult-modal__qr {
    width: 190px;
    height: 190px;
  }
  .consult-modal__phone {
    font-size: 23px;
  }
}

/* 右侧悬浮侧边栏 */
.float-sidebar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100px;
  font-family: inherit;
}
.float-sidebar .fs-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 10px 15px;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--border);
  border-radius: 8px 0 0 8px;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
  box-shadow: var(--shadow-sm);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.3s var(--ease-out);
}
.float-sidebar .fs-item:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-2px) scale(1.03);
  box-shadow: var(--shadow-lg);
}
.float-sidebar .fs-icon {
  width: 25px;
  height: 25px;
  color: currentColor;
  transition: transform 0.3s ease;
}
.float-sidebar .fs-item:hover .fs-icon {
  transform: translateY(-2px);
}
.float-sidebar .fs-label {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.float-sidebar .fs-sub {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .float-sidebar {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    flex-direction: row;
    width: 100%;
    gap: 0;
    background: var(--accent);
    border-top: none;
    box-shadow: 0 -6px 24px rgba(185, 28, 28, 0.4);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .float-sidebar .fs-item {
    flex: 1;
    padding: 12px 4px 13px;
    background: transparent;
    color: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .float-sidebar .fs-item + .fs-item {
    border-left: 1px solid rgba(255, 255, 255, 0.25);
  }
  .float-sidebar .fs-item:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    transform: none;
    box-shadow: none;
  }
  .float-sidebar .fs-item:hover .fs-icon {
    transform: none;
  }
  .float-sidebar .fs-icon {
    width: 25px;
    height: 25px;
  }
  .float-sidebar .fs-label {
    margin-top: 5px;
    font-size: 13px;
    color: #fff;
    font-weight: 500;
  }
  .float-sidebar .fs-sub {
    display: none;
  }
  body {
    padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px));
  }
}

/* ========== 页脚电话入口 ========== */
.footer-phone-card {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.85rem 0 1.15rem;
  padding: 0.6rem 1.1rem 0.6rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.footer-phone-card:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.3);
}
.footer-phone-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}
.footer-phone-ic svg {
  width: 16px;
  height: 16px;
  color: #fff;
}
.footer-phone-main {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.25;
}
.footer-phone-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
}
.footer-phone-num {
  font-size: 1.3125rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
}
@media (max-width: 640px) {
  .footer-phone-card {
    display: flex;
    width: 100%;
    margin: 0.75rem 0 1rem;
  }
  .footer-phone-num {
    font-size: 1.1875rem;
  }
}

/* ========== 顶部导航二级菜单 ========== */
.nav-menu > .nav-item {
  position: relative;
}
.nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 168px;
  margin: 4px 0 0;
  padding: 0.5rem 0;
  list-style: none;
  background: var(--bg-paper, #fafaf7);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: var(--radius-sm, 8px);
  box-shadow: var(--shadow-lg, 0 18px 45px rgba(0, 0, 0, 0.12));
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--dur-fast, 0.18s) var(--ease-out, ease),
    transform var(--dur-fast, 0.18s) var(--ease-out, ease), visibility 0s linear 0.18s;
  z-index: 120;
}
.nav-item:hover > .nav-submenu,
.nav-item:focus-within > .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity var(--dur-fast, 0.18s) var(--ease-out, ease),
    transform var(--dur-fast, 0.18s) var(--ease-out, ease), visibility 0s;
}
.nav-submenu li + li {
  margin-top: 2px;
}
.nav-sub-link {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--text-muted, #6b7280);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--dur-fast, 0.18s) var(--ease-out, ease),
    background var(--dur-fast, 0.18s) var(--ease-out, ease);
}
.nav-sub-link:hover,
.nav-sub-link.active {
  color: var(--accent, #b91c1c);
  background: rgba(185, 28, 28, 0.06);
}

@media (max-width: 768px) {
  .nav-submenu {
    position: static;
    min-width: 0;
    margin: 0;
    padding: 0 0 0 0.75rem;
    border: 0;
    border-left: 2px solid var(--border, #e5e7eb);
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .nav-menu.is-open .nav-submenu {
    display: block;
  }
  .nav-sub-link {
    padding: 0.6rem 1rem;
    color: #333333;
  }
}
