/* ============================================
   创佳电控设备 - 企业官网样式
   Chuangjia Electric Control Equipment
   ============================================ */

:root {
  --primary: #1a2a4a;
  --primary-light: #2a3f6a;
  --primary-dark: #0f1a2e;
  --accent: #e65c00;
  --accent-hover: #cc5200;
  --accent-light: #fff3eb;
  --text: #333;
  --text-light: #666;
  --text-muted: #999;
  --bg: #ffffff;
  --bg-gray: #f7f8fa;
  --border: #e5e8ed;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica,
    Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== Container ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header / Nav ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}
.logo-icon {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-light);
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}
.nav-links a.active::after,
.nav-links a:hover::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 9px 24px !important;
  border-radius: 50px;
  font-size: 14px !important;
}
.nav-cta:hover {
  background: var(--accent-hover) !important;
  transform: translateY(-1px);
}
.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 72px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(26,42,74,0.78) 0%,
    rgba(26,42,74,0.55) 45%,
    rgba(26,42,74,0.18) 75%,
    transparent 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  color: #fff;
}
.hero-badge {
  display: inline-block;
  background: rgba(230,92,0,0.2);
  border: 1px solid rgba(230,92,0,0.4);
  color: #ffb380;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero h1 .highlight {
  color: var(--accent);
}
.hero p {
  font-size: 17px;
  opacity: 0.88;
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-slogan {
  font-size: clamp(20px, 2.8vw, 30px);
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 22px;
  padding-left: 16px;
  border-left: 4px solid var(--accent);
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}
.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(230,92,0,0.35);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ===== Section Common ===== */
.section {
  padding: 100px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.section-desc {
  font-size: 16px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===== Stats Bar ===== */
.stats-bar {
  background: var(--primary);
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item .stat-num {
  font-size: 44px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item .stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 1px;
}

/* ===== Features Grid ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature-icon {
  width: 60px; height: 60px;
  background: var(--accent-light);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
}
.feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.75;
}

/* ===== Product Cards ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.product-img {
  height: 280px;
  overflow: hidden;
  background: var(--bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img img {
  transform: scale(1.06);
}
.product-info {
  padding: 24px;
}
.product-info h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.product-info p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  font-size: 12px;
  padding: 4px 12px;
  background: var(--bg-gray);
  color: var(--text-muted);
  border-radius: 50px;
}

/* ===== Product spec tables (products page) ===== */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 6px;
}
.spec-table th {
  padding: 10px 12px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  border-bottom: 2px solid var(--primary-dark);
  white-space: nowrap;
}
.spec-table td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.5;
}
.spec-table tr:nth-child(even) td { background: var(--bg-gray); }
.spec-table td:first-child {
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}
/* 表格在窄屏横向滚动，避免撑破布局 */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 6px;
}
.table-wrap:has(th:nth-child(5)) .spec-table { min-width: 560px; }
.product-info h4.spec-h {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin: 22px 0 6px;
  letter-spacing: .5px;
}
.feat-list {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 7px 14px;
  font-size: 13px;
  margin: 0;
}
.feat-list dt { color: var(--text-muted); font-weight: 600; }
.feat-list dd { margin: 0; color: var(--text); line-height: 1.5; }
.case-adv {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  line-height: 1.7;
}
.case-adv li { padding-left: 18px; position: relative; }
.case-adv li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ===== Zoomable images & Lightbox ===== */
.zoomable { cursor: zoom-in; }
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 32px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.3); transform: rotate(90deg); }
.lightbox-panel {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  max-width: 1000px;
  width: 100%;
  max-height: 86vh;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.lightbox-img { background: #0f172a; display: flex; align-items: center; justify-content: center; }
.lightbox-img img { width: 100%; height: 100%; max-height: 86vh; object-fit: contain; }
.lightbox-info { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.lightbox-info h3 { font-size: 24px; color: var(--primary); margin-bottom: 16px; }
.lightbox-info p { font-size: 14px; color: var(--text-light); line-height: 1.85; margin-bottom: 8px; }
@media (max-width: 768px) {
  .lightbox-panel { grid-template-columns: 1fr; max-height: 90vh; overflow-y: auto; }
  .lightbox-img img { max-height: 50vh; }
  .lightbox-info { padding: 24px; }
}

/* ===== About Section (Home) ===== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-split.single-col {
  grid-template-columns: 1fr;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.about-split.single-col .about-list {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  column-gap: 56px;
  row-gap: 14px;
  text-align: left;
  margin: 28px auto 0;
}
.about-split.single-col .about-list li {
  justify-content: flex-start;
  white-space: nowrap;
}
.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-images .img-main {
  grid-row: span 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.about-text h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.about-text p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 16px;
}
.about-list {
  margin-top: 24px;
}
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 12px;
}
.about-list li .check {
  color: var(--accent);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-lg);
  padding: 80px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(230,92,0,0.25) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-banner h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
}
.cta-banner p {
  font-size: 17px;
  opacity: 0.85;
  margin-bottom: 32px;
  position: relative;
}
.cta-banner .btn-primary {
  position: relative;
}

/* ===== Page Hero (Sub pages) ===== */
.page-hero {
  margin-top: 72px;
  padding: 80px 0 60px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  text-align: center;
}
.page-hero h1 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 12px;
}
.page-hero p {
  font-size: 16px;
  opacity: 0.75;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 13px;
  opacity: 0.6;
}
.breadcrumb a:hover { opacity: 1; }

/* ===== About Page Specific ===== */
.timeline {
  position: relative;
  padding-left: 40px;
  max-width: 720px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 12px; top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  padding-bottom: 40px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -33px; top: 4px;
  width: 14px; height: 14px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.timeline-year {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}
.timeline-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.timeline-item p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cert-item {
  background: var(--bg-gray);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  transition: var(--transition);
}
.cert-item:hover {
  background: var(--accent-light);
  transform: translateY(-4px);
}
.cert-icon {
  font-size: 36px;
  margin-bottom: 12px;
}
.cert-item h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

/* ===== Download Page ===== */
.download-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.download-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  transition: var(--transition);
}
.download-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
/* 相关国家标准 介绍列表 */
.std-list { display: flex; flex-direction: column; gap: 24px; }
.std-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
}
.std-card-head { margin-bottom: 14px; }
.std-card-head h3 { font-size: 18px; color: var(--primary); font-weight: 700; }
.std-code { color: var(--accent); }
.std-card-desc { font-size: 14px; color: var(--text-light); line-height: 1.85; margin-bottom: 18px; }
.std-table { width: 100%; border-collapse: collapse; min-width: 640px; background: #fff; }
.std-table th {
  background: var(--primary); color: #fff; font-weight: 600;
  text-align: left; padding: 11px 14px; font-size: 13px; white-space: nowrap;
}
.std-table td {
  padding: 11px 14px; font-size: 13.5px; line-height: 1.7;
  border-bottom: 1px solid var(--border); color: var(--text); vertical-align: top;
}
.std-table td.std-no { color: var(--accent); font-weight: 700; white-space: nowrap; }
.std-table tbody tr:last-child td { border-bottom: none; }
.std-table tbody tr:hover { background: #f7f9fc; }
.download-icon {
  width: 42px; height: 42px;
  min-width: 42px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.download-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  text-align: left;
}
.download-info h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.download-info p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 0;
}
.download-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
  justify-content: flex-start;
  flex-shrink: 0;
}
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 20px;
  background: var(--primary);
  color: #fff;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  margin-top: 0;
  margin-left: auto;
  flex-shrink: 0;
  transition: var(--transition);
}
.btn-download:hover {
  background: var(--primary-light);
  transform: translateX(4px);
}

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-card {
  background: var(--bg-gray);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.contact-card-icon {
  width: 48px; height: 48px;
  min-width: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.contact-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.contact-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}
.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ===== Footer ===== */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo {
  color: #fff;
  margin-bottom: 16px;
}
.footer-brand .logo-icon {
  height: 36px;
  width: auto;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.7;
}
.footer-slogan {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  opacity: 1;
}
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 14px;
  opacity: 0.7;
}
.footer-col ul li a:hover {
  opacity: 1; color: var(--accent);
}
.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  opacity: 0.5;
}
.footer-bottom .beian-sep {
  margin: 0 8px;
  opacity: 0.6;
}
.footer-bottom a.beian-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}
.footer-bottom a.beian-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* ===== Mobile Menu Overlay ===== */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(26,42,74,0.98);
  backdrop-filter: blur(20px);
  padding: 100px 40px 40px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}
