/* Full Tree — unified design system */

:root {
  color-scheme: light;
  --page-gutter: clamp(1rem, 3.2vw, 2rem);
  --content: 1200px;
  --readable: 720px;

  --primary: #1a6b45;
  --primary-strong: #145538;
  --primary-soft: #e8f3ec;
  --cta: #23a566;
  --cta-strong: #1b8d55;
  --accent: #c4a035;
  --accent-soft: #f5efd8;

  --bg: #f8f9f5;
  --bg-elevated: #ffffff;
  --text: #24332c;
  --text-muted: #566660;
  --text-subtle: #738079;
  --border: #dde5df;
  --border-strong: #c5d0c8;

  --footer-bg: #111916;
  --footer-surface: #1a2420;
  --footer-text: #f2f5f3;
  --footer-muted: rgba(242, 245, 243, 0.72);
  --footer-subtle: rgba(242, 245, 243, 0.5);
  --footer-accent: #7dd4a0;

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;

  --shadow-sm: 0 4px 14px rgba(20, 32, 26, 0.06);
  --shadow-md: 0 12px 32px rgba(20, 32, 26, 0.08);
  --shadow-lg: 0 24px 56px rgba(20, 32, 26, 0.12);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Typography scale — lighter weights, calmer hierarchy */
  --weight-display: 600;
  --weight-heading: 600;
  --weight-subheading: 500;
  --weight-semibold: 600;
  --weight-medium: 500;
  --size-display: clamp(2rem, 3.8vw, 3.1rem);
  --size-title: clamp(1.5rem, 2.4vw, 2rem);
  --size-lead: clamp(1.5rem, 2.2vw, 1.85rem);
}

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

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

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* 防止动画/阴影导致移动端横向滚动 */
}

body[data-lang="zh"] {
  font-family: Inter, "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif;
}

body[data-lang="zh"] h1,
body[data-lang="zh"] h2,
body[data-lang="zh"] h3,
body[data-lang="zh"] h4,
body[data-lang="zh"] h5,
body[data-lang="zh"] h6,
body[data-lang="zh"] .faq-question,
body[data-lang="zh"] summary {
  font-weight: 500;
  letter-spacing: 0.01em;
}

body[data-lang="zh"] .hero h1,
body[data-lang="zh"] .page-hero h1,
body[data-lang="zh"] .article-header h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.85rem);
  line-height: 1.18;
}

body[data-lang="zh"] .section-head h2,
body[data-lang="zh"] .footer-cta h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}

p, li {
  margin-top: 0;
  color: var(--text-muted);
  text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: var(--text);
  font-weight: var(--weight-heading);
  letter-spacing: -0.015em;
  text-wrap: balance;
}

strong, b {
  font-weight: var(--weight-semibold);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 45%, transparent);
  outline-offset: 3px;
}

/* Shell */
.shell {
  width: min(100%, var(--content));
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: var(--bg-elevated);
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: var(--radius-md);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px) saturate(140%);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-color: var(--border-strong);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 0.75rem;
  width: min(100%, var(--content));
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand img {
  width: 136px;
  max-height: 48px;
  object-fit: contain;
  border-radius: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-left: auto;
}
.nav-menu > a,
.nav-group > a,
.lang-switch {
  font-size: 0.9rem;
  font-weight: var(--weight-medium);
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.nav-menu > a:hover,
.nav-group > a:hover,
.lang-switch:hover {
  color: var(--primary);
}

.nav-group { position: relative; }
/* 悬停桥：填补触发链接与下拉面板之间的空隙，鼠标穿过时 hover 不丢失 */
.nav-group::after {
  content: "";
  position: absolute;
  left: -0.5rem;
  top: 100%;
  width: 280px;
  height: 0.5rem;
}
.mega {
  position: absolute;
  left: -0.5rem;
  top: calc(100% + 0.35rem);
  width: 280px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  display: block;
  visibility: hidden;
  opacity: 0;
  transform: translateY(6px);
  /* 关闭带 0.2s 延迟：鼠标短暂滑出再回来不会触发闪烁 */
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s linear 0.2s;
}
.mega a {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.9rem;
}
.mega a:hover {
  background: var(--primary-soft);
  color: var(--text);
}
.nav-group:hover .mega,
.nav-group:focus-within .mega {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}

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

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.75rem;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 44px;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-md);
  background: var(--cta);
  color: #fff;
  font-size: 0.94rem;
  font-weight: var(--weight-semibold);
  border: 1px solid var(--cta);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--cta) 32%, transparent);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.button:hover {
  background: var(--cta-strong);
  border-color: var(--cta-strong);
  transform: translateY(-1px);
}
.button.small {
  min-height: 38px;
  padding: 0.55rem 0.9rem;
  font-size: 0.88rem;
}
.button.ghost {
  background: var(--primary-soft);
  color: var(--primary);
  border-color: color-mix(in srgb, var(--primary) 22%, var(--border));
  box-shadow: none;
}
.button.ghost:hover {
  background: color-mix(in srgb, var(--primary) 14%, var(--bg-elevated));
}
.button.light {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.92rem;
  font-weight: var(--weight-semibold);
  color: var(--primary);
  transition: color 0.2s ease, transform 0.2s ease;
}
.text-link::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
}
.text-link:hover {
  color: var(--primary-strong);
  transform: translateX(2px);
}

