/**
 * 鑫冶重工 — 重型装备/矿山冶金机械 企业官网
 * 深蓝重工硬核风格 | 暗色主题 | 直角设计
 * 原生 CSS，无框架依赖
 */

/* Google Fonts — Noto Sans SC (简体中文) + Rajdhani (Industrial Latin) */


/* ============================================================
   CSS 变量体系 — 工业暗色主题
   ============================================================ */
:root {
  /* 基底色 — 深蓝黑 */
  --bg-deep: #060D18;
  --bg-primary: #0B1A2E;
  --bg-secondary: #0F2038;
  --bg-card: #111D33;
  --bg-card-hover: #162540;
  --bg-input: rgba(255, 255, 255, 0.04);

  /* 点缀色 — 工业橙色 */
  --accent: #E87A20;
  --accent-hover: #F09030;
  --accent-dark: #C86818;
  --accent-dim: rgba(232, 122, 32, 0.12);
  --accent-glow: rgba(232, 122, 32, 0.25);

  /* 钢灰色系 */
  --steel: #7A8A9E;
  --steel-light: #9AABBE;
  --steel-dark: #5A6A7E;
  --steel-dim: rgba(122, 138, 158, 0.15);

  /* 文字色阶 */
  --text-primary: #E8ECF4;
  --text-secondary: #9AA8B8;
  --text-muted: #5A6678;

  /* 边框 */
  --border-subtle: rgba(122, 138, 158, 0.12);
  --border-orange: rgba(232, 122, 32, 0.25);
  --border-card: rgba(122, 138, 158, 0.1);

  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-orange: 0 0 20px rgba(232, 122, 32, 0.08);

  /* 间距 */
  --section-py: 100px;
  --container-max: 1200px;
  --header-h: 76px;

  /* 字体 — Rajdhani (Industrial Latin) + Noto Sans SC (简体中文) */
  --font-heading: 'Rajdhani', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  --font-mono: 'SF Mono', 'Consolas', 'Menlo', 'Courier New', monospace;

  /* 过渡 */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--duration-fast) var(--ease-out);
}

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

ul, ol { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
}

input, textarea, select {
  font: inherit;
  color: inherit;
}

/* Selection */
::selection {
  background: var(--accent);
  color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--steel-dark); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { color: var(--text-secondary); }

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

.section {
  padding: var(--section-py) 0;
  position: relative;
}

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

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

/* Section header */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

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

.section-title {
  margin-bottom: 12px;
}

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

/* Dividers */
.divider {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto 20px;
}

.divider--left { margin-left: 0; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: all var(--duration-normal) var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
  text-transform: none;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
}

.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 4px 20px rgba(232, 122, 32, 0.3);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--steel);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.btn--ghost {
  background: transparent;
  color: var(--steel);
  border: 1px solid transparent;
}

.btn--ghost:hover {
  color: var(--accent);
  border-color: var(--border-orange);
}

.btn--sm {
  padding: 8px 18px;
  font-size: 0.8rem;
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* ============================================================
   Header & Navigation
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 26, 46, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.header.scrolled {
  background: rgba(11, 26, 46, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

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

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

.header__logo-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  font-weight: 900;
}

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

.header__logo-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-primary);
  letter-spacing: 0.04em;
}

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

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

.header__nav-item {
  position: relative;
}

.header__nav-link {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

.header__nav-link:hover,
.header__nav-link.active {
  color: var(--accent);
}

/* Dropdown */
.header__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--duration-normal) var(--ease-out);
  z-index: 60;
}

.header__nav-item:hover .header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header__dropdown a {
  display: block;
  padding: 12px 18px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--duration-fast) var(--ease-out);
}

.header__dropdown a:last-child { border-bottom: none; }

.header__dropdown a:hover {
  color: var(--accent);
  background: var(--accent-dim);
  padding-left: 22px;
}

/* Header actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  transition: all var(--duration-normal) var(--ease-out);
}

.header__cta:hover {
  background: var(--accent-hover);
  box-shadow: 0 2px 12px rgba(232, 122, 32, 0.3);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--duration-normal) var(--ease-out);
  transform-origin: center;
}

.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 Navigation
   ============================================================ */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: var(--bg-primary);
  z-index: 105;
  padding: 24px;
  overflow-y: auto;
  transition: right var(--duration-normal) var(--ease-out);
  border-left: 1px solid var(--border-subtle);
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 104;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.mobile-nav__overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav__link {
  display: block;
  padding: 14px 16px;
  font-size: 1rem;
  color: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--duration-fast) var(--ease-out);
}

.mobile-nav__link:hover {
  color: var(--accent);
  background: var(--accent-dim);
}

.mobile-nav__sub {
  display: none;
  padding-left: 16px;
}

.mobile-nav__sub.open { display: block; }

.mobile-nav__sub a {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.mobile-nav__sub a:hover { color: var(--accent); }

/* ============================================================
   Hero / Banner (Swiper)
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  margin-top: 0;
}

.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(
    180deg,
    rgba(6, 13, 24, 0.3) 0%,
    rgba(11, 26, 46, 0.55) 50%,
    rgba(6, 13, 24, 0.92) 100%
  );
  z-index: 2;
}

/* Grid pattern overlay */
.hero__overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 122, 32, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 122, 32, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero__content {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 3;
  padding: 0 20px;
}

.hero__content .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 16px;
  padding: 6px 16px;
  border: 1px solid var(--border-orange);
  background: rgba(232, 122, 32, 0.1);
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 750px;
  letter-spacing: 0.02em;
}

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

.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--steel-light);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.6;
}

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

/* Swiper pagination & progress */
.hero .swiper-pagination {
  bottom: 40px !important;
  text-align: left !important;
  left: auto !important;
  right: auto !important;
  width: auto !important;
}

