/**
 * 华清环保装备 — 工业除尘·烟气治理
 * 设计基调：钢铁灰 + 黑 + 警示橙
 * 直角硬朗 · 信息密集 · 深色重工业风格
 * CSS Variables → Reset → Layout → Components → Pages → Responsive
 */

/* Google Fonts — Noto Sans SC 简体中文 */


/* ============================================================
   CSS 变量体系
   ============================================================ */
:root {
  /* 主色系 — 钢铁灰 */
  --steel-dark: #2D2D2D;
  --steel: #4A4A4A;
  --steel-light: #6B6B6B;
  --steel-mist: #8A8A8A;

  /* 基底色 — 深黑 */
  --black: #0A0A0A;
  --black-light: #141414;
  --black-surface: #1A1A1A;

  /* 警示橙 — 仅用于CTA/标签/关键数字 */
  --orange: #E8690A;
  --orange-dark: #C45500;
  --orange-light: #FF7B2C;
  --orange-dim: rgba(232, 105, 10, 0.12);

  /* 文字色阶 */
  --text-primary: #EAEAEA;
  --text-secondary: #A0A0A0;
  --text-muted: #686868;
  --text-dark: #1A1A1A;

  /* 边框 — 细线硬边 */
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.04);
  --border-orange: rgba(232, 105, 10, 0.25);

  /* 阴影 — 工业硬投影 */
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.5);
  --shadow-orange: 0 0 0 1px rgba(232, 105, 10, 0.3);

  /* 字体 */
  --font-heading: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei UI', 'Microsoft YaHei', sans-serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei UI', 'Microsoft YaHei', sans-serif;
  --font-mono: 'Consolas', 'Courier New', monospace;

  /* 尺寸 */
  --header-height: 72px;
  --container-max: 1280px;
  --section-gap: 80px;
  --section-gap-mobile: 48px;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

ul, ol { list-style: none; }

input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

/* ============================================================
   Container & Section
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--section-gap) 0;
}

.section--dark {
  background: var(--black-light);
}

.section--darker {
  background: var(--black);
}

.section--steel {
  background: var(--steel-dark);
}

/* 区块标题 */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
  padding: 4px 12px;
  border-left: 3px solid var(--orange);
  background: var(--orange-dim);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .section { padding: var(--section-gap-mobile) 0; }
  .section-title { font-size: 1.5rem; }
}

/* ============================================================
   Header & Navigation
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(10, 10, 10, 0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 0.3s, border-color 0.3s;
}

.header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header__logo-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #fff;
  font-size: 1.3rem;
}

.header__logo-text {
  display: flex;
  flex-direction: column;
}

.header__logo-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.header__logo-sub {
  font-size: 0.65rem;
  color: var(--orange);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* 主导航 */
.header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header__nav-item {
  position: relative;
}

.header__nav-link {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  white-space: nowrap;
}
.header__nav-link:hover,
.header__nav-link.active {
  color: var(--orange);
}

/* 下拉菜单 — 13.3: z-index 足够高 */
.header__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  min-width: 160px;
  padding: 8px 0;
  background: #1A1A1A;
  border: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.header__nav-item:hover .header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.header__dropdown a {
  display: block;
  padding: 8px 18px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.15s, background 0.15s;
}
.header__dropdown a:hover {
  color: var(--orange);
  background: var(--orange-dim);
}

/* 右侧操作区 */
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: var(--orange);
  letter-spacing: 0.04em;
  transition: background 0.2s;
}
.header__cta:hover {
  background: var(--orange-dark);
}

/* 汉堡菜单 — 13.4: 独立在 header__actions 外 */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 110;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 移动端导航 */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 105;
  width: 280px;
  background: var(--black-surface);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  padding: 24px;
}
.mobile-nav.active { transform: translateX(0); }