.eyebrow {
  display: block;
  margin: 0 0 0.6rem;
  font-size: 0.72rem;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

/* Hero */
.hero,
.page-hero {
  width: min(100%, var(--content));
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  column-gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.page-hero {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.hero-content,
.page-hero > div:first-child,
.article-header > :not(img) {
  max-width: 620px;
}

.hero-content::before,
.page-hero > div:first-child::before,
.article-header::before {
  content: "";
  display: block;
  width: 52px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin-bottom: 1rem;
}

.hero h1,
.page-hero h1,
.article-header h1 {
  font-size: var(--size-display);
  font-weight: var(--weight-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.hero p,
.page-hero p,
.article-header p {
  font-size: clamp(1.02rem, 1.4vw, 1.14rem);
  line-height: 1.72;
  color: var(--text-muted);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1.25rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.trust-row span {
  font-size: 0.82rem;
  font-weight: var(--weight-medium);
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  box-shadow: var(--shadow-sm);
}

.hero-media,
.page-hero img {
  position: relative;
  width: 100%;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-media {
  aspect-ratio: 1.15;
  isolation: isolate;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transform: scale(1.03) translate3d(0, var(--parallax, 0), 0);
  transition: transform 0.7s var(--ease-out);
}
.page-hero img {
  aspect-ratio: 1.4;
  object-fit: cover;
}

/* Sections */
.section {
  width: min(100%, var(--content));
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}

.section-head {
  max-width: 720px;
  margin-bottom: 2rem;
}
.section-head h2 {
  font-size: var(--size-title);
  font-weight: var(--weight-display);
  line-height: 1.18;
  margin-bottom: 0.85rem;
}
.section-head p:not(.eyebrow) {
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--text-muted);
  max-width: 640px;
}

.section.split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(380px, 1.12fr);
  column-gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.section.split > div:first-child {
  max-width: 560px;
}
.section.split > div:first-child h2 {
  font-size: var(--size-lead);
  font-weight: var(--weight-display);
  line-height: 1.2;
  margin-bottom: 0.85rem;
}
.section.split > div:first-child p {
  font-size: 1.04rem;
  line-height: 1.72;
}

/* Breadcrumbs（内页可见面包屑：层级导航 + 给首页回传内链权重） */
.breadcrumbs {
  width: min(100%, var(--content));
  margin-inline: auto;
  padding: 1.1rem var(--page-gutter) 0;
  font-size: 0.85rem;
  color: var(--text-subtle);
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}
.breadcrumbs li + li::before {
  content: "›";
  color: var(--border-strong);
}
.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--primary-strong);
  text-decoration: underline;
}
.breadcrumbs [aria-current="page"] span {
  color: var(--text-subtle);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60vw;
}

/* 品牌段落：内容页正文末尾回链首页的关键词内链 */
.brand-blurb {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
}
.brand-blurb a {
  color: var(--primary);
  font-weight: var(--weight-medium);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.brand-blurb a:hover {
  color: var(--primary-strong);
}

/* Cards */
.card-grid,
.info-grid,
.article-grid {
  display: grid;
  gap: 1rem;
  width: 100%;
}

.service-card,
.article-card,
.info-grid article,
.steps article,
.guide-card,
.product-card,
.faq-item,
.guide-accordion {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.service-card,
.article-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover,
.article-card:hover,
.guide-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.service-card img,
.article-card img {
  aspect-ratio: 1.35;
  object-fit: cover;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.service-card div,
.article-card div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: 1.15rem;
}
.service-card h3,
.article-card h2 {
  font-size: 1.06rem;
  font-weight: var(--weight-subheading);
  line-height: 1.35;
  margin: 0.25rem 0 0.5rem;
}
.service-card p,
.article-card p {
  font-size: 0.94rem;
  line-height: 1.58;
  margin-bottom: auto;
}

.info-grid article {
  padding: 1.25rem;
  height: 100%;
}
.info-grid h2 {
  font-size: 1.1rem;
  font-weight: var(--weight-subheading);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.info-grid p {
  font-size: 0.95rem;
  line-height: 1.62;
}

/* Contact person cards */
.contact-cards {
  display: grid;
  gap: 1.25rem;
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  max-width: 880px;
}
.contact-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}
.contact-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--cta));
  color: #fff;
  font-size: 1.05rem;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}
.contact-card h2 {
  font-size: 1.25rem;
  font-weight: var(--weight-heading);
  line-height: 1.3;
  margin: 0;
}
.contact-role {
  font-size: 0.8rem;
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
}
.contact-scope {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  width: 100%;
}
.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: var(--weight-medium);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.contact-links a:hover {
  border-color: var(--primary);
  color: var(--primary-strong);
  background: var(--primary-soft);
}
.contact-links svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
  color: var(--primary);
}

/* Steps */
.steps {
  display: grid;
  gap: 0.75rem;
}
.steps article {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  column-gap: 1rem;
  align-items: start;
  padding: 1.1rem 1.15rem;
}
.steps span {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: var(--weight-semibold);
}
.steps h3 {
  font-size: 1rem;
  font-weight: var(--weight-subheading);
  line-height: 1.35;
  margin: 0 0 0.25rem;
  align-self: end;
}
.steps p {
  grid-column: 2;
  font-size: 0.94rem;
  line-height: 1.58;
  margin: 0;
}

/* Product showcase */
.product-showcase { padding-top: 0; }
.product-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 1.25rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, var(--primary-soft), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-md);
}
.roof-visualizer { display: grid; gap: 0.85rem; min-width: 0; }
.roof-scene {
  position: relative;
  margin: 0;
  aspect-ratio: 1.45;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #12231e;
  box-shadow: var(--shadow-lg);
}
.roof-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: opacity 0.24s ease, transform 0.4s ease;
}
.roof-scene.is-switching .roof-preview {
  opacity: 0.7;
  transform: scale(1.01);
}
.roof-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 5;
  display: grid;
  gap: 0.1rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.6rem 0.75rem;
  box-shadow: var(--shadow-md);
}
.roof-caption small {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  font-weight: 800;
}
.roof-caption strong {
  font-size: 0.92rem;
  font-weight: var(--weight-subheading);
  color: var(--text);
}

