/* ==========================================================================
   重庆市艾莫特汽车部件有限公司 - 官网样式
   华为数字能源风格：纯黑 / 纯白 / 华为红，极简高端科技感
   ========================================================================== */

/* ---------- 设计变量 ---------- */
:root {
  /* 主题色 */
  --color-primary: #000000;          /* 纯黑 - 主色 */
  --color-primary-light: #1a1a1a;    /* 亮黑 */
  --color-primary-dark: #000000;     /* 暗黑 */
  --color-accent: #C7000B;           /* 华为红 - 强调色 */
  --color-accent-light: #e6001a;     /* 亮红 */
  --color-accent-dark: #990009;      /* 暗红 */

  /* 中性色 */
  --color-bg: #ffffff;
  --color-bg-alt: #f5f5f5;           /* 浅灰背景 */
  --color-bg-dark: #000000;
  --color-border: #e8e8e8;
  --color-border-dark: #1a1a1a;
  --color-text: #111111;             /* 主文字 */
  --color-text-secondary: #555555;   /* 次文字 */
  --color-text-light: #888888;       /* 弱文字 */
  --color-text-inverse: #ffffff;

  /* 字体 - 细体现代风格 */
  --font-display: "Manrope", "Helvetica Neue", "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --font-base: "Manrope", "Helvetica Neue", "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;

  /* 间距 */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 80px;
  --space-2xl: 120px;

  /* 容器 */
  --container-max: 1280px;

  /* 圆角 - 华为风格以直角为主 */
  --radius-sm: 0px;
  --radius-md: 2px;
  --radius-lg: 2px;

  /* 阴影 - 极简，几乎不用 */
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.08);

  /* 过渡 */
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 基础重置 ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-base);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul, ol {
  list-style: none;
}

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

/* ---------- 通用容器 ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid transparent;
}

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

.btn-primary:hover {
  background: var(--color-accent-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-dark {
  background: #000;
  color: #fff;
}

.btn-dark:hover {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: #000;
}

.btn-light:hover {
  background: var(--color-accent);
  color: #fff;
}

/* ---------- 板块标题 ---------- */
.section {
  padding: var(--space-2xl) 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 80px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}

.section-header .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 200;
  color: #000;
  margin-bottom: 24px;
  letter-spacing: 1px;
  line-height: 1.2;
}

.section-header h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-accent);
  margin: 24px auto 0;
}

.section-header p {
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.8;
  font-weight: 300;
}

/* ---------- 顶部导航 ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: #fff;
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid var(--color-border);
}

.navbar.scrolled {
  height: 60px;
  background: #fff;
  box-shadow: 0 1px 0 var(--color-border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0;
  color: #000;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 1px;
}

.navbar-brand .brand-logo {
  height: 40px;
  width: auto;
  display: block;
  transition: var(--transition);
}

.navbar.scrolled .navbar-brand .brand-logo {
  height: 34px;
}

.navbar-brand .brand-logo.logo-color {
  display: none;
}

.footer-brand .navbar-brand .brand-logo {
  height: 36px;
}

.navbar-brand .logo-mark {
  display: none;
}

.navbar-brand .brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
  transition: var(--transition);
}

.navbar-brand .brand-am {
  font-family: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #000;
  letter-spacing: 3px;
  line-height: 1;
}

.navbar-brand .brand-sub {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #666;
  letter-spacing: 2px;
  margin-top: 5px;
}

.navbar.scrolled .navbar-brand .brand-am {
  font-size: 22px;
}

.navbar.scrolled .navbar-brand .brand-sub {
  font-size: 11px;
  margin-top: 4px;
}

.footer-brand .navbar-brand .brand-am {
  font-size: 24px;
  color: #fff;
}

.footer-brand .navbar-brand .brand-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

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

.navbar-nav a {
  color: #111;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 400;
  position: relative;
  letter-spacing: 1px;
}

.navbar-nav a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.navbar-nav a:hover {
  color: #000;
  background: transparent;
}

.navbar-nav a:hover::after,
.navbar-nav a.active::after {
  width: 22px;
}

.navbar-nav a.active {
  color: #000;
  background: transparent;
}

.navbar-cta {
  margin-left: 16px;
  padding: 12px 26px;
  background: #000;
  color: #fff !important;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
}

.navbar-cta::after {
  display: none;
}

.navbar-cta:hover {
  background: var(--color-accent);
  color: #fff !important;
}

.navbar-toggle {
  display: none;
  width: 40px;
  height: 40px;
  color: #000;
  font-size: 24px;
}

/* ---------- Hero 区 ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
  background: #000;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.55) 50%, rgba(0, 0, 0, 0.3) 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-content {
  color: #fff;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--color-accent);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 200;
  line-height: 1.1;
  letter-spacing: 2px;
  margin-bottom: 32px;
  color: #fff;
}

.hero h1 .accent {
  color: #fff;
  position: relative;
  display: inline-block;
  font-weight: 300;
}

.hero h1 .accent::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-accent);
}

.hero-subtitle {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 560px;
  font-weight: 300;
}

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

/* Hero 产品图浮动卡片 */
.hero-product {
  position: relative;
  justify-self: end;
}