.mobile-nav__overlay {
  position: fixed;
  inset: 0;
  z-index: 104;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.mobile-nav__overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav__link {
  display: block;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
}
.mobile-nav__link:hover { color: var(--orange); }

.mobile-nav__sub {
  display: none;
  padding: 4px 0 4px 20px;
}
.mobile-nav__sub.open { display: block; }
.mobile-nav__sub a {
  display: block;
  padding: 8px 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.mobile-nav__sub a:hover { color: var(--orange); }

@media (max-width: 1024px) {
  .header__nav { display: none; }
  .header__cta { display: none; }
  .hamburger { display: flex; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--orange);
  color: #fff;
}
.btn--primary:hover {
  background: var(--orange-dark);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}
.btn--outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.btn--ghost {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}
.btn--ghost:hover {
  background: var(--orange);
  color: #fff;
}

.btn--white {
  background: #fff;
  color: var(--black);
}
.btn--white:hover { background: var(--text-secondary); }

.btn--large {
  padding: 16px 40px;
  font-size: 1rem;
}

/* ============================================================
   Hero / Banner 首页
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero .swiper {
  width: 100%;
  height: 100%;
}

.hero__slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.45) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 2;
}

.hero__content {
  position: absolute;
  top: 50%;
  left: 80px;
  transform: translateY(-50%);
  z-index: 3;
  max-width: 640px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.hero__title span {
  color: var(--orange);
}

.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Swiper 分页器 — 带滚动条 */
.hero .swiper-pagination {
  position: absolute;
  bottom: 32px;
  left: 80px;
  z-index: 3;
  text-align: left;
}

.hero .swiper-pagination-bullet {
  width: 40px;
  height: 3px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
  margin: 0 4px;
  transition: width 0.3s, background 0.3s;
}

.hero .swiper-pagination-bullet-active {
  width: 60px;
  background: var(--orange);
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

@media (max-width: 768px) {
  .hero { height: 70vh; min-height: 480px; }
  .hero__content { left: 20px; right: 20px; max-width: none; }
  .hero__title { font-size: 2rem; }
  .hero__subtitle { font-size: 0.95rem; }
  .hero .swiper-pagination { left: 20px; bottom: 20px; }
  .hero__scroll-indicator { display: none; }
}

/* ============================================================
   Inner Page Banner
   ============================================================ */
.inner-banner {
  position: relative;
  height: 320px;
  overflow: hidden;
  margin-top: var(--header-height);
}

.inner-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.4);
}

.inner-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.inner-banner__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}

.inner-banner__title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.inner-banner__subtitle {
  font-size: 0.9rem;
  color: var(--orange);
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .inner-banner { height: 200px; }
  .inner-banner__title { font-size: 1.5rem; }
}

/* ============================================================
   Breadcrumb
   ============================================================ */
.breadcrumb-bar {
  background: var(--black-light);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.breadcrumb {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .fa-solid { margin: 0 6px; font-size: 0.6rem; color: var(--steel-light); }

/* ============================================================
   Cards — 工业风
   ============================================================ */
.card {
  display: block;
  background: var(--black-surface);
  border: 1px solid var(--border);
  transition: border-color 0.25s, box-shadow 0.25s;
  overflow: hidden;
}

.card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-orange);
}

.card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--black-light);
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.card:hover .card__image img {
  transform: scale(1.04);
}

.card__body {
  padding: 16px;
}

.card__tag {
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: var(--orange);
  margin-bottom: 8px;
  letter-spacing: 0.06em;
}

.card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.card__meta {
  display: flex;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--steel-light);
  margin-top: 8px;
}

.card__meta i { color: var(--orange); margin-right: 4px; }

/* 深色背景大卡片 */
.card--dark {
  background: var(--steel-dark);
  border-color: rgba(255, 255, 255, 0.06);
}

/* ============================================================
   Grid Layout
   ============================================================ */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

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

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

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

/* ============================================================
   Features 技术亮点
   ============================================================ */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--black-surface);
  border: 1px solid var(--border);
  transition: border-color 0.25s;
}

.feature-card:hover {
  border-color: var(--orange);
}

.feature-card__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-dim);
  color: var(--orange);
  font-size: 1.5rem;
}

.feature-card__content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.feature-card__content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .features { grid-template-columns: 1fr; }
  .feature-card { flex-direction: column; gap: 12px; }
}

/* ============================================================
   Stats 数据统计
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.stat-item {
  padding: 36px 24px;
  text-align: center;
  background: var(--black-surface);
}

.stat-item__number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-item__number span {
  font-size: 1.6rem;
  color: var(--text-muted);
  margin-left: 2px;
}

.stat-item__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat-item__number { font-size: 2rem; }
}

/* ============================================================
   CTA Section
   ============================================================ */
.cta-section {
  background: var(--orange);
  padding: 72px 0;
  text-align: center;
}

.cta-section .section-title {
  color: #fff;
}