.swatch-rail {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.swatch-button {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 0.35rem;
  display: grid;
  gap: 0.3rem;
  min-width: 80px;
  cursor: pointer;
  scroll-snap-align: start;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.swatch-button span {
  display: block;
  width: 100%;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--swatch);
}
.swatch-button em {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: var(--weight-medium);
  color: var(--text);
  text-align: center;
}
.swatch-button.is-active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 18%, transparent);
}

.product-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.product-card {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
}
.product-card h3 {
  font-size: 1.08rem;
  font-weight: var(--weight-subheading);
  line-height: 1.28;
  margin: 0.2rem 0 0.55rem;
}
.product-card p {
  font-size: 0.92rem;
  line-height: 1.58;
  flex: 1;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
}
.chip-row span {
  font-size: 0.78rem;
  font-weight: var(--weight-medium);
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid color-mix(in srgb, var(--primary) 18%, var(--border));
  border-radius: 999px;
  padding: 0.3rem 0.55rem;
}

/* Metrics */
.metrics {
  width: min(100%, var(--content));
  max-width: var(--content);
  margin: 2.5rem auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--footer-bg);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.metrics div {
  padding: 2rem 1.25rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.metrics div:last-child { border-right: none; }
.metrics strong {
  display: block;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: var(--weight-heading);
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
}
.metrics span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.9rem;
  color: var(--footer-muted);
  text-transform: lowercase;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: var(--readable);
  width: 100%;
}
.faq-item {
  overflow: hidden;
  padding: 0;
}
.faq-item summary {
  display: grid;
  grid-template-columns: 2.5rem 1fr 1.25rem;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  list-style: none;
  cursor: pointer;
  font-weight: var(--weight-subheading);
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-index {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: var(--weight-semibold);
}
.faq-question {
  line-height: 1.4;
  font-weight: inherit;
}
.faq-answer {
  padding: 0 1.1rem 1.1rem calc(1.1rem + 2.5rem + 0.85rem);
}
.faq-answer p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.68;
}
.faq-item[open] {
  border-color: color-mix(in srgb, var(--primary) 30%, var(--border));
  box-shadow: var(--shadow-md);
}