.hero-product img {
  width: 100%;
  max-width: 420px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.3);
}

.hero-product-label {
  position: absolute;
  left: -1px;
  bottom: -1px;
  background: var(--color-accent);
  color: #fff;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ---------- 数据统计板块 ---------- */
.stats-section {
  background: #000;
  padding: 100px 0;
  position: relative;
}

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

.stat-item {
  text-align: center;
  color: #fff;
  padding: 20px 32px;
  position: relative;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 200;
  color: #fff;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.stat-num small {
  font-size: 28px;
  font-weight: 300;
  color: var(--color-accent);
  margin-left: 4px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 400;
}

/* ---------- 公司简介 ---------- */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about-preview-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.about-preview-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.about-preview-visual:hover img {
  transform: scale(1.04);
}

.about-preview-visual::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 55%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.about-preview-visual .year-badge {
  position: absolute;
  bottom: 32px;
  left: 32px;
  z-index: 2;
  color: #fff;
}

.about-preview-visual .year-badge .year {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 200;
  line-height: 1;
  color: #fff;
  letter-spacing: 2px;
}

.about-preview-visual .year-badge .text {
  font-size: 12px;
  letter-spacing: 3px;
  opacity: 0.8;
  text-transform: uppercase;
  margin-top: 8px;
}

.about-preview-content .subtitle {
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.about-preview-content h2 {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 200;
  color: #000;
  margin-bottom: 8px;
  letter-spacing: 1px;
  line-height: 1.25;
}

.about-preview-content p {
  color: var(--color-text-secondary);
  margin-bottom: 18px;
  line-height: 1.95;
  font-weight: 300;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 36px 0 40px;
  padding: 32px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.about-feature .icon {
  width: 40px;
  height: 40px;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.about-feature .text strong {
  display: block;
  color: #000;
  font-size: 14px;
  margin-bottom: 4px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.about-feature .text span {
  font-size: 12px;
  color: var(--color-text-secondary);
  letter-spacing: 0.5px;
}

/* ---------- 产品卡片 ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

.product-card {
  background: #fff;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  background: #000;
  color: #fff;
}

.product-card-image {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--color-bg-alt);
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.06);
}

.product-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 12px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.product-card-body {
  padding: 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-body h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  color: inherit;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.product-card:hover .product-card-body h3 {
  color: #fff;
}

.product-card-body p {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
  flex: 1;
  font-weight: 300;
}

.product-card:hover .product-card-body p {
  color: rgba(255, 255, 255, 0.7);
}

.product-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.product-card-link::after {
  content: "→";
  transition: var(--transition);
}

.product-card:hover .product-card-link {
  color: #fff;
}

.product-card:hover .product-card-link::after {
  transform: translateX(6px);
}

/* ---------- 合作伙伴 ---------- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.partner-card {
  background: #fff;
  padding: 48px 24px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--color-border);
}

.partner-card:hover {
  border-color: #000;
  transform: translateY(-4px);
}

.partner-card .partner-image {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
}

.partner-card .partner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partner-card h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: #000;
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.partner-card span {
  font-size: 11px;
  color: var(--color-text-light);
  letter-spacing: 2px;
}

/* ---------- 工厂实景 ---------- */
.factory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #000;
}

.factory-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  background: #000;
}

.factory-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease, opacity 0.4s ease;
  opacity: 0.85;
}

.factory-card:hover img {
  transform: scale(1.08);
  opacity: 1;
}

.factory-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px 20px 18px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  color: #fff;
  transform: translateY(0);
  opacity: 1;
  transition: var(--transition);
}

.factory-card:hover .factory-card-overlay {
  padding-bottom: 24px;
}

.factory-card-overlay h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.factory-card-overlay span {
  font-size: 10px;
  opacity: 0.7;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ---------- 新闻卡片 ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.news-card {
  background: #fff;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  border-color: #000;
  transform: translateY(-4px);
}

.news-card-image {
  aspect-ratio: 16/9;
  background: var(--color-bg-alt);
  overflow: hidden;
  position: relative;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.news-card:hover .news-card-image img {
  transform: scale(1.06);
}

.news-card-date {
  position: absolute;
  top: 0;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
}

.news-card-body {
  padding: 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.news-card-body h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: #000;
  margin-bottom: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-body p {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: 18px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 300;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--color-text-light);
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
  letter-spacing: 0.5px;
}

/* ---------- CTA 区域 ---------- */
.cta-section {
  background: var(--color-accent);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-section .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 200;
  margin-bottom: 16px;
  letter-spacing: 1px;
  line-height: 1.2;
  color: #fff;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  max-width: 560px;
  font-weight: 300;
}

.cta-section .btn-primary {
  background: #000;
  color: #fff;
}

.cta-section .btn-primary:hover {
  background: #fff;
  color: #000;
}

/* ---------- 联系信息 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-bottom: 40px;
  background: var(--color-border);
}

.contact-info-item {
  display: flex;
  gap: 20px;
  padding: 28px 24px;
  background: #fff;
  border-left: 3px solid var(--color-accent);
}

.contact-info-item .icon {
  width: 44px;
  height: 44px;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-info-item .info-label {
  font-size: 11px;
  color: var(--color-text-light);
  letter-spacing: 2px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.contact-info-item .info-value {
  font-size: 15px;
  color: #000;
  font-weight: 500;
}

/* ---------- 表单 ---------- */
.contact-form {
  background: #fff;
  padding: 48px;
  border: 1px solid var(--color-border);
}

.contact-form h3 {
  font-family: var(--font-display);
  font-size: 26px;
  color: #000;
  margin-bottom: 8px;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.contact-form .form-subtitle {
  color: var(--color-text-secondary);
  font-size: 14px;
  margin-bottom: 36px;
  font-weight: 300;
}

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

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

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #000;
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.form-group label .required {
  color: var(--color-accent);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  font-size: 14px;
  font-family: inherit;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: #000;
  background: #fff;
}

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

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 14px;
  margin-top: 8px;
}

.form-message {
  margin-top: 20px;
  padding: 14px 18px;
  font-size: 14px;
  display: none;
  letter-spacing: 0.5px;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.08);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.3);
  display: block;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.08);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.3);
  display: block;
}

