:root {
  --orange: #ff7a3a;
  --orange-2: #ff9a4a;
  --orange-deep: #ff5e2a;
  --peach: #ff8b64;
  --title: #333333;
  --text: #666666;
  --muted: #999999;
  --line: #f0f0f0;
  --bg: #ffffff;
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  --radius: 12px;
  --max: 1180px;
  --header-h: 72px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

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

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

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

/* —— 顶栏 —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.logo-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav a {
  position: relative;
  color: #444;
  font-size: 15px;
  padding: 8px 0;
}

.nav a:hover,
.nav a.is-active {
  color: var(--orange);
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--orange);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  height: 2px;
  background: #333;
  border-radius: 1px;
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}

/* —— 首屏 —— */
.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(100deg, rgba(255, 90, 50, 0.55) 0%, rgba(255, 140, 70, 0.35) 42%, rgba(255, 160, 80, 0.12) 100%),
    url("../assets/hero-bg.jpg") center / cover no-repeat;
  color: #fff;
}

.hero-copy {
  max-width: 540px;
  padding: 72px 0 110px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 1px;
}

.hero p {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.95);
}

.btn-primary {
  display: inline-block;
  padding: 12px 32px;
  background: var(--orange);
  color: #fff;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(255, 94, 42, 0.35);
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-primary:hover {
  background: var(--orange-deep);
  transform: translateY(-1px);
}

/* —— 通用区块标题 —— */
.section {
  padding: 72px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head h2 {
  margin: 0 0 10px;
  color: var(--title);
  font-size: 30px;
  font-weight: 700;
}

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

/* —— 价格 —— */
.price-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 48px;
  align-items: start;
}

.price-copy h3 {
  margin: 0 0 8px;
  color: var(--title);
  font-size: 22px;
}

.price-copy .lead {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.price-copy .body {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text);
}

.stat-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.stat-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  min-height: 150px;
}

.stat-card.featured {
  background: linear-gradient(90deg, #ff7a3a 0%, #ffb75e 100%);
  color: #fff;
  grid-row: 1 / 2;
}

.stat-card .icon {
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
}

.stat-card .num {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--orange);
}

.stat-card.featured .num {
  color: #fff;
}

.stat-card .label {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.stat-card.featured .label {
  color: rgba(255, 255, 255, 0.92);
}

/* —— 服务三列 —— */
.service {
  position: relative;
  overflow: hidden;
  background: url("../assets/section-bg-2.jpg") left center / cover no-repeat;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.service-item h3 {
  margin: 0 0 14px;
  color: var(--title);
  font-size: 18px;
}

.service-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
}

/* —— 场景 —— */
.scene-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.scene-visual {
  display: flex;
  justify-content: center;
}

.scene-visual img {
  max-width: 420px;
  filter: drop-shadow(0 16px 30px rgba(255, 122, 58, 0.18));
}

.scene-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.scene-list::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 28px;
  bottom: 28px;
  border-left: 1px dashed #e0e0e0;
}

.scene-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  align-items: start;
}

.scene-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  position: relative;
  z-index: 1;
}

.scene-dot.pink {
  background: #ff6b6b;
}

.scene-dot.orange {
  background: var(--orange);
}

.scene-dot.gold {
  background: #f0b429;
}

.scene-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 22px 20px;
}

.scene-card h3 {
  margin: 0 0 8px;
  color: var(--title);
  font-size: 16px;
}

.scene-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.85;
}

/* —— 长文 —— */
.article h2 {
  text-align: center;
  margin: 0 0 36px;
  color: var(--title);
  font-size: 30px;
}

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

.article-body p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.95;
}

.article-body p.lead {
  font-weight: 700;
  color: var(--title);
}