/* Guides */
.toc-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding-block: 0;
}
.toc-band a {
  display: grid;
  grid-template-columns: 2rem 1fr;
  align-items: center;
  gap: 0.75rem;
  min-height: 72px;
  padding: 0.9rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  font-weight: var(--weight-subheading);
  font-size: 0.95rem;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.toc-band a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.toc-band span {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: var(--weight-semibold);
}

.guide-section,
.guide-list {
  display: grid;
  gap: 0.85rem;
  width: 100%;
}
.guide-anchor { scroll-margin-top: 88px; }
.guide-accordion {
  overflow: hidden;
  padding: 0;
}
.guide-accordion summary {
  display: grid;
  grid-template-columns: 2.75rem 1fr 1.25rem;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  list-style: none;
  cursor: pointer;
}
.guide-accordion summary::-webkit-details-marker { display: none; }
.guide-accordion summary::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.guide-accordion[open] summary::after { transform: rotate(-135deg); }
.guide-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
}
.guide-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.guide-accordion small {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
  font-weight: var(--weight-medium);
}
.guide-accordion strong {
  display: block;
  font-size: 1rem;
  font-weight: var(--weight-subheading);
  line-height: 1.3;
  color: var(--text);
}
.guide-accordion em {
  display: block;
  margin-top: 0.15rem;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.guide-detail {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.25rem;
  padding: 0 1.1rem 1.1rem;
}
.guide-detail img {
  width: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.guide-detail p {
  margin: 0 0 0.75rem;
  line-height: 1.65;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.check-list li {
  position: relative;
  padding: 0.8rem 0.9rem 0.8rem 2.35rem;
  font-size: 0.94rem;
  font-weight: var(--weight-medium);
  line-height: 1.5;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  top: 1.05rem;
  width: 0.7rem;
  height: 0.4rem;
  border-left: 2.5px solid var(--primary);
  border-bottom: 2.5px solid var(--primary);
  transform: rotate(-45deg);
}

/* Feature band */
.feature-band {
  width: 100%;
  margin-block: 0;
  padding-block: clamp(3.5rem, 6vw, 5rem);
  padding-inline: var(--page-gutter);
  display: grid;
  grid-template-columns: minmax(var(--page-gutter), 1fr) minmax(0, 760px) auto minmax(var(--page-gutter), 1fr);
  align-items: center;
  column-gap: clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(135deg, var(--footer-bg), #1a2e24);
  border-block: 1px solid rgba(125, 212, 160, 0.15);
}
.feature-band > div {
  grid-column: 2;
  max-width: 760px;
}
.feature-band > a {
  grid-column: 3;
  justify-self: start;
}
.feature-band .eyebrow { color: var(--footer-accent); }
.feature-band h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
  font-weight: var(--weight-display);
  line-height: 1.2;
  color: #fff;
  margin-bottom: 0.75rem;
}
.feature-band p {
  font-size: 1.04rem;
  line-height: 1.7;
  color: var(--footer-muted);
}

/* Article */
.article-header {
  width: min(100%, var(--content));
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
  padding-block: clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  column-gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.article-header img {
  grid-column: 2;
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.article-body {
  width: min(100%, var(--readable));
  max-width: var(--readable);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
  padding-block: 2rem 4.5rem;
  font-size: 1.05rem;
  line-height: 1.75;
}
.article-body h2 {
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: var(--weight-display);
  line-height: 1.25;
  margin: 2rem 0 0.75rem;
}
.article-body p { margin-bottom: 1rem; }

/* Service areas */
.area-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.area-grid li {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  font-weight: var(--weight-medium);
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}

/* Quote chat */
.quote-chat {
  width: min(100%, 680px);
  margin-inline: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  min-height: 480px;
  max-height: 70vh;
  max-height: 70dvh; /* 移动端地址栏伸缩时保持稳定 */
  overflow: hidden;
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.chat-status {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cta);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--cta) 22%, transparent);
}
.chat-head strong {
  display: block;
  font-size: 0.95rem;
  font-weight: var(--weight-semibold);
  color: var(--text);
}
.chat-head small {
  font-size: 0.78rem;
  color: var(--text-subtle);
}
.chat-window {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.chat-bubble {
  max-width: 85%;
  padding: 0.65rem 0.95rem;
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  line-height: 1.55;
}
.chat-bubble.bot {
  background: var(--primary-soft);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: var(--radius-sm);
}
.chat-bubble.user {
  background: var(--primary);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: var(--radius-sm);
}
.chat-typing span {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--text-subtle);
  animation: chatDot 1s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatDot {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}
.chat-summary {
  align-self: flex-start;
  max-width: 100%;
  white-space: pre-wrap;
  word-break: break-word;
  background: var(--bg);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}
.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 1.25rem 0.75rem;
}
.chat-quick button {
  background: var(--bg-elevated);
  border: 1px solid color-mix(in srgb, var(--primary) 30%, var(--border));
  color: var(--primary);
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: var(--weight-medium);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.chat-quick button:hover {
  background: var(--primary-soft);
  transform: translateY(-1px);
}
.chat-quick .chat-channel {
  background: var(--cta);
  border-color: var(--cta);
  color: #fff;
}
.chat-quick .chat-channel:hover {
  background: var(--cta-strong);
  border-color: var(--cta-strong);
}
.chat-quick .chat-restart {
  border-color: var(--border);
  color: var(--text-subtle);
}
.chat-inputbar {
  display: flex;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.chat-inputbar input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.6rem 1rem;
  font: inherit;
  font-size: 0.94rem;
  background: var(--bg-elevated);
  color: var(--text);
}
.chat-inputbar input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 12%, transparent);
}
.chat-inputbar input:disabled { opacity: 0.55; }
.chat-send {
  min-height: 40px;
  padding: 0.5rem 1.1rem;
}
.chat-noscript {
  padding: 1rem 1.25rem;
}
.chat-noscript a { color: var(--primary); font-weight: var(--weight-semibold); }

/* 全局浮动咨询组件 */
.chat-widget {
  position: fixed;
  right: clamp(1rem, 3vw, 1.5rem);
  bottom: clamp(1rem, 3vw, 1.5rem);
  z-index: 60;
}
.chat-widget-toggle {
  position: relative;
  width: 58px;
  height: 58px;
  border: none;
  border-radius: 50%;
  background: var(--cta);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--cta) 45%, transparent);
  transition: transform 0.2s ease, background 0.2s ease;
}
.chat-widget-toggle:hover {
  background: var(--cta-strong);
  transform: translateY(-2px);
}
.chat-widget-toggle svg {
  width: 26px;
  height: 26px;
  fill: none;
}
.chat-widget-toggle::after {
  /* 在线状态点 */
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--cta);
}
.chat-widget .icon-close { display: none; }
.chat-widget.is-open .icon-chat { display: none; }
.chat-widget.is-open .icon-close { display: block; }
.chat-widget.is-open .chat-widget-toggle::after { display: none; }

