/* 陕西沐风知然网络科技有限责任公司 官网样式
   配色取自 Logo 设计包（brand/kit/README.md）：
   品牌主橙 #FF7800、熔岩深橙 #F34D00、深红橙 #B92E00、琥珀金 #FFBD48、石墨黑 #15191F、白 #FFFFFF */

:root {
  /* 品牌色 */
  --orange: #ff7800;
  --lava: #f34d00;
  --ember: #b92e00;
  --amber: #ffbd48;
  --graphite: #15191f;
  --graphite-2: #1e232b;
  --graphite-3: #0e1115;

  /* 由品牌色派生 */
  --accent-text: #b92e00; /* 白底上的小字强调，对比度够 */
  --accent-soft: #fff1e4;
  --amber-soft: #fff6e2;
  --grad-brand: linear-gradient(120deg, var(--amber) 0%, var(--orange) 45%, var(--lava) 100%);
  --grad-ribbon: linear-gradient(90deg, var(--lava) 0%, var(--orange) 55%, var(--amber) 100%);

  --ink: #15191f;
  --muted: #5c626c;
  --line: #ece5dc;
  --bg: #ffffff;
  --bg-alt: #faf6f1;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(21, 25, 31, 0.08);
  --shadow-warm: 0 12px 32px rgba(243, 77, 0, 0.14);
  --max: 1180px;
  --header-h: 72px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans CJK SC", "Segoe UI", Roboto, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

a,
button {
  touch-action: manipulation;
}

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

a {
  color: var(--accent-text);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  line-height: 1.35;
  color: var(--graphite);
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 8px 14px;
  background: #fff;
  border-radius: 6px;
}

/* ---------- 页头 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(10px);
}

/* 页头底部一条品牌渐变细线，呼应飘带 */
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--grad-ribbon);
  opacity: 0.9;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

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

.brand:hover {
  text-decoration: none;
}

/* 图标文件四周自带留白，按原比例显示 */
.brand > img {
  width: 50px;
  height: 41px;
}

.brand-name {
  display: block;
}

/* 「沐风知然」用 Logo 字标（矢量轮廓），不是网页文字 */
.brand-wordmark {
  width: 138px;
  height: 26px;
  margin-bottom: 4px;
}

.brand-sub {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
}

.nav a {
  position: relative;
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 15px;
}

.nav a:hover {
  color: var(--accent-text);
  background: var(--bg-alt);
  text-decoration: none;
}

.nav a[aria-current="page"] {
  color: var(--accent-text);
  font-weight: 600;
}

@media (min-width: 861px) {
  .nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: var(--grad-ribbon);
  }
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--graphite);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 首屏与页面标题（石墨黑底 + 橙色光晕） ---------- */

.hero,
.page-hero,
.cta {
  position: relative;
  overflow: hidden;
  color: #fff;
  background-color: var(--graphite);
  isolation: isolate;
}

.hero {
  padding: 112px 0 100px;
  background-image:
    radial-gradient(ellipse 60% 70% at 88% 18%, rgba(255, 120, 0, 0.28), transparent 70%),
    radial-gradient(ellipse 45% 55% at 70% 100%, rgba(185, 46, 0, 0.35), transparent 70%),
    linear-gradient(160deg, var(--graphite-2) 0%, var(--graphite) 55%, var(--graphite-3) 100%);
}

/* 右侧放大的飘带图标，装饰用 */
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: max(-40px, calc((100vw - var(--max)) / 2 - 80px));
  top: 50%;
  width: 560px;
  height: 458px;
  transform: translateY(-50%);
  /* 设计包原图的透明发光版（带金属反光），只裁了图标部分 */
  background: url("../img/logo-icon-glow.png") center / contain no-repeat;
  pointer-events: none;
}

/* 底部细密网格，增加科技感 */
.hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 60%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 60%);
  pointer-events: none;
}

.hero .container,
.page-hero .container,
.cta .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 640px;
  font-size: 50px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: #fff;
}

/* 标题用品牌渐变描一道下划飘带 */
.hero h1::after {
  content: "";
  display: block;
  width: 96px;
  height: 4px;
  margin-top: 22px;
  border-radius: 4px;
  background: var(--grad-ribbon);
}

.hero p {
  max-width: 620px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 640px;
  margin-top: 44px;
  list-style: none;
}

.hero-tags li {
  padding: 4px 14px;
  border: 1px solid rgba(255, 189, 72, 0.35);
  border-radius: 999px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 120, 0, 0.08);
}

.page-hero {
  padding: 72px 0 64px;
  background-image:
    radial-gradient(ellipse 50% 90% at 92% 0%, rgba(255, 120, 0, 0.3), transparent 70%),
    linear-gradient(160deg, var(--graphite-2) 0%, var(--graphite) 70%);
}

