/* ============================================================
   Long Pao Fasteners — Apple-style bilingual brochure site
   Palette: navy + soft sky blue + Apple neutrals
   Fonts:   BN Bergen (EN, self-hosted .otf)
            M PLUS Rounded 1c (Traditional Chinese, Google Fonts)
   ============================================================ */

/* ---------------- @font-face : BN Bergen ---------------- */
@font-face {
  font-family: 'BN Bergen';
  src: url('assets/fonts/BNBergen-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BN Bergen';
  src: url('assets/fonts/BNBergen.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BN Bergen';
  src: url('assets/fonts/BNBergen-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------------- CSS variables ---------------- */
:root {
  --navy:      #0f2a55;
  --navy-90:   rgba(15, 42, 85, 0.9);
  --navy-70:   rgba(15, 42, 85, 0.7);
  --sky:       #D0E3FF;
  --sky-soft:  #E8F0FF;
  --white:     #ffffff;
  --off-white: #f5f5f7;
  --ink:       #1d1d1f;
  --grey:      #6e6e73;
  --grey-line: #d2d2d7;

  --font-en: 'BN Bergen', 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  --font-zh: 'M PLUS Rounded 1c', 'Noto Sans TC', "PingFang TC", "Microsoft JhengHei", sans-serif;

  /* spacing scale */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 40px;
  --sp-5: 64px;
  --sp-6: 96px;
  --sp-7: 120px;
}

/* ---------------- Reset & base ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: opacity 0.15s; }
a:hover { opacity: 0.7; }

/* Chinese text uses the rounded gothic */
.zh, .lang-zh, .zh-inline, [lang="zh"] {
  font-family: var(--font-zh);
  font-weight: 500;
}

/* ---------------- Container ---------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-3);
}

/* ---------------- Header — transparent over hero, white when scrolled ---------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-2);
  padding-bottom: var(--sp-2);
  gap: var(--sp-3);
}

/* Horizontal brand: LP icon + stacked text */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-icon {
  height: 40px;
  width: auto;
  transition: filter 0.3s ease;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  color: var(--white);
  transition: color 0.3s ease;
}
.brand-name {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}
.brand-sub {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  margin-top: 2px;
  opacity: 0.85;
}

/* When scrolled, swap colors */
.site-header.scrolled .brand-icon {
  filter: brightness(0) saturate(100%) invert(13%) sepia(48%) saturate(2419%) hue-rotate(207deg) brightness(94%) contrast(92%);
  /* Filters white PNG to roughly navy #0f2a55 */
}
.site-header.scrolled .brand-text { color: var(--navy); }
.site-header.scrolled .site-nav a { color: var(--ink); }
.site-header.scrolled .nav-toggle span { background: var(--ink); }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--sp-4);
}
.site-nav a {
  color: var(--white);
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 0;
  position: relative;
  transition: color 0.3s ease;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.site-nav a:hover { opacity: 1; }
.site-nav a:hover::after { transform: scaleX(1); }
.zh-inline {
  font-family: var(--font-zh);
  font-size: 0.78em;
  font-weight: 500;
  opacity: 0.7;
  margin-left: 4px;
  text-transform: none;
  letter-spacing: 0.03em;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: background 0.3s ease;
}

/* ---------------- Hero — left-aligned with Hero.png background ---------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  overflow: hidden;
  padding-top: 100px; /* room for fixed header */
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(15, 42, 85, 0.85) 0%,
    rgba(15, 42, 85, 0.65) 35%,
    rgba(15, 42, 85, 0.15) 65%,
    rgba(15, 42, 85, 0) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: var(--sp-5) var(--sp-3);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 1200px;
}
.hero-eyebrow {
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 var(--sp-3);
}
.hero-title {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--white);
  max-width: 720px;
}
.hero-title .en {
  display: block;
}
.hero-title .zh {
  display: block;
  font-family: var(--font-zh);
  font-size: 0.32em;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-top: var(--sp-3);
  color: var(--sky);
}
.hero-accent {
  width: 64px;
  height: 3px;
  background: var(--sky);
  margin: var(--sp-3) 0 var(--sp-3);
  border-radius: 2px;
}
.hero-sub {
  font-family: var(--font-en);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 540px;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 var(--sp-4);
}
.hero-sub .en { display: block; }
.hero-sub .zh {
  display: block;
  font-family: var(--font-zh);
  font-size: 0.9em;
  font-weight: 500;
  margin-top: var(--sp-1);
  color: rgba(208, 227, 255, 0.85);
}

/* Arrow CTA — text link with animated arrow */
.hero-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  padding: var(--sp-1) 0;
  border-bottom: 1px solid var(--sky);
  transition: gap 0.25s ease, color 0.2s ease, border-color 0.2s ease;
}
.hero-cta-link:hover {
  color: var(--sky);
  border-bottom-color: var(--white);
  gap: 22px;
  opacity: 1;
}
.hero-cta-link .cta-text .zh {
  font-family: var(--font-zh);
  font-size: 0.85em;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: none;
  margin-left: 4px;
  opacity: 0.85;
}
.hero-cta-link .cta-arrow {
  font-size: 1.3rem;
  line-height: 1;
}