.chat-widget-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.85rem);
  width: min(380px, calc(100vw - 2rem));
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.25s;
}
.chat-widget.is-open .chat-widget-panel {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}
.chat-widget-panel .quote-chat {
  width: 100%;
  min-height: 0;
  height: min(560px, calc(100dvh - 9rem));
  max-height: none;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 640px) {
  .chat-widget { right: 0.85rem; bottom: 0.85rem; }
  .chat-widget-toggle { width: 54px; height: 54px; }
  .chat-widget-panel {
    width: calc(100vw - 1.7rem);
  }
  .chat-widget-panel .quote-chat {
    height: min(520px, calc(100dvh - 8rem));
  }
}

/* 提示文字（聊天 noscript 回退使用） */
.form-note {
  font-size: 0.88rem;
  color: var(--text-subtle);
  margin: 0;
}

/* Footer — isolated color system */
.footer {
  margin-top: 0;
  background: var(--footer-bg);
  color: var(--footer-text);
}
.footer,
.footer h1,
.footer h2,
.footer h3,
.footer p,
.footer a,
.footer .eyebrow,
.footer .copyright {
  color: unset;
}

.footer-cta {
  width: min(100%, var(--content));
  max-width: var(--content);
  margin-inline: auto;
  padding: clamp(2.5rem, 5vw, 3.5rem) var(--page-gutter);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.footer-cta .eyebrow {
  color: var(--footer-accent);
  margin-bottom: 0.65rem;
}
.footer-cta h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: var(--weight-display);
  line-height: 1.22;
  color: var(--footer-text);
  max-width: 640px;
}
.footer-cta .button {
  flex-shrink: 0;
}

