﻿/* ============================================================
   Petron Technology Website — Main Stylesheet
   佩特龙科技 | 科技蓝单色体系
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #0F2340;
  --primary-light: #1A3A6B;
  --accent: #1E6FFF;
  --accent-light: #E6F0FF;
  --bg: #F6F8FB;
  --bg-white: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-section: #F1F4F8;
  --bg-hero: #EEF2F8;
  --text: #333333;
  --text-muted: #666666;
  --text-light: #888888;
  --border: #E8ECF2;
  --footer-bg: #1A1F2E;
  --footer-text: #8899A8;
  --shadow-sm: 0 1px 4px rgba(15,35,64,0.04);
  --shadow: 0 2px 12px rgba(15,35,64,0.06);
  --shadow-hover: 0 8px 24px rgba(15,35,64,0.10);
  --radius: 8px;
  --radius-sm: 4px;

  --font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, sans-serif;
  --nav-height: 80px;
  --max-width: 1280px;
  --transition: 0.3s ease;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

/* ---------- Container ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
  font-weight: 700;
  line-height: 1.3;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--primary);
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 48px;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-img {
  display: block;
  height: 42px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.logo-text span {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 2px;
}

/* Menu Toggle (Hamburger) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  height: 42px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-menu a {
  font-size: 15px;
  font-weight: 400;
  color: var(--primary);
  position: relative;
  padding: 4px 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a:hover {
  color: var(--accent);
}

.nav-menu a.active {
  color: var(--accent);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   Hero Section — Full-Width Immersive Banner
   ============================================================ */
.hero {
  position: relative;
  min-height: 600px;
  background: #060E1F; /* 兜底色，与图片边缘色一致 */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

/* 全宽背景图层 */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 蓝色光晕叠加层 — 统一色调 + 左侧文字可读性暗色遮罩 */
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    /* 左侧暗色渐变遮罩 — 提升文字可读性，透明度15% */
    linear-gradient(to right, rgba(4,10,20,0.18) 0%, rgba(4,10,20,0.12) 30%, rgba(4,10,20,0.04) 50%, transparent 70%),
    radial-gradient(ellipse 800px 400px at 50% 30%, rgba(0,150,255,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 600px 300px at 25% 70%, rgba(0,180,255,0.04) 0%, transparent 70%);
}

/* 文字内容层 — 左对齐，右区留给设备图 */
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 50px 20px 60px 300px;
  margin: 0;
  text-align: left;
  /* 垂直居中偏上 */
  margin-top: -30px;
}

/* 文字样式 — 白色高对比 */
.hero-content h1 {
  color: #FFFFFF;
  font-size: 42px;
  font-weight: 700;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  margin-bottom: 20px;
}
.hero-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  margin-bottom: 28px;
}
.hero-stats {
  display: flex;
  justify-content: flex-start;
  gap: 48px;
  margin-bottom: 28px;
}
.hero-stat {
  text-align: left;
}
.hero-stat-num {
  color: #FFFFFF;
  font-size: 36px;
  font-weight: 700;
}
.hero-stat-label {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}
.hero-btns {
  display: flex;
  justify-content: flex-start;
  gap: 14px;
}

/* CTA Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 6px;
  transition: all var(--transition);
  line-height: 1.2;
}

.btn-primary {
  background: #1677FF;
  color: #fff;
}

.btn-primary:hover {
  background: #4096FF;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(22,119,255,0.25);
}

.btn-outline {
  background: transparent;
  color: #1677FF;
  border: 1.5px solid #1677FF;
}

.btn-outline:hover {
  background: rgba(22,119,255,0.06);
  color: #1677FF;
  border-color: #1677FF;
}

/* Hero-specific button overrides — deep blue theme */
.hero .btn-primary {
  background: rgba(0,130,255,0.8);
  color: #FFFFFF;
  border: 1px solid rgba(0,180,255,0.5);
  border-radius: 6px;
  backdrop-filter: blur(10px);
}
.hero .btn-primary:hover {
  background: rgba(0,150,255,0.9);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,180,255,0.25);
}