.hero .swiper-pagination-bullet {
  width: 40px;
  height: 3px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  transition: all var(--duration-normal) var(--ease-out);
}

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

/* Hero scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 36px;
  right: 40px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero__scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--steel);
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ============================================================
   Stats Counter Section
   ============================================================ */
.stats-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 64px 0;
}

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

.stat-item {
  text-align: center;
  padding: 32px 20px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.stat-item__number {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-bottom: 8px;
}

.stat-item__label {
  font-size: 0.85rem;
  color: var(--steel);
  letter-spacing: 0.06em;
}

.stat-item__icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 12px;
  opacity: 0.7;
}

/* ============================================================
   Product Category Cards
   ============================================================ */
.categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cat-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  cursor: pointer;
  display: block;
}

.cat-card:hover {
  border-color: var(--border-orange);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.cat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--duration-normal) var(--ease-out);
  transform-origin: left;
}

.cat-card:hover::after {
  transform: scaleX(1);
}

.cat-card__image {
  height: 200px;
  overflow: hidden;
  background: var(--bg-secondary);
}

.cat-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

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

.cat-card__body {
  padding: 24px 20px;
}

.cat-card__icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.cat-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

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

/* ============================================================
   Product Cards (Featured)
   ============================================================ */
.product-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--border-orange);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.product-card__image {
  height: 260px;
  overflow: hidden;
  position: relative;
  background: var(--bg-secondary);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

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

.product-card__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--accent);
}

.product-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.product-card__spec {
  font-size: 0.8rem;
  color: var(--steel);
}

.product-card__spec strong {
  color: var(--accent);
  display: block;
  font-size: 1.05rem;
  font-family: var(--font-mono);
}

.product-card__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  transition: gap var(--duration-fast) var(--ease-out);
}

.product-card__link:hover {
  gap: 12px;
}

/* ============================================================
   Solution Cards
   ============================================================ */
.solutions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out);
}

.solution-card:hover {
  border-color: var(--border-orange);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.solution-card__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: var(--accent-dim);
  border: 1px solid var(--border-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent);
}

.solution-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.solution-card__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   Case Cards (Engineering)
   ============================================================ */
.case-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.case-card {
  position: relative;
  height: 300px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

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

.case-card__image {
  width: 100%;
  height: 100%;
}

.case-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

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

.case-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 13, 24, 0.95) 0%, rgba(6, 13, 24, 0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 20px;
  transition: background var(--duration-normal) var(--ease-out);
}

.case-card:hover .case-card__overlay {
  background: linear-gradient(to top, rgba(6, 13, 24, 0.98) 0%, rgba(6, 13, 24, 0.4) 60%, rgba(6, 13, 24, 0.05) 100%);
}

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

.case-card__subtitle {
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}

/* ============================================================
   Workshop / Manufacturing
   ============================================================ */
.workshop {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.workshop-card {
  position: relative;
  height: 280px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

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

.workshop-card__image {
  width: 100%;
  height: 100%;
}

.workshop-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.workshop-card:hover .workshop-card__image img {
  transform: scale(1.06);
}

.workshop-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(11, 26, 46, 0.98), transparent);
}

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

.workshop-card__spec {
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}

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

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  border-color: var(--border-orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.news-card__image {
  height: 180px;
  overflow: hidden;
  background: var(--bg-secondary);
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

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

.news-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card__date {
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.news-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
  flex: 1;
}

.news-card__title a:hover { color: var(--accent); }

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

/* ============================================================
   CTA Section
   ============================================================ */
.cta-section {
  padding: 80px 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-orange);
  text-align: center;
}

.cta-section__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.cta-section__desc {
  font-size: 1.05rem;
  color: var(--steel);
  max-width: 600px;
  margin: 0 auto 32px;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer__brand-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer__col-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer__col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: all var(--duration-fast) var(--ease-out);
}

.footer__links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

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

.footer__contact-item i {
  color: var(--accent);
  margin-top: 4px;
  font-size: 0.8rem;
  width: 16px;
  text-align: center;
}

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

/* Partner links */
.friend-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--border-subtle);
}

.friend-links__label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--steel);
  white-space: nowrap;
}

.friend-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color var(--duration-fast) var(--ease-out);
}

.friend-links a:hover { color: var(--accent); }

/* Footer bottom */
.footer__bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 20px 0;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer__bottom-inner a {
  color: var(--text-muted);
}

.footer__bottom-inner a:hover {
  color: var(--accent);
}

/* ============================================================
   Back to Top
   ============================================================ */
.back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--duration-normal) var(--ease-out);
  cursor: pointer;
}

.back-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(232, 122, 32, 0.3);
}

/* ============================================================
   Online Service (客服按钮)
   ============================================================ */
.online-service {
  position: fixed;
  bottom: 88px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-orange);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
}

.online-service:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(232, 122, 32, 0.3);
}

/* ============================================================
   Inner Page Banner
   ============================================================ */
.inner-banner {
  position: relative;
  height: 320px;
  background: var(--bg-primary);
  background-size: cover;
  background-position: center;
  margin-top: var(--header-h);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.inner-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 13, 24, 0.85) 0%, rgba(11, 26, 46, 0.65) 100%);
  z-index: 1;
}

.inner-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 122, 32, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 122, 32, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 1;
}

.inner-banner__content {
  position: relative;
  z-index: 2;
}

.inner-banner__title {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
}

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

/* ============================================================
   Breadcrumb
   ============================================================ */
.breadcrumb {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
}

.breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--steel); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .current { color: var(--accent); }
.breadcrumb i { font-size: 0.6rem; color: var(--steel-dark); }

/* ============================================================
   Inner Page Layout
   ============================================================ */