/* —— 联系区 —— */
.contact {
  background: var(--peach);
  padding: 56px 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.contact-copy {
  margin: 0;
  color: #1a1a1a;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
  max-width: 560px;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.qr-row {
  display: flex;
  gap: 16px;
}

.qr-card {
  width: 210px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.qr-card img {
  width: 100%;
  height: auto;
}

.phone {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}

.phone a:hover {
  text-decoration: underline;
}

/* —— 页脚 —— */
.site-footer {
  background: #2b2b2b;
  color: #cfcfcf;
  text-align: center;
  padding: 22px 16px;
  font-size: 13px;
}

/* —— 关于我们 —— */
.about-page {
  padding: 64px 0 80px;
}

.about-page h1 {
  text-align: center;
  margin: 0 0 48px;
  color: var(--title);
  font-size: 30px;
  font-weight: 700;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.about-visual {
  display: flex;
  align-items: center;
  gap: 16px;
}

.qr-flag {
  flex: 0 0 72px;
  width: 72px;
  min-height: 200px;
  background: var(--orange);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.qr-flag span {
  writing-mode: vertical-rl;
  letter-spacing: 6px;
  font-size: 16px;
  font-weight: 700;
  background: #fff;
  padding: 16px 10px;
}

.qr-flag::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  border: 10px solid transparent;
  border-left-color: var(--orange);
}

.about-visual img {
  flex: 1;
  width: 100%;
  object-fit: cover;
  max-height: 360px;
}

.about-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 2;
  color: var(--text);
}

/* —— 移动端 —— */
@media (max-width: 960px) {
  .price-grid,
  .scene-layout,
  .about-layout,
  .contact-inner {
    grid-template-columns: 1fr;
  }

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

  .hero {
    min-height: 460px;
    background-position: 70% center;
  }

  .hero-copy {
    max-width: 100%;
    padding: 56px 0 80px;
  }

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

  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-copy {
    font-size: 16px;
  }

  .about-visual {
    flex-direction: column;
    align-items: flex-start;
  }

  .qr-flag {
    min-height: auto;
    width: auto;
    padding: 10px 16px;
  }

  .qr-flag span {
    writing-mode: horizontal-tb;
    letter-spacing: 2px;
    padding: 8px 12px;
  }

  .qr-flag::after {
    display: none;
  }
}

/* —— 行业资讯 —— */
.news-page {
  padding: 56px 0 80px;
}

.news-page .section-head h1 {
  margin: 0 0 10px;
  color: var(--title);
  font-size: 30px;
}

.news-list {
  display: grid;
  gap: 20px;
}

.news-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 28px;
}

.news-card time {
  color: var(--muted);
  font-size: 13px;
}

.news-card h2 {
  margin: 8px 0 10px;
  font-size: 20px;
}

.news-card h2 a:hover {
  color: var(--orange);
}

.news-card p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.8;
}

.news-more {
  display: inline-block;
  margin-top: 12px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 600;
}

.news-back {
  margin: 0 0 20px;
}

.news-back a {
  color: var(--orange);
  font-size: 14px;
}

.news-article h1 {
  margin: 0 0 10px;
  color: var(--title);
  font-size: 28px;
}

.news-article time {
  color: var(--muted);
  font-size: 13px;
}

.news-content {
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--text);
}

.news-content p {
  margin: 0 0 14px;
}

.news-empty,
.news-error {
  text-align: center;
  color: var(--muted);
  padding: 32px 0;
}

/* —— 资讯分页（SEO 可爬链接） —— */
.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.news-page-numbers {
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-page-link,
.news-page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
  background: #fafafa;
  border: 1px solid var(--line);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.news-page-link:hover,
.news-page-num:hover {
  color: var(--orange);
  border-color: var(--orange);
}

.news-page-num.is-current {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
  font-weight: 600;
  pointer-events: none;
}

.news-page-link.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

@media (max-width: 720px) {
  .container {
    width: calc(100% - 32px);
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px 24px;
  }

  .nav a.is-active::after {
    display: none;
  }

  .section {
    padding: 52px 0;
  }

  .section-head h2,
  .article h2,
  .about-page h1 {
    font-size: 24px;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .qr-row {
    flex-direction: column;
    align-items: center;
  }

  .qr-card {
    width: 240px;
  }
}