.footer-grid {
  width: min(100%, var(--content));
  max-width: var(--content);
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 3rem) var(--page-gutter);
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem 1.5rem;
}
.footer-grid > div:first-child p {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--footer-muted);
  max-width: 280px;
}
.footer-grid img {
  width: 140px;
  height: auto;
  border-radius: 0;
}
.footer h3 {
  font-size: 0.84rem;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--footer-text);
  margin: 0 0 0.85rem;
}
.footer-grid a {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--footer-muted);
  transition: color 0.2s ease;
}
.footer-grid a:hover {
  color: var(--footer-text);
}

.footer-addresses {
  width: min(100%, var(--content));
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 var(--page-gutter) 0.6rem;
  font-size: 0.85rem;
  color: var(--footer-muted);
}

.copyright {
  width: min(100%, var(--content));
  max-width: var(--content);
  margin-inline: auto;
  padding: 0 var(--page-gutter) 2rem;
  font-size: 0.82rem;
  color: var(--footer-subtle);
  border-top: none;
}

/* Motion */
.reveal { opacity: 1; transform: none; }
body.motion-ready .fade-in,
body.motion-ready .scale-in,
body.motion-ready .stagger-child {
  opacity: 0;
  will-change: opacity, transform;
}
body.motion-ready .fade-in {
  transform: translate3d(var(--motion-x, 0), var(--motion-y, 20px), 0);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
  transition-delay: var(--motion-delay, 0ms);
}
body.motion-ready .scale-in {
  transform: scale(0.96);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  transition-delay: var(--motion-delay, 0ms);
}
body.motion-ready .stagger-child {
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  transition-delay: var(--motion-delay, 0ms);
}
body.motion-ready .fade-in.in-view,
body.motion-ready .scale-in.in-view,
body.motion-ready .stagger-child.in-view {
  opacity: 1;
  transform: none;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.3) 42%, transparent 58%);
  transform: translateX(-130%);
  animation: roofSheen 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes roofSheen {
  0%, 40% { transform: translateX(-130%); }
  60%, 100% { transform: translateX(130%); }
}