.page-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: max(-60px, calc((100vw - var(--max)) / 2 - 40px));
  bottom: -70px;
  width: 300px;
  height: 245px;
  background: url("../img/logo-icon.svg") center / contain no-repeat;
  opacity: 0.22;
  pointer-events: none;
}

.page-hero h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.breadcrumb {
  margin-bottom: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

.breadcrumb a {
  color: var(--amber);
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.btn:hover {
  text-decoration: none;
}

/* 主按钮：琥珀金→品牌橙渐变，石墨黑字，保证可读 */
.btn-primary {
  color: var(--graphite);
  background: var(--grad-brand);
  border: 1px solid transparent;
  box-shadow: 0 6px 20px rgba(255, 120, 0, 0.35);
}

.btn-primary:hover {
  color: var(--graphite);
  box-shadow: 0 10px 28px rgba(255, 120, 0, 0.5);
  transform: translateY(-1px);
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  color: #fff;
  border-color: var(--amber);
  background: rgba(255, 189, 72, 0.1);
}

.btn-outline {
  color: var(--accent-text);
  border: 1px solid var(--lava);
}

.btn-outline:hover {
  color: var(--graphite);
  border-color: transparent;
  background: var(--grad-brand);
}

/* ---------- 区块 ---------- */

.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head.left {
  margin-left: 0;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent-text);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-ribbon);
}

.section-head h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  position: relative;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

a.card {
  display: block;
  color: inherit;
}

a.card:hover {
  text-decoration: none;
  border-color: rgba(255, 120, 0, 0.45);
  box-shadow: var(--shadow-warm);
  transform: translateY(-3px);
}

.card h3 {
  font-size: 19px;
}

.card p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

.icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 12px;
  color: var(--lava);
  background: var(--accent-soft);
}

.icon svg {
  width: 26px;
  height: 26px;
}

/* 第二种图标色：深红橙 + 琥珀浅底（沿用原 class 名 teal） */
.icon.teal {
  color: var(--ember);
  background: var(--amber-soft);
}

/* AI 核心业务卡：顶部品牌渐变飘带 + 石墨黑底图标 */
.card-ai {
  overflow: hidden;
}

.card-ai::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: var(--grad-ribbon);
}

.card-ai .icon,
.card-ai .icon.teal {
  color: var(--amber);
  background: var(--graphite);
}

.badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  vertical-align: middle;
  color: var(--graphite);
  background: var(--grad-brand);
  border-radius: 999px;
}

.card-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-text);
}

/* 两条业务线 */

.track {
  position: relative;
  padding: 36px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}

.track::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--grad-ribbon);
}

.track h3 {
  font-size: 22px;
}

.track .lead {
  color: var(--muted);
}

.check-list {
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--lava);
  border-bottom: 2px solid var(--lava);
  transform: rotate(-45deg);
}

/* 流程 */

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 24px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: step;
}

.steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 8px;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--lava);
  background: var(--grad-ribbon);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.steps h4 {
  font-size: 17px;
}

.steps p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* 业务详述 */

.service-block {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 130px;
}

.service-block:last-child {
  border-bottom: 0;
}

.service-block .num {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-text);
}

.service-block h2 {
  font-size: 26px;
}

.service-block .summary {
  color: var(--muted);
}

.service-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  list-style: none;
}

.service-items li {
  padding: 20px 22px;
  background: var(--bg-alt);
  border: 1px solid transparent;
  border-radius: 12px;
  transition: border-color 0.2s, background 0.2s;
}

.service-items li:hover {
  background: #fff;
  border-color: rgba(255, 120, 0, 0.35);
}

.service-items strong {
  display: block;
  margin-bottom: 4px;
  color: var(--graphite);
}

.service-items span {
  font-size: 15px;
  color: var(--muted);
}

.note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

/* 子导航 */

.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.subnav ul {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
}

.subnav ul::-webkit-scrollbar {
  display: none;
}

.subnav a {
  display: block;
  padding: 14px 14px;
  font-size: 15px;
  color: var(--muted);
  white-space: nowrap;
}

.subnav a:hover {
  color: var(--accent-text);
  text-decoration: none;
}

/* 行业方案 */

.industry {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.industry:hover {
  border-color: rgba(255, 120, 0, 0.35);
  box-shadow: var(--shadow);
}

.industry h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
}

.industry h3::before {
  content: "";
  flex: none;
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--amber), var(--lava));
}

.section-alt .industry h3::before {
  background: linear-gradient(180deg, var(--orange), var(--ember));
}

.industry p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  list-style: none;
}

.tag-list li {
  padding: 2px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--ember);
  background: var(--accent-soft);
}

