/* Self-hosted Sora + Inter (latin subset) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/sora-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/sora-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/sora-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/sora-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/sora-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   Guangzhou Aegean Stage Lighting — Design System
   Palette (from website plan): navy #16306b / brand #2f6df0 /
   teal #0fb5a6 / amber #ff7a18 / bg #f6f8fc / ink #0f172a
   Type system: Sora (display) + Inter (body), modular scale
   ============================================================ */
:root {
  --navy: #16306b;
  --brand: #2f6df0;
  --teal: #0fb5a6;
  --amber: #ff7a18;
  --bg: #f6f8fc;
  --ink: #0f172a;
  --muted: #5b6478;
  --line: #e8ebf2;
  --card: #ffffff;
  --soft: #eef3ff;
  --teal-soft: #e6fbf6;
  --amber-soft: #fff3e0;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 3px rgba(20, 30, 60, 0.06);
  --shadow-md: 0 8px 24px rgba(20, 30, 60, 0.10);
  --maxw: 1200px;

  /* Type families */
  --font-display: "Sora", "Inter", "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;

  /* Type scale (clean modular steps) */
  --fs-micro: 11px;
  --fs-caption: 12px;
  --fs-small: 13px;
  --fs-ui: 14px;
  --fs-body: 15px;
  --fs-lead: 17px;
  --fs-h4: 19px;
  --fs-h3: 23px;
  --fs-h2: 30px;
  --fs-h1: 38px;
  --fs-display: 48px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: var(--fs-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.18;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 76px 0; }
.sec-50 { padding: 50px 0; }
body[data-page="about"] section { padding: 44px 0; }
.muted { color: var(--muted); }
.center { text-align: center; }
.eyebrow {
  display: inline-block; color: var(--brand); font-weight: 600;
  font-size: var(--fs-caption); letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title { font-size: var(--fs-h2); margin: 0 0 12px; letter-spacing: -0.015em; }
.section-sub { color: var(--muted); font-size: var(--fs-lead); max-width: 720px; margin: 0 auto 44px; line-height: 1.6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-weight: 600;
  font-size: var(--fs-body); font-family: var(--font-body); cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 4px 14px rgba(47, 109, 240, .30); }
.btn-primary:hover { background: #245fd8; }
.btn-amber { background: var(--amber); color: #fff; box-shadow: 0 4px 14px rgba(255, 122, 24, .30); }
.btn-amber:hover { background: #f06a08; }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { background: rgba(255,255,255,.12); color:#fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn-sm { padding: 8px 14px; font-size: var(--fs-small); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; color: var(--navy); font-size: var(--fs-h4); letter-spacing: -0.01em; }
.brand .logo-img {
  height: 34px; width: auto; object-fit: contain;
}
.footer-brand .logo-img {
  height: 42px; width: auto; object-fit: contain;
}
.brand small { display: block; font-size: var(--fs-micro); font-weight: 500; color: var(--muted); letter-spacing: .3px; font-family: var(--font-body); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: var(--fs-body); }
.nav-links a:hover, .nav-links a.active { color: var(--brand); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--navy); }

/* ---------- Hero (full-bleed banner, reference-style) ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: #0d1f47 url('/assets/hero-bg.jpg') center/cover no-repeat;
  min-height: 560px;
  padding: 0;
  display: flex; align-items: center;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,18,42,0.82) 0%, rgba(8,18,42,0.62) 38%, rgba(8,18,42,0.15) 70%, rgba(8,18,42,0) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(380px 380px at 82% 28%, rgba(255,122,24,0.20), transparent 70%),
    radial-gradient(460px 460px at 64% 74%, rgba(47,109,240,0.18), transparent 72%),
    radial-gradient(260px 260px at 90% 84%, rgba(125,211,192,0.14), transparent 70%);
}
.hero-product {
  position: absolute; right: 2%; bottom: 0; height: 92%; width: auto;
  z-index: 1; pointer-events: none;
  mix-blend-mode: screen; opacity: .92;
  filter: drop-shadow(0 0 26px rgba(255,122,24,0.28)) drop-shadow(0 0 42px rgba(47,109,240,0.22));
}
.hero .container { position: relative; z-index: 2; padding: 70px 24px; width: 100%; }
.hero-eyebrow {
  display: inline-block;
  color: #9cc0ff;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.45);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 48px;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,0.4);
  max-width: 740px;
  white-space: normal;
}
.hero p.lead {
  font-size: var(--fs-lead);
  max-width: 620px;
  opacity: .94;
  margin: 0 0 30px;
  line-height: 1.6;
  text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta .btn { padding: 14px 24px; font-size: 15px; }

.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.hero-badges span {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
  padding: 6px 14px; border-radius: 999px; font-size: var(--fs-small); font-weight: 500;
}

@media (max-width: 768px) {
  .hero { min-height: 480px; }
  .hero h1 { font-size: 32px; }
  .hero .container { padding: 50px 20px; }
  .hero-product { height: 60%; right: -8%; opacity: .6; }
}
.hero-stats { display: flex; gap: 44px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats .s .v { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.hero-stats .s .l { font-size: var(--fs-small); opacity: .82; margin-top: 2px; }

/* About page — intro text (larger + more breathing room) */
.about-intro {
  font-size: 19px;
  line-height: 1.8;
  opacity: .95;
  max-width: 100%;
  margin: 0;
  text-align: justify;
}
.about-intro .company-name {
  font-weight: 700;
  font-size: 23px;
}

/* About page — HERO */
.about-hero {
  position: relative;
  color: #fff;
  padding: 46px 0;
  overflow: hidden;
  background:
    radial-gradient(120% 135% at 85% 10%, rgba(47,109,240,.50), transparent 55%),
    linear-gradient(135deg, #0d1f47, #16306b 60%, #2f6df0);
}
.about-hero .container { position: relative; z-index: 1; }
.about-hero .about-intro {
  max-width: 1000px;
  margin: 0 auto;
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.6;
}
.about-hero-tags {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-top: 22px;
}
.about-hero-tags span {
  font-size: 13px; font-weight: 600; letter-spacing: .2px;
  color: #cfe0ff;
  padding: 7px 15px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
}

/* About page — photo gallery */
.about-gallery {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 60px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: transform .3s ease, box-shadow .3s ease;
}
.gallery-grid figure:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(20,30,60,.14);
}
.gallery-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}
.gallery-grid figcaption {
  text-align: center;
  font-size: var(--fs-small);
  color: var(--muted);
  padding: 12px 8px 0;
  font-weight: 500;
}

/* Hero — split layout (text left / factory image right) */
.hero-inner {
  display: flex; align-items: center; gap: 48px;
}
.hero-left { flex: 1; min-width: 0; }
.hero-right {
  flex: 0 0 420px; position: relative; z-index: 2;
}
.hero-factory-img {
  width: 100%; height: auto;
  border-radius: var(--radius);
  box-shadow:
    0 20px 60px rgba(0,0,0,.35),
    0 4px 16px rgba(0,0,0,.18);
  object-fit: cover;
  /* subtle float animation hint */
  animation: heroFloat 6s ease-in-out infinite alternate;
}
@keyframes heroFloat {
  from { transform: translateY(0); }
  to   { transform: translateY(-8px); }
}

/* ---------- Banner Carousel ---------- */
.banner-carousel {
  position: relative; overflow: hidden;
  width: 100%; max-width: 1200px; margin: 36px auto 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.carousel-track {
  display: flex; width: 100%;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.carousel-slide {
  flex: 0 0 100%; min-width: 0; width: 100%;
  position: relative;
  aspect-ratio: 1920 / 649;
}
.carousel-slide img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.carousel-dots {
  position: absolute; bottom: 14px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 3;
}
.dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.45); border: none;
  cursor: pointer; padding: 7px;
  background-clip: content-box;
  transition: background-color .25s ease;
}
.dot.active { background: #fff; background-clip: content-box; }
.dot:hover { background: rgba(255,255,255,.75); background-clip: content-box; }

@media (max-width: 760px) {
  .carousel-slide { min-height: 200px; }
}
@media (max-width: 480px) {
  .carousel-slide { min-height: 160px; }
}

/* ---------- Category quick cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cat-grid-3 .cat-card { padding: 18px 22px; }
.cat-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  box-shadow: var(--shadow);
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cfe0ff; }
.cat-card .ic {
  width: 46px; height: 46px; border-radius: 12px; display: inline-flex;
  align-items: center; justify-content: center; margin-bottom: 16px; color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--brand));
}
.cat-card h3 { font-size: var(--fs-h4); margin: 0 0 7px; }
.cat-card p { font-size: var(--fs-small); color: var(--muted); margin: 0 0 14px; line-height: 1.6; }
.cat-card a { font-weight: 600; font-size: var(--fs-small); }

/* ---------- Product grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-card .thumb { aspect-ratio: 4/3; background: #fff; border-bottom: 1px solid var(--line); position: relative; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 10px; } /* 自适应：完整显示不裁切不变形 */
.product-card .cat-tag {
  position: absolute; top: 12px; left: 12px; background: rgba(15,23,42,.7);
  color: #fff; font-size: var(--fs-micro); font-weight: 600; padding: 3px 10px; border-radius: 999px;
  letter-spacing: .02em;
}
.product-card .oem-tag {
  position: absolute; top: 12px; right: 12px; background: var(--teal-soft); color: #0b8c80;
  font-size: var(--fs-micro); font-weight: 700; padding: 3px 9px; border-radius: 999px;
}
.product-card .body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { font-size: var(--fs-h4); margin: 0 0 4px; }
.product-card .model { font-size: var(--fs-caption); color: var(--muted); margin-bottom: 8px; }
/* ---------- 价格区间（贸易术语 + 价格，如 FOB 1.00-3.00） ---------- */
.price-line {
  display: inline-block; margin-bottom: 8px;
  font-family: var(--font-display); font-weight: 700;
  color: var(--amber); font-size: 15px; letter-spacing: -0.01em;
  background: #fff7e8; border: 1px solid #fde8bd; border-radius: 8px;
  padding: 2px 10px;
}
.price-line .pt-term { font-size: 11px; font-weight: 700; color: #b45309; text-transform: uppercase; letter-spacing: .5px; margin-right: 2px; }
.price-line.note { font-family: var(--font-body); font-weight: 500; color: var(--muted); font-size: var(--fs-caption); background: none; border: none; padding: 0; }
.modal .m-body .price-line { font-size: 18px; margin: 10px 0 4px; }
.product-card .desc { font-size: var(--fs-small); color: var(--muted); flex: 1; margin: 0 0 14px; line-height: 1.6; }
.product-card .foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

/* ---------- Filters ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip {
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  padding: 8px 16px; border-radius: 999px; cursor: pointer; font-size: var(--fs-small); font-weight: 500;
  transition: all .15s ease; font-family: var(--font-body);
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(15,23,42,.55); z-index: 200;
  display: none; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto;
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff; border-radius: 16px; max-width: 880px; width: 100%;
  box-shadow: var(--shadow-md); overflow: hidden; animation: pop .18s ease;
}
@keyframes pop { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal .m-head { display: flex; }
.modal .m-gallery {
  flex: 1; background: #fff;
  position: sticky; top: 0; align-self: flex-start;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
}
/* 自适应：图片完整显示、不随参数表高度被放大裁切；尺寸标注见 .m-imgsize */
/* 主图区固定高度：不被缩略图条 / 视频块挤压（此前视频会把主图压到几十像素） */
.modal .m-gallery .m-main { position: relative; flex: 0 0 auto; height: clamp(320px, 48vh, 480px); }
.modal .m-gallery .m-main > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; padding: 12px;
  transition: opacity .25s ease;
}
.modal .m-imgsize {
  position: absolute; left: 0; right: 0; bottom: 8px;
  text-align: center; font-size: 11px; color: #98a3ba;
}
.modal .m-body { flex: 1.1; padding: 30px 32px; }
.modal .m-close {
  position: absolute; top: 14px; right: 16px; background: #fff; border: none;
  width: 36px; height: 36px; border-radius: 50%; font-size: 20px; cursor: pointer; z-index: 3;
  box-shadow: var(--shadow);
}
.modal h2 { font-size: var(--fs-h3); margin: 0 0 4px; }
.modal .m-model { color: var(--muted); font-size: var(--fs-caption); margin-bottom: 14px; }
.modal .m-desc { color: var(--muted); font-size: var(--fs-ui); margin-bottom: 18px; line-height: 1.6; }
.spec-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: var(--fs-small); }
.spec-table td { border: 1px solid var(--line); padding: 9px 12px; }
.spec-table td:first-child { background: var(--soft); font-weight: 600; width: 42%; color: var(--navy); }
.feat-list { list-style: none; padding: 0; margin: 0 0 18px; }
.feat-list li { padding: 6px 0 6px 26px; position: relative; font-size: var(--fs-ui); line-height: 1.6; }
.feat-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }

/* ---------- RFQ bar ---------- */
.rfq-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 22px rgba(20,30,60,.10);
  transform: translateY(110%); transition: transform .25s ease;
}
.rfq-bar.open { transform: translateY(0); }
.rfq-inner { max-width: var(--maxw); margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 16px; justify-content: space-between; }
.rfq-count { font-weight: 700; color: var(--navy); font-family: var(--font-display); }
.rfq-items { display: flex; gap: 8px; flex: 1; overflow-x: auto; }
.rfq-pill { background: var(--soft); border: 1px solid #d6e2ff; color: var(--brand); border-radius: 999px; padding: 4px 10px; font-size: var(--fs-caption); white-space: nowrap; }

/* ---------- Certifications bar ---------- */
.cert-bar { background: var(--navy); color: #fff; padding: 30px 0; }
.cert-bar .container { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; justify-content: center; }
.cert-item { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: var(--fs-body); }
.cert-item .badge {
  width: 44px; height: 44px; border-radius: 10px; background: rgba(255,255,255,.12);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: var(--fs-caption);
  border: 1px solid rgba(255,255,255,.3);
}
.cert-note { color: rgba(255,255,255,.7); font-size: var(--fs-small); text-align: center; width: 100%; margin-top: 4px; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(135deg, #0d1f47 0%, #16306b 50%, #2f6df0 100%);
  color: #fff; border-radius: 20px; padding: 58px 40px; text-align: center;
  position: relative; overflow: hidden;
}
.cta h2 { color: #fff; font-size: var(--fs-h2); margin: 0 0 12px; font-family: var(--font-display); }
.cta p { opacity: .9; max-width: 560px; margin: 0 auto 26px; font-size: var(--fs-lead); line-height: 1.6; }

/* ---------- Stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stats-grid-4 { grid-template-columns: repeat(4, 1fr); }
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; text-align: center; box-shadow: var(--shadow);
}
.stat .v { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 800; color: var(--brand); letter-spacing: -0.02em; }
.stat .l { font-size: var(--fs-small); color: var(--muted); margin-top: 8px; }

/* ---------- About timeline ---------- */
.timeline { border-left: 3px solid var(--soft); margin-left: 8px; padding-left: 28px; }
.timeline .item { position: relative; padding: 0 0 28px; }
.timeline .item::before {
  content: ""; position: absolute; left: -37px; top: 4px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 0 0 3px var(--soft);
}
.timeline .year { font-family: var(--font-display); font-weight: 800; color: var(--navy); font-size: var(--fs-body); }
.timeline p { margin: 4px 0 0; color: var(--muted); font-size: var(--fs-small); line-height: 1.6; }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.info-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.info-card h3 { margin-top: 0; font-size: var(--fs-h4); }
.info-row { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.info-row:last-child { border-bottom: none; }
.info-row .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--soft); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.info-row .k { font-size: var(--fs-caption); color: var(--muted); }
.info-row .v { font-weight: 600; font-size: var(--fs-body); min-width: 0; overflow-wrap: anywhere; word-break: break-word; }

/* ---------- Forms ---------- */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: var(--fs-ui); margin-bottom: 6px; }
.field label .req { color: var(--amber); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--font-body); font-size: var(--fs-ui); color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(47,109,240,.15);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: var(--fs-caption); color: var(--muted); margin-top: -6px; margin-bottom: 16px; }
.form-msg { padding: 12px 14px; border-radius: 10px; margin-bottom: 16px; font-size: var(--fs-ui); display: none; }
.form-msg.ok { display: block; background: var(--teal-soft); color: #0b8c80; border: 1px solid #b8efe8; }
.form-msg.err { display: block; background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.selsummary { background: var(--soft); border: 1px dashed #cfe0ff; border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; font-size: var(--fs-small); display: none; }
.selsummary.show { display: block; }

/* ---------- FAQ ---------- */
.faq-group { margin-bottom: 30px; }
.faq-group h3 { font-size: var(--fs-h4); margin: 0 0 8px; color: var(--navy); }
.faq-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: #fff; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; padding: 16px 18px;
  font-size: var(--fs-body); font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--ink);
  font-family: var(--font-body);
}
.faq-q .plus { color: var(--brand); font-size: 20px; flex: none; transition: transform .2s ease; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a .inner { padding: 0 18px 16px; color: var(--muted); font-size: var(--fs-ui); line-height: 1.65; }

/* ---------- Hero Video (autoplay loop, replaces banner carousel) ---------- */
.hero-video {
  background: #0d1f47;
  padding: 0;
  display: block;
  min-height: 0;
  line-height: 0;
}
/* 视频满宽、按原比例自动缩放：桌面/平板/手机均无变形（cover 裁掉溢出部分） */
.hero-video .hero-video-el {
  display: block;
  width: 100%;
  height: 560px;
  object-fit: cover;
  background: #0d1f47;
}
/* 视频版 hero 不继承旧轮播图的渐变遮罩/光晕（否则视频上会盖一层蒙版、左暗右亮） */
.hero-video::before,
.hero-video::after { content: none; display: none; }
@media (max-width: 768px) {
  .hero-video .hero-video-el { height: 420px; }
}
@media (max-width: 480px) {
  .hero-video .hero-video-el { height: 300px; }
}

/* Visually hidden (SEO text only) */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Floating contact stack (email + WeChat QR + WhatsApp QR) ---------- */
.contact-float {
  position: fixed; right: 18px; bottom: 92px; z-index: 999;
  display: flex; flex-direction: column; gap: 10px;
}
.cf-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; position: relative;
  color: #fff; text-decoration: none;
  box-shadow: 0 4px 12px rgba(13, 31, 71, .25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cf-btn:hover { transform: scale(1.06); }
.cf-btn svg { width: 21px; height: 21px; fill: #fff; display: block; }
.cf-email { background: #f59e0b; }
.cf-email:hover { box-shadow: 0 8px 20px rgba(245, 158, 11, .5); }
.cf-wechat { background: #22c55e; }
.cf-wechat:hover { box-shadow: 0 8px 20px rgba(34, 197, 94, .5); }
.cf-wa { background: #25D366; }
.cf-wa:hover { box-shadow: 0 8px 20px rgba(37, 211, 102, .55); }
.cf-pop {
  position: absolute; right: 52px; top: 50%;
  width: 174px; /* 显式宽度：避免绝对定位在小按钮内被 shrink-to-fit 压缩变形 */
  transform: translateY(-50%) translateX(8px);
  background: #fff; border-radius: 12px;
  box-shadow: 0 12px 34px rgba(13, 31, 71, .25);
  padding: 12px 12px 8px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  text-align: center; white-space: nowrap;
}
.cf-pop img {
  width: 150px; height: 150px; display: block;
  object-fit: contain; /* 二维码保持正方形不变形 */
  border-radius: 8px; border: 1px solid #eef1f6;
}
.cf-pop span {
  display: block; margin-top: 6px;
  font-size: 12px; color: #47536b; font-weight: 600;
}
.cf-btn:hover .cf-pop, .cf-btn.open .cf-pop {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}
.cf-pop::after {
  content: ""; position: absolute; right: -6px; top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 12px; height: 12px; background: #fff;
}
@media (max-width: 760px) {
  .contact-float { right: 14px; bottom: 84px; gap: 8px; }
  .cf-btn { width: 38px; height: 38px; }
  .cf-btn svg { width: 19px; height: 19px; }
  .cf-pop { width: 164px; }
  .cf-pop img { width: 140px; height: 140px; }
}

/* ---------- WhatsApp float (legacy, kept for compatibility) ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 88px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(37, 211, 102, .45);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover { transform: scale(1.06); box-shadow: 0 10px 26px rgba(37, 211, 102, .6); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; display: block; }
@media (max-width: 760px) {
  .wa-float { width: 50px; height: 50px; right: 16px; bottom: 84px; }
  .wa-float svg { width: 26px; height: 26px; }
}
.wa-inline { color: var(--brand); font-weight: 600; text-decoration: none; }
.wa-inline:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: #0d1f47; color: #cdd6ea; padding: 58px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.15fr auto; gap: 32px; }
/* Footer QR codes (WeChat + WhatsApp) */
.footer-qr { display: flex; gap: 16px; align-items: flex-start; }
.footer-qr figure { margin: 0; text-align: center; }
.footer-qr img {
  width: 96px; height: 96px; display: block;
  border-radius: 10px; background: #fff; padding: 4px;
}
.footer-qr figcaption { margin-top: 6px; font-size: 12px; color: #cdd6ea; }
.site-footer h4 { color: #fff; font-size: var(--fs-ui); margin: 0 0 14px; font-family: var(--font-display); }
.site-footer a { color: #cdd6ea; font-size: var(--fs-ui); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 9px; }
.footer-brand { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: var(--fs-h4); display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; font-size: var(--fs-small); color: #8b97b5; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a { width: 36px; height: 36px; border-radius: 9px; background: rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center; }

/* ---------- Mobile sticky quote ---------- */
.mobile-quote { display: none; }
/* Safety net: an inline `white-space:nowrap` in HTML will blow out the page width on
   phones/tablets. Inline styles beat normal selectors, so !important is required here. */
[style*="nowrap"] { white-space: normal !important; }

@media (max-width: 760px) {
  body { padding-bottom: 56px; }
  /* --- 移动端头部压缩：品牌名不再换行溢出 --- */
  .nav { height: 58px; gap: 8px; }
  .brand { font-size: 15px; gap: 8px; min-width: 0; flex: 1; }
  .brand .logo-img { height: 27px; }
  .brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand small { font-size: 10px; }
  .nav-actions { gap: 8px; flex: none; }
  .nav-toggle { font-size: 20px; }
  .mobile-quote {
    display: block; position: fixed; bottom: 0; left: 0; right: 0; z-index: 140;
    background: var(--amber); color: #fff; text-align: center; padding: 14px; font-weight: 700; font-size: var(--fs-body);
    font-family: var(--font-body);
  }
  .mobile-quote a { color: #fff; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 16px 24px; gap: 16px;
  }
  .hero h1 { font-size: 28px; white-space: normal; }
  .hero-inner { flex-direction: column; gap: 32px; }
  .hero-right { flex: none; width: 100%; max-width: 420px; margin: 0 auto; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid img { height: 200px; }
  .cat-grid, .product-grid, .stats-grid, .stats-grid-4 { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-qr { grid-column: 1 / -1; }
  .modal .m-head { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .cat-grid, .product-grid, .stats-grid, .stats-grid-4, .footer-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .brand span { display: none; } /* logo 图自带品牌字样，极窄屏隐藏文字避免截断 */
}

/* ---------- 参考站风格动效（纯 CSS/JS，零依赖，不改环境） ---------- */
html { scroll-behavior: smooth; }

/* 1) 滚动渐入：.reveal 由 JS 添加（JS 不可用时内容照常显示）。位移更大 + 微缩放，进入更明显 */
.reveal { opacity: 0; transform: translateY(36px) scale(.985); transition: opacity .8s ease, transform .8s cubic-bezier(.16,.84,.3,1); }
.reveal.revealed { opacity: 1; transform: none; }

/* 2) 页头滚动投影 */
.site-header { transition: box-shadow .3s ease; }
.site-header.scrolled { box-shadow: 0 4px 24px rgba(13, 31, 71, .10); }

/* 3) 产品/分类卡片：入场渐入 + 悬停放大上浮（距离/缩放/阴影都加强，动效更明显） */
@keyframes cardIn { from { opacity: 0; transform: translateY(36px) scale(.96); } to { opacity: 1; transform: none; } }
.product-card, .cat-card { animation: cardIn .6s cubic-bezier(.16,.84,.3,1) backwards; } /* backwards: 动画结束后释放 transform，:hover 上浮才生效 */
.product-card:nth-child(2), .cat-card:nth-child(2) { animation-delay: .08s; }
.product-card:nth-child(3), .cat-card:nth-child(3) { animation-delay: .16s; }
.product-card:nth-child(4), .cat-card:nth-child(4) { animation-delay: .24s; }
.product-card:nth-child(5), .cat-card:nth-child(5) { animation-delay: .32s; }
.product-card:nth-child(6), .cat-card:nth-child(6) { animation-delay: .40s; }
.product-card:nth-child(7), .cat-card:nth-child(7) { animation-delay: .48s; }
.product-card:nth-child(8), .cat-card:nth-child(8) { animation-delay: .56s; }
.product-card { transition: transform .3s ease, box-shadow .3s ease; }
.product-card:hover { transform: translateY(-10px); box-shadow: 0 22px 54px rgba(13, 31, 71, .20); }
.product-card .thumb img { transition: transform .5s cubic-bezier(.16,.84,.3,1); }
.product-card:hover .thumb img { transform: scale(1.09); }
.cat-card { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.cat-card:hover { transform: translateY(-8px); box-shadow: 0 18px 44px rgba(13, 31, 71, .14); border-color: var(--brand); }
.cat-card:hover .ic { animation: icPop .45s ease; }
@keyframes icPop { 40% { transform: scale(1.25) rotate(-8deg); } }

/* 4) 轮播 Ken Burns 缓推（4.5s，起点 1.10 → 1，节奏更快更明显；退出页基值同为 1，无跳变） */
@keyframes kenburns { from { transform: scale(1.10); } to { transform: scale(1); } }
.carousel-slide img { transform: scale(1); will-change: transform; }
.carousel-slide.active img { animation: kenburns 4.5s cubic-bezier(.25,.6,.35,1) forwards; }

/* 5) 无障碍：用户偏好减少动效时全部关闭 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .product-card, .cat-card { animation: none !important; }
  .product-card:hover, .cat-card:hover { transform: none; }
  .product-card:hover .thumb img { transform: none; }
  .carousel-slide img { transform: none !important; transition: none !important; }
}

/* ============================================================
   Project 页面（视频 + 图片案例）
   尺寸规则：所有媒体固定 16:9 格子，任何上传尺寸自动适配、不变形
   - 视频 object-fit:contain（黑底完整显示，不裁切）
   - 图片 object-fit:cover（满格裁切填充）
   ============================================================ */
.projects-section { padding: 30px 0 90px; }
.pj-empty { text-align: center; color: var(--muted); padding: 70px 20px; font-size: var(--fs-ui); background: #fff; border: 1px dashed var(--line); border-radius: 14px; }
.pj-project { margin-bottom: 60px; }
.pj-project:last-child { margin-bottom: 0; }
.pj-head { display: flex; align-items: baseline; gap: 12px; border-left: 4px solid var(--amber); padding-left: 14px; margin-bottom: 6px; }
.pj-head h2 { font-size: clamp(19px, 2.4vw, 24px); margin: 0; color: var(--navy); }
.pj-count { color: var(--muted); font-size: 12px; white-space: nowrap; }
.pj-desc { color: var(--muted); font-size: var(--fs-ui); margin: 4px 0 18px; max-width: 820px; }
.pj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 18px; }
.pj-media { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #0d1f47; box-shadow: 0 8px 26px rgba(13, 31, 71, .12); }
.pj-media.is-video video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.pj-media.is-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.16, .84, .3, 1); }
.pj-media.is-image:hover img { transform: scale(1.045); }
.pj-badge { position: absolute; top: 10px; left: 10px; background: rgba(13, 31, 71, .8); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .05em; padding: 3px 10px; border-radius: 999px; pointer-events: none; }
@media (max-width: 640px) {
  .pj-grid { grid-template-columns: 1fr; gap: 14px; }
  .pj-project { margin-bottom: 44px; }
}

/* ===== 产品详情弹窗：多图画廊（后台传几张显示几张） ===== */
.modal .m-imgsize { position: absolute; z-index: 2; }
.m-thumbs { display: flex; gap: 8px; padding: 10px 12px; flex-wrap: wrap; border-top: 1px solid var(--line); }
.m-thumb { width: 62px; height: 62px; flex: none; border-radius: 8px; overflow: hidden; cursor: pointer; padding: 0; border: 2px solid var(--line); background: #fff; opacity: .75; transition: border-color .2s ease, opacity .2s ease, transform .2s ease; }
.m-thumb img { position: static; width: 100%; height: 100%; object-fit: contain; display: block; padding: 2px; }
.m-thumb:hover { opacity: 1; transform: translateY(-2px); }
.m-thumb.active { border-color: var(--amber); opacity: 1; }
/* 产品视频（详情弹窗，画廊下方） */
.m-video { padding: 12px; border-top: 1px solid var(--line); position: relative; }
.m-video video { display: block; width: 100%; max-height: 240px; border-radius: 10px; background: #000; object-fit: contain; }
.m-video-tag { margin-top: 8px; font-size: var(--fs-small, 13px); font-weight: 600; color: var(--muted, #64748b); letter-spacing: .04em; }
@media (prefers-reduced-motion: reduce) {
  .modal .m-main > img, .m-thumb { transition: none !important; }
}
