/* ==========================================================================
   LUXUN · Light Corporate (Option B) — rebuilt to match 设计图/ pixel layout
   Palette: #FFFFFF / #0A1A38 / #2F6BFF / #EEF4FF / #F4F7FB
   Front-end visible copy is 100% English; this file contains no user-facing text.
   ========================================================================== */

:root {
  --navy: #0A1A38;
  --blue: #2F6BFF;
  --muted: #77869E;
  --muted-2: #9AA8BC;
  --line: #E6EDF7;
  --tint: #EEF4FF;
  --soft: #F5F8FC;
  --surface: #F4F7FB;
  --white: #FFFFFF;
  --maxw: 1320px;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }
.container { width: min(var(--maxw), calc(100% - 120px)); margin: 0 auto; }
.section { padding: 76px 0; }
.section--soft { background: var(--soft); }
.section--tint { background: var(--tint); }
.center { text-align: center; }

/* ---------- Typography ---------- */
.kicker {
  display: inline-block; color: var(--blue);
  font-size: 10px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; margin: 0 0 14px;
}
h1, h2, h3, h4 { font-weight: 400; letter-spacing: -.025em; margin: 0; line-height: 1.18; }
h1 { font-size: 46px; }
h2 { font-size: 30px; }
h3 { font-size: 16px; font-weight: 600; }
.lead { color: var(--muted); font-size: 13px; line-height: 1.85; max-width: 620px; }
.small { font-size: 12px; color: var(--muted); }
.eyebrow { font-size: 10px; letter-spacing: .14em; color: var(--muted-2); text-transform: uppercase; }
.pre-line { white-space: pre-line; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 36px; padding: 0 20px; border-radius: 3px; border: 1px solid transparent;
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer; transition: all .2s ease;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: #1E56E8; }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--plain { background: transparent; color: var(--blue); padding: 0; min-height: auto; }
.btn--plain:hover { color: #1E56E8; }
.text-link { color: var(--blue); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.text-link:hover { text-decoration: underline; }

/* ---------- Navigation ---------- */
.site-nav { background: #fff; border-bottom: 1px solid #EFF3F9; }
.nav-inner {
  height: 72px; display: flex; align-items: center; gap: 32px;
  width: min(var(--maxw), calc(100% - 120px)); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 34px; width: auto; object-fit: contain; }
.brand__name { font-size: 20px; font-weight: 700; letter-spacing: .14em; line-height: 1; }
.brand__sub { font-size: 7px; letter-spacing: .2em; color: var(--blue); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links a {
  font-size: 10px; font-weight: 600; letter-spacing: .08em; color: #44526B;
  padding: 6px 0; white-space: nowrap; text-transform: uppercase;
}
.nav-links a.is-active, .nav-links a:hover { color: var(--blue); }
.nav-cta { margin-left: 14px; min-height: 32px; padding: 0 18px; font-size: 10px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); margin: 4px 0; }

/* ---------- Section header ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.sec-head .kicker { margin-bottom: 10px; }
.sec-head h2 { white-space: pre-line; }
.sec-head .text-link { margin-bottom: 8px; }
.block-title { font-size: 13px; font-weight: 700; letter-spacing: .02em; margin: 0 0 20px; }

/* ---------- Home hero ---------- */
.hero { background: var(--tint); padding: 74px 0 86px; }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero h1 { font-size: 46px; line-height: 1.16; margin-bottom: 24px; }
.hero .lead { margin-bottom: 30px; max-width: 520px; }
.hero__actions { display: flex; gap: 12px; align-items: center; }
.hero__visual {
  min-height: 380px; display: flex; align-items: center; justify-content: center;
}
.hero__visual img { width: 100%; max-width: 400px; height: auto; object-fit: contain; }
.image-ph {
  width: 100%; min-height: 180px; display: flex; align-items: center; justify-content: center;
  background: var(--surface); color: #A9B8D0; font-size: 11px; letter-spacing: .12em;
}

/* ---------- Product cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.prod-card { display: block; }
.prod-card__media {
  aspect-ratio: 1.42 / 1; background: var(--surface); border-radius: 2px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.prod-card__media img { width: 100%; height: 100%; object-fit: cover; }
.prod-card__model { font-size: 13px; font-weight: 600; margin-top: 12px; }
.prod-card__sub { font-size: 11px; color: var(--muted-2); margin-top: 2px; }

/* ---------- Home about split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split__media { border-radius: 3px; overflow: hidden; min-height: 300px; background: var(--surface); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split .lead { max-width: 500px; }
.split .text-link { display: inline-block; margin-top: 24px; }

/* ---------- Why cards ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-card { background: var(--surface); border-radius: 3px; padding: 24px 22px 28px; min-height: 150px; }
.why-card__no { color: var(--blue); font-size: 16px; font-weight: 500; letter-spacing: .04em; margin-bottom: 14px; }
.why-card h3 { font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: 11px; line-height: 1.7; margin: 0; }

/* ---------- Facility cards ---------- */
.facility-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.facility-card { background: #fff; border-radius: 2px; overflow: hidden; }
.facility-card__media { aspect-ratio: 1.65 / 1; background: var(--surface); overflow: hidden; }
.facility-card__media img { width: 100%; height: 100%; object-fit: cover; }
.facility-card__caption { padding: 14px 2px 16px; font-size: 11px; }
.facility-card__caption b { font-weight: 700; }

/* ---------- News list ---------- */
.news-list { border-top: 1px solid var(--line); }
/* Empty news state — calm, on-brand placeholder, never fake articles */
.news-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 48px 24px;
  background: var(--soft); border: 1px solid var(--line); border-radius: 3px;
}
.news-empty__icon { width: 42px; height: 42px; color: #C2CEE0; margin-bottom: 16px; }
.news-empty__title { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.news-empty__text {
  font-size: 12px; color: var(--muted); line-height: 1.8;
  margin: 0; max-width: 420px;
}
.news-row {
  display: grid; grid-template-columns: 130px 1fr; gap: 24px;
  padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.news-row__date { font-size: 10px; letter-spacing: .08em; color: var(--muted-2); }
.news-row__title { font-size: 12px; }
.news-row:hover .news-row__title { color: var(--blue); }

/* ---------- Page header / breadcrumb ---------- */
.page-head { background: var(--tint); padding: 62px 0 56px; }
.page-head--plain { background: #fff; padding: 54px 0 42px; }
.page-head h1 { font-size: 38px; margin-bottom: 14px; }
.page-head .lead { max-width: 900px; }
.breadcrumb-bar { background: var(--tint); border-bottom: 1px solid #E7EFFB; padding: 12px 0; }
.breadcrumb { font-size: 10px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { margin: 0 8px; color: #C3CDDF; }

/* ---------- Category cards 3+2 ---------- */
.cat-bar { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.cat-all { font-size: 10px; font-weight: 700; letter-spacing: .1em; color: var(--muted); border: 1px solid var(--line); padding: 4px 12px; border-radius: 3px; }
.cat-all.is-active, .cat-all:hover { color: var(--blue); border-color: var(--blue); }
.category-note { background: var(--tint); border-left: 3px solid var(--blue); padding: 10px 14px; margin-bottom: 18px; font-size: 12px; color: #3B4A63; }
.category-note a { color: var(--blue); font-weight: 700; margin-left: 6px; }
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: 3px;
  padding: 24px 26px 28px; min-height: 128px; transition: border-color .2s, background .2s;
}
.cat-card:hover, .cat-card.is-active { border-color: var(--blue); background: var(--tint); }
.cat-card:nth-child(1), .cat-card:nth-child(2), .cat-card:nth-child(3) { grid-column: span 2; }
.cat-card:nth-child(4), .cat-card:nth-child(5) { grid-column: span 3; }
.cat-card__no { color: var(--blue); font-size: 16px; font-weight: 500; margin-bottom: 10px; }
.cat-card h3 { font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.cat-card p { color: var(--muted); font-size: 11px; margin: 0; line-height: 1.6; }

/* ---------- CTA strips ---------- */
.cta-strip { background: var(--tint); padding: 44px 0; }
.cta-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-strip h2 { font-size: 20px; font-weight: 600; }
.cta-band { background: #fff; padding: 44px 0 56px; }
.cta-band__inner {
  background: var(--navy); color: #fff; border-radius: 3px; padding: 30px 34px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.cta-band__inner h2 { font-size: 15px; font-weight: 700; }

/* ---------- Capability list ---------- */
.cap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.cap-list { list-style: none; margin: 0; padding: 0; }
.cap-list li { padding: 8px 0; color: var(--muted); font-size: 12px; }
.cap-list--pairs { display: grid; grid-template-columns: 190px 1fr; gap: 16px; }
.cap-list--pairs li { display: contents; }
.cap-list__k { font-weight: 700; color: var(--navy); }
.cap-list__v { color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1fr; gap: 80px; align-items: start; padding: 66px 0 90px; }
.contact-item { margin-bottom: 34px; }
.contact-item h3 { font-size: 10px; letter-spacing: .12em; color: var(--muted); font-weight: 600; text-transform: uppercase; margin-bottom: 10px; }
.contact-item p { margin: 0; font-size: 12px; color: var(--navy); line-height: 1.9; }
.form-card { background: var(--surface); border-radius: 3px; padding: 30px 34px 34px; }
.form-card h2 { font-size: 16px; font-weight: 700; margin-bottom: 22px; }
.form-row { margin-bottom: 12px; }
.form-control {
  width: 100%; border: 0; border-radius: 3px; background: #fff;
  padding: 13px 16px; font-size: 12px; color: var(--navy); outline: none;
  transition: box-shadow .2s;
}
.form-control:focus { box-shadow: 0 0 0 1px var(--blue); }
textarea.form-control { min-height: 110px; resize: vertical; }
.captcha-row { display: flex; gap: 10px; align-items: stretch; background: #fff; border-radius: 3px; padding: 0 0 0 0; }
.captcha-row .form-control { flex: 1; border-radius: 3px 0 0 3px; }
.captcha-img { width: 112px; height: 44px; align-self: center; border-radius: 0 3px 3px 0; cursor: pointer; background: #fff; }
.captcha-label { display: block; font-size: 10px; font-weight: 700; letter-spacing: .08em; color: var(--muted); margin: 4px 0 8px; }
.form-submit { width: 100%; margin-top: 16px; min-height: 40px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: 10px 14px; border-radius: 3px; font-size: 12px; margin-top: 14px; }
.form-alert--ok { background: #EAF7EE; color: #1E7A3C; }
.form-alert--err { background: #FFF0F0; color: #B42318; }

/* ---------- Product detail ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; padding: 54px 0 76px; }
.detail-gallery { width: 100%; min-width: 0; }
.detail-main {
  position: relative; width: 100%; aspect-ratio: 1.2 / 1; min-height: 320px;
  background: var(--surface); border-radius: 3px; overflow: hidden; cursor: zoom-in;
}
.detail-main > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.detail-thumbs {
  display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; margin-top: 12px;
  width: 100%; clear: both;
}
.detail-thumbs img {
  display: block; flex: 0 0 76px; width: 76px; height: 64px; object-fit: contain;
  background: var(--surface); border: 1px solid transparent; border-radius: 3px;
  padding: 4px; cursor: pointer; box-sizing: border-box;
}
.gallery-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 30px; height: 44px; border: 0; background: rgba(10,26,56,.42); color: #fff;
  font-size: 22px; line-height: 1; cursor: pointer; border-radius: 3px;
}
.gallery-arrow:hover { background: rgba(47,107,255,.85); }
.gallery-arrow--prev { left: 10px; }
.gallery-arrow--next { right: 10px; }
.detail-thumbs img.is-active, .detail-thumbs img:hover { border-color: var(--blue); }
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center; padding: 40px; background: rgba(6,16,36,.88);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 88vh; object-fit: contain; background: #fff; border-radius: 4px; }
.lightbox-close { position: absolute; top: 18px; right: 28px; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
.detail-meta { font-size: 10px; letter-spacing: .12em; color: var(--blue); font-weight: 700; margin-bottom: 12px; }
.detail-title { font-size: 38px; margin-bottom: 14px; }
.detail-desc { color: var(--muted); font-size: 12px; line-height: 1.9; margin-bottom: 30px; }
.detail-label { font-size: 10px; font-weight: 700; letter-spacing: .06em; margin-bottom: 10px; }
.feature-text { color: #3B4A63; font-size: 11px; line-height: 1.9; margin-bottom: 26px; }
/* Neutral empty-value placeholder — never invent product data */
.empty-value {
  color: #B9C5D8; font-size: 13px; letter-spacing: .12em;
  line-height: 1.9; margin-bottom: 26px;
}
.detail-desc .empty-value { display: inline-block; margin-bottom: 0; }
.feature-line { position: relative; padding-left: 14px; margin-bottom: 6px; }
.feature-line::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--blue);
}
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 28px; }
.spec-table th, .spec-table td { text-align: left; padding: 5px 0; font-size: 11px; border: 0; }
.spec-table th { width: 36%; color: var(--muted); font-weight: 400; }
.spec-table td { color: var(--muted); }
.related { background: var(--soft); padding: 48px 0 62px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 22px; }
.related-item__media { aspect-ratio: 1.4 / 1; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.related-item__media img { width: 100%; height: 100%; object-fit: contain; }
.related-item__model { font-size: 13px; font-weight: 600; margin-top: 12px; }
.related-item__sub { font-size: 11px; color: var(--muted-2); }

/* ---------- Article ---------- */
.article { max-width: 880px; margin: 0 auto; padding: 44px 0 34px; }
.article h1 { font-size: 30px; margin-bottom: 12px; }
.article__meta { color: var(--muted-2); font-size: 10px; letter-spacing: .06em; margin-bottom: 26px; }
.article__cover { border-radius: 3px; overflow: hidden; margin-bottom: 34px; }
.article__cover img { width: 100%; }
.article__body { font-size: 12px; line-height: 2.1; color: #3B4A63; }
.article__body p { margin: 0 0 22px; }
.article__body strong { color: var(--navy); }
.article__body img { border-radius: 3px; margin: 18px 0; }
.article__body a { color: var(--blue); text-decoration: underline; }
.back-link { display: inline-block; margin-top: 8px; }
.related-news { background: var(--soft); padding: 34px 0 46px; }
.related-news .container { max-width: 880px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #fff; padding: 54px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 48px; }
.footer-brand__name { font-size: 20px; font-weight: 700; letter-spacing: .14em; }
.footer-brand__text { color: #AEBBD2; font-size: 11px; line-height: 1.9; margin: 16px 0 0; max-width: 290px; }
.footer-col h4 { font-size: 10px; letter-spacing: .12em; color: #8FA8FF; text-transform: uppercase; margin: 0 0 16px; font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a, .footer-col span { color: #C8D3E6; font-size: 11px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; display: flex; justify-content: space-between; gap: 20px; color: #8B9BB6; font-size: 10px; }

/* ---------- Utility ---------- */
.empty-state { padding: 40px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line); font-size: 12px; }
.mt-24 { margin-top: 24px !important; }
.mt-40 { margin-top: 40px !important; }
.hidden { display: none !important; }
.not-found { padding: 110px 0; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .container, .nav-inner { width: calc(100% - 60px); }
  .nav-links { gap: 16px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid, .related-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-card:nth-child(n) { grid-column: span 1; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .hero__grid, .split, .detail-grid, .contact-grid, .cap-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 52px 0 60px; }
  .hero h1 { font-size: 36px; }
  h2 { font-size: 25px; }
  .page-head h1 { font-size: 30px; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0; z-index: 60;
    background: #fff; border-bottom: 1px solid var(--line); padding: 16px 24px 22px;
    flex-direction: column; align-items: flex-start; gap: 2px;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { font-size: 12px; padding: 9px 0; }
  .nav-cta { margin: 10px 0 0; }
  .prod-grid, .related-grid, .why-grid, .facility-grid, .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-card:nth-child(n) { grid-column: span 1; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cta-strip, .cta-band__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .container, .nav-inner { width: calc(100% - 36px); }
  .prod-grid, .related-grid, .why-grid, .facility-grid, .cat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .news-row { grid-template-columns: 90px 1fr; gap: 12px; }
  .form-card { padding: 22px; }
}