.cta-section .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.cta-section .btn--white {
  margin-top: 28px;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--black-light);
  border-top: 1px solid var(--border);
  padding-top: 56px;
}

.footer__top-line {
  height: 3px;
  background: var(--orange);
  margin-bottom: 0;
}

.footer__grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 48px 20px 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: 40px;
}

.footer__brand-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 16px 0;
}

.footer__col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}

.footer__links a {
  display: block;
  padding: 5px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.15s;
}

.footer__links a:hover {
  color: var(--orange);
}

.footer__contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer__contact-item i {
  color: var(--orange);
  width: 16px;
  margin-top: 3px;
}

.footer__qrcode {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black-surface);
  border: 1px solid var(--border);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
}

.footer__bottom-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 8px;
}

/* 友情链接 */
.friend-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  margin-top: 32px;
}
.friend-links__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  flex-shrink: 0;
}
.friend-links a {
  font-size: 0.78rem;
  color: var(--steel-light);
  padding: 4px 10px;
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s;
}
.friend-links a:hover {
  border-color: var(--orange);
  color: var(--orange);
}

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
}

/* ============================================================
   Back to Top
   ============================================================ */
.back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 90;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s, background 0.2s;
}
.back-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-top:hover { background: var(--orange-dark); }

/* ============================================================
   Filter Bar (子栏目导航)
   ============================================================ */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.filter-bar a {
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.filter-bar a:hover,
.filter-bar a.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* ============================================================
   Pagination
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  background: var(--black-surface);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.pagination a:hover,
.pagination a.active {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-dim);
}

/* ============================================================
   Empty State
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 64px 20px;
}
.empty-state i {
  font-size: 3rem;
  color: var(--steel-light);
  margin-bottom: 16px;
  opacity: 0.4;
}
.empty-state p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ============================================================
   Detail Pages — 详情页通用
   ============================================================ */
.detail {
  max-width: 900px;
  margin: 0 auto;
}

.detail__header {
  margin: 32px 0 24px;
}

.detail__title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.35;
}

.detail__meta-row {
  display: flex;
  gap: 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.detail__meta-row i { color: var(--orange); margin-right: 4px; }

/* 参数卡片 */
.detail__params {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  margin-bottom: 32px;
}

.detail__param {
  padding: 20px 16px;
  text-align: center;
  background: var(--black-surface);
}

.detail__param-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.detail__param-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.detail__body {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-secondary);
}

.detail__body img {
  max-width: 100%;
  margin: 20px 0;
}

.detail__pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  margin-top: 48px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}
.detail__pager a { color: var(--orange); }
.detail__pager a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .detail__title { font-size: 1.3rem; }
  .detail__params { grid-template-columns: repeat(2, 1fr); }
}

/* 相关推荐 */
.related-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 56px 0 24px;
}

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

@media (max-width: 768px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Product Detail — 产品详情专用
   ============================================================ */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.product-detail__gallery {
  position: relative;
}

.product-detail__gallery .swiper {
  width: 100%;
}

.product-detail__gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.product-detail__info h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.product-detail__info .detail__meta-row {
  margin-bottom: 20px;
}

.product-detail__specs {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.product-detail__specs th,
.product-detail__specs td {
  padding: 12px 16px;
  font-size: 0.85rem;
  text-align: left;
  border: 1px solid var(--border);
}

.product-detail__specs th {
  background: var(--steel-dark);
  color: var(--text-primary);
  font-weight: 600;
  width: 120px;
}

.product-detail__specs td {
  background: var(--black-surface);
  color: var(--text-secondary);
}

.product-detail__actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .product-detail { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================
   Case Grid — 案例网格大图
   ============================================================ */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.case-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--black-light);
  border: 1px solid var(--border);
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.case-card:hover img {
  transform: scale(1.05);
}

.case-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: background 0.3s;
}

.case-card__tag {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: var(--orange);
}

.case-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.case-card__subtitle {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 768px) {
  .case-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Gallery — 图库网格
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--black-light);
  border: 1px solid var(--border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

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

/* ============================================================
   Contact Page
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

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

.contact-info__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-dim);
  color: var(--orange);
  font-size: 1.2rem;
}

.contact-info__label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.contact-info__value {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 600;
}

.contact-form-card {
  padding: 36px;
  background: var(--black-surface);
  border: 1px solid var(--border);
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Form Elements
   ============================================================ */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.required { color: var(--orange); }

.form-control {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--black-light);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.form-control:focus {
  border-color: var(--orange);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* ============================================================
   List Header
   ============================================================ */
.list-header {
  text-align: center;
  margin-bottom: 40px;
}

.list-header h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.list-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ============================================================
   Search
   ============================================================ */
.search-box {
  max-width: 680px;
  margin: 0 auto;
}

.search-form-row {
  display: flex;
  gap: 12px;
}

.search-input-wrap {
  flex: 1;
  position: relative;
}

.search-input-wrap i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.search-input-wrap input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--black-surface);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.search-input-wrap input:focus {
  border-color: var(--orange);
}

.search-result-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.search-result-item:hover {
  background: var(--black-surface);
}

.search-result-item__thumb {
  width: 140px;
  height: 105px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--black-light);
}

.search-result-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-item__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.search-result-item__date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.search-result-item__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .search-result-item { flex-direction: column; }
  .search-result-item__thumb { width: 100%; height: 180px; }
}

/* ============================================================
   About Page — 关于我们
   ============================================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-intro__image {
  position: relative;
  overflow: hidden;
}

.about-intro__image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-intro__image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60%;
  height: 4px;
  background: var(--orange);
}

.about-intro__text h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.about-intro__text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .about-intro { grid-template-columns: 1fr; }
  .about-intro__text h2 { font-size: 1.4rem; }
}

/* 流程条 */
.process-bar {
  display: flex;
  counter-reset: step;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 24px 16px 0;
  counter-increment: step;
}

.process-step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  background: var(--steel);
  transition: background 0.2s;
}

.process-step:hover::before {
  background: var(--orange);
}

.process-step::after {
  content: '';
  position: absolute;
  top: 48px;
  left: 60%;
  width: 80%;
  height: 1px;
  background: var(--border);
}

.process-step:last-child::after { display: none; }

.process-step h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.process-step p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .process-bar { flex-direction: column; gap: 20px; }
  .process-step::after { display: none; }
  .process-step { padding-top: 0; display: flex; align-items: center; gap: 16px; text-align: left; }
  .process-step::before { margin: 0; flex-shrink: 0; }
}

/* ============================================================
   Factory Scene Full-width
   ============================================================ */
.factory-scene {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  background: var(--black-light);
}

.factory-scene__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.5);
}

.factory-scene__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: #fff;
  padding: 20px;
}

.factory-scene__content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.factory-scene__content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
}

@media (max-width: 768px) {
  .factory-scene { height: 320px; }
  .factory-scene__content h2 { font-size: 1.5rem; }
}

/* ============================================================
   Category Grid (产品分类卡片)
   ============================================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 36px 20px;
  background: var(--steel-dark);
  border: 1px solid var(--border);
  text-align: center;
  transition: border-color 0.25s, background 0.25s;
}

.category-card:hover {
  border-color: var(--orange);
  background: var(--black-surface);
}

.category-card__icon {
  font-size: 2.4rem;
  color: var(--orange);
}

.category-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.category-card__count {
  font-size: 0.78rem;
  color: var(--text-muted);
}

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

/* ============================================================
   Product List with Sidebar
   ============================================================ */
.page-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  align-items: start;
}

/* 侧边栏 */
.sidebar {
  background: var(--black-surface);
  border: 1px solid var(--border);
}

.sidebar__title {
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: var(--steel);
  letter-spacing: 0.04em;
}

.sidebar__nav a {
  display: block;
  padding: 12px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
  transition: color 0.15s, padding-left 0.2s;
  border-left: 3px solid transparent;
}

.sidebar__nav a:hover,
.sidebar__nav a.active {
  color: var(--orange);
  border-left-color: var(--orange);
  padding-left: 24px;
}

/* 产品网格 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Service Page
   ============================================================ */
.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 36px 28px;
  background: var(--black-surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--orange);
  transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.service-card__icon {
  font-size: 2rem;
  color: var(--orange);
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .service-list { grid-template-columns: 1fr; }
}

/* ============================================================
   AOS Animation Overrides — 工业风过渡
   ============================================================ */
[data-aos] {
  transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* ============================================================
   Utility
   ============================================================ */
.text-orange { color: var(--orange); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.hidden { display: none !important; }

@media (min-width: 1025px) {
  .show-mobile { display: none !important; }
}
@media (max-width: 1024px) {
  .hide-mobile { display: none !important; }
}