/* Responsive */
@media (min-width: 1024px) {
  .card-grid { grid-template-columns: repeat(4, 1fr); }
  .info-grid { grid-template-columns: repeat(3, 1fr); }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1023.98px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 平板（641–1023）：两列布局，避免单列内容过长 */
@media (max-width: 1023.98px) and (min-width: 641px) {
  .info-grid,
  .article-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav { flex-wrap: wrap; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    min-width: 44px;
  }
  .nav-menu {
    display: none;
    width: 100%;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
    box-shadow: var(--shadow-md);
  }
  .nav-menu.open { display: flex; }
  /* 移动端菜单链接：触控目标 ≥44px */
  .nav-menu > a,
  .nav-group > a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.4rem 0.7rem;
    border-radius: var(--radius-md);
    font-size: 0.98rem;
  }
  .nav-menu > a:hover,
  .nav-group > a:hover { background: var(--primary-soft); }
  .nav-group::after { display: none; }
  .mega {
    position: static;
    width: 100%;
    display: grid;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
    box-shadow: none;
    margin-top: 0;
    border: none;
    padding: 0 0 0.25rem 0.5rem;
  }
  .mega a {
    min-height: 42px;
    display: flex;
    align-items: center;
  }
  .nav-actions { margin-left: auto; }
  .lang-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    min-width: 40px;
  }

  /* 堆叠后的上下间距（原布局只有 column-gap） */
  .hero,
  .page-hero,
  .article-header,
  .section.split,
  .product-stage {
    grid-template-columns: 1fr;
    row-gap: clamp(1.5rem, 4vw, 2.25rem);
  }
  /* 手机/平板上压缩主图高度，首屏优先呈现文案 */
  .hero-media { aspect-ratio: 1.5; }
  .page-hero img { aspect-ratio: 1.6; }
  .article-header img { grid-column: 1; aspect-ratio: 1.6; }

  .product-cards { grid-template-columns: 1fr 1fr; }
  .metrics { grid-template-columns: 1fr; border-radius: 0; }
  .metrics div { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .metrics div:last-child { border-bottom: none; }
  .toc-band { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-cta { flex-direction: column; align-items: flex-start; }
  .feature-band {
    display: block;
    padding-inline: var(--page-gutter);
  }
  .feature-band > a { margin-top: 1.25rem; }
}

@media (max-width: 900px) and (min-width: 641px) {
  .area-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .section { padding-block: clamp(2.5rem, 8vw, 3.5rem); }
  .hero { padding-block: clamp(2.5rem, 8vw, 3.5rem); }
  .page-hero,
  .article-header { padding-block: clamp(2.25rem, 7vw, 3rem); }

  .card-grid,
  .info-grid,
  .article-grid,
  .toc-band,
  .product-cards {
    grid-template-columns: 1fr;
  }
  .area-grid { grid-template-columns: repeat(2, 1fr); }

  /* 页脚：品牌区通栏，链接列保持两列减少滚动 */
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid a {
    min-height: 38px;
    display: flex;
    align-items: center;
    margin-bottom: 0;
  }
  .footer-cta .button { width: 100%; }

  /* 聊天组件移动端适配 */
  .quote-chat {
    min-height: 420px;
    max-height: 75vh;
    max-height: 75dvh;
  }
  .chat-window { padding: 1rem; }
  .chat-quick { padding: 0 1rem 0.65rem; }
  .chat-quick button { min-height: 44px; }
  .chat-inputbar { padding: 0.75rem 1rem; }
  /* ≥16px 防止 iOS 聚焦输入框时自动放大页面 */
  .chat-inputbar input { font-size: 16px; }
  .chat-send { min-height: 44px; }

  .nav { padding-block: 0.6rem; column-gap: 0.6rem; }
  .brand img { width: 118px; max-height: 42px; }
  .nav-actions {
    width: 100%;
    justify-content: space-between;
  }
  .faq-answer {
    padding: 0 1rem 1rem;
  }
  .guide-detail { grid-template-columns: 1fr; }
  .guide-detail img { min-height: 0; aspect-ratio: 1.7; }
  .steps article { grid-template-columns: 2rem 1fr; column-gap: 0.75rem; }
}

/* 小屏手机：主按钮整行排布，方便拇指点按 */
@media (max-width: 480px) {
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
  .hero-actions .button { width: 100%; }
  .trust-row span { font-size: 0.78rem; padding: 0.4rem 0.65rem; }
}

/* 触屏设备：去掉悬停位移效果，避免点击时跳动 */
@media (hover: none) {
  .button:hover,
  .service-card:hover,
  .article-card:hover,
  .guide-card:hover,
  .toc-band a:hover,
  .chat-quick button:hover,
  .text-link:hover { transform: none; }
  .button:active { transform: scale(0.98); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-media img { transform: none !important; }
  body.motion-ready .fade-in,
  body.motion-ready .scale-in,
  body.motion-ready .stagger-child {
    opacity: 1;
    transform: none;
  }
}
