/* 大连第一互感器集团官网重构样式（国网蓝·稳重权威方案） */
:root {
  /* 主色系统 */
  --primary: #004E98;
  --primary-dark: #003366;
  --primary-light: #0066B3;

  /* 金属灰与强调色 */
  --metal-dark: #374151;
  --metal-mid: #6B7280;
  --metal-light: #9CA3AF;
  --accent: #B8860B;
  --accent-light: #DAA520;

  /* 背景色系 */
  --bg-white: #FFFFFF;
  --bg-off-white: #FAFBFC;
  --bg-light: #F3F4F6;
  --bg-section: #E5E7EB;
  --bg-dark: #004E98;
  --bg-darker: #003366;

  /* 文字与边框 */
  --text-heading: #111827;
  --text-body: #374151;
  --text-secondary: #6B7280;
  --text-light: #FFFFFF;
  --border-light: #E5E7EB;
  --border-dark: #D1D5DB;

  /* 版式与阴影 */
  --container-width: 1200px;
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 12px 32px rgba(0, 78, 152, 0.15);
  --transition: 0.2s ease;
  --spacing-xs: 6px;
  --spacing-sm: 12px;
  --spacing-md: 20px;
  --spacing-lg: 40px;
  --spacing-xl: 88px;
  --border-radius-sm: 0;
  --border-radius-md: 0;
  --font-size-base: 16px;
  --font-size-small: 14px;
  --font-size-medium: 18px;
  --font-size-large: 22px;

  /* 兼容旧变量 */
  --color-primary: var(--primary);
  --color-secondary: rgba(184, 134, 11, 0.12);
  --color-accent: var(--accent);
  --color-text-dark: var(--text-body);
  --color-text-light: var(--text-light);
  --color-background-main: var(--bg-off-white);
  --color-background-light: var(--bg-white);
  --color-border: var(--border-light);
  --shadow-light: var(--shadow-soft);
  --shadow-deep: var(--shadow-card);
  --font-family-main: "Inter", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family-main);
  color: var(--text-body);
  background: var(--bg-off-white);
  line-height: 1.7;
  padding-top: 0;
}

body.home {
  padding-top: 0;
}

img {
  display: block;
  width: 100%;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition);
}

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

ul {
  list-style: none;
}

[id] {
  scroll-margin-top: 120px;
}

h1,
h2,
h3,
h4 {
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
}

p {
  margin-bottom: 16px;
  color: var(--text-body);
}

.container {
  width: 92%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.section-header {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.section-header.centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-intro {
  flex: 1;
}

.section-kicker {
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--metal-mid);
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 48px;
  height: 3px;
  background: var(--primary);
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: 20px;
}

.section-link {
  color: var(--primary);
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: gap var(--transition);
}

.section-link:hover {
  gap: 10px;
}

.content-section {
  padding: 96px 0;
  background: var(--bg-white);
}

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

/* 顶部导航 */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
}

.utility-bar {
  background: var(--bg-darker);
  color: #FFFFFF;
  font-size: 13px;
  padding: 8px 0;
}

.utility-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.utility-left,
.utility-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.utility-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.9;
}