/* 4-feature strip at bottom of hero */
.hero-features {
  position: relative;
  z-index: 1;
  padding: var(--sp-3) 0;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 42, 85, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  align-items: center;
}
.feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 var(--sp-2);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.feature:first-child { border-left: none; padding-left: 0; }
.feature-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: var(--sky);
}
.feature-icon svg { width: 100%; height: 100%; }
.feature-text h4 {
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 2px;
}
.feature-text h4 .zh {
  display: block;
  font-family: var(--font-zh);
  font-size: 0.78em;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: none;
  color: rgba(208, 227, 255, 0.75);
  margin-top: 1px;
}
.feature-text p {
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  line-height: 1.4;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 15px 32px;
  border-radius: 999px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.15s, background 0.2s, color 0.2s;
  cursor: pointer;
  border: none;
}
.btn:hover { opacity: 1; text-decoration: none; transform: translateY(-1px); }
.btn .sep { opacity: 0.45; font-weight: 400; }
.btn .zh { font-family: var(--font-zh); font-weight: 500; }
.btn-primary {
  background: var(--white);
  color: var(--navy);
}
.btn-primary:hover { background: var(--sky); }
.btn-light {
  background: var(--navy);
  color: var(--white);
}
.btn-light:hover { background: #0a1f42; }

/* ---------------- Section base ---------------- */
.section {
  padding: var(--sp-7) 0;
}
.section-about     { background: var(--white); }
.section-products  { background: var(--off-white); }
.section-capabilities { background: var(--white); }
.section-contact   { background: var(--off-white); }

.section-title {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 var(--sp-2);
  color: var(--navy);
  text-align: center;
}
.section-title .en { display: block; }
.section-title .zh {
  display: block;
  font-size: 0.4em;
  font-weight: 500;
  color: var(--grey);
  margin-top: var(--sp-1);
  letter-spacing: 0.05em;
}
.section-intro {
  text-align: center;
  font-size: 1.1rem;
  color: var(--grey);
  max-width: 720px;
  margin: 0 auto var(--sp-6);
}
.section-intro .en { display: block; }
.section-intro .zh {
  display: block;
  font-size: 0.9em;
  margin-top: 4px;
}

/* ---------------- About ---------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--sp-6);
  align-items: center;
  margin-top: var(--sp-5);
}
.about-text p { margin: 0 0 var(--sp-2); font-size: 1.02rem; }
.about-text .lang-zh {
  color: var(--grey);
  font-size: 0.96em;
  margin-bottom: var(--sp-3);
  padding-left: var(--sp-2);
  border-left: 2px solid var(--sky);
}
.about-img img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 30px 60px -30px rgba(15, 42, 85, 0.35);
}

/* ---------------- Stats ---------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-6);
  padding: var(--sp-5) var(--sp-4);
  background: var(--sky-soft);
  border-radius: 20px;
}
.stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1);
}
.stat-num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.stat-num sup { font-size: 0.5em; vertical-align: super; }
.stat-label {
  font-size: 0.9rem;
  color: var(--grey);
}
.stat-label .en { display: block; }
.stat-label .zh {
  display: block;
  font-size: 0.9em;
  margin-top: 2px;
}

/* ---------------- Products — symmetric 4×4 grid ---------------- */
.category-title {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--navy);
  margin: var(--sp-6) 0 var(--sp-4);
  text-align: center;
  letter-spacing: -0.01em;
}
.category-title .en { display: block; }
.category-title .zh {
  display: block;
  font-family: var(--font-zh);
  font-size: 0.65em;
  font-weight: 500;
  color: var(--grey);
  margin-top: 4px;
  letter-spacing: 0.05em;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}
