:root {
  --navy: #13263b;
  --navy-deep: #0b1725;
  --navy-soft: #1d3652;
  --gold: #c69334;
  --gold-soft: #e2be78;
  --ivory: #f6f4ef;
  --surface: #fbf9f5;
  --card: #ffffff;
  --ink: #1e293b;
  --muted: #64748b;
  --border: #e5dfd3;
  --ok: #15803d;
  --danger: #b91c1c;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(19, 38, 59, 0.06);
  --shadow-md: 0 12px 32px rgba(19, 38, 59, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 70px;
}

.brand-link { display: inline-flex; align-items: center; gap: 12px; }
.brand-link img { height: 42px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 24px; font-size: 14.5px; font-weight: 600; color: var(--navy); }
.nav-links a:hover { color: var(--gold); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.lang-switch {
  display: inline-flex; border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface); padding: 3px;
}
.lang-btn {
  border: none; background: transparent; color: var(--muted);
  font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; cursor: pointer;
}
.lang-btn.active { background: var(--navy); color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px; font-size: 14.5px; font-weight: 600;
  border: 1px solid var(--border); background: #fff; color: var(--navy);
  cursor: pointer; transition: all 0.16s ease;
}
.btn:hover { border-color: var(--gold); transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-soft); border-color: var(--navy-soft); }
.btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover { background: #b28229; border-color: #b28229; }
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: 8px; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 58%, #1f3c5c 100%);
  color: #fff;
  padding: 64px 0 58px;
  border-bottom: 4px solid var(--gold);
}
.hero-grid {
  display: grid; grid-template-columns: 1.35fr 0.95fr; gap: 36px; align-items: center;
}
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold-soft);
  border: 1px solid rgba(226, 190, 120, 0.35); padding: 4px 12px; border-radius: 999px;
  margin-bottom: 16px;
}
.hero h1 {
  margin: 0 0 14px; font-size: clamp(28px, 4vw, 42px); line-height: 1.18; font-weight: 800;
  letter-spacing: -0.02em;
}
.hero-sub { margin: 0 0 26px; font-size: 16.5px; color: #dbe4f0; max-width: 600px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13.5px; color: #cbd5e1; }
.hero-meta span::before { content: "• "; color: var(--gold-soft); }

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(226, 190, 120, 0.28);
  border-radius: 16px; padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.hero-card-title { font-size: 14px; font-weight: 700; color: var(--gold-soft); margin: 0 0 14px; letter-spacing: 0.04em; text-transform: uppercase; }
.fact-list { display: grid; gap: 12px; }
.fact-row {
  display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-size: 13.5px;
}
.fact-row:last-child { border-bottom: none; padding-bottom: 0; }
.fact-k { color: #cbd5e1; }
.fact-v { font-weight: 700; color: #fff; text-align: right; }

/* Sections */
.section { padding: 60px 0; }
.section-white { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.sec-head h2 { margin: 0 0 6px; font-size: 28px; color: var(--navy); letter-spacing: -0.01em; }
.sec-desc { margin: 0; color: var(--muted); font-size: 15px; max-width: 680px; }

/* Catalog Controls */
.controls {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.cat-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-pill {
  border: 1px solid var(--border); background: #fff; color: var(--navy);
  padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; cursor: pointer;
}
.cat-pill:hover { border-color: var(--gold); }
.cat-pill.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.search-box {
  min-width: 240px; padding: 9px 14px; border-radius: 10px;
  border: 1px solid var(--border); background: #fff; font-size: 14px; color: var(--ink);
}
.search-box:focus { outline: none; border-color: var(--gold); }

/* Product Grid */
.prod-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px;
}
.p-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.p-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.p-card.in-rfq { border-color: var(--gold); box-shadow: 0 6px 20px rgba(198, 147, 52, 0.18); }

.p-media {
  position: relative; aspect-ratio: 4 / 3; background: var(--surface); overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.p-media.has-photo { cursor: zoom-in; }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.p-media.has-photo:hover img { transform: scale(1.04); }

.p-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 18px; text-align: center;
  background: radial-gradient(circle at top right, #f3ebda 0%, #f9f6ef 60%, #ffffff 100%);
}
.p-placeholder img { height: 52px; width: auto; opacity: 0.78; margin-bottom: 10px; }
.p-placeholder span { font-size: 12px; color: var(--muted); font-weight: 600; }

.p-badge-cat {
  position: absolute; top: 10px; left: 10px;
  background: rgba(19, 38, 59, 0.86); color: #fff; font-size: 11.5px; font-weight: 600;
  padding: 3px 9px; border-radius: 999px;
}
.p-badge-photo {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(19, 38, 59, 0.84); color: #fff; font-size: 11px; font-weight: 700;
  padding: 3px 8px; border-radius: 999px;
}

.p-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.p-title { margin: 0 0 2px; font-size: 17px; font-weight: 700; color: var(--navy); }
.p-sub { margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.p-specs { display: grid; gap: 6px; font-size: 13px; margin-bottom: 16px; }
.p-spec-row { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed #ece6da; padding-bottom: 4px; }
.p-spec-row span:first-child { color: var(--muted); }
.p-spec-row span:last-child { font-weight: 600; color: var(--ink); text-align: right; }

.p-foot { margin-top: auto; }
.p-rfq-btn { width: 100%; }
.p-rfq-btn.added { background: var(--ok); color: #fff; border-color: var(--ok); }

/* Capabilities */
.cap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.cap-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; border-top: 3px solid var(--gold);
}
.cap-card h3 { margin: 0 0 8px; font-size: 17px; color: var(--navy); }
.cap-card p { margin: 0; font-size: 14px; color: var(--muted); }

/* Inquiry Form */
.rfq-wrap {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: start;
}
.rfq-info {
  background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px;
  border-top: 4px solid var(--gold);
}
.rfq-info h2 { margin: 0 0 10px; font-size: 24px; }
.rfq-info p { margin: 0 0 20px; color: #dbe4f0; font-size: 14.5px; }
.contact-box { display: grid; gap: 12px; font-size: 14px; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.14); }
.contact-box a { color: var(--gold-soft); font-weight: 600; }

.rfq-form {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.field label { font-size: 13px; font-weight: 600; color: var(--navy); }
.field input, .field textarea {
  width: 100%; padding: 10px 12px; border-radius: 9px; border: 1px solid var(--border);
  font-family: inherit; font-size: 14px; color: var(--ink); background: #fff;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }

.hp-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; min-height: 28px; margin-bottom: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px;
  background: #faf3e4; border: 1px solid #e4cfa3; color: var(--navy);
  border-radius: 999px; font-size: 12.5px; font-weight: 600;
}
.chip button {
  border: none; background: transparent; color: var(--danger); font-weight: 800;
  cursor: pointer; padding: 0 2px; font-size: 14px;
}

.alert { padding: 12px 14px; border-radius: 10px; font-size: 14px; margin-top: 12px; }
.alert-ok { background: #ecfdf5; border: 1px solid #bbf7d0; color: #166534; }
.alert-warn { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.alert-err { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.hidden { display: none !important; }

/* Floating RFQ Bar */
.rfq-dock {
  position: fixed; bottom: 18px; right: 18px; z-index: 45;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(11, 23, 37, 0.35); border: 1px solid var(--gold);
  display: flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 600;
}

/* Lightbox */
.modal-mask {
  position: fixed; inset: 0; z-index: 60; background: rgba(9, 17, 28, 0.84);
  display: flex; align-items: center; justify-content: center; padding: 18px;
}
.lb-box {
  background: #0f1b2b; color: #fff; border-radius: 14px; max-width: 860px; width: 100%; padding: 18px;
}
.lb-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.lb-stage {
  position: relative; background: #09111c; border-radius: 10px; min-height: 280px; max-height: 68vh;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.lb-stage img { max-width: 100%; max-height: 66vh; object-fit: contain; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px;
  border-radius: 999px; border: none; background: rgba(255,255,255,0.2); color: #fff;
  font-size: 22px; cursor: pointer;
}
.lb-prev { left: 10px; }
.lb-next { right: 10px; }

/* Footer */
.site-footer {
  background: var(--navy-deep); color: #cbd5e1; padding: 28px 0; font-size: 13.5px;
}
.foot-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

@media (max-width: 860px) {
  .hero-grid, .rfq-wrap, .form-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