.hero .btn-outline {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 6px;
}
.hero .btn-outline:hover {
  background: rgba(255,255,255,0.08);
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

/* ============================================================
   Sections — General
   ============================================================ */
section {
  padding: 100px 0;
}

section:nth-child(odd) {
  background: var(--bg-white);
}

section:nth-child(even) {
  background: var(--bg-section);
}

/* ============================================================
   About Section — Refactored: Left-Text / Right-Card
   ============================================================ */
.about-new {
  background: linear-gradient(180deg, #F8FAFD, #F0F4FA);
  padding: 80px 20px;
  position: relative;
}

.about-new::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(30,111,255,0.02) 0px, rgba(30,111,255,0.02) 1px, transparent 1px, transparent 28px),
    repeating-linear-gradient(90deg, rgba(30,111,255,0.02) 0px, rgba(30,111,255,0.02) 1px, transparent 1px, transparent 28px);
}

/* Header */
.about-header {
  text-align: left;
  margin-bottom: 48px;
}

.about-tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #1E6FFF;
  margin-bottom: 8px;
}

.about-main-title {
  font-size: 28px;
  font-weight: 800;
  color: #0F2340;
  line-height: 1.3;
}

/* Dual Column */
.about-dual {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.about-left {
  flex: 1;
  min-width: 0;
}

.about-right {
  flex: 0 0 380px;
  min-width: 0;
}

/* Positioning Statement */
.about-positioning {
  font-size: 18px;
  font-weight: 700;
  color: #0F2340;
  line-height: 1.8;
  padding-left: 16px;
  border-left: 3px solid #1E6FFF;
  margin-bottom: 32px;
}

/* Business Cards */
.about-biz-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.about-biz-card {
  background: #FFFFFF;
  border-left: 4px solid #1E6FFF;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(15,35,64,0.04);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.biz-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #EBF3FF;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.biz-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0F2340;
  margin-bottom: 6px;
  line-height: 1.4;
}

.biz-content p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

/* Service Promises */
.about-promises {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.promise-badge {
  display: inline-block;
  background: #EBF3FF;
  color: #0F2340;
  font-weight: 700;
  font-size: 14px;
  padding: 16px 24px;
  border-radius: 8px;
  white-space: nowrap;
}

.about-supplement {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  margin: 0;
}

/* Right Info Card */
.about-info-card {
  background: #F5F8FC;
  border-left: 3px solid #1E6FFF;
  border-radius: 12px;
  padding: 28px;
}

.about-info-card .info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(30,111,255,0.08);
  gap: 12px;
}

.about-info-card .info-row:last-of-type {
  border-bottom: none;
}

.about-info-card .info-label {
  font-size: 13px;
  color: #888;
  flex-shrink: 0;
  min-width: 64px;
}

.about-info-card .info-value {
  font-size: 14px;
  color: #0F2340;
  font-weight: 500;
  text-align: right;
  line-height: 1.6;
}

/* Tags */
.about-tags {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about-tags span {
  display: inline-block;
  background: #E8F1FF;
  color: #1E6FFF;
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 500;
}

/* Vision */
.about-vision {
  text-align: center;
  margin-top: 52px;
  font-size: 14px;
  color: #7B8FAA;
  line-height: 1.8;
}

/* Responsive */
@media (max-width: 768px) {
  .about-new {
    padding: 60px 20px;
  }

  .about-dual {
    flex-direction: column;
    gap: 36px;
  }

  .about-right {
    flex: 0 0 auto;
    width: 100%;
  }

  .about-positioning {
    font-size: 16px;
  }

  .about-promises {
    flex-direction: column;
  }

  .promise-badge {
    text-align: center;
  }
}

/* ============================================================
   Business Section
   ============================================================ */
.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.business-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--border);
}