.mobile-menu a {
  display: block;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .about-split.single-col .about-list { grid-template-columns: 1fr; max-width: 480px; white-space: normal; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }

  .hero { min-height: 80vh; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 15px; }

  .section { padding: 70px 0; }
  .section-title { font-size: 28px; }

  .features-grid,
  .products-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item .stat-num { font-size: 32px; }

  .download-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .page-hero { padding: 60px 0 40px; }
  .page-hero h1 { font-size: 30px; }

  .cta-banner { padding: 48px 24px; }
  .cta-banner h2 { font-size: 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .btn-group { flex-direction: column; }
  .btn { justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .nav-inner { height: 64px; }
  .hero { margin-top: 64px; }
  .page-hero { margin-top: 64px; }
  .about-images { grid-template-columns: 1fr; }
  .about-images .img-main { grid-row: span 1; }
  .gallery-block { margin-bottom: 56px; }
  .gallery-subtitle { font-size: 20px; }
  .gallery-subdesc { margin-bottom: 20px; }
  .section { padding: 52px 0; }
  .section-title { font-size: 24px; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cert-item { padding: 22px 12px; }
  .timeline-item { padding-bottom: 28px; }
  .timeline-year { font-size: 13px; }
  .timeline-item h3 { font-size: 16px; }
  .timeline-item p { font-size: 13px; line-height: 1.65; }
  .download-grid { grid-template-columns: 1fr; }
  .download-card { flex-direction: column; align-items: flex-start; gap: 10px; }
  .download-info { flex-direction: column; align-items: flex-start; gap: 8px; }
  .btn-download { margin-left: 0; }
}

/* ===== Brochure Gallery (About page) ===== */
.gallery-block { margin-bottom: 80px; }
.gallery-block:last-child { margin-bottom: 0; }
.gallery-subtitle {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.gallery-subtitle::before {
  content: '';
  width: 6px; height: 22px;
  background: var(--accent);
  border-radius: 4px;
}
.gallery-subdesc {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 28px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.gallery-item .g-img {
  height: 240px;
  overflow: hidden;
  background: var(--bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.gallery-item .g-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}
.gallery-item:hover .g-img img {
  transform: scale(1.06);
}
.gallery-item .g-cap {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.5;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

/* ===== Careers Page ===== */
.page-banner {
  background: linear-gradient(120deg, var(--primary) 0%, #0f1d36 100%);
  color: #fff;
  padding: 84px 0 72px;
  text-align: center;
}
.page-banner .banner-tag {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 1px;
  color: #fff;
  background: rgba(255,255,255,0.14);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 22px;
}
.page-banner h1 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 18px;
}
.page-banner p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255,255,255,0.82);
}
.banner-slogan {
  max-width: 720px;
  margin: 8px auto 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  text-shadow: 0 2px 14px rgba(0,0,0,0.3);
}

.jobs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.job-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 34px;
  transition: var(--transition);
}
.job-card:hover {
  box-shadow: 0 14px 40px rgba(26,42,74,0.10);
  transform: translateY(-4px);
}
.job-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--accent-light);
  margin-bottom: 18px;
}
.job-head h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}
.job-type {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}
.job-duty,
.job-req {
  margin-bottom: 18px;
}
.job-duty h4,
.job-req h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  padding-left: 12px;
  position: relative;
}
.job-duty h4::before,
.job-req h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 4px;
  height: 15px;
  background: var(--accent);
  border-radius: 2px;
}
.job-duty ul,
.job-req ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.job-duty li,
.job-req li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-light);
}
.job-duty li::before,
.job-req li::before {
  content: "›";
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

.job-general {
  margin-top: 36px;
  padding: 26px 30px;
  background: var(--bg-gray);
  border-radius: var(--radius-lg);
}
.job-general h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
}
.job-general ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 32px;
}
.job-general li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-light);
}
.job-general li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

