:root {
  --brand: #FF6B35;
  --brand-dark: #E8551F;
  --brand-light: #FF8A5C;
  --accent: #FFD166;
  --green: #2E8B57;
  --purple: #7B2CBF;
  --red: #C1121F;
  --navy: #1D3557;
  --bg: #FFF9F5;
  --bg-alt: #FFFFFF;
  --bg-soft: #FFEFE6;
  --text: #2B2118;
  --text-soft: #5C4F45;
  --text-muted: #8A7A6D;
  --border: rgba(255, 107, 53, 0.14);
  --shadow-sm: 0 2px 8px rgba(43, 33, 24, 0.06);
  --shadow-md: 0 8px 28px rgba(43, 33, 24, 0.1);
  --shadow-lg: 0 18px 50px rgba(255, 107, 53, 0.18);
  --glass-bg: rgba(255, 255, 255, 0.62);
  --glass-border: rgba(255, 255, 255, 0.55);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --header-h: 68px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html.dark {
  --bg: #16130F;
  --bg-alt: #1F1A15;
  --bg-soft: #2A2219;
  --text: #F5EDE4;
  --text-soft: #CDBEB0;
  --text-muted: #9C8C7D;
  --border: rgba(255, 138, 92, 0.18);
  --glass-bg: rgba(31, 26, 21, 0.62);
  --glass-border: rgba(255, 138, 92, 0.16);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.6);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

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

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

a:hover {
  color: var(--brand-dark);
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4 {
  line-height: 1.35;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.5rem, 3.6vw, 2.35rem); }
h2 { font-size: clamp(1.35rem, 2.8vw, 1.85rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
h4 { font-size: 1.05rem; }

p { color: var(--text-soft); }

strong { color: var(--text); font-weight: 700; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============ 头部导航 ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease),
    background 0.35s var(--ease);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--border);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--text);
}

.brand:hover { color: var(--text); }

.brand-logo {
  transition: transform 0.5s var(--ease);
  filter: drop-shadow(0 4px 10px rgba(255, 107, 53, 0.35));
}

.brand:hover .brand-logo {
  transform: rotate(-12deg) scale(1.08);
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  background: linear-gradient(120deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.main-nav {
  flex: 1;
  min-width: 0;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.main-nav ul::-webkit-scrollbar { display: none; }

.main-nav a {
  display: block;
  padding: 7px 11px;
  font-size: 0.9rem;
  color: var(--text-soft);
  border-radius: 999px;
  white-space: nowrap;
  position: relative;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.main-nav a:hover {
  color: var(--brand);
  background: var(--bg-soft);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.site-search {
  display: flex;
  align-items: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-search:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.16);
}

.site-search input {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 0.88rem;
  padding: 8px 6px 8px 16px;
  width: 170px;
  font-family: inherit;
}

.site-search input::placeholder { color: var(--text-muted); }

.site-search button {
  border: 0;
  cursor: pointer;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  font-family: inherit;
  transition: filter 0.25s var(--ease);
}

.site-search button:hover { filter: brightness(1.08); }

.theme-toggle,
.menu-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text);
  font-size: 1.05rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.theme-toggle:hover,
.menu-toggle:hover {
  transform: translateY(-2px) rotate(8deg);
  box-shadow: var(--shadow-sm);
  background: var(--bg-soft);
}

.menu-toggle { display: none; }

/* ============ 首屏 Banner ============ */
.hero {
  max-width: var(--maxw);
  margin: 22px auto 0;
  padding: 0 20px;
}

.carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1200 / 420;
  min-height: 240px;
  background: var(--brand);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  transition: opacity 0.7s var(--ease), transform 0.9s var(--ease),
    visibility 0.7s;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 1;
}

.slide > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(20, 12, 6, 0.55) 0%,
    rgba(20, 12, 6, 0.18) 55%,
    rgba(20, 12, 6, 0) 100%
  );
  z-index: 1;
}

.slide-content {
  position: absolute;
  z-index: 2;
  left: clamp(22px, 5vw, 64px);
  top: 50%;
  transform: translateY(-50%);
  max-width: 560px;
  color: #fff;
}

.slide-content h2 {
  color: #fff;
  font-size: clamp(1.35rem, 3.4vw, 2.3rem);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  margin-bottom: 12px;
}

.slide-content p {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.88rem, 1.6vw, 1.02rem);
  margin-bottom: 22px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.btn {
  display: inline-block;
  padding: 11px 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #FFB703);
  color: #4A2C00;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(255, 209, 102, 0.45);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    filter 0.3s var(--ease);
}

.btn:hover {
  color: #4A2C00;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 32px rgba(255, 209, 102, 0.6);
  filter: brightness(1.05);
}

