:root {
  --color-primary: #8B3A2E;
  --color-primary-light: #A0522D;
  --color-primary-dark: #5C3A21;
  --color-accent: #D4A373;
  --color-accent-soft: #F2C57C;
  --color-peach: #E8A87C;
  --color-bg: #F5EDE0;
  --color-bg-alt: #EFE6D8;
  --color-surface: #FFFFFF;
  --color-surface-glass: rgba(255, 255, 255, 0.72);
  --color-text: #2E2118;
  --color-text-soft: #5C3A21;
  --color-text-muted: #7A6653;
  --color-border: rgba(139, 58, 46, 0.16);
  --color-border-strong: rgba(139, 58, 46, 0.32);
  --shadow-sm: 0 2px 8px rgba(92, 58, 33, 0.08);
  --shadow-md: 0 8px 24px rgba(92, 58, 33, 0.12);
  --shadow-lg: 0 16px 48px rgba(92, 58, 33, 0.18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Songti SC", "STSong", "Noto Serif SC", Georgia, "Times New Roman", serif;
  --transition: 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
  --gradient-hero: linear-gradient(135deg, #8B3A2E 0%, #A0522D 42%, #D4A373 100%);
  --gradient-soft: linear-gradient(135deg, rgba(242, 197, 124, 0.28) 0%, rgba(232, 168, 124, 0.18) 100%);
  --gradient-btn: linear-gradient(135deg, #8B3A2E 0%, #A0522D 100%);
  --max-width: 1200px;
  --header-height: 72px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-primary: #D98B6E;
    --color-primary-light: #E8A87C;
    --color-primary-dark: #F2C57C;
    --color-accent: #D4A373;
    --color-accent-soft: #F2C57C;
    --color-peach: #E8A87C;
    --color-bg: #1A1310;
    --color-bg-alt: #221A15;
    --color-surface: #2A201A;
    --color-surface-glass: rgba(42, 32, 26, 0.72);
    --color-text: #F3E8DA;
    --color-text-soft: #E2CDB8;
    --color-text-muted: #B39C85;
    --color-border: rgba(242, 197, 124, 0.18);
    --color-border-strong: rgba(242, 197, 124, 0.36);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.32);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.42);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.55);
    --gradient-hero: linear-gradient(135deg, #2A201A 0%, #4A2E22 48%, #6B4430 100%);
    --gradient-soft: linear-gradient(135deg, rgba(242, 197, 124, 0.14) 0%, rgba(232, 168, 124, 0.08) 100%);
    --gradient-btn: linear-gradient(135deg, #A0522D 0%, #D98B6E 100%);
  }
}

html[data-theme="dark"] {
  --color-primary: #D98B6E;
  --color-primary-light: #E8A87C;
  --color-primary-dark: #F2C57C;
  --color-bg: #1A1310;
  --color-bg-alt: #221A15;
  --color-surface: #2A201A;
  --color-surface-glass: rgba(42, 32, 26, 0.72);
  --color-text: #F3E8DA;
  --color-text-soft: #E2CDB8;
  --color-text-muted: #B39C85;
  --color-border: rgba(242, 197, 124, 0.18);
  --color-border-strong: rgba(242, 197, 124, 0.36);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.32);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.42);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.55);
  --gradient-hero: linear-gradient(135deg, #2A201A 0%, #4A2E22 48%, #6B4430 100%);
  --gradient-soft: linear-gradient(135deg, rgba(242, 197, 124, 0.14) 0%, rgba(232, 168, 124, 0.08) 100%);
  --gradient-btn: linear-gradient(135deg, #A0522D 0%, #D98B6E 100%);
}

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

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

@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;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(242, 197, 124, 0.18), transparent 42%),
    radial-gradient(circle at 88% 0%, rgba(232, 168, 124, 0.14), transparent 38%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

a:hover {
  color: var(--color-primary-light);
}

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.35;
  color: var(--color-primary-dark);
  font-weight: 700;
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
}

h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  position: relative;
  padding-bottom: 0.5em;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--gradient-btn);
}