.utility-badge {
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 10px;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.utility-link {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
}

.nav-bar {
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 94%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 82px;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo a {
  color: var(--primary-dark);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
}

.logo-sub {
  color: var(--metal-mid);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  flex-wrap: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-item {
  position: relative;
  flex: 0 0 auto;
}

.nav-link {
  color: var(--text-heading);
  font-size: 14px;
  font-weight: 600;
  padding: 20px 0;
  display: inline-block;
  position: relative;
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 14px;
  height: 2px;
  width: 0;
  background: var(--primary);
  transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -12px;
  min-width: 200px;
  background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s;
  border-left: 4px solid transparent;
  z-index: 20;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item a {
  display: block;
  padding: 12px 20px;
  color: var(--text-body);
  font-size: 14px;
  border-left: 3px solid transparent;
  transition: all var(--transition);
}

.dropdown-item a:hover,
.dropdown-item a:focus {
  background: var(--bg-light);
  color: var(--primary);
  border-left-color: var(--primary);
}

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

.nav-hotline {
  font-weight: 700;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.nav-search {
  position: relative;
}

.nav-search input {
  width: 200px;
  padding: 10px 36px 10px 12px;
  border: 1px solid var(--border-light);
  background: #FFFFFF;
  color: var(--text-body);
  transition: all var(--transition);
  border-radius: 6px;
}

.nav-search input::placeholder {
  color: var(--metal-mid);
}

.nav-search input:focus {
  outline: 2px solid rgba(0, 78, 152, 0.2);
}

.nav-search button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
}

.nav-lang {
  padding: 10px 14px;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
  transition: all var(--transition);
  border-radius: 4px;
}

.nav-lang:hover {
  background: var(--primary);
  color: #FFFFFF;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  font-size: 15px;
}

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

.btn-primary:hover {
  background: #F3F4F6;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.btn-outline:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
}

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

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

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #FFFFFF;
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-outline-light:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  max-height: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-foreground {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 10px 0 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s;
}

.hero-slide.active {
  opacity: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 78, 152, 0.72);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #FFFFFF;
  max-width: 900px;
  padding: 0 40px;
}

.hero-kicker {
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 16px;
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 6px;
  line-height: 1.2;
  color: #FFFFFF;
  text-align: left;
}

.hero-divider {
  width: 80px;
  height: 3px;
  background: var(--accent);
  margin: 28px auto;
}

.hero-subtitle {
  font-size: 22px;
  font-weight: 400;
  opacity: 0.92;
  margin-bottom: 48px;
  letter-spacing: 2px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.hero-indicators {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.indicator {
  width: 40px;
  height: 3px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s;
}

.indicator.active {
  width: 60px;
  background: #FFFFFF;
}

.hero-shell {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 92%;
  margin: 0 auto;
  padding: 0 12px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
  color: #FFFFFF;
}

.hero-lead {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 24px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.selector-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  padding: 24px;
  border-left: 4px solid var(--primary);
}

.selector-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.selector-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-heading);
}

.selector-desc {
  font-size: 14px;
  color: var(--metal-mid);
  margin-bottom: 12px;
}

.selector-form {
  display: grid;
  gap: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  color: var(--metal-mid);
}

.form-group select,
.form-group input {
  padding: 12px 12px;
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  border-radius: 6px;
  font-size: 14px;
  color: var(--text-body);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group select:focus,
.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 78, 152, 0.15);
}

.selector-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-ghost {
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  background: #FFFFFF;
  color: var(--text-heading);
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
}

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

.selector-results {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.selector-result {
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  padding: 14px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.selector-result h4 {
  margin: 0;
  font-size: 16px;
  color: var(--text-heading);
}

.selector-result .meta {
  font-size: 13px;
  color: var(--metal-mid);
}

.selector-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 8px;
}

.selector-tag {
  background: var(--bg-light);
  color: var(--metal-dark);
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 4px;
}

.selector-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.selector-links a {
  font-size: 13px;
  font-weight: 600;
}

/* 核心数据 */
.stats-section {
  background: linear-gradient(120deg, rgba(0, 78, 152, 0.08), rgba(0, 78, 152, 0.02));
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 24%, rgba(0, 78, 152, 0.14), transparent 32%),
    radial-gradient(circle at 80% 70%, rgba(184, 134, 11, 0.12), transparent 30%);
  pointer-events: none;
}

.stats-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(360px, 1fr);
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.stats-section .section-header {
  margin: 0;
  padding: 0;
  display: block;
}

.stats-section .section-title::after {
  background: var(--primary);
}

.stats-section .section-desc {
  margin-top: 24px;
}

.stats-grid {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 18px;
}

.stat-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 78, 152, 0.12);
  padding: 22px 20px 22px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.stat-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--primary), var(--primary-light));
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(0, 78, 152, 0.24);
}

.stat-number {
  font-family: "DIN Pro", "Helvetica Neue", Arial, sans-serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0;
}

.stat-label {
  font-size: 15px;
  color: var(--metal-mid);
  letter-spacing: 1px;
}

/* 产品中心 */
.products-section {
  padding: 100px 0;
  background: #FFFFFF;
}

.products-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}

.product-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  background: var(--primary);
  transition: height 0.25s;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: var(--primary);
}

.product-card:hover::after {
  height: 4px;
}

.product-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #FAFBFC;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-bottom: 1px solid var(--border-light);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.product-spec {
  font-size: 14px;
  color: var(--metal-mid);
  margin-bottom: 4px;
  flex: 1;
}

.product-link {
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
  margin-top: auto;
}

.product-link:hover {
  gap: 8px;
}

.product-filter-panel {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 18px;
}

.product-filter-panel h3 {
  margin-bottom: 12px;
}

.product-filter-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.product-filter-panel label {
  display: block;
  font-size: 13px;
  color: var(--metal-mid);
  margin-bottom: 6px;
}

.product-filter-panel select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  background: #FFFFFF;
  font-size: 14px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.catalog-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
}

.catalog-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-heading);
}

.catalog-meta {
  color: var(--metal-mid);
  font-size: 13px;
}

.catalog-desc {
  font-size: 14px;
  color: var(--text-body);
}

.catalog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.catalog-actions {
  margin-top: auto;
}

/* 工程案例 */
.cases-section {
  background: var(--bg-dark);
  padding: 100px 0;
  color: #FFFFFF;
}