.product-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(15, 42, 85, 0.25);
}
.product-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--sky-soft);
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img img { transform: scale(1.05); }
.product-name {
  margin: 0;
  padding: var(--sp-2) var(--sp-2) var(--sp-3);
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  letter-spacing: -0.01em;
}
.product-name .en { display: block; }
.product-name .zh {
  display: block;
  font-family: var(--font-zh);
  font-size: 0.82em;
  font-weight: 500;
  color: var(--grey);
  margin-top: 2px;
  letter-spacing: 0.03em;
}

/* ---------------- Custom CTA ---------------- */
.custom-cta {
  margin-top: var(--sp-7);
  padding: var(--sp-6) var(--sp-4);
  background: var(--white);
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.custom-cta h3 {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 var(--sp-2);
}
.custom-cta h3 .en { display: block; }
.custom-cta h3 .zh {
  display: block;
  font-family: var(--font-zh);
  font-size: 0.55em;
  font-weight: 500;
  color: var(--grey);
  margin-top: var(--sp-1);
  letter-spacing: 0.05em;
}
.custom-cta p {
  margin: 0 auto var(--sp-4);
  max-width: 560px;
  font-size: 1.05rem;
  color: var(--grey);
}
.custom-cta p .en { display: block; }
.custom-cta p .zh {
  display: block;
  font-family: var(--font-zh);
  font-size: 0.9em;
  margin-top: 4px;
}

/* ---------------- Capabilities ---------------- */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  margin: var(--sp-5) 0 var(--sp-6);
}
.capability {
  padding: var(--sp-4) var(--sp-3);
  background: var(--off-white);
  border-radius: 16px;
  text-align: center;
  transition: background 0.2s, transform 0.15s;
}
.capability:hover {
  background: var(--sky-soft);
  transform: translateY(-2px);
}
.cap-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto var(--sp-2);
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 700;
}
.capability h3 {
  margin: 0;
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.capability h3 .en { display: block; }
.capability h3 .zh {
  display: block;
  font-family: var(--font-zh);
  font-size: 0.8em;
  font-weight: 500;
  color: var(--grey);
  margin-top: 2px;
  letter-spacing: 0.03em;
}

.capability-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  margin: var(--sp-6) 0;
}
.capability-images img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
}

.subsection-title {
  text-align: center;
  font-family: var(--font-en);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: var(--sp-6) 0 var(--sp-4);
}
.subsection-title .en { display: block; }
.subsection-title .zh {
  display: block;
  font-family: var(--font-zh);
  font-size: 0.6em;
  font-weight: 500;
  color: var(--grey);
  margin-top: 4px;
  letter-spacing: 0.05em;
}