.carousel-dots {
  position: absolute;
  z-index: 3;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.5);
  transition: width 0.35s var(--ease), background 0.35s var(--ease);
}

.dot.active {
  width: 30px;
  background: var(--accent);
}

/* 首屏介绍 */
.hero-intro {
  margin-top: 34px;
  padding: 32px clamp(20px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
}

.hero-intro h1 {
  margin-bottom: 16px;
  background: linear-gradient(120deg, var(--brand), var(--red) 55%, var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.02rem;
  color: var(--text-soft);
  margin-bottom: 28px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat {
  text-align: center;
  padding: 18px 10px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--bg-alt), var(--bg-soft));
  border: 1px solid var(--border);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.stat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stat .num {
  display: block;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--brand);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.stat .label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============ 面包屑 ============ */
.breadcrumb {
  max-width: var(--maxw);
  margin: 26px auto 0;
  padding: 0 20px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--text-muted);
  opacity: 0.6;
}

.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb [aria-current] { color: var(--brand); font-weight: 600; }

/* ============ 通用 section ============ */
main > section:not(.hero) {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 20px;
}

main > section:nth-of-type(even):not(.hero) {
  background: var(--bg-alt);
  max-width: 100%;
  border-radius: 0;
}

main > section:nth-of-type(even):not(.hero) > * {
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
}

main > section:not(.hero) h2 {
  position: relative;
  padding-left: 18px;
  margin-bottom: 18px;
}

main > section:not(.hero) h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
}

main > section:not(.hero) h3 {
  margin: 26px 0 12px;
  color: var(--text);
}

main > section:not(.hero) h4 {
  margin: 18px 0 8px;
}

main > section:not(.hero) p {
  margin-bottom: 14px;
}

/* ============ 品牌/时间线 ============ */
.timeline {
  display: grid;
  gap: 14px;
  margin: 16px 0 8px;
  padding-left: 0;
}

.timeline li {
  position: relative;
  padding: 16px 20px 16px 46px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-soft);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.14);
}

.timeline li:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}

/* ============ 产品网格 ============ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
  margin: 20px 0 8px;
}

.product-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.product-card svg {
  width: 100%;
  height: 140px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}

.product-card:hover svg {
  transform: scale(1.07);
}

.product-card h4 {
  padding: 16px 18px 4px;
  color: var(--text);
}

.product-card p {
  padding: 0 18px 18px;
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--text-soft);
}

/* ============ 产品优势列表 ============ */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
  margin: 16px 0 8px;
}

.feature-list li {
  position: relative;
  padding: 16px 20px 16px 48px;
  background: linear-gradient(150deg, var(--bg-alt), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-soft);
  font-size: 0.94rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--green), #3CB371);
}

.feature-list li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ============ 解决方案/案例 ============ */
.case-item {
  padding: 22px 24px;
  margin: 16px 0;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 5px solid var(--brand);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.case-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.case-item h4 { margin-top: 0; color: var(--brand); }

blockquote {
  position: relative;
  margin: 16px 0;
  padding: 20px 24px 20px 58px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

blockquote::before {
  content: "\201C";
  position: absolute;
  left: 18px;
  top: 4px;
  font-size: 3rem;
  line-height: 1;
  color: var(--brand);
  opacity: 0.5;
  font-family: Georgia, serif;
}

blockquote p { margin: 0; font-style: italic; color: var(--text-soft); }

blockquote:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ============ 新闻列表 ============ */
.news-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.news-list li {
  padding: 20px 24px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.news-list li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}

.news-list time {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand);
  background: var(--bg-soft);
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.news-list h3 {
  font-size: 1.08rem;
  margin: 0 0 6px;
}

.news-list p { margin: 0; font-size: 0.92rem; }

/* ============ 文章卡片 ============ */
#articles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
  align-items: start;
}

#articles > h2,
#articles > p {
  grid-column: 1 / -1;
}

.article-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}

.article-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  line-height: 1.5;
}

.article-card h3 a { color: var(--text); }
.article-card h3 a:hover { color: var(--brand); }

.article-card .meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.article-card p {
  font-size: 0.9rem;
  color: var(--text-soft);
  flex: 1;
}

.read-more {
  align-self: flex-start;
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.read-more::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

.read-more:hover::after { transform: translateX(5px); }

/* ============ HowTo ============ */
#howto ol {
  counter-reset: step;
  display: grid;
  gap: 12px;
  margin: 16px 0;
}

#howto ol li {
  counter-increment: step;
  position: relative;
  padding: 16px 20px 16px 58px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-soft);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

#howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.35);
}

#howto ol li:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

#howto ul {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

#howto ul li {
  position: relative;
  padding-left: 24px;
  color: var(--text-soft);
  font-size: 0.94rem;
}