h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.32rem);
  color: var(--color-primary);
}

p {
  margin: 0 0 1em;
}

ul, ol {
  margin: 0 0 1em;
  padding-left: 1.35em;
}

li {
  margin-bottom: 0.45em;
}

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

time {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  background: var(--gradient-soft);
  padding: 2px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
}

address {
  font-style: normal;
}

blockquote {
  margin: 0;
  padding: 22px 26px;
  background: var(--color-surface-glass);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

blockquote footer {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-align: right;
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface-glass);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

header > div {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

header > div > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

header > div > a svg {
  transition: transform var(--transition);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

header > div > a:hover svg {
  transform: rotate(-6deg) scale(1.06);
}

nav[aria-label="主导航"] {
  flex: 1 1 320px;
}

nav[aria-label="主导航"] ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav[aria-label="主导航"] a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  color: var(--color-text-soft);
  position: relative;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

nav[aria-label="主导航"] a:hover {
  background: var(--gradient-soft);
  color: var(--color-primary);
  transform: translateY(-2px);
}

header form[role="search"] {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 260px;
}

header form[role="search"] label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

header form[role="search"] input[type="search"] {
  flex: 1;
  min-width: 0;
  padding: 9px 16px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--color-text);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

header form[role="search"] input[type="search"]::placeholder {
  color: var(--color-text-muted);
}

header form[role="search"] input[type="search"]:focus {
  outline: none;
  border-color: var(--color-accent);
  background: var(--color-surface);
  box-shadow: 0 0 0 4px rgba(212, 163, 115, 0.18);
}

header button {
  padding: 9px 16px;
  font-size: 0.88rem;
  font-family: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--gradient-btn);
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

header button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  filter: brightness(1.06);
}

header button:active {
  transform: translateY(0);
}

header button[aria-label="切换暗黑模式"] {
  color: var(--color-primary-dark);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-strong);
}

header button[aria-label="切换暗黑模式"]:hover {
  background: var(--gradient-soft);
  color: var(--color-primary);
}

header button[aria-label="打开移动菜单"] {
  display: none;
}

/* ---------- Main layout ---------- */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 64px;
}

main > section {
  margin: 0 0 40px;
  padding: 32px clamp(20px, 3vw, 40px);
  background: var(--color-surface-glass);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  animation: fadeUp 0.7s ease both;
}

main > section:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-strong);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@supports (animation-timeline: view()) {
  main > section {
    animation: fadeUp 0.001ms both;
    animation-timeline: view();
    animation-range: entry 0% cover 22%;
  }
}

/* ---------- Hero ---------- */
#hero {
  margin-top: 32px;
  padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 56px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 60%),
    var(--gradient-hero);
  border: none;
  border-radius: var(--radius-lg);
  color: #FDF6EC;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

#hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(242, 197, 124, 0.35), transparent 68%);
  border-radius: 50%;
  pointer-events: none;
}

#hero::after {
  content: "";
  position: absolute;
  inset: auto auto -30% -12%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(232, 168, 124, 0.28), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

#hero > * {
  position: relative;
  z-index: 1;
}

#hero h1 {
  color: #FFF8EE;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
  margin-bottom: 0.5em;
}

#hero > p {
  max-width: 780px;
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  color: rgba(255, 248, 238, 0.92);
  line-height: 1.85;
}

#hero div[aria-label="品牌数据"] ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  list-style: none;
  margin: 32px 0;
  padding: 0;
}

#hero div[aria-label="品牌数据"] li {
  margin: 0;
  padding: 18px 14px;
  text-align: center;
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-md);
  transition: transform var(--transition), background var(--transition);
}

#hero div[aria-label="品牌数据"] li:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.22);
}

#hero div[aria-label="品牌数据"] strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.2;
  color: var(--color-accent-soft);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

#hero div[aria-label="品牌数据"] span {
  display: block;
  margin-top: 4px;
  font-size: 0.86rem;
  color: rgba(255, 248, 238, 0.86);
}

#hero div[aria-label="图片轮播"] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