.section-alt .tag-list li {
  color: #8a3a00;
  background: var(--amber-soft);
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.feature-row div {
  position: relative;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.feature-row div::before {
  content: "";
  position: absolute;
  left: 0;
  top: -2px;
  width: 48px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-ribbon);
}

.feature-row h4 {
  font-size: 17px;
}

.feature-row p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

/* 关于 */

.about-intro {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: start;
}

.fact-box {
  position: relative;
  padding: 32px;
  border-radius: var(--radius);
  color: #fff;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(255, 120, 0, 0.28), transparent 70%),
    var(--graphite);
  overflow: hidden;
}

.fact-box dl {
  margin: 0;
}

.fact-box dt {
  font-size: 14px;
  color: var(--amber);
}

.fact-box dd {
  margin: 2px 0 18px;
  font-weight: 600;
  color: #fff;
}

.fact-box dd:last-child {
  margin-bottom: 0;
}

/* 联系 */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-list {
  list-style: none;
}

.contact-list li {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list li:first-child {
  padding-top: 0;
}

.contact-list .icon {
  flex: none;
  margin: 0;
}

.contact-list .label {
  display: block;
  font-size: 14px;
  color: var(--muted);
}

.contact-list .value {
  font-size: 18px;
  font-weight: 600;
  color: var(--graphite);
}

.placeholder {
  padding: 0 6px;
  border-radius: 4px;
  font-weight: 600;
  color: var(--ember);
  background: var(--accent-soft);
}

/* 行动号召 */

.cta {
  padding: 72px 0;
  background-image:
    radial-gradient(ellipse 55% 120% at 0% 100%, rgba(243, 77, 0, 0.4), transparent 70%),
    radial-gradient(ellipse 45% 100% at 100% 0%, rgba(255, 189, 72, 0.22), transparent 70%),
    linear-gradient(135deg, var(--graphite-2), var(--graphite));
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta h2 {
  margin-bottom: 6px;
  font-size: 30px;
  font-weight: 800;
  color: #fff;
}

.cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.cta .btn {
  flex: none;
  color: var(--graphite);
  background: var(--grad-brand);
  border: 1px solid transparent;
  box-shadow: 0 6px 20px rgba(255, 120, 0, 0.35);
}

.cta .btn:hover {
  box-shadow: 0 10px 28px rgba(255, 120, 0, 0.5);
  transform: translateY(-1px);
}

/* ---------- 页脚 ---------- */

.site-footer {
  position: relative;
  padding: 60px 0 28px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.66);
  background: var(--graphite-3);
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--grad-ribbon);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top h4 {
  margin-bottom: 14px;
  font-size: 15px;
  color: #fff;
}

.footer-top ul {
  list-style: none;
}

.footer-top li {
  margin-bottom: 8px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.66);
}

.site-footer a:hover {
  color: var(--amber);
}

/* 完整标志宽度不小于 240px（设计包建议） */
.footer-logo {
  width: 240px;
  height: auto;
  margin: -14px 0 6px -10px;
}

.footer-brand {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 24px;
}

.footer-bottom .beian {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

/* ---------- 404 ---------- */

.not-found {
  padding: 120px 0;
  text-align: center;
}

.not-found .code {
  font-size: 104px;
  font-weight: 800;
  line-height: 1;
  background: var(--grad-ribbon);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- 响应式 ---------- */

@media (max-width: 1180px) {
  .hero::before {
    width: 440px;
    height: 360px;
    opacity: 0.55;
  }
}

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

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-block {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    padding: 8px 16px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav-open .nav {
    display: block;
  }

  .nav ul {
    flex-direction: column;
  }

  .nav a {
    padding: 12px;
  }

  .grid-3,
  .grid-2,
  .feature-row,
  .about-intro,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-intro,
  .contact-grid {
    gap: 32px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top > div:first-child {
    grid-column: 1 / -1;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero::before {
    top: auto;
    bottom: -40px;
    right: -80px;
    width: 340px;
    height: 278px;
    transform: none;
    opacity: 0.28;
  }

  /* 菜单展开时遮罩背景并禁止背景滚动 */
  html.menu-locked {
    overflow: hidden;
  }

  .nav-open {
    box-shadow: 0 0 0 100vmax rgba(21, 25, 31, 0.45);
  }

  .nav a {
    font-size: 16px;
  }

  .nav a[aria-current="page"] {
    background: var(--accent-soft);
  }
}

@media (max-width: 560px) {
  :root {
    --header-h: 64px;
  }

  body {
    font-size: 15px;
  }

  .container {
    padding: 0 18px;
  }

  .brand > img {
    width: 44px;
    height: 36px;
  }

  .hero {
    padding: 72px 0 64px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .page-hero h1 {
    font-size: 28px;
  }

  .page-hero::after {
    width: 200px;
    height: 164px;
    bottom: -50px;
    right: -50px;
  }

  .section {
    padding: 60px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .section-head h2 {
    font-size: 25px;
  }

  .grid-4,
  .steps,
  .service-items {
    grid-template-columns: 1fr;
  }

  .track {
    padding: 24px;
  }

  .brand-sub {
    display: none;
  }

  .hero-actions .btn,
  .cta .btn {
    flex: 1;
    text-align: center;
  }

  .cta .btn {
    width: 100%;
  }

  .page-hero {
    padding: 48px 0 44px;
  }

  .card,
  .industry,
  .fact-box {
    padding: 22px;
  }

  .service-block {
    padding: 40px 0;
  }

  .cta {
    padding: 52px 0;
  }

  .cta h2 {
    font-size: 24px;
  }

  /* 加大小链接的触控区 */
  .breadcrumb a,
  .card-more {
    display: inline-block;
    padding: 8px 0;
  }

  .breadcrumb {
    margin-bottom: 4px;
  }

  .footer-top li {
    margin-bottom: 0;
  }

  .footer-top li a {
    display: inline-block;
    padding: 6px 0;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .contact-list .value {
    font-size: 17px;
    overflow-wrap: anywhere;
  }

  .contact-list .value a {
    display: inline-block;
    padding: 6px 0;
  }

  .not-found {
    padding: 80px 0;
  }

  .not-found .code {
    font-size: 76px;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 27px;
  }

  .page-hero h1 {
    font-size: 24px;
  }

  .section-head h2 {
    font-size: 22px;
  }

  .hero-actions .btn {
    padding: 12px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* 企业微信二维码 */

.qr {
  display: block;
  width: 160px;
  height: 160px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.qr-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  border-style: dashed;
  background: var(--bg-alt);
}

/* ---------- AI 干货：文章列表与文章页（页面由 tools/wechat-to-site.py 生成） ---------- */

.insight-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.insight-card h3 {
  margin: 0;
  line-height: 1.5;
}

.insight-meta {
  font-size: 13px;
  color: var(--accent-text);
}

.insight-more {
  margin: 32px 0 0;
  text-align: center;
}

.article-meta {
  font-size: 14px;
}

.article {
  max-width: 760px;
  margin: 0 auto;
}

.article-summary {
  margin-bottom: 40px;
  padding: 22px 26px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
}

.article-summary h2 {
  margin: 0 0 8px;
  font-size: 17px;
}

.article-summary ul {
  margin: 0;
  padding-left: 1.2em;
}

.article-summary li + li {
  margin-top: 6px;
}

.article-body {
  font-size: 17px;
  line-height: 1.9;
}

.article-body p {
  margin: 0 0 1.1em;
}

.article-body h2 {
  margin: 48px 0 16px;
  padding-left: 12px;
  border-left: 4px solid var(--orange);
  font-size: 22px;
  line-height: 1.5;
}

.article-body strong {
  color: var(--accent-text);
}

.article-lead {
  margin-bottom: 8px;
  padding: 18px 22px;
  color: var(--muted);
  background: var(--bg-alt);
  border-radius: 10px;
}

.article-lead p:last-child,
.article-tip p:last-child,
.article-box p:last-child {
  margin-bottom: 0;
}

.article-list,
.article-steps {
  margin: 0 0 1.1em;
  padding-left: 1.4em;
}

.article-list li + li,
.article-steps li + li {
  margin-top: 6px;
}

.article-steps li::marker {
  font-weight: 700;
  color: var(--accent-text);
}

.article-tip {
  margin: 24px 0;
  padding: 16px 20px;
  background: var(--amber-soft);
  border-left: 3px solid var(--amber);
  border-radius: 0 10px 10px 0;
}

.article-box {
  margin: 24px 0;
  padding: 16px 20px;
  background: var(--bg-alt);
  border-radius: 10px;
}

.article-figure {
  margin: 28px 0;
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.article-figure figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

.article-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 0 1.1em;
}

.article-metrics .metric {
  padding: 16px 12px;
  text-align: center;
  background: var(--accent-soft);
  border-radius: 10px;
}

.article-metrics .metric p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.article-metrics .metric p:first-child {
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-text);
}

.article-source {
  margin: 40px 0 0;
  padding-top: 16px;
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 560px) {
  .article-body {
    font-size: 16px;
  }

  .article-body h2 {
    margin-top: 36px;
    font-size: 19px;
  }

  .article-summary {
    padding: 18px;
  }

  .article-metrics {
    grid-template-columns: 1fr;
  }
}