.cases-section .section-title {
  color: #FFFFFF;
}

.cases-section .section-title::after {
  background: var(--accent);
}

.cases-section .section-desc {
  color: rgba(255, 255, 255, 0.8);
}

.cases-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 60px;
}

.cases-map {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.cases-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.case-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
}

.case-chip.active {
  background: var(--accent);
  border-color: var(--accent);
}

.cases-map-real {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 16 / 9;
}

.cases-map-real img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.05) brightness(0.9);
  display: block;
}

.cases-map-real .map-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity var(--transition);
}

.cases-map-real .map-fallback-outline {
  fill: rgba(255, 255, 255, 0.18);
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 1.5;
}

.cases-map-real.map-fallback-active img {
  display: none;
}

.cases-map-real.map-fallback-active .map-fallback {
  opacity: 0.45;
}

.cases-map-real.map-fallback-active .map-credit {
  display: none;
}

.map-marker-dot {
  width: 12px;
  height: 12px;
  background: var(--accent);
  position: absolute;
  cursor: pointer;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition), box-shadow var(--transition);
  z-index: 2;
}

.map-marker-dot:hover,
.map-marker-dot.active {
  transform: scale(1.2);
  box-shadow: 0 0 0 4px rgba(184, 134, 11, 0.35);
}

.map-credit {
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.35);
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 1;
}

.cases-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.case-detail {
  margin-top: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
}

.case-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.case-tag {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  padding: 6px 10px;
  border-radius: 14px;
  font-size: 12px;
}

.case-detail h4 {
  color: #FFFFFF;
  margin-bottom: 4px;
}

.case-detail p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.case-meta {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  margin-top: 6px;
}

.case-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-list-item {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all var(--transition);
}

.case-list-item:hover,
.case-list-item.active {
  border-color: var(--accent);
  background: rgba(184, 134, 11, 0.08);
}

.case-list-title {
  color: #FFFFFF;
  font-weight: 700;
  margin-bottom: 6px;
}

.case-list-meta {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  margin-bottom: 6px;
}

.case-list-desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.cases-cta {
  margin-top: 32px;
}

/* 解决方案架构 */
.solution-section {
  background: #FFFFFF;
  padding: 96px 0;
}

.architecture-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: start;
}

.architecture-diagram {
  background: var(--bg-off-white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  padding: 20px;
}

.architecture-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.flow-block {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 14px;
  position: relative;
  min-height: 120px;
  box-shadow: var(--shadow-soft);
}

.flow-title {
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.architecture-image img {
  width: 100%;
  height: auto;
  margin-top: 16px;
  border: 1px solid var(--border-light);
}

.architecture-notes {
  display: grid;
  gap: 16px;
}

.note-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.note-card h4 {
  margin-bottom: 12px;
}

.note-card ul {
  padding-left: 18px;
  color: var(--text-body);
}

/* 技术研发 */
.tech-section {
  background: var(--bg-off-white);
  padding: 100px 0;
}

.tech-row {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 60px;
}

.tech-row:last-child {
  margin-bottom: 0;
}

.tech-row.reverse {
  direction: rtl;
}

.tech-row.reverse > * {
  direction: ltr;
}

.tech-image {
  position: relative;
  overflow: hidden;
}

.tech-image img {
  width: 100%;
  height: auto;
  display: block;
}

.tech-content {
  padding-left: 24px;
  border-left: 4px solid var(--primary);
}

.tech-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 24px;
}

.tech-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.tech-list li {
  padding: 10px 0;
  font-size: 16px;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 12px;
}

.tech-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--primary);
}

.tech-link {
  color: var(--primary);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}

.tech-link:hover {
  gap: 10px;
}

/* 新闻 */
.news-section {
  background: #FFFFFF;
  padding: 104px 0;
}

.news-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
}

.news-feature {
  border: 1px solid var(--border-light);
  background: #FFFFFF;
  box-shadow: var(--shadow-soft);
}

.news-feature img {
  height: 260px;
  object-fit: cover;
  background: #f7fafc;
}

.news-feature .news-body {
  padding: 20px;
}

.news-meta {
  color: var(--metal-mid);
  font-size: 14px;
  margin-bottom: 10px;
}

.news-title {
  font-size: 20px;
  margin-bottom: 10px;
}

.news-excerpt {
  color: var(--text-body);
}

.news-list {
  border: 1px solid var(--border-light);
  background: #FFFFFF;
  box-shadow: var(--shadow-soft);
}

.news-item {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-light);
}

.news-item:last-child {
  border-bottom: none;
}

.news-item a {
  color: var(--text-heading);
  font-weight: 600;
}

.news-item a:hover {
  color: var(--primary);
}

/* 合作伙伴 */
.partners-section {
  background: var(--bg-light);
  padding: 80px 0;
}