#hero figure {
  margin: 0;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

#hero figure:hover {
  transform: translateY(-6px) scale(1.012);
  box-shadow: var(--shadow-lg);
}

#hero figure svg {
  width: 100%;
  height: auto;
  display: block;
}

#hero figcaption {
  padding: 12px 16px;
  font-size: 0.88rem;
  color: var(--color-text-soft);
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

/* ---------- Breadcrumb & anchor nav ---------- */
nav[aria-label="面包屑导航"] {
  margin: 0 0 20px;
  padding: 10px 20px;
  background: var(--color-surface-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  animation: fadeUp 0.6s ease both;
}

nav[aria-label="面包屑导航"] ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
}

nav[aria-label="面包屑导航"] li {
  margin: 0;
  color: var(--color-text-muted);
}

nav[aria-label="面包屑导航"] li + li::before {
  content: "›";
  margin-right: 6px;
  color: var(--color-accent);
  font-weight: 700;
}

nav[aria-label="面包屑导航"] li[aria-current="page"] {
  color: var(--color-primary-dark);
  font-weight: 600;
}

nav[aria-label="页面内锚点导航"] {
  margin: 0 0 32px;
  padding: 14px 18px;
  background: var(--color-surface-glass);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  animation: fadeUp 0.65s ease both;
}

nav[aria-label="页面内锚点导航"] ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav[aria-label="页面内锚点导航"] li {
  margin: 0;
}

nav[aria-label="页面内锚点导航"] a {
  display: inline-block;
  padding: 5px 14px;
  font-size: 0.86rem;
  color: var(--color-text-soft);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

nav[aria-label="页面内锚点导航"] a:hover {
  color: #fff;
  background: var(--gradient-btn);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ---------- Articles / cards ---------- */
#news article,
#articles article {
  padding: 22px 24px;
  margin: 0 0 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

#news article::before,
#articles article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-btn);
  opacity: 0;
  transition: opacity var(--transition);
}

#news article:hover,
#articles article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-strong);
}

#news article:hover::before,
#articles article:hover::before {
  opacity: 1;
}

#news article h3,
#articles article h3 {
  margin-bottom: 0.35em;
}

#articles article a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 7px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  background: var(--gradient-btn);
  border-radius: var(--radius-pill);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

#articles article a::after {
  content: "→";
  transition: transform var(--transition);
}

#articles article a:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  filter: brightness(1.06);
}

#articles article a:hover::after {
  transform: translateX(4px);
}

/* ---------- Lists in advantages ---------- */
#advantages ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 14px;
}

#advantages li {
  position: relative;
  margin: 0;
  padding: 16px 20px 16px 52px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

#advantages li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  background: var(--gradient-btn);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

#advantages li:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-strong);
}

/* ---------- Team list ---------- */
#brand ul li {
  padding: 4px 0;
}

/* ---------- FAQ ---------- */
#faq details {
  margin: 0 0 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

#faq details[open] {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-md);
}

#faq summary {
  position: relative;
  padding: 16px 52px 16px 20px;
  font-weight: 600;
  color: var(--color-primary-dark);
  cursor: pointer;
  list-style: none;
  transition: background var(--transition), color var(--transition);
}

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

#faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--gradient-soft);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  transition: transform var(--transition), background var(--transition);
}

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

#faq summary:hover {
  background: var(--gradient-soft);
}

#faq details p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--color-text-soft);
  font-size: 0.95rem;
}

/* ---------- HowTo ---------- */
#howto ol {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}

#howto ol li {
  counter-increment: step;
  position: relative;
  margin: 0;
  padding: 14px 20px 14px 60px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

#howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  background: var(--gradient-btn);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

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

#howto ul li {
  padding: 4px 0;
}

/* ---------- Contact / address ---------- */
#contact address ul,
footer address ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1em;
}

#contact address li,
footer address li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--color-border);
  font-size: 0.95rem;
  color: var(--color-text-soft);
}

#contact address li:last-child,
footer address li:last-child {
  border-bottom: none;
}