.business-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-light);
}

.business-card .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.business-card h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--primary);
  margin-bottom: 8px;
}

.business-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   Products Section — Refactored: Banner + Filter + Cards + Brands
   ============================================================ */
.products-new {
  background: linear-gradient(180deg, #F4F7FB, #EDF1F7);
  padding: 80px 20px;
}

/* Banner */
.products-banner {
  text-align: center;
  margin-bottom: 36px;
}

.products-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #2563FF;
  margin-bottom: 8px;
}

.products-title {
  font-size: 30px;
  font-weight: 800;
  color: #0B1F3A;
  margin-bottom: 10px;
}

.products-subtitle {
  font-size: 15px;
  color: #666;
}

/* Filter Tags */
.products-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-tag {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  background: #EEF2F7;
  color: #555;
  transition: all 0.25s ease;
  font-family: inherit;
}

.filter-tag:hover {
  background: #DCE8FB;
  color: #2563FF;
}

.filter-tag.active {
  background: #2563FF;
  color: #FFF;
}

/* Product Cards Grid */
.products-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.product-card-new {
  background: #FFFFFF;
  border-left: 4px solid #D0E0F5;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 2px 8px rgba(11,31,58,0.04);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-card-new:hover {
  border-left-color: #2563FF;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(37,99,255,0.10);
}

.pc-icon {
  width: 48px;
  height: 48px;
  background: #EBF3FF;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pc-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0B1F3A;
  line-height: 1.3;
  margin-bottom: 2px;
}

.pc-en {
  font-size: 12px;
  color: #2563FF;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.pc-models {
  font-size: 13px;
  color: #888;
  font-family: "Consolas", "Courier New", monospace;
  line-height: 1.5;
}

.pc-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

.pc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pc-tags span {
  font-size: 11px;
  color: #2563FF;
  background: #EBF3FF;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 500;
}

.pc-more {
  position: absolute;
  bottom: 20px;
  right: 24px;
  font-size: 13px;
  color: #2563FF;
  font-weight: 500;
  opacity: 0;
  transform: translateX(8px);
  transition: all 0.3s ease;
}

.product-card-new:hover .pc-more {
  opacity: 1;
  transform: translateX(0);
}

/* Hidden state for filter */
.product-card-new.hidden {
  display: none;
}

/* Brand Wall */
.products-brands {
  text-align: center;
}

.brands-title {
  font-size: 18px;
  font-weight: 700;
  color: #0B1F3A;
  margin-bottom: 28px;
}

.brands-wall {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
  max-width: 980px;
  margin: 0 auto 18px;
}

.brand-item {
  height: 50px;
  background: #F5F7FA;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #E4EAF2;
  transition: all 0.3s ease;
}

.brand-item:hover {
  border-color: #2563FF;
  box-shadow: 0 0 12px rgba(37, 99, 255, 0.25);
  background: #EBF3FF;
}

.brand-item span {
  font-size: 14px;
  font-weight: 700;
  color: #0B1F3A;
  font-family: sans-serif;
}

.brands-note {
  font-size: 13px;
  color: #7B8FAA;
  margin-top: 12px;
}