.partners-section .section-header {
  text-align: center;
  display: block;
  margin-bottom: 48px;
}

.partners-section .section-title {
  text-align: center;
}

.partners-section .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.partners-section .section-desc {
  text-align: center;
  margin-top: 20px;
}

.partners-marquee {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  overflow: hidden;
  position: relative;
}

.partners-marquee::before,
.partners-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  pointer-events: none;
  background: linear-gradient(to right, var(--bg-light), transparent);
  z-index: 2;
}

.partners-marquee::after {
  right: 0;
  transform: rotate(180deg);
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: partners-scroll 26s linear infinite;
}

.partners-track:hover {
  animation-play-state: paused;
}

.partners-row {
  display: flex;
  align-items: center;
  gap: 28px;
}

.partners-marquee .partner-item {
  flex: 0 0 auto;
  width: 150px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
  background: #FFFFFF;
  padding: 12px;
  box-shadow: var(--shadow-soft);
}

.partners-marquee .partner-item span {
  color: var(--metal-mid);
  font-weight: 700;
  letter-spacing: 0.5px;
}

@keyframes partners-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .partners-track {
    animation: none;
  }
}

/* 页脚 */
.footer {
  background: var(--bg-darker);
  color: #FFFFFF;
  padding: 80px 0 0;
}

.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  padding-right: 40px;
}

.footer-logo img {
  height: 40px;
  filter: brightness(0) invert(1);
}

.footer-desc {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
}

.footer-contact p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 24px;
  color: #FFFFFF;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 60px;
  padding: 24px 0;
}

.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #FFFFFF;
}

/* 子页面布局 */
.page-header {
  position: relative;
  padding: 120px 0 80px;
  background: var(--primary-dark);
  background-image: url("../images/company_hq_exterior_1.png");
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 78, 152, 0.78);
}

.page-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 140px;
  height: 4px;
  background: var(--accent);
}

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

.page-hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
}

.page-eyebrow {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

.page-header h1 {
  color: #FFFFFF;
  margin-bottom: 12px;
}

.page-subtitle {
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 16px;
}

.page-hero-meta {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 18px;
  display: grid;
  gap: 12px;
}

.meta-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 8px;
  align-items: center;
}

.meta-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.meta-value {
  color: #FFFFFF;
  font-weight: 600;
}

.sidebar-layout {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 28px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 120px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.sidebar h3 {
  margin-bottom: 12px;
  color: var(--primary);
}

.sidebar-nav li + li {
  margin-top: 6px;
}

.sidebar-nav a {
  display: block;
  padding: 10px 12px;
  color: var(--text-body);
  border-left: 3px solid transparent;
  transition: all var(--transition);
  background: #FFFFFF;
}

.sidebar-nav a:hover,
.sidebar-nav li.active a {
  border-color: var(--primary);
  background: var(--bg-light);
  color: var(--primary);
}

.main-content {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

.main-content img.image-full-width {
  margin: 18px 0;
  border: 1px solid var(--border-light);
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.text-block {
  padding: 22px;
  background: #FFFFFF;
  border-left: 4px solid var(--primary);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
}

.case-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.case-card img {
  height: 200px;
  object-fit: cover;
}

.case-card-content {
  padding: 18px;
}

/* 表格与图库 */
.table-bordered {
  width: 100%;
  border-collapse: collapse;
}

.table-bordered th,
.table-bordered td {
  border: 1px solid var(--border-light);
  padding: 12px;
  text-align: left;
}

.table-bordered th {
  background: var(--primary);
  color: #FFFFFF;
}

.table-bordered tr:nth-child(even) {
  background: var(--bg-off-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.gallery-grid img {
  height: 180px;
  object-fit: cover;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
}

/* 响应式 */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .footer-brand {
    padding-right: 0;
  }
}

@media (max-width: 1024px) {
  .nav-container {
    padding: 0 18px;
  }

  .nav-menu {
    gap: 14px;
  }

  .hero-shell,
  .page-hero {
    grid-template-columns: 1fr;
  }

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

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

  .hero-title {
    font-size: 48px;
  }

  .cases-layout {
    grid-template-columns: 1fr;
  }

  .tech-row,
  .tech-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

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

  .sidebar-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 900px) {
  .nav-actions {
    display: none;
  }

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

  .stats-shell {
    padding: 0 24px;
  }

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

@media (max-width: 640px) {
  .header {
    height: 72px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-title {
    font-size: 36px;
    letter-spacing: 3px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .stats-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .stats-shell {
    padding: 0 18px;
  }

  .partners-row {
    gap: 18px;
  }

  .partners-marquee::before,
  .partners-marquee::after {
    width: 32px;
  }

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

  .footer-bottom-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .meta-item {
    grid-template-columns: 1fr;
  }
}