/* ---------- Sitemap & links ---------- */
#sitemap ul,
#links ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

#sitemap li,
#links li {
  margin: 0;
}

#sitemap a,
#links a {
  display: block;
  padding: 9px 16px;
  font-size: 0.9rem;
  text-align: center;
  color: var(--color-text-soft);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

#sitemap a:hover,
#links a:hover {
  color: #fff;
  background: var(--gradient-btn);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ---------- Footer ---------- */
footer {
  margin-top: 24px;
  padding: 48px 24px 32px;
  background:
    linear-gradient(180deg, rgba(139, 58, 46, 0.06) 0%, rgba(139, 58, 46, 0.02) 100%),
    var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-soft);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px 40px;
  max-width: 100%;
}

footer > section {
  min-width: 0;
}

footer h2 {
  font-size: 1.1rem;
  padding-bottom: 0.45em;
}

footer h2::after {
  width: 40px;
  height: 3px;
}

footer h3 {
  font-size: 0.98rem;
  margin-top: 1.1em;
}

footer p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

footer address {
  font-size: 0.9rem;
  line-height: 2;
  color: var(--color-text-muted);
}

footer > p {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

footer button[aria-label="返回顶部"] {
  grid-column: 1 / -1;
  justify-self: center;
  padding: 10px 28px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  background: var(--color-surface-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

footer button[aria-label="返回顶部"]:hover {
  color: #fff;
  background: var(--gradient-btn);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  header > div {
    gap: 14px;
  }
  header form[role="search"] {
    flex: 1 1 200px;
  }
  #hero div[aria-label="品牌数据"] ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }
  header > div {
    padding: 10px 16px;
    gap: 10px;
  }
  header > div > a {
    font-size: 1.16rem;
  }
  header > div > a svg {
    width: 34px;
    height: 34px;
  }
  nav[aria-label="主导航"] {
    order: 5;
    flex-basis: 100%;
  }
  nav[aria-label="主导航"] ul {
    gap: 4px;
    justify-content: flex-start;
  }
  nav[aria-label="主导航"] a {
    padding: 5px 10px;
    font-size: 0.86rem;
  }
  header form[role="search"] {
    flex: 1 1 150px;
    order: 3;
  }
  header button[aria-label="打开移动菜单"] {
    display: inline-block;
    order: 4;
  }
  main {
    padding: 0 14px 48px;
  }
  main > section {
    margin-bottom: 26px;
    padding: 24px 18px;
    border-radius: var(--radius-md);
  }
  #hero {
    margin-top: 20px;
    padding: 32px 20px;
  }
  #hero div[aria-label="品牌数据"] ul {
    gap: 10px;
    margin: 24px 0;
  }
  #hero div[aria-label="品牌数据"] li {
    padding: 14px 10px;
  }
  #hero div[aria-label="图片轮播"] {
    grid-template-columns: 1fr;
  }
  nav[aria-label="面包屑导航"],
  nav[aria-label="页面内锚点导航"] {
    padding: 10px 14px;
  }
  #sitemap ul,
  #links ul {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
  }
  footer {
    padding: 36px 18px 28px;
    gap: 26px;
  }
  blockquote {
    padding: 18px 18px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }
  header form[role="search"] {
    flex-basis: 100%;
    order: 6;
  }
  header form[role="search"] button {
    padding: 9px 14px;
  }
  #hero div[aria-label="品牌数据"] ul {
    grid-template-columns: 1fr 1fr;
  }
  #hero div[aria-label="品牌数据"] strong {
    font-size: 1.4rem;
  }
  #articles article a {
    width: 100%;
    justify-content: center;
  }
  #sitemap ul,
  #links ul {
    grid-template-columns: 1fr 1fr;
  }
  footer button[aria-label="返回顶部"] {
    width: 100%;
  }
}

/* ---------- Print ---------- */
@media print {
  header,
  nav,
  footer button,
  #hero div[aria-label="图片轮播"] {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  main > section {
    box-shadow: none;
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }
  a {
    color: #000;
    text-decoration: underline;
  }
}