/* ---------- 页脚 ---------- */
.footer {
  background: #000;
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand .navbar-brand {
  margin-bottom: 24px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.85;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 300;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-social a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.footer-col h4 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 14px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: var(--color-accent);
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.5px;
}

.footer-col ul li a:hover {
  color: #fff;
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 14px;
  line-height: 1.7;
}

.footer-contact-item .icon {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.5px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a:hover {
  color: var(--color-accent);
}

/* ---------- 弹窗 ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal {
  background: #fff;
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
}

.modal-overlay.active .modal {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #000;
  z-index: 5;
  cursor: pointer;
  border: 1px solid var(--color-border);
}

.modal-close:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  max-height: 90vh;
}

/* ---------- 弹窗：多图画廊 ---------- */
.modal-gallery {
  display: flex;
  flex-direction: column;
  background: #000;
  overflow: hidden;
}

.gallery-main {
  flex: 1;
  min-height: 320px;
  background: #000;
  overflow: hidden;
  position: relative;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  transition: opacity 0.3s;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.gallery-thumb {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.gallery-thumb:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.gallery-thumb.active {
  border-color: var(--color-accent);
}

.modal-content {
  padding: 40px;
  overflow-y: auto;
}

.modal-content .tag {
  display: inline-block;
  padding: 5px 12px;
  background: #000;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.modal-content h2 {
  font-family: var(--font-display);
  font-size: 26px;
  color: #000;
  margin-bottom: 16px;
  line-height: 1.3;
  font-weight: 300;
}

.modal-content .modal-desc {
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  line-height: 1.85;
  font-size: 14px;
  font-weight: 300;
}

/* ---------- 弹窗：通用区块标题 ---------- */
.modal-specs h4,
.modal-features h4,
.modal-badges h4 {
  font-family: var(--font-display);
  font-size: 12px;
  color: #000;
  margin-bottom: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  padding-left: 14px;
}

.modal-specs h4::before,
.modal-features h4::before,
.modal-badges h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 14px;
  background: var(--color-accent);
}

/* ---------- 弹窗：技术参数表 ---------- */
.modal-specs {
  background: var(--color-bg-alt);
  padding: 20px 24px;
  margin-bottom: 24px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

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

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table td {
  padding: 11px 0;
  font-size: 13px;
  vertical-align: top;
}

.specs-table .specs-label {
  color: var(--color-text-light);
  width: 38%;
  font-weight: 400;
  white-space: nowrap;
  padding-right: 12px;
  letter-spacing: 0.5px;
}

.specs-table .specs-value {
  color: #000;
  font-weight: 500;
}

/* ---------- 弹窗：产品特点 ---------- */
.modal-features {
  margin-bottom: 24px;
}

.modal-features ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.modal-features ul li {
  font-size: 13px;
  color: var(--color-text-secondary);
  padding-left: 22px;
  position: relative;
  line-height: 1.7;
}

.modal-features ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 14px;
}

/* ---------- 弹窗：徽章列表（适配车型） ---------- */
.modal-badges {
  margin-bottom: 24px;
}

.badges-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: #fff;
  color: #000;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  border: 1px solid var(--color-border);
}

.badge::before {
  content: "●";
  margin-right: 6px;
  color: var(--color-accent);
  font-size: 7px;
}

/* ---------- 弹窗：专利与认证 ---------- */
.modal-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
  padding: 20px 24px;
  background: var(--color-bg-alt);
}

.meta-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.meta-label {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1.5px;
  padding: 5px 12px;
  background: #000;
  min-width: 60px;
  text-align: center;
  text-transform: uppercase;
}

.meta-values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-values .badge {
  background: #fff;
  border: 1px solid var(--color-border);
  font-family: "Consolas", "Microsoft YaHei", monospace;
  font-size: 11px;
}

/* ---------- 弹窗：咨询按钮 ---------- */
.modal-cta {
  width: 100%;
  margin-top: 4px;
}

/* ---------- 页面横幅 ---------- */
.page-banner {
  padding: 160px 0 80px;
  background: #000;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.page-banner::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(199, 0, 11, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

.page-banner h1 {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 200;
  letter-spacing: 2px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.page-banner h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--color-accent);
  margin-top: 24px;
}

.page-banner .breadcrumb {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1px;
}

.page-banner .breadcrumb a:hover {
  color: var(--color-accent);
}

.page-banner .breadcrumb .sep {
  margin: 0 10px;
  opacity: 0.4;
}

/* ---------- 公司详细页 ---------- */
.about-detail-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}

