:root {
  --primary: #0072ce;
  --primary-dark: #005bb5;
  --accent: #0a3d8f;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #f8fafc;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --radius: 12px;
  --max-width: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* Header */
.site-header {
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo img { height: 62px; width: auto; }
.logo-text { display: flex; flex-direction: column; }
.logo-zh { font-size: 17px; font-weight: 700; color: var(--accent); letter-spacing: 0.02em; }
.logo-en { font-size: 12px; color: var(--primary); font-weight: 600; }
.main-nav {
  display: flex;
  gap: 28px;
}
.main-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: color .2s;
}
.main-nav a:hover { color: var(--primary); }
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--accent);
}

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.65);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,61,143,0.82) 0%, rgba(0,114,206,0.45) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 80px 0;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.15;
  margin: 0 0 20px;
  font-weight: 800;
}
.hero-sub {
  font-size: 18px;
  opacity: 0.95;
  margin-bottom: 32px;
  max-width: 640px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(0,114,206,0.35);
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-outline:hover { background: rgba(255,255,255,0.22); }
.btn-block { width: 100%; margin-top: 8px; }

/* Features */
.features {
  background: var(--white);
  padding: 56px 0;
  border-bottom: 1px solid #e2e8f0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature {
  text-align: center;
  padding: 16px;
}
.feature-icon { font-size: 34px; margin-bottom: 10px; }
.feature h3 { font-size: 17px; margin: 0 0 6px; }
.feature p { font-size: 14px; color: var(--text-light); margin: 0; }

/* Section */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 42px;
}
.section-head h2 {
  font-size: 32px;
  margin: 0 0 10px;
  color: var(--accent);
}
.section-head p { color: var(--text-light); margin: 0; }

.products { padding: 72px 0; }
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.category-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  position: relative;
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}
.category-card .thumb {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  position: relative;
}
.category-card .thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, transparent 55%);
}
.category-card .card-body {
  padding: 18px 20px 20px;
}
.category-card h3 {
  margin: 0 0 4px;
  font-size: 18px;
  color: var(--text);
}
.category-card .zh {
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 8px;
  display: block;
}
.category-card p {
  font-size: 13px;
  color: var(--text-light);
  margin: 0;
  line-height: 1.45;
}
.category-card .view-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,0.92);
  color: var(--primary);
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
}
.category-card:hover .view-btn { opacity: 1; }

/* About */
.about {
  background: var(--white);
  padding: 72px 0;
}
.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about h2 { font-size: 32px; color: var(--accent); margin: 0 0 18px; }
.about p { color: #475569; margin: 0 0 14px; }
.about-list {
  margin: 18px 0 0;
  padding-left: 20px;
  color: #475569;
}
.about-list li { margin-bottom: 8px; }
.about-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Inquiry */
.inquiry { padding: 72px 0; }
.inquiry-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  overflow: hidden;
}
.inquiry-info {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 42px;
}
.inquiry-info h2 { margin: 0 0 14px; font-size: 28px; }
.inquiry-info p { opacity: 0.92; margin: 0 0 24px; }
.inquiry-contact p { margin: 0 0 10px; font-size: 14px; }
.inquiry-contact a { text-decoration: underline; }
.inquiry-form {
  padding: 42px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.inquiry-form label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; }
.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  padding: 11px 13px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
}
.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,114,206,0.12);
}
.form-note { font-size: 13px; margin: 4px 0 0; min-height: 18px; }
.form-note.success { color: #15803d; }

/* Footer */
.site-footer { background: #0b1220; color: #cbd5e1; padding-top: 56px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand img { max-height: 90px; width: auto; background: var(--white); padding: 10px 14px; border-radius: 8px; }
.footer-contact h4, .footer-links h4 { color: var(--white); margin: 0 0 14px; font-size: 16px; }
.footer-contact p { margin: 0 0 8px; font-size: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.82);
}
.modal-content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  width: 100%;
  max-width: 1100px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 34px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.28);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 32px;
  color: var(--text-light);
  cursor: pointer;
}
.modal-close:hover { color: var(--text); }
.modal-desc { color: var(--text-light); margin: -8px 0 22px; }
.modal-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.modal-gallery .gallery-item {
  border-radius: 8px;
  overflow: hidden;
  cursor: zoom-in;
  background: #f1f5f9;
  aspect-ratio: 4/3;
}
.modal-gallery .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s;
}
.modal-gallery .gallery-item:hover img { transform: scale(1.04); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(2,6,23,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 60px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 86vh;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.28); }
.lightbox-close { top: 16px; right: 16px; font-size: 34px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 14px;
  background: rgba(0,0,0,0.45);
  padding: 6px 16px;
  border-radius: 20px;
}

@media (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .modal-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: block; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .inquiry-card { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .modal-gallery { grid-template-columns: 1fr; }
  .hero { min-height: 60vh; }
  .hero-actions { flex-direction: column; }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .logo-text { display: none; }
}