.page-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  padding: 48px 0;
}

/* Sidebar */
.sidebar {
  flex-shrink: 0;
}

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

.sidebar__nav {
  border: 1px solid var(--border-subtle);
  border-top: none;
}

.sidebar__nav a {
  display: block;
  padding: 14px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--duration-fast) var(--ease-out);
}

.sidebar__nav a:last-child { border-bottom: none; }

.sidebar__nav a:hover,
.sidebar__nav a.active {
  color: var(--accent);
  background: var(--accent-dim);
  border-left: 2px solid var(--accent);
  padding-left: 18px;
}

/* Sidebar contact */
.sidebar__contact {
  margin-top: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 24px 20px;
  text-align: center;
}

.sidebar__contact h4 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.sidebar__contact p {
  font-size: 0.85rem;
  color: var(--steel);
  margin-bottom: 4px;
}

.sidebar__contact .phone {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-mono);
}

/* Main content area */
.main-content {
  min-width: 0;
}

/* ============================================================
   Product List Grid
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.product-item:hover {
  border-color: var(--border-orange);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.product-item__image {
  height: 220px;
  overflow: hidden;
  background: var(--bg-secondary);
}

.product-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.product-item:hover .product-item__image img {
  transform: scale(1.05);
}

.product-item__body {
  padding: 20px;
}

.product-item__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.product-item__title a:hover { color: var(--accent); }

.product-item__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 0.78rem;
  color: var(--steel);
}

.product-item__specs span {
  color: var(--accent);
  font-weight: 600;
}

/* ============================================================
   Product Detail
   ============================================================ */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.product-detail__gallery {
  position: relative;
}

.product-detail__gallery .swiper {
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.product-detail__gallery .swiper-slide {
  height: 400px;
}

.product-detail__gallery .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-detail__gallery .swiper-pagination {
  position: static;
  margin-top: 12px;
}

.product-detail__gallery .swiper-pagination-bullet {
  background: var(--steel-dark);
  opacity: 1;
  border-radius: 0;
  width: 20px;
  height: 3px;
}

.product-detail__gallery .swiper-pagination-bullet-active {
  background: var(--accent);
}

.product-detail__info {
  display: flex;
  flex-direction: column;
}

.product-detail__title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.product-detail__subtitle {
  font-size: 0.9rem;
  color: var(--steel);
  margin-bottom: 24px;
}

/* Specs table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-subtle);
}

.specs-table td {
  padding: 14px 0;
  font-size: 0.9rem;
}

.specs-table td:first-child {
  color: var(--steel);
  width: 120px;
  font-weight: 600;
}

.specs-table td:last-child {
  color: var(--text-primary);
}

.specs-table .highlight {
  color: var(--accent);
  font-weight: 700;
  font-family: var(--font-mono);
}

/* Tabs */
.product-tabs {
  margin-top: 48px;
}

.product-tabs__nav {
  display: flex;
  border-bottom: 1px solid var(--border-subtle);
  gap: 0;
}

.product-tabs__btn {
  padding: 14px 28px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  transition: all var(--duration-fast) var(--ease-out);
  cursor: pointer;
  letter-spacing: 0.03em;
}

.product-tabs__btn:hover,
.product-tabs__btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.product-tabs__panel {
  display: none;
  padding: 28px 0;
  line-height: 1.8;
  color: var(--text-secondary);
}

.product-tabs__panel.active { display: block; }

.product-tabs__panel img {
  max-width: 100%;
  margin: 16px 0;
}

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

.case-item {
  position: relative;
  height: 280px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.case-item:hover { border-color: var(--border-orange); }

.case-item__image {
  width: 100%;
  height: 100%;
}

.case-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

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

.case-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 13, 24, 0.95) 0%, rgba(6, 13, 24, 0.15) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
}

.case-item__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.case-item__meta {
  font-size: 0.82rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}

/* Case Detail */
.case-detail__header {
  margin-bottom: 32px;
}

.case-detail__title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.case-detail__meta {
  display: flex;
  gap: 24px;
  font-size: 0.85rem;
  color: var(--steel);
}

.case-detail__image {
  margin-bottom: 32px;
  border: 1px solid var(--border-subtle);
}

.case-detail__image img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

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

.case-detail__body img {
  max-width: 100%;
  margin: 20px 0;
  border: 1px solid var(--border-subtle);
}

/* ============================================================
   News List
   ============================================================ */
.news-list--page .news-card {
  flex-direction: row;
}

.news-list--page .news-card__image {
  width: 260px;
  height: 180px;
  flex-shrink: 0;
}

.news-list--page .news-card__body {
  padding: 24px;
}

/* News Detail */
.news-detail__header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.news-detail__title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.news-detail__meta {
  display: flex;
  gap: 24px;
  font-size: 0.85rem;
  color: var(--steel);
}

.news-detail__meta i { color: var(--accent); margin-right: 4px; }

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

.news-detail__body img {
  max-width: 100%;
  margin: 20px 0;
  border: 1px solid var(--border-subtle);
}

/* Prev/Next */
.prev-next {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.prev-next a {
  color: var(--steel);
  transition: color var(--duration-fast) var(--ease-out);
}

.prev-next a:hover { color: var(--accent); }

/* ============================================================
   Single Pages (About, Solutions, Tech, Dealer, Contact)
   ============================================================ */
.single-content {
  line-height: 1.9;
  color: var(--text-secondary);
}

.single-content h2 {
  font-size: 1.4rem;
  margin: 40px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.single-content h3 {
  font-size: 1.15rem;
  margin: 28px 0 12px;
}

.single-content p {
  margin-bottom: 16px;
}

.single-content img {
  max-width: 100%;
  margin: 20px 0;
  border: 1px solid var(--border-subtle);
}

.single-content ul, .single-content ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.single-content li {
  color: var(--text-secondary);
  margin-bottom: 6px;
  list-style: disc;
}

/* About page specific */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
  align-items: center;
}

.about-intro__image {
  border: 1px solid var(--border-subtle);
}

.about-intro__image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.about-intro__text h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.about-intro__text p {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Advantages grid */
.advantages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.advantage-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 28px 24px;
  text-align: center;
}

.advantage-item__icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 16px;
}