.about-detail-section:nth-child(even) .about-detail-visual {
  order: -1;
}

.about-detail-content h3 {
  font-family: var(--font-display);
  font-size: 30px;
  color: #000;
  margin-bottom: 20px;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.about-detail-content .eyebrow {
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.about-detail-content p {
  color: var(--color-text-secondary);
  margin-bottom: 16px;
  line-height: 1.95;
  font-weight: 300;
}

.about-detail-visual {
  overflow: hidden;
  aspect-ratio: 4/3;
}

.about-detail-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.about-detail-visual:hover img {
  transform: scale(1.04);
}

/* ---------- 时间轴 ---------- */
.timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  background: var(--color-border);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  padding: 0 48px 60px;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--color-accent);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--color-accent);
}

.timeline-item:nth-child(odd)::before {
  right: -6px;
}

.timeline-item:nth-child(even)::before {
  left: -6px;
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 300;
  color: var(--color-accent);
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.timeline-item h4 {
  font-family: var(--font-display);
  font-size: 17px;
  color: #000;
  margin-bottom: 8px;
  font-weight: 500;
}

.timeline-item p {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.8;
  font-weight: 300;
}

/* ---------- 完整工厂实景 ---------- */
.factory-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #000;
}

.factory-full-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/2;
  cursor: pointer;
  background: #000;
}