/* Brand wall responsive */
@media (max-width: 1024px) {
  .brands-wall {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 768px) {
  .brands-wall {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 480px) {
  .brands-wall {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .products-grid-new {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-filter {
    gap: 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .filter-tag {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .products-new {
    padding: 60px 16px;
  }
}

@media (max-width: 480px) {
  .products-grid-new {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Certifications Section (资质认证) — New Design
   ============================================================ */
.certifications {
  background: #F0F4FA;
  padding: 80px 20px;
}

/* Grid */
.certs-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

/* Card */
.cert-card-new {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cert-card-new:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.10);
}

/* Thumbnail wrapper */
.cert-thumb-wrap {
  position: relative;
  width: 100%;
  background: #F5F6F8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
}

.cert-thumb-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.cert-thumb-wrap:hover img {
  transform: scale(1.03);
}

/* View button overlay */
.cert-view-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(11,31,58,0.78);
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s ease;
  font-family: inherit;
}

.cert-view-btn:hover {
  background: #0B1F3A;
}

/* Card body */
.cert-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.cert-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #0B1F3A;
  line-height: 1.4;
  margin-bottom: 6px;
  text-align: left;
}

/* Field row */
.cert-field {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.6;
}

.cert-label {
  color: #999;
  flex-shrink: 0;
  min-width: 52px;
  font-weight: 400;
}

.cert-value {
  color: #666;
  flex: 1;
}

.cert-highlight {
  color: #2563FF;
  font-weight: 600;
}

.cert-scope {
  font-size: 12px;
  line-height: 1.7;
  color: #777;
}

/* Bottom progress text */
.certs-progress-new {
  text-align: center;
  margin-top: 20px;
}

.certs-progress-new p {
  font-size: 13px;
  color: #999;
  line-height: 1.8;
}

/* ============================================================
   Lightbox
   ============================================================ */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
  animation: lb-fade-in 0.25s ease;
}

.lightbox.active {
  display: flex;
}

@keyframes lb-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 36px;
  color: #ccc;
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.2s ease;
  z-index: 10001;
  line-height: 1;
}

.lightbox-close:hover {
  color: #fff;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
  animation: lb-img-in 0.3s ease;
}

@keyframes lb-img-in {
  from { transform: scale(0.92); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .certs-grid-new {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .cert-card-title {
    font-size: 15px;
  }

  .lightbox-close {
    top: 12px;
    right: 18px;
    font-size: 34px;
  }
}

@media (max-width: 480px) {
  .certs-grid-new {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .certifications {
    padding: 60px 16px;
  }

  .cert-body {
    padding: 16px 18px 20px;
  }
}

/* ============================================================
   Strength & Capabilities Section（公司实力）
   ============================================================ */
.strength {
  background: linear-gradient(180deg, #F8FAFD, #EDF1F7);
  padding: 80px 20px;
}

.strength .section-header {
  margin-bottom: 16px;
}

/* 卖点标签 */
.strength-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.strength-tags span {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #1E6FFF;
  background: #EBF3FF;
  padding: 8px 20px;
  border-radius: 24px;
  border: 1px solid rgba(30,111,255,0.15);
  white-space: nowrap;
}

/* 通用图片包裹 */
.strength-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(15,35,64,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

.strength-img-wrap:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 28px rgba(15,35,64,0.14);
}

.strength-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.strength-img-wrap:hover img {
  transform: scale(1.04);
}

/* 半透明标签条 */
.strength-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 20px;
  background: linear-gradient(180deg, rgba(15,35,64,0) 0%, rgba(15,35,64,0.75) 100%);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-align: center;
  pointer-events: none;
}

/* 左对齐双行标签 */
.strength-label-left {
  text-align: left;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.strength-label-title {
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 1px;
  display: block;
}

.strength-label-sub {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0;
  display: block;
}

/* 第一行：横幅大图 */
.strength-banner {
  margin-bottom: 28px;
}

.strength-img-banner {
  width: 100%;
  max-height: 520px;
}

.strength-img-banner img {
  max-height: 520px;
  object-position: center 40%;
}

/* 第二行：3列网格 */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

.strength-grid .strength-img-wrap {
  aspect-ratio: 16 / 10;
}

/* 第三行：2列 */
.strength-duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.strength-duo .strength-img-wrap {
  aspect-ratio: 16 / 9;
}

/* 底部品牌墙 */
.strength-brands {
  text-align: center;
  padding-top: 20px;
}

.strength-brands-title {
  font-size: 18px;
  font-weight: 700;
  color: #0B1F3A;
  margin-bottom: 28px;
}

.strength-brands-wall {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
  max-width: 1000px;
  margin: 0 auto 18px;
}

.strength-brand-item {
  height: 48px;
  background: #F5F7FA;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #E4EAF2;
  transition: all 0.3s ease;
}

.strength-brand-item:hover {
  border-color: #1E6FFF;
  box-shadow: 0 0 10px rgba(30,111,255,0.2);
  background: #EBF3FF;
}

.strength-brand-item span {
  font-size: 13px;
  font-weight: 700;
  color: #0B1F3A;
  font-family: sans-serif;
}

.strength-brands-note {
  font-size: 12px;
  color: #7B8FAA;
  margin-top: 10px;
}

/* ============================================================
   Strength Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .strength-brands-wall {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 768px) {
  .strength {
    padding: 60px 16px;
  }

  .strength-tags {
    gap: 8px;
    margin-bottom: 32px;
  }

  .strength-tags span {
    font-size: 12px;
    padding: 6px 14px;
  }

  .strength-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .strength-duo {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .strength-img-banner {
    max-height: 360px;
  }

  .strength-img-banner img {
    max-height: 360px;
  }

  .strength-label {
    font-size: 14px;
    padding: 12px 16px;
  }

  .strength-brands-wall {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 480px) {
  .strength-brands-wall {
    grid-template-columns: repeat(3, 1fr);
  }

  .strength-img-banner {
    max-height: 260px;
  }

  .strength-img-banner img {
    max-height: 260px;
  }
}
/* ============================================================
   Timeline (About / Milestones)
   ============================================================ */
.timeline {
  position: relative;
  padding: 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 48px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
  padding-right: calc(50% + 32px);
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
  padding-left: calc(50% + 32px);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateX(-50%);
  border: 3px solid var(--bg-white);
  box-shadow: var(--shadow-sm);
  z-index: 1;
}

.timeline-content {
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  flex: 1;
}

.timeline-content .year {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}

.timeline-content h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--primary);
  margin-bottom: 4px;
}

.timeline-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   Contact Section — Full-Width Hero with Background Image
   ============================================================ */
.contact-new {
  padding: 0;
}

.contact-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: transparent;
}

.contact-hero-inner {
  position: relative;
  z-index: 3;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.contact-hero-header {
  text-align: center;
}

.contact-hero-header .section-title {
  color: #0A1929;
}

.contact-hero-header .section-desc {
  color: #2C3E50;
}

.contact-hero-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 520px;
  align-self: flex-end;
  background: rgba(6,20,40,0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(30,111,255,0.18);
  border-radius: 12px;
  padding: 32px 36px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.04);
}

.contact-card-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(30,111,255,0.12);
  border: 1px solid rgba(30,111,255,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-label {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-card-val {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  text-decoration: none;
  transition: color 0.2s;
}

a.contact-card-val:hover {
  color: #4DA3FF;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: #0A1628;
  color: #94A3B8;
  padding: 64px 0 0;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 5fr 3fr 3fr 3fr;
  gap: 40px;
  padding-bottom: 48px;
}

/* Col: Brand Info */
.footer-brand-name {
  color: #E8EDF5;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-tagline {
  color: #4DA3FF;
  font-size: 13px;
  margin-bottom: 20px;
}

.footer-info-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  line-height: 1.8;
  color: #94A3B8;
}

.footer-info-item svg {
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-info-item a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-info-item a:hover {
  color: #FFF;
}

/* Col: Nav / Business */
.footer-col-title {
  color: #E8EDF5;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  color: #94A3B8;
  text-decoration: none;
  padding: 5px 0;
  font-size: 14px;
  transition: color 0.3s ease;
  min-height: 30px;
}

.footer-col a:hover {
  color: #FFF;
}

.footer-link-highlight {
  margin-top: 10px !important;
  padding-top: 10px !important;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: #4DA3FF !important;
  font-weight: 500;
}

.footer-link-highlight:hover {
  color: #FFF !important;
}

/* Col: QR Code */
.footer-qr-wrap {
  margin-bottom: 16px;
}

.footer-qr-img {
  width: 100px;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.12);
  background: #FFF;
  display: block;
}

.footer-qr-text {
  color: #64748B;
  font-size: 12px;
  margin-top: 8px;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #94A3B8;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

.footer-email:hover {
  color: #FFF;
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  font-size: 13px;
  color: #64748B;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom a {
  color: #64748B;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #FFF;
}

.footer-beian-ga {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-bottom-divider {
  color: rgba(255,255,255,0.1);
}

/* ============================================================
   Back to Top
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  box-shadow: 0 4px 12px rgba(30,111,255,0.3);
  cursor: pointer;
  font-size: 18px;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #1A5ED6;
  transform: translateY(-2px);
}

/* ============================================================
   Scroll Reveal Animation
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Responsive — 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .business-grid,
  .products-grid-new {
    grid-template-columns: repeat(2, 1fr);
  }

  .certs-grid-new {
    grid-template-columns: repeat(2, 1fr);
  }

  

  .nav-menu {
    gap: 24px;
  }
}

/* ============================================================
   Responsive — 768px (Mobile)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  section {
    padding: 60px 0;
  }

  body {
    font-size: 15px;
  }

  /* Navigation — Mobile */
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    gap: 0;
    padding: calc(var(--nav-height) + 24px) 24px 24px;
    box-shadow: -4px 0 16px rgba(0,0,0,0.08);
    transition: right var(--transition);
    z-index: 999;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
  }

  .nav-menu a::after {
    display: none;
  }

  /* Hero — Mobile */
  .hero {
    min-height: 400px;
  }

  .hero-content {
    padding: 40px 20px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 28px;
    color: #FFFFFF;
    text-shadow: 0 2px 16px rgba(0,0,0,0.5);
  }

  .hero-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
  }

  .hero-stats {
    gap: 24px;
    justify-content: center;
  }

  .hero-stat {
    text-align: center;
  }

  .hero-stat-num {
    font-size: 28px;
    color: #FFFFFF;
  }

  .hero-stat-label {
    color: rgba(255,255,255,0.6);
  }

  .hero-btns {
    justify-content: center;
  }

  .section-title {
    font-size: 24px;
  }

  /* Grids — single column */
  .about-content,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 48px 0 0;
  }

  .footer-grid {
    gap: 32px;
    padding-bottom: 36px;
  }

  .footer-info-item span br {
    display: none;
  }

  .footer-qr-img {
    width: 100px;
    height: auto;
    background: #FFF;
  }

  .footer-bottom {
    text-align: left;
  }

  .contact-hero {
    min-height: 500px;
  }

  .contact-hero-inner {
    padding: 60px 20px;
    gap: 36px;
  }

  .contact-hero-card {
    max-width: 440px;
    padding: 24px 28px;
  }

  .business-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid-new,
  .certs-grid-new {
    grid-template-columns: 1fr;
  }

  

  .about-info-grid {
    grid-template-columns: 1fr;
  }

  /* Timeline — single side */
  .timeline::before {
    left: 20px;
    transform: none;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    flex-direction: row;
    padding-left: 52px;
    padding-right: 0;
  }

  .timeline-dot {
    left: 20px;
    transform: translateX(-50%);
  }

  /* Buttons — min touch target */
  .btn {
    min-height: 44px;
    padding: 10px 24px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

/* ============================================================
   Responsive — 480px (Small Mobile)
   ============================================================ */
@media (max-width: 480px) {
  .business-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero {
    min-height: 420px;
  }

  .contact-hero-inner {
    padding: 48px 16px;
    gap: 28px;
  }

  .contact-hero-card {
    max-width: 360px;
    padding: 20px 20px;
    border-radius: 10px;
  }
}

/* ============================================================
   Accessibility — Reduced Motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .product-card:hover,
  .business-card:hover,
  .cert-card:hover {
    transform: none;
  }
}