#howto ul li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.7;
}

/* ============ FAQ ============ */
.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.faq-list details {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.faq-list details[open] {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 17px 52px 17px 22px;
  font-weight: 600;
  color: var(--text);
  position: relative;
  font-size: 0.98rem;
  transition: color 0.25s var(--ease);
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--brand);
  background: var(--bg-soft);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.faq-list details[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
  background: var(--brand);
  color: #fff;
}

.faq-list summary:hover { color: var(--brand); }

.faq-list details p {
  padding: 0 22px 20px;
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-soft);
  animation: fadeDown 0.4s var(--ease);
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ 联系信息 ============ */
.contact-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.contact-list li {
  padding: 16px 20px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.93rem;
  color: var(--text-soft);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.contact-list li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}

/* ============ 网站地图 & 友情链接 ============ */
.sitemap-list,
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 8px;
}

.sitemap-list a,
.friend-links a {
  display: inline-block;
  padding: 7px 16px;
  font-size: 0.88rem;
  color: var(--text-soft);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: transform 0.3s var(--ease), color 0.3s var(--ease),
    background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.sitemap-list a:hover,
.friend-links a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  border-color: var(--brand);
  transform: translateY(-3px);
}

/* ============ 页脚 ============ */
.site-footer {
  margin-top: 40px;
  padding: 44px 20px 34px;
  background: linear-gradient(160deg, #2B2118, #1A130D);
  color: rgba(245, 237, 228, 0.82);
}

html.dark .site-footer {
  background: linear-gradient(160deg, #100D0A, #060504);
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 14px;
  background: linear-gradient(120deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.site-footer p {
  font-size: 0.86rem;
  color: rgba(245, 237, 228, 0.72);
  margin-bottom: 8px;
  line-height: 1.9;
}

.site-footer a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.site-footer a:hover { color: #fff; }

/* ============ 返回顶部 ============ */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  box-shadow: 0 10px 26px rgba(255, 107, 53, 0.42);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.85);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
    visibility 0.35s, box-shadow 0.35s var(--ease);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 16px 34px rgba(255, 107, 53, 0.55);
}

/* ============ 滚动动画 ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============ 响应式 ============ */
@media (max-width: 1080px) {
  .main-nav ul { gap: 0; }
  .main-nav a { padding: 7px 9px; font-size: 0.86rem; }
  .site-search input { width: 130px; }
}

@media (max-width: 920px) {
  .header-inner { gap: 10px; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--ease);
    z-index: 99;
  }
  .main-nav.open { max-height: 70vh; overflow-y: auto; }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    gap: 4px;
    overflow: visible;
  }
  .main-nav a {
    padding: 12px 16px;
    font-size: 0.98rem;
    border-radius: var(--radius-sm);
  }
  .site-search { display: none; }
  .menu-toggle { display: grid; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .carousel { aspect-ratio: 16 / 9; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  :root { --header-h: 60px; }
  .header-inner { padding: 0 14px; }
  .brand-name { font-size: 1.05rem; }
  .brand-logo { width: 34px; height: 34px; }
  .hero { padding: 0 14px; margin-top: 14px; }
  .carousel { border-radius: var(--radius); min-height: 210px; }
  .slide-content { left: 20px; right: 20px; max-width: none; }
  .slide-content p { display: none; }
  .btn { padding: 9px 22px; font-size: 0.88rem; }
  .hero-intro {
    margin-top: 20px;
    padding: 22px 18px;
    border-radius: var(--radius);
  }
  .hero-lead { font-size: 0.94rem; }
  .hero-stats { gap: 10px; }
  .stat { padding: 14px 6px; }
  main > section:not(.hero) { padding: 38px 14px; }
  .breadcrumb { padding: 0 14px; margin-top: 18px; }
  .product-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-list { grid-template-columns: 1fr; }
  #articles { grid-template-columns: 1fr; padding: 38px 14px; }
  .article-card { padding: 20px; border-radius: var(--radius); }
  .contact-list { grid-template-columns: 1fr; }
  .footer-inner { text-align: left; }
  .footer-brand { text-align: center; }
  .back-to-top { right: 14px; bottom: 16px; width: 44px; height: 44px; }
  .timeline li { padding: 14px 16px 14px 42px; }
  .timeline li::before { left: 16px; }
  .case-item,
  .news-list li,
  blockquote { padding: 16px 18px; }
  blockquote { padding-left: 48px; }
}

@media (max-width: 380px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stat .num { font-size: 1.25rem; }
}

/* ============ 无障碍 / 动效偏好 ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 6px;
}

@media print {
  .site-header,
  .back-to-top,
  .carousel-dots,
  .theme-toggle,
  .menu-toggle,
  .site-search { display: none !important; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1; transform: none; }
}