.factory-full-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  opacity: 0.9;
}

.factory-full-card:hover img {
  transform: scale(1.06);
  opacity: 1;
}

.factory-full-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.9));
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: #fff;
}

.factory-full-card-overlay h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 4px;
}

.factory-full-card-overlay span {
  font-size: 11px;
  opacity: 0.7;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ---------- 滚动条样式 ---------- */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-alt);
}

::-webkit-scrollbar-thumb {
  background: #000;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* ---------- 滚动显现动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   响应式 - 平板
   ========================================================================== */
@media (max-width: 992px) {
  :root {
    --space-2xl: 80px;
    --space-xl: 60px;
  }

  .container { padding: 0 24px; }

  .section-header h2 { font-size: 34px; }
  .section-header { margin-bottom: 56px; }

  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 50px; }
  .hero-product { display: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,0.12); }
  .stat-item { border-right: none; padding: 32px 20px; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.12); }
  .stat-num { font-size: 48px; }

  .about-preview { grid-template-columns: 1fr; gap: 48px; }
  .about-preview-content h2 { font-size: 30px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .factory-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about-detail-section { grid-template-columns: 1fr; gap: 40px; }
  .about-detail-section:nth-child(even) .about-detail-visual { order: 0; }
  .about-detail-content h3 { font-size: 26px; }

  .cta-content h2 { font-size: 30px; }

  .modal-body { grid-template-columns: 1fr; max-height: 88vh; }
  .modal-gallery { max-height: 40vh; }
  .gallery-main { min-height: 240px; }
  .modal-content { padding: 28px; }
  .modal-features ul { grid-template-columns: 1fr; }

  .contact-form { padding: 32px; }
  .page-banner { padding: 140px 0 60px; }
  .page-banner h1 { font-size: 36px; }
}

/* ==========================================================================
   响应式 - 移动端
   ========================================================================== */
@media (max-width: 768px) {
  :root {
    --space-2xl: 64px;
    --space-xl: 48px;
  }

  .container { padding: 0 20px; }

  .section-header h2 { font-size: 28px; }
  .section-header { margin-bottom: 40px; }

  .hero { padding-top: 72px; min-height: auto; padding-bottom: 64px; }
  .hero h1 { font-size: 38px; letter-spacing: 1px; }
  .hero-subtitle { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-eyebrow { font-size: 11px; letter-spacing: 2px; }

  .stats-section { padding: 64px 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.12); padding: 28px 16px; }
  .stat-item:last-child { border-bottom: none; }
  .stat-num { font-size: 42px; }

  .navbar-nav {
    position: fixed;
    top: 72px;
    right: -100%;
    width: 82%;
    max-width: 340px;
    height: calc(100vh - 72px);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 0;
    transition: right 0.3s;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    border-left: 1px solid var(--color-border);
  }

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

  .navbar-nav a {
    padding: 16px 12px;
    border-bottom: 1px solid var(--color-border);
    font-size: 15px;
  }

  .navbar-nav a::after { display: none; }

  .navbar-cta {
    margin: 16px 0 0;
    text-align: center;
  }

  .navbar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .product-grid,
  .partners-grid,
  .factory-grid,
  .news-grid,
  .factory-full-grid {
    grid-template-columns: 1fr;
  }

  .about-preview-content h2 { font-size: 26px; }
  .about-features { grid-template-columns: 1fr; gap: 16px; padding: 24px 0; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .modal { max-width: 100%; }
  .modal-content { padding: 22px; }
  .modal-features ul { grid-template-columns: 1fr; }
  .gallery-thumb { width: 56px; height: 56px; }
  .specs-table .specs-label { white-space: normal; }

  .cta-section .container {
    flex-direction: column;
    text-align: left;
    align-items: stretch;
  }

  .cta-content h2 { font-size: 26px; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer { padding-top: 64px; }
  .page-banner { padding: 130px 0 50px; }
  .page-banner h1 { font-size: 28px; }

  .timeline::before { left: 6px; }
  .timeline-item { width: 100%; padding: 0 0 40px 32px; text-align: left; }
  .timeline-item:nth-child(even) { left: 0; }
  .timeline-item:nth-child(even)::before,
  .timeline-item:nth-child(odd)::before {
    left: 0;
    right: auto;
  }
}