.advantage-item__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.advantage-item__desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info__item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

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

.contact-info__text h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-info__text p {
  font-size: 0.88rem;
  color: var(--steel);
}

/* Contact form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 32px;
}

.contact-form h3 {
  font-size: 1.2rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

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

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: border-color var(--duration-fast) var(--ease-out);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-dim);
}

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

/* ============================================================
   Dealer Page
   ============================================================ */
.dealer-policy {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 32px;
  margin-bottom: 32px;
}

.dealer-policy h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--accent);
}

.dealer-policy p, .dealer-policy li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============================================================
   Pagination
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border-subtle);
  color: var(--steel);
  transition: all var(--duration-fast) var(--ease-out);
}

.pagination a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.pagination .active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ============================================================
   Search Page
   ============================================================ */
.search-form {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.search-form input {
  flex: 1;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.95rem;
}

.search-form input:focus {
  outline: none;
  border-color: var(--accent);
}

.search-form button {
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: background var(--duration-fast) var(--ease-out);
}

.search-form button:hover {
  background: var(--accent-hover);
}

.search-result__item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.search-result__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.search-result__title a:hover { color: var(--accent); }

.search-result__text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.search-result__text .highlight {
  color: var(--accent);
}

.no-data {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.no-data i {
  display: block;
  font-size: 3rem;
  color: var(--steel-dark);
  margin-bottom: 16px;
}

/* ============================================================
   Inquiry / Message Page
   ============================================================ */
.inquiry-form {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 36px;
}

.inquiry-form h2 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.inquiry-form .subtitle {
  font-size: 0.9rem;
  color: var(--steel);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--steel);
}

.form-check img {
  height: 38px;
  cursor: pointer;
}

/* ============================================================
   Tech / Download Page
   ============================================================ */
.download-list {
  display: grid;
  gap: 16px;
}

.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 20px 24px;
  transition: all var(--duration-fast) var(--ease-out);
}

.download-item:hover {
  border-color: var(--border-orange);
}

.download-item__info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.download-item__icon {
  font-size: 1.5rem;
  color: var(--accent);
}

.download-item__name {
  font-weight: 700;
  font-size: 0.95rem;
}

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

.download-item__btn {
  padding: 8px 20px;
  background: var(--accent-dim);
  border: 1px solid var(--border-orange);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  transition: all var(--duration-fast) var(--ease-out);
}

.download-item__btn:hover {
  background: var(--accent);
  color: #fff;
}

/* ============================================================
   Animations
   ============================================================ */
/* Fade up */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* Fade right */
[data-aos="fade-right"] {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

[data-aos="fade-right"].aos-animate {
  opacity: 1;
  transform: translateX(0);
}

/* Fade left */
[data-aos="fade-left"] {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

[data-aos="fade-left"].aos-animate {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
[data-aos-delay="0"] { transition-delay: 0s; }
[data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos-delay="400"] { transition-delay: 0.4s; }
[data-aos-delay="500"] { transition-delay: 0.5s; }

/* Number counter animation */
@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.countup {
  display: inline-block;
}

.countup.animate {
  animation: countUp 0.6s var(--ease-out) forwards;
}

/* Orange glow pulse */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 5px rgba(232, 122, 32, 0.1); }
  50% { box-shadow: 0 0 20px rgba(232, 122, 32, 0.2); }
}

.glow-pulse {
  animation: glowPulse 2s ease-in-out infinite;
}

/* Slide in from bottom */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.slide-up {
  animation: slideUp 0.6s var(--ease-out) forwards;
}

/* Shimmer loading */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.shimmer {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

/* Border draw */
@keyframes borderDraw {
  from { width: 0; }
  to { width: 100%; }
}

.border-draw {
  position: relative;
}

.border-draw::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  animation: borderDraw 0.6s var(--ease-out) forwards;
}

/* ============================================================
   Utility Classes
   ============================================================ */
.text-accent { color: var(--accent); }
.text-steel { color: var(--steel); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

.font-mono { font-family: var(--font-mono); }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }

.hidden { display: none; }

/* ============================================================
   Responsive — 768px Breakpoint
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --section-py: 72px;
    --header-h: 64px;
  }

  /* Header */
  .header__nav { display: none; }
  .header__cta { display: none; }
  .hamburger { display: flex; }

  /* Grids → 2 columns */
  .stats { grid-template-columns: repeat(2, 1fr); }
  .categories { grid-template-columns: repeat(2, 1fr); }
  .product-cards { grid-template-columns: repeat(2, 1fr); }
  .solutions { grid-template-columns: repeat(2, 1fr); }
  .case-cards { grid-template-columns: repeat(2, 1fr); }
  .workshop { grid-template-columns: repeat(2, 1fr); }
  .news-list { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages { grid-template-columns: repeat(2, 1fr); }

  /* Layout */
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }

  /* Inner pages */
  .product-detail { grid-template-columns: 1fr; gap: 32px; }
  .about-intro { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  /* News list with image */
  .news-list--page .news-card { flex-direction: column; }
  .news-list--page .news-card__image { width: 100%; height: 200px; }

  /* Form row */
  .form-row { grid-template-columns: 1fr; }

  /* Hero */
  .hero { height: 80vh; min-height: 500px; }
  .hero__scroll { display: none; }
}

/* ============================================================
   鑫冶重工 — 手机端专用排版 (≤768px / ≤480px)
   ------------------------------------------------------------
   仅在手机端生效，PC 端完全不受影响。
   目标：把"PC 卡片整体压缩"改造成真正的手机端版式。

   改造对照：
     数据磁贴   4×1 竖排巨卡    → 2×2 紧凑磁贴
     产品/新闻  大图卡拉满屏宽  → 图左文右 横向行卡
     案例/车间  多列大图竖排    → 2 列小图网格
     解决方案   大图标居中含卡  → 图标在左 紧凑行
     栏目导航   手机端被隐藏    → 横向滑动胶囊条
     页脚       4 列全部展开    → 品牌区 + 分组手风琴
     底部操作   右下角悬浮      → 固定底部操作栏
   ============================================================ */


/* 手机端底部固定操作栏 — 默认隐藏，仅在 ≤768px 显示（样式见下方媒体查询） */
.mobile-bar { display: none; }

@media (max-width: 768px) {

  /* ==========================================================
     1. 设计令牌
     ========================================================== */
  :root {
    --section-py: 44px;
    --header-h: 56px;

    --m-img: 104px;       /* 横向行卡图片边长 */
    --m-img-sm: 88px;     /* 新闻行卡图片边长 */
    --m-gap: 10px;        /* 列表行间距 */
    --m-tap: 44px;        /* 最小触控高度 */
    --m-bar-h: 56px;      /* 底部操作栏高度 */
    --m-pad: 16px;        /* 容器左右内边距 */
  }

  /* ==========================================================
     2. 基础 · 防溢出 · 阅读舒适度
     ========================================================== */
  html { font-size: 16px; }               /* 正文基准 16px，避免 iOS 缩放 */
  body {
    line-height: 1.7;
    /* 给底部操作栏留出高度 + 刘海屏安全区 */
    padding-bottom: calc(var(--m-bar-h) + env(safe-area-inset-bottom, 0px));
  }
  .container { padding: 0 var(--m-pad); }
  .section { padding: var(--section-py) 0; }

  /* 长英文/数字串不撑破容器 */
  p, h1, h2, h3, h4, li, td, .news-card__title, .product-card__title {
    overflow-wrap: break-word;
    word-break: break-word;
  }

  /* AOS 在手机端关闭；这里强制显示，防止脚本异常导致整块内容不可见 */
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }

  /* 表单字号必须 ≥16px，否则 iOS 聚焦时自动放大页面 */
  input, textarea, select { font-size: 16px; }

  /* 在手机上禁用 hover 位移，避免点击后元素错位 */
  .product-card:hover,
  .news-card:hover,
  .cat-card:hover,
  .case-card:hover,
  .workshop-card:hover,
  .solution-card:hover,
  .advantage-item:hover { transform: none; }

  /* ==========================================================
     3. 顶部导航
     ========================================================== */
  .header__inner { padding: 0 var(--m-pad); gap: 12px; }
  .header__logo-icon { width: 34px; height: 34px; font-size: 1rem; }
  .header__logo-name { font-size: 1rem; }
  .header__logo-sub { font-size: 0.56rem; letter-spacing: 0.12em; }

  /* 汉堡按钮撑到 44×44 触控区 */
  .hamburger {
    display: flex;
    width: var(--m-tap);
    height: var(--m-tap);
    padding: 0;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-right: -8px;
  }

  /* 侧滑菜单：整屏宽 + 触控友好 */
  .mobile-nav { width: min(84vw, 320px); }
  .mobile-nav__inner { padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px)); }
  .mobile-nav__link {
    min-height: var(--m-tap);
    display: flex;
    align-items: center;
    padding: 12px 14px;
    font-size: 0.95rem;
  }
  .mobile-nav__sub a { min-height: 40px; display: flex; align-items: center; font-size: 0.88rem; }

  /* ==========================================================
     4. Hero — 内容决定高度，轮播图绝对定位铺满
     ----------------------------------------------------------
     ★ 关键：.hero 不能只写 height:auto —— .hero .swiper 是 height:100%，
       百分比高度必须有一个「确定高度」的父级才能解析；父级为 auto 时它
       退化成 auto，而 slide 内部没有文档流内容，最终 swiper/wrapper/
       slide 高度全是 0px，整张轮播图在手机端完全不显示（只剩底色+遮罩）。
       这里改成：内容回到文档流撑高 .hero，轮播绝对定位 inset:0 铺满。
     ========================================================== */
  .hero {
    height: auto;
    min-height: 430px;
    max-height: none;
    padding-top: 0;
  }
  .hero .swiper {
    position: absolute;
    inset: 0;
    height: 100%;
  }
  .hero__content {
    position: relative;
    top: auto;
    transform: none;
    /* 顶部让开固定 header，底部给分页点留位 */
    padding: calc(var(--header-h) + 26px) 20px 72px;
  }
  .hero__tag {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    padding: 5px 12px;
    margin-bottom: 14px;
  }
  .hero__title {
    font-size: 1.7rem;
    line-height: 1.28;
    margin-bottom: 12px;
    max-width: 100%;
  }
  .hero__subtitle {
    font-size: 0.875rem;
    line-height: 1.65;
    margin-bottom: 24px;
    max-width: 100%;
    /* 手机上最多 3 行，超出省略 */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .hero__actions { flex-direction: column; gap: 10px; width: 100%; }
  .hero__actions .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }
  /* 分页点移到按钮下方，避免和文字、悬浮按钮打架 */
  .hero .swiper-pagination { bottom: 16px !important; }
  .hero .swiper-pagination-bullet { width: 8px; height: 8px; }

  /* ==========================================================
     5. 区块标题 — 收紧留白，副标题控宽
     ========================================================== */
  .section-header { margin-bottom: 22px; padding: 0; }
  .section-tag {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    padding: 4px 10px;
    margin-bottom: 8px;
  }
  .section-title {
    font-size: 1.32rem;
    line-height: 1.35;
    margin-bottom: 8px;
    letter-spacing: 0;
  }
  .section-subtitle {
    font-size: 0.82rem;
    line-height: 1.6;
    max-width: 100%;
  }
  .divider { margin-bottom: 20px; }
  .text-center.mt-48 { margin-top: 24px; }
  .mt-48 { margin-top: 24px; }

  /* ==========================================================
     6. 数据统计 —— 2×2 紧凑磁贴（原来 4 张巨卡竖排 ≈1100px）
     ========================================================== */
  .stats-section { padding: 28px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: var(--m-gap); }
  .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 10px;
    text-align: center;
  }
  .stat-item__icon {
    font-size: 1.05rem;
    margin-bottom: 6px;
    opacity: 0.85;
  }
  .stat-item__number {
    font-size: 1.6rem;
    line-height: 1.15;
    margin-bottom: 3px;
  }
  .stat-item__label {
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    line-height: 1.4;
  }

  /* ==========================================================
     7. 通用横向行卡 —— 图左文右（核心改造）
     ========================================================== */
  /* minmax(0,1fr) 而非 1fr：默认的 1fr 最小值是 min-content，
     长标题会把整列顶宽、撑破视口（列表页原本就是这样溢出的） */
  .categories,
  .product-cards,
  .news-list,
  .product-grid { grid-template-columns: minmax(0, 1fr); gap: var(--m-gap); }

  .cat-card,
  .product-card,
  .news-card,
  .product-item {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: var(--m-img);
  }

  /* 图片统一为固定边长，杜绝高度抖动 */
  .cat-card__image,
  .product-card__image,
  .news-card__image,
  .product-item__image {
    width: var(--m-img);
    flex: 0 0 var(--m-img);
    height: auto;
    min-height: var(--m-img);
    align-self: stretch;
  }

  .cat-card__body,
  .product-card__body,
  .news-card__body,
  .product-item__body {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* ---- 产品列表页条目（结构同主推产品，共用横向行卡） ---- */
  .product-item__image { width: 112px; flex-basis: 112px; }
  .product-item__title {
    font-size: 0.92rem;
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-item__title a:hover { color: var(--accent); }
  .product-item__specs { gap: 2px 14px; font-size: 0.68rem; line-height: 1.5; }

  /* ---- 产品行卡 ---- */
  .product-card__image { width: 112px; flex-basis: 112px; }
  .product-card__tag {
    top: 8px;
    left: 8px;
    padding: 2px 8px;
    font-size: 0.6rem;
    letter-spacing: 0.04em;
  }
  .product-card__title {
    font-size: 0.92rem;
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  /* 规格改为「标签 + 数值」同行，比 PC 的上下两行省一半高度 */
  .product-card__specs {
    gap: 2px 14px;
    margin-bottom: 8px;
  }
  .product-card__spec {
    font-size: 0.68rem;
    line-height: 1.5;
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
  }
  .product-card__spec strong {
    display: inline;
    font-size: 0.8rem;
    margin: 0;
  }
  /* 长描述在列表页隐藏：详情页有完整内容，列表保持可扫描 */
  .product-card__desc { display: none; }
  .product-card__link {
    font-size: 0.76rem;
    margin-top: auto;
    min-height: 20px;
    letter-spacing: 0.02em;
  }

  /* ---- 产品分类行卡 ---- */
  .cat-card__image { width: var(--m-img-sm); flex-basis: var(--m-img-sm); }
  .cat-card__icon { display: none; }        /* 已有配图，去掉重复图标 */
  .cat-card__title { font-size: 0.95rem; margin-bottom: 5px; }
  .cat-card__desc {
    font-size: 0.74rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* ---- 新闻行卡 ---- */
  .news-card__image { width: var(--m-img-sm); flex-basis: var(--m-img-sm); }
  .news-card__date {
    font-size: 0.68rem;
    margin-bottom: 5px;
    letter-spacing: 0.03em;
  }
  .news-card__title {
    font-size: 0.88rem;
    line-height: 1.45;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .news-card__desc { display: none; }

  /* ==========================================================
     8. 案例 / 车间 —— 2 列小图网格（原来 4 列大图竖排）
     ========================================================== */
  .case-cards,
  .workshop,
  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--m-gap);
  }
  .case-card,
  .workshop-card,
  .case-item {
    height: auto;
    aspect-ratio: 4 / 3;
  }
  /* 条目数为奇数时，最后一张横跨两列，避免右下角留空 */
  .case-cards > *:last-child:nth-child(odd),
  .workshop > *:last-child:nth-child(odd),
  .case-grid > *:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 7;
  }
  /* 案例列表页条目（caselist.html，无侧栏，与首页案例卡同款） */
  .case-item__overlay { padding: 10px 10px 9px; }
  .case-item__title {
    font-size: 0.82rem;
    line-height: 1.35;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .case-item__meta {
    font-size: 0.66rem;
    letter-spacing: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .case-card__overlay,
  .workshop-card__info { padding: 10px 10px 9px; }
  .case-card__title {
    font-size: 0.82rem;
    line-height: 1.35;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  /* span 是行内元素，必须转块级，否则省略号不生效（会被卡片直接切掉） */
  .case-card__subtitle {
    display: -webkit-box;
    font-size: 0.66rem;
    line-height: 1.35;
    white-space: normal;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .workshop-card__title {
    font-size: 0.82rem;
    line-height: 1.35;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .workshop-card__spec {
    font-size: 0.64rem;
    line-height: 1.4;
    letter-spacing: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* ==========================================================
     9. 解决方案 —— 图标在左的紧凑行（原来大图标居中含卡）
     ========================================================== */
  .solutions { grid-template-columns: 1fr; gap: var(--m-gap); }
  .solution-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    text-align: left;
  }
  .solution-card__icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    margin: 0;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .solution-card__title { font-size: 0.92rem; margin-bottom: 4px; }
  .solution-card__desc {
    font-size: 0.75rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* 关于页的优势列表同款处理 */
  .advantages { grid-template-columns: 1fr; gap: var(--m-gap); }
  .advantage-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
  }
  .advantage-item__icon { flex: 0 0 40px; margin: 0; font-size: 1.05rem; }
  .advantage-item__title { font-size: 0.92rem; margin-bottom: 4px; }
  .advantage-item__desc { font-size: 0.75rem; line-height: 1.55; }

  /* ==========================================================
     10. 按钮 · 触控尺寸
     ========================================================== */
  .btn {
    min-height: var(--m-tap);
    padding: 12px 22px;
    font-size: 0.88rem;
  }
  .btn--lg { min-height: 48px; padding: 14px 24px; font-size: 0.92rem; }
  .btn--sm { min-height: 38px; }

  /* ==========================================================
     11. CTA 区块
     ========================================================== */
  .cta-section { padding: 40px 0 calc(40px + 8px); }
  .cta-section__title { font-size: 1.22rem; line-height: 1.4; margin-bottom: 10px; }
  .cta-section__desc,
  .cta-section p { font-size: 0.82rem; line-height: 1.65; }
  .cta-section .btn { width: 100%; justify-content: center; margin-top: 20px; }

  /* ==========================================================
     12. 内页：内页头图 / 面包屑 / 栏目导航
     ========================================================== */
  .inner-banner { height: 148px; }
  .inner-banner__title { font-size: 1.24rem; margin-bottom: 4px; }
  .inner-banner__subtitle { font-size: 0.74rem; }

  .breadcrumb { padding: 10px 0; font-size: 0.74rem; }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px 0 32px;
    gap: 16px;
  }

  /* 栏目导航：原本 ≤1024px 直接 display:none，手机端完全丢失栏目入口。
     改为横向滑动胶囊条，保留导航能力且几乎不占高度。 */
  .sidebar {
    display: block;
    position: static;
    border: none;
    margin-bottom: 0;
    overflow: visible;
  }
  .sidebar__title { display: none; }
  .sidebar__nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .sidebar__nav::-webkit-scrollbar { display: none; }
  .sidebar__nav a {
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    font-size: 0.8rem;
    white-space: nowrap;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
  }
  .sidebar__nav a.active {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
    border-left-width: 1px;
    padding-left: 14px;
  }
  .sidebar__nav a:hover { padding-left: 14px; }

  /* 侧栏名片：手机端压成一行，不占垂直空间 */
  .sidebar__contact {
    margin-top: 4px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
  }
  .sidebar__contact h4 { font-size: 0.8rem; margin-bottom: 0; color: var(--steel); }
  .sidebar__contact p { font-size: 0.72rem; margin-bottom: 0; }
  .sidebar__contact p:not(.phone) { display: none; }
  .sidebar__contact .phone { font-size: 1rem; }

  /* ==========================================================
     13. 内页：详情页 / 列表 / 表格
     ========================================================== */
  .product-detail { grid-template-columns: 1fr; gap: 20px; padding: 20px 0; }
  .product-detail__gallery { position: static; }
  .product-detail__gallery .swiper-slide { height: 250px; }
  .product-detail__info h1 { font-size: 1.22rem; line-height: 1.4; margin-bottom: 12px; }
  .product-detail__params { grid-template-columns: repeat(2, 1fr); margin-bottom: 18px; }
  .product-detail__param { padding: 10px 12px; }
  .product-detail__param-label { font-size: 0.68rem; }
  .product-detail__param-value { font-size: 0.88rem; }

  /* 选项卡横向滑动，避免换行或挤压 */
  .product-detail__tab-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .product-detail__tab-nav::-webkit-scrollbar { display: none; }
  .product-detail__tab-nav button {
    flex: 0 0 auto;
    padding: 12px 16px;
    font-size: 0.84rem;
    min-height: var(--m-tap);
  }
  .product-detail__tab-content { padding: 18px 0; font-size: 0.88rem; line-height: 1.8; }

  /* 新闻列表页（图左文右） */
  .news-list--page { grid-template-columns: 1fr; gap: var(--m-gap); }
  .news-list--page .news-card { flex-direction: row; }
  .news-list--page .news-card__image {
    width: var(--m-img-sm);
    flex-basis: var(--m-img-sm);
    height: auto;
  }

  /* 关于页图文 */
  .about-intro { grid-template-columns: 1fr; gap: 20px; }

  /* 正文 */
  .single-content,
  .content-body { font-size: 0.88rem; line-height: 1.85; }
  .content-body h2 { font-size: 1.15rem; margin: 24px 0 12px; }
  .content-body h3 { font-size: 1rem; margin: 20px 0 10px; }
  .content-body p { margin-bottom: 14px; }
  .content-body img { margin: 16px 0; }

  /* 规格表格：缩字号 + 允许横向滚动，防止撑破页面 */
  .content-body table,
  .specs-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .specs-table { font-size: 0.78rem; }
  .specs-table th,
  .specs-table td { padding: 9px 12px; white-space: nowrap; }

  /* ==========================================================
     14. 表单
     ========================================================== */
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-form,
  .contact-form-card,
  .inquiry-form { padding: 18px 16px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-group { margin-bottom: 16px; }
  .form-group label { font-size: 0.82rem; margin-bottom: 6px; }
  .form-group input,
  .form-group textarea,
  .form-group select,
  .form-control {
    min-height: var(--m-tap);
    padding: 11px 14px;
    font-size: 16px;            /* 关键：防止 iOS 聚焦自动放大 */
    border-radius: 0;
  }
  .form-group textarea { min-height: 110px; }
  .form-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .form-actions .btn { width: 100%; justify-content: center; }
  .contact-info__item { padding: 12px 0; }
  .inquiry-form__captcha { flex-wrap: wrap; gap: 10px; }
  .inquiry-form__captcha img { height: var(--m-tap); }

  .contact-map { min-height: 220px; }

  /* ==========================================================
     15. 分页
     ========================================================== */
  .pagination { gap: 5px; margin-top: 24px; }
  .pagination a,
  .pagination span,
  .page-num {
    min-width: 38px;
    height: 38px;
    font-size: 0.8rem;
  }

  /* ==========================================================
     16. 页脚 —— 品牌区 + 分组手风琴
     原来 4 列全部展开 ≈1400px，改造后 ≈620px
     ========================================================== */
  .footer { padding: 32px 0 0; }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: 20px;
  }

  /* 品牌简介始终展开 */
  .footer__grid > div:first-child { padding-bottom: 20px; }
  .footer__brand-desc {
    font-size: 0.8rem;
    line-height: 1.7;
    margin-bottom: 14px;
  }

  /* 可折叠分组（结构由 main.js 注入 .footer__col 与 .footer__col-body） */
  .footer__col { border-top: 1px solid var(--border-subtle); }

  .footer__col .footer__col-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  /* 标题下划线改为可展开时点亮 */
  .footer__col .footer__col-title::after {
    width: 0;
    height: 0;
    background: none;
  }
  /* 展开箭头 */
  .footer__col .footer__col-title::before {
    content: '\f078';                 /* fa-chevron-down */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.68rem;
    color: var(--steel);
    order: 2;
    transition: transform var(--duration-normal) var(--ease-out);
  }
  .footer__col.open .footer__col-title::before {
    transform: rotate(180deg);
    color: var(--accent);
  }

  /* 折叠动画：0fr ↔ 1fr，无需猜高度 */
  .footer__col-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--duration-normal) var(--ease-out);
  }
  .footer__col.open .footer__col-body { grid-template-rows: 1fr; }
  .footer__col-body > div { overflow: hidden; }

  /* 快速链接：两列排布，比单列省一半高度 */
  .footer__col .footer__links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding-bottom: 16px;
  }
  .footer__col .footer__links a {
    min-height: 40px;
    display: flex;
    align-items: center;
    font-size: 0.82rem;
  }
  .footer__col .footer__links a:hover { padding-left: 0; color: var(--accent); }

  .footer__col .footer__contact-item {
    font-size: 0.82rem;
    margin-bottom: 12px;
    line-height: 1.55;
  }
  .footer__col .footer__contact-item:last-child { margin-bottom: 16px; }

  .friend-links { gap: 8px; padding: 14px 0; }
  .friend-links a { font-size: 0.74rem; padding: 5px 10px; }
  .friend-links__label { font-size: 0.74rem; }
  .footer__qrcode { width: 88px; height: 88px; }

  .footer__bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 16px var(--m-pad);
    font-size: 0.74rem;
    line-height: 1.6;
  }

  /* 悬浮按钮：交给底部操作栏，避免右下角堆叠遮挡内容 */
  .back-top,
  .online-service { display: none !important; }

  /* ==========================================================
     17. 底部固定操作栏
     ========================================================== */
  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 96;
    display: flex;
    align-items: stretch;
    height: calc(var(--m-bar-h) + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(11, 26, 46, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-subtle);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.45);
  }
  .mobile-bar__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    color: var(--text-secondary);
    font-size: 0.68rem;
    line-height: 1;
    letter-spacing: 0.02em;
    -webkit-tap-highlight-color: transparent;
    transition: color var(--duration-fast) var(--ease-out);
  }
  .mobile-bar__item i { font-size: 1.05rem; color: var(--steel-light); }
  .mobile-bar__item:active { color: var(--accent); }
  .mobile-bar__item:active i { color: var(--accent); }

  /* 主行动：立即询价 */
  .mobile-bar__item--primary {
    background: var(--accent);
    color: #fff;
    font-weight: 700;
  }
  .mobile-bar__item--primary i { color: #fff; }
  .mobile-bar__item--primary:active { background: var(--accent-hover); color: #fff; }
  .mobile-bar__item--primary:active i { color: #fff; }

  /* 相邻项分隔线 */
  .mobile-bar__item + .mobile-bar__item { border-left: 1px solid var(--border-subtle); }
  .mobile-bar__item--primary + .mobile-bar__item,
  .mobile-bar__item + .mobile-bar__item--primary { border-left: none; }
}

/* ============================================================
   小屏手机 (≤480px) —— 进一步压缩
   ============================================================ */
@media (max-width: 480px) {
  :root {
    --section-py: 36px;
    --m-img: 96px;
    --m-img-sm: 80px;
    --m-pad: 14px;
  }

  .hero { min-height: 430px; }
  .hero__title { font-size: 1.5rem; }
  .hero__subtitle { font-size: 0.82rem; }

  .section-title { font-size: 1.2rem; }

  .product-card__image { width: 100px; flex-basis: 100px; }
  .product-card__specs { gap: 2px 10px; }

  .stat-item__number { font-size: 1.42rem; }
  .stat-item__label { font-size: 0.68rem; }

  .case-card__title,
  .workshop-card__title { font-size: 0.78rem; }

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


/* Motion reduce */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