.apply-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.apply-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 34px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  transition: var(--transition);
}
.apply-card:hover {
  box-shadow: 0 14px 40px rgba(26,42,74,0.10);
}
.apply-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: var(--accent-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}
.apply-info h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.apply-info p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}
.apply-email,
.apply-phone {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  margin: 6px 0;
  text-decoration: none;
}
.apply-email:hover,
.apply-phone:hover {
  text-decoration: underline;
}
.apply-tip {
  font-size: 13px !important;
  color: var(--text-muted) !important;
  margin-top: 4px;
}
.apply-note {
  margin-top: 28px;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .jobs-grid,
  .apply-grid {
    grid-template-columns: 1fr;
  }
  .job-general ul {
    grid-template-columns: 1fr;
  }
  .page-banner h1 {
    font-size: 30px;
  }
}

/* ===== Product List Grid (Main Page) ===== */
.prod-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.prod-card {
  display: block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
.prod-card:hover {
  box-shadow: 0 14px 40px rgba(26,42,74,0.12);
  transform: translateY(-5px);
}
.prod-card-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.prod-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.4s ease;
}
.prod-card:hover .prod-card-img img {
  transform: scale(1.05);
}
.prod-card-body {
  padding: 22px 24px 26px;
}
.prod-card-no {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--accent);
  font-weight: 700;
  background: var(--accent-light);
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 8px;
}
.prod-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.45;
  margin-bottom: 6px;
}
.prod-models {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-family: 'Courier New', monospace;
}
.prod-brief {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

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

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

/* ===== Product Detail Page ===== */
.detail-block {
  margin-bottom: 36px;
}
.detail-h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent-light);
}
.detail-p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.85;
}
.feat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feat-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-light);
}
.feat-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Product detail image gallery */
.detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}
.detail-gallery.single {
  grid-template-columns: 1fr;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.detail-gallery.three {
  grid-template-columns: repeat(3, 1fr);
}
.detail-gallery figure {
  margin: 0;
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(26,42,74,0.10);
  display: flex;
  flex-direction: column;
}
.detail-gallery figure .ph {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f7f9fc, #eef2f8);
}
.detail-gallery figure .ph img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.detail-gallery figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
@media (max-width: 768px) {
  .detail-gallery { grid-template-columns: 1fr; gap: 16px; }
  .detail-gallery.three { grid-template-columns: 1fr; }
}

/* ===== Gallery responsive (must be after base .gallery-grid to override on mobile) ===== */
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item .g-img { height: auto; padding: 0; }
  .gallery-item .g-img img { height: auto; }
}