.capability-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-2);
  max-width: 1100px;
}
.capability-list li {
  padding: var(--sp-3) var(--sp-2);
  background: var(--sky-soft);
  border-radius: 12px;
  text-align: center;
  transition: background 0.2s;
}
.capability-list li:hover { background: var(--sky); }
.capability-list li .en {
  display: block;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.capability-list li .zh {
  display: block;
  font-family: var(--font-zh);
  font-size: 0.85em;
  font-weight: 500;
  color: var(--grey);
  margin-top: 4px;
  letter-spacing: 0.03em;
}

/* ---------------- Contact ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
  margin-top: var(--sp-5);
  align-items: stretch;
}
.contact-info {
  background: var(--white);
  padding: var(--sp-5) var(--sp-4);
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.contact-name {
  margin: 0 0 var(--sp-4);
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.contact-name .en { display: block; }
.contact-name .zh {
  display: block;
  font-family: var(--font-zh);
  font-size: 0.78em;
  font-weight: 500;
  color: var(--grey);
  margin-top: 2px;
  letter-spacing: 0.04em;
}
.contact-item {
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--grey-line);
}
.contact-item:last-child { border-bottom: none; }
.contact-label {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: var(--sp-1);
}
.contact-label .zh {
  font-family: var(--font-zh);
  font-size: 0.95em;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--navy);
}
.contact-label .sep { color: var(--grey); margin: 0 4px; }
.contact-item p { margin: 0; font-size: 1rem; color: var(--ink); }
.contact-item p.zh {
  font-family: var(--font-zh);
  font-size: 0.95em;
  color: var(--grey);
  margin-top: 4px;
}
.contact-item a { color: var(--navy); font-weight: 700; }
.contact-img img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 20px;
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--sp-5) 0 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}
.footer-left { display: flex; flex-direction: column; gap: var(--sp-1); }
.footer-tag {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-en);
}
.footer-tag .sep { color: rgba(255, 255, 255, 0.3); margin: 0 6px; }
.footer-right { text-align: right; }
.footer-contact { margin: 0; font-size: 0.95rem; line-height: 1.7; }
.footer-contact a {
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-en);
}
.footer-contact a:hover { color: var(--sky); opacity: 1; }
.footer-bottom {
  padding: var(--sp-3) 0;
  text-align: center;
}
.footer-copy {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-en);
}
.footer-copy .sep { color: rgba(255, 255, 255, 0.3); margin: 0 6px; }

/* ---------------- Lightbox ---------------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 42, 85, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: var(--sp-4);
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 8px 12px;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1100px) {
  .hero-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-3);
  }
  .feature:nth-child(3) { border-left: none; padding-left: 0; }
}

@media (max-width: 1000px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .capability-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  :root {
    --sp-7: 80px;
    --sp-6: 64px;
    --sp-5: 48px;
  }
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    padding: var(--sp-4) var(--sp-3);
  }
  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .capability-images {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .footer-right { text-align: left; }
  .hero-bg::after {
    background: linear-gradient(180deg,
      rgba(15, 42, 85, 0.85) 0%,
      rgba(15, 42, 85, 0.7) 50%,
      rgba(15, 42, 85, 0.55) 100%);
  }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--grey-line);
    display: none;
  }
  .site-nav.open { display: block; }
  .site-nav.open a { color: var(--ink) !important; }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: var(--sp-1) 0;
  }
  .site-nav li {
    border-top: 1px solid var(--grey-line);
  }
  .site-nav a {
    display: block;
    padding: var(--sp-2) var(--sp-3);
  }
  .site-nav a::after { display: none; }

  .brand-icon { height: 32px; }
  .brand-name { font-size: 1rem; }
  .brand-sub { font-size: 0.62rem; letter-spacing: 0.12em; }
  .hero { min-height: 90vh; padding-top: 90px; }
  .hero-title { font-size: clamp(2rem, 9vw, 3rem); }
  .hero-title .zh { white-space: normal; }
  .hero-features-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-2);
  }
  .feature { border-left: none !important; padding-left: 0; }

  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-2);
  }
  .capability-list {
    grid-template-columns: 1fr;
  }
  .custom-cta { padding: var(--sp-4) var(--sp-3); }
  .contact-info { padding: var(--sp-4) var(--sp-3); }
  .footer-logo { height: 44px; }
}
