
/* =====================================================================
   VISUAL REFINEMENT LAYER — added 14 Sep 2026
   Keeps the existing navy / blue / teal identity and every class name the
   markup already uses. Everything here is additive: it refines rhythm,
   contrast, hierarchy and interaction feedback without restructuring the
   page templates. Loaded last, so it wins on equal specificity.
   ===================================================================== */

:root {
  /* one spacing rhythm, so sections stop drifting apart */
  --sp-1: 8px;
  --sp-2: 12px;
  --sp-3: 16px;
  --sp-4: 24px;
  --sp-5: 32px;
  --sp-6: 48px;
  --sp-7: 72px;
  --sp-8: 104px;
  --ring: 0 0 0 3px rgba(55, 201, 176, .45);
  --shadow-sm: 0 2px 8px rgba(11, 37, 69, .06);
  --shadow-md: 0 10px 30px rgba(11, 37, 69, .09);
  --shadow-lg: 0 22px 52px rgba(11, 37, 69, .14);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- typography: tighter headings, calmer body rhythm ---------- */
body { line-height: 1.68; text-rendering: optimizeLegibility; }

h1, h2, h3, h4 { letter-spacing: -.015em; }

/* balanced line breaks where supported — stops orphan words in headings */
h1, h2, .section-head h2, .sub-h1, .cat-card h3 { text-wrap: balance; }
p, li, .sub-lead { text-wrap: pretty; }

::selection { background: rgba(55, 201, 176, .28); }

/* ---------- buttons: clearer states, real focus ring ---------- */
.btn { transition: transform .18s var(--ease), box-shadow .18s var(--ease),
                    background .18s var(--ease), color .18s var(--ease),
                    border-color .18s var(--ease); }
.btn:active { transform: translateY(0) scale(.985); }
.btn-primary { background: linear-gradient(180deg, #123a66 0%, var(--navy) 100%); }
.btn-primary:hover { background: linear-gradient(180deg, var(--blue) 0%, #0f4179 100%);
                     box-shadow: 0 10px 24px rgba(11, 37, 69, .28); }

a:focus-visible, button:focus-visible, .btn:focus-visible,
.p-item:focus-visible, .cat-card:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 10px;
}

/* ---------- header: crisper once scrolled ---------- */
.site-header.scrolled { box-shadow: 0 2px 14px rgba(11, 37, 69, .07); }
.main-nav a { position: relative; }
.main-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px;
  height: 2px; border-radius: 2px; background: var(--teal);
  transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease);
}
.main-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }

/* ---------- hero: depth behind the copy ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 82% 18%, rgba(55, 201, 176, .16), transparent 62%),
    linear-gradient(140deg, #0b2545 0%, #123a66 52%, #134e8f 100%);
  position: relative;
  overflow: hidden;
}
.hero-sub { line-height: 1.6; }
.hero-trust li { line-height: 1.4; }

/* ---------- stats: dividers instead of four floating numbers ---------- */
.stats { background: var(--navy); }
.stats-grid { gap: 0; padding: 34px 0; }
.stat { padding: 6px 14px; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 12%;
  height: 76%; width: 1px; background: rgba(255, 255, 255, .14);
}
.stat-num { font-variant-numeric: tabular-nums; }
.stat-label { line-height: 1.45; margin-top: 6px; }

/* ---------- sections ---------- */
.section { padding: var(--sp-8) 0; }
.section-head { margin-bottom: var(--sp-6); }

/* ---------- category cards: white cards on a soft wash ---------- */
.cats { background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%); }
.cat-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              border-color .22s var(--ease);
  overflow: hidden;
}
.cat-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg);
                  border-color: #b9d2e9; color: inherit; }
.cat-card:hover::before { transform: scaleX(1); }

.cat-icon {
  background: linear-gradient(135deg, rgba(19, 78, 143, .10), rgba(55, 201, 176, .16));
  color: var(--navy);
  border: 1px solid rgba(19, 78, 143, .12);
  transition: background .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease);
}
.cat-card:hover .cat-icon { background: var(--navy); color: #fff;
                           border-color: var(--navy); }
.cat-card h3 { line-height: 1.3; }
.cat-card p { line-height: 1.6; }
.cat-cta { display: inline-block; transition: transform .2s var(--ease); }
.cat-card:hover .cat-cta { transform: translateX(4px); }

/* ---------- product cards ---------- */
.p-item {
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease),
              border-color .2s var(--ease);
}
.p-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px);
                border-color: #c3d6e8; }
.p-img { background: linear-gradient(180deg, #f6f9fc, #eef3f8); }
.p-img img {
  height: 176px;
  transition: transform .35s var(--ease);
  /* the Alibaba CDN serves a mix of aspect ratios — normalise the frame */
}
.p-item:hover .p-img img { transform: scale(1.035); }
.p-item h4 { line-height: 1.38; min-height: 2.76em; }
.p-item p { line-height: 1.55; }
.chip { line-height: 1.5; }

/* ---------- single-column variant used by the focused capability pages ---------- */
.products-layout.single { grid-template-columns: minmax(0, 1fr); max-width: 1080px; }

/* ---------- legal documents (privacy / terms) ---------- */
.legal-doc { max-width: 820px; font-size: 15.5px; line-height: 1.75; }
.legal-doc h2 {
  font-size: 19px; margin: var(--sp-6) 0 var(--sp-2);
  padding-top: var(--sp-4); border-top: 1px solid var(--line);
}
.legal-doc h2:first-of-type { border-top: 0; padding-top: 0; margin-top: var(--sp-4); }
.legal-doc ul { margin: 0 0 var(--sp-3); padding-inline-start: 22px; }
.legal-doc li { margin-bottom: 6px; }
.legal-doc p { margin-bottom: var(--sp-3); }
.legal-doc a { color: var(--blue); text-decoration: underline;
               text-underline-offset: 3px; }
.legal-doc a:hover { color: var(--teal-deep); }
.legal-updated {
  display: inline-block; font-size: 13px; font-weight: 600;
  color: var(--slate); background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 14px; margin-bottom: var(--sp-2) !important;
}

/* ---------- footer ---------- */
.footer-col a { transition: color .15s var(--ease); }
.footer-col a:hover { color: var(--teal); }

/* ---------- motion sensitivity ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover, .cat-card:hover, .p-item:hover { transform: none; }
}

/* ---------- small screens ---------- */
@media (max-width: 980px) {
  .section { padding: var(--sp-7) 0; }
  .section-head { margin-bottom: var(--sp-5); }
}
@media (max-width: 560px) {
  .stat + .stat::before { display: none; }
  .stats-grid { gap: var(--sp-3); }
  .p-item h4 { min-height: 0; }
}

/* =====================================================================
   HOME PAGE REVISION — 14 Sep 2026
   Applied strictly to what the client's brief "Home页修改方案.xlsx" asks
   for on the home page: poster hero, three capability boxes, photo-led
   capability cards (5), About-Us prose, revised custom + CTA copy.
   Everything below is new classes or additive overrides; no earlier rule
   is modified.
   ===================================================================== */

/* ---------- 1. HERO: the supplied poster as the section background ---------- */
.hero-poster {
  background-color: #0b2545;
  /* Left side darkened for copy contrast; the poster's own artwork (gobo
     wheel + filter discs) fades in from ~60% across. Because the poster is
     3.2:1 it is zoomed hard by `cover`, so on narrower screens the artwork
     drifts left underneath the copy — the scrim is what keeps that legible. */
  background-image:
    linear-gradient(90deg,
      rgba(8, 24, 46, .96) 0%,
      rgba(8, 24, 46, .94) 38%,
      rgba(8, 24, 46, .74) 56%,
      rgba(8, 24, 46, .30) 76%,
      rgba(8, 24, 46, 0) 92%),
    none;
  background-repeat: no-repeat, no-repeat;
  background-size: cover, cover;
  background-position: center center, center right;
  padding: var(--sp-8) 0 88px;
  min-height: 560px;
  display: flex;
  align-items: center;
}
/* single-column copy: the poster now carries the right-hand visual.
   The copy column stops short of the poster's gobo artwork (~x 660px at
   1440w) so the two never fight for the same pixels. */
.hero-poster .hero-inner { display: block; }
.hero-poster .hero-copy { max-width: 540px; }
.hero-poster h1 { margin-bottom: 26px; }

/* ---------- 2. HERO: the three capability boxes ---------- */
.hero-pillars {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 540px;
}
.hero-pillars a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 66px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .20);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  color: #fff;
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.32;
  text-decoration: none;
  transition: background .18s var(--ease), border-color .18s var(--ease),
              transform .18s var(--ease);
}
.hero-pillars a:hover,
.hero-pillars a:focus-visible {
  background: rgba(55, 201, 176, .18);
  border-color: rgba(55, 201, 176, .60);
  transform: translateY(-2px);
  color: #fff;
}

/* ---------- 3. CAPABILITY CARDS: photos instead of the small icon ---------- */
/* 5 cards: 3 up top, the last 2 centred underneath */
.cats-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cat-card { grid-column: span 2; }
.cat-card:nth-child(4) { grid-column: 2 / span 2; }
.cat-card:nth-child(5) { grid-column: 4 / span 2; }

.cat-card-photo { padding: 0 0 28px; }
.cat-media {
  aspect-ratio: 6 / 5;
  overflow: hidden;
  background: #eef3f8;
}
.cat-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .38s var(--ease);
}
.cat-card-photo:hover .cat-media img { transform: scale(1.04); }
.cat-card-photo h3,
.cat-card-photo p,
.cat-card-photo .cat-cta { padding-inline: 30px; }
.cat-card-photo h3 { margin-top: 24px; }

/* ---------- 4. ABOUT US prose (was the six-card "why" grid) ---------- */
/* .section.why keeps its navy background, so the prose must be light-on-dark.
   --slate (#5b6b7b) would only reach ~2.8:1 here; this lands ~10:1. */
.about-prose {
  max-width: 900px;
  margin: 0 auto;
  font-size: 16.5px;
  line-height: 1.85;
  color: rgba(255, 255, 255, .84);
}
.about-prose p { margin: 0 0 22px; }
.about-prose p:last-child { margin-bottom: 0; }
/* a hairline teal rule under the heading ties the section together */
.why .section-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 3px;
  background: var(--teal);
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-poster { min-height: 0; padding: var(--sp-7) 0 76px; }
}
@media (max-width: 960px) {
  .cats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-card,
  .cat-card:nth-child(4),
  .cat-card:nth-child(5) { grid-column: auto; }
}
@media (max-width: 860px) {
  /* on narrow screens the poster is cropped hard — lean on the scrim */
  .hero-poster {
    background-image:
      linear-gradient(180deg,
        rgba(7, 23, 44, .92) 0%,
        rgba(7, 23, 44, .88) 55%,
        rgba(7, 23, 44, .95) 100%),
      none;
    background-position: center center, 74% center;
  }
}
@media (max-width: 640px) {
  .hero-pillars { grid-template-columns: 1fr; gap: 10px; max-width: 100%; }
  .hero-pillars a { min-height: 0; padding: 13px 16px; }
}
@media (max-width: 560px) {
  .cats-grid { grid-template-columns: 1fr; }
  .about-prose { font-size: 15.5px; line-height: 1.78; }
}

/* ---------- product detail: contact block at the bottom of every detail page ---------- */
.pd-contact {
  margin-top: var(--sp-5);
  padding: var(--sp-4);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
  box-shadow: var(--shadow-sm);
}
.pd-contact .pd-h3 { margin-bottom: var(--sp-2); }
.pd-contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); }
.pd-contact-item { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pd-contact-ico {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: rgba(55, 201, 176, .14); color: var(--teal-deep);
}
.pd-contact-k { color: var(--slate); font-size: 14.5px; font-weight: 600; }
.pd-contact-v {
  color: var(--navy); font-size: 15.5px; font-weight: 700; text-decoration: none;
  border-bottom: 1.5px solid rgba(55, 201, 176, .5);
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.pd-contact-v:hover, .pd-contact-v:focus-visible { color: var(--teal-deep); border-color: var(--teal-deep); }
@media (max-width: 560px) {
  .pd-contact { padding: var(--sp-3); }
  .pd-contact-item { gap: 8px; }
  .pd-contact-k { font-size: 13.5px; }
  .pd-contact-v { font-size: 14.5px; word-break: break-all; }
}



/* ===================== PRODUCT TAXONOMY — 5 CATEGORIES x SUBCATEGORIES =====================
   Two-level sidebar (category -> subcategory) + the capability cards used by the
   "Custom Glass Fabrication" branch, which lists processes instead of products.        */

/* ---- top level: one row per category ---- */
.subcat-group { border-radius: 12px; }
.subcat-group + .subcat-group { margin-top: 5px; }
.subcat-cat {
  display: flex; align-items: center; gap: 10px;
  padding: 12px; border-radius: 10px; text-decoration: none;
  color: #0b2545; font-size: 14.5px; font-weight: 700; line-height: 1.25;
  background: #f6fafd; border: 1px solid #e6edf5;
  transition: background .15s, color .15s, border-color .15s;
}
.subcat-cat:hover { background: #eaf3fb; border-color: #d5e3f2; }
.subcat-cat.active { background: #0b2545; color: #fff; border-color: #0b2545; }
.subcat-cat.active .subcat-ico { color: #37c9b0; }
.subcat-cat .subcat-count { font-weight: 600; }
.subcat-cat.active .subcat-count { background: rgba(255, 255, 255, .18); color: #fff; }

/* ---- nested subcategory rows ---- */
.subcat-kids { display: grid; gap: 2px; padding: 4px 0 6px; }
.subcat-kids .subcat-item { padding: 9px 12px 9px 34px; font-size: 13.8px; border-radius: 8px; }
.subcat-kids .subcat-item::before {
  content: ""; flex: 0 0 5px; width: 5px; height: 5px; border-radius: 50%;
  background: #b9cce0; margin-right: 2px; transition: background .15s;
}
.subcat-kids .subcat-item:hover::before { background: #37c9b0; }
.subcat-kids .subcat-item.active::before { background: #37c9b0; }
.subcat-count.is-zero { color: #b6c2d2; background: #f4f7fb; }
.subcat-cat.active .subcat-count.is-zero { color: #fff; background: rgba(255, 255, 255, .18); }

/* ---- "Custom Glass Fabrication": capability cards instead of a product grid ---- */
.cap-lead { margin: -4px 0 20px; color: #45536a; line-height: 1.65; max-width: 62em; }
.cap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cap-card {
  background: #fff; border: 1px solid #e6edf5; border-radius: 14px;
  padding: 16px 18px; box-shadow: 0 1px 2px rgba(11, 37, 69, .04);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.cap-card:hover {
  border-color: #cfe0f2; box-shadow: 0 10px 24px rgba(11, 37, 69, .08);
  transform: translateY(-2px);
}
.cap-card h4 { margin: 0 0 6px; font-size: 15px; color: #0b2545; letter-spacing: -.005em; }
.cap-card p { margin: 0; font-size: 13.6px; line-height: 1.62; color: #5a6b83; }
.cap-cta {
  margin-top: 24px; padding: 20px 22px; border-radius: 16px;
  border: 1px solid #d9e7f3;
  background: linear-gradient(180deg, #ffffff 0%, #f1f7fc 100%);
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
}
.cap-cta p { margin: 0; flex: 1 1 320px; color: #33425a; line-height: 1.6; }
.cap-cta .btn { flex: 0 0 auto; }

/* ---- empty subcategory ---- */
.subcat-empty {
  background: #fff; border: 1px dashed #cfe0f2; border-radius: 16px;
  padding: 34px 24px; text-align: center;
}
.subcat-empty p { margin: 0 auto 18px; color: #5a6b83; line-height: 1.65; max-width: 44em; }

@media (max-width: 1140px) { .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .cap-grid { grid-template-columns: 1fr; }
  .cap-cta { flex-direction: column; align-items: stretch; text-align: left; }
  .cap-cta .btn { align-self: flex-start; }
}

/* ---- mobile: flatten the tree into one horizontally scrollable chip row ---- */
@media (max-width: 860px) {
  .subcat-sidebar {
    position: static; max-height: none; overflow-x: auto; overflow-y: hidden;
    display: flex; flex-wrap: nowrap; gap: 8px; padding: 8px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .subcat-sidebar::-webkit-scrollbar { display: none; }
  .subcat-group, .subcat-kids { display: contents; }
  .subcat-item, .subcat-cat { flex: 0 0 auto; padding: 9px 13px; font-size: 13.5px; white-space: nowrap; }
  .subcat-kids { padding: 0; }
  .subcat-kids .subcat-item { padding-left: 13px; }
  .subcat-kids .subcat-item::before { display: none; }
  .subcat-cat { background: #0b2545; color: #fff; border-color: #0b2545; }
  .subcat-cat .subcat-count { background: rgba(255, 255, 255, .18); color: #fff; }
  .subcat-cat.active { background: #12406f; }
}


/* ---- mobile layout fix ----
   style.css declares `.products-layout { grid-template-columns: 248px 1fr }`
   *after* its own `@media (max-width: 860px)` block, so the one-column rule
   there never wins and the sidebar stayed 248px wide on phones. Re-assert it
   from the last-loaded stylesheet. */
@media (max-width: 860px) {
  .products-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .products-main { min-width: 0; }
  .subcat-sidebar { width: 100%; max-width: 100%; }
}

/* mobile chips: give the category chips a quieter tint so "solid navy" always
   means "this is the current section", and make sub chips read as chips too */
@media (max-width: 860px) {
  .subcat-item { background: #fff; border: 1px solid #e2ebf5; }
  .subcat-cat { background: #e9f1fa; color: #0b2545; border-color: #d3e2f0; font-weight: 700; }
  .subcat-cat .subcat-count { background: #fff; color: #0b2545; font-weight: 600; }
  .subcat-cat.active { background: #0b2545; color: #fff; border-color: #0b2545; }
  .subcat-cat.active .subcat-count { background: rgba(255, 255, 255, .2); color: #fff; }
  .subcat-item.active .subcat-count { background: rgba(255, 255, 255, .18); color: #fff; }
}


/* ==================== BLOG: hub section on /about ==================== */
.blog-hub { background: #f6f9fc; border-top: 1px solid #e6eef7; overflow-x: clip; }
.blog-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 20px; margin: 20px 0 24px; }
.blog-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.blog-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid #dbe6f2; background: #fff; color: #0b2545; font-size: 13.5px; font-weight: 600;
  text-decoration: none; transition: .16s; font-family: inherit; cursor: pointer; }
.blog-chip span { color: #6b829e; font-weight: 600; font-size: 12.5px; }
.blog-chip:hover, .blog-chip.is-on { background: #0b2545; color: #fff; border-color: #0b2545; }
.blog-chip:hover span, .blog-chip.is-on span { color: #9fc3e8; }
.blog-count { margin: 0; font-size: 13.5px; color: #6b829e; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(285px, 1fr)); gap: 16px; }
.blog-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; background: #fff;
  border: 1px solid #e2ebf5; border-radius: 14px; text-decoration: none; transition: .18s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(11, 37, 69, .1);
  border-color: #c7dcf0; }
.blog-card-tag { font-size: 11.5px; font-weight: 700; letter-spacing: .045em; text-transform: uppercase;
  color: #2aa892; }
.blog-card h4 { font-size: 15.5px; line-height: 1.36; margin: 0; color: #0b2545; }
.blog-card p { font-size: 13.5px; line-height: 1.55; color: #5a6b80; margin: 0; }
.blog-card-meta { margin-top: auto; font-size: 12px; color: #8a9bb0; }
/* .blog-card is display:flex, so [hidden] has to be restated or the attribute is ignored */
.blog-card[hidden] { display: none; }
.blog-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 7px;
  margin: 30px 0 0; }
.blog-pager[hidden] { display: none; }
.blog-page { min-width: 40px; height: 40px; padding: 0 13px; border: 1px solid #dbe6f2; background: #fff;
  color: #0b2545; border-radius: 10px; font-size: 14px; font-weight: 600; font-family: inherit;
  cursor: pointer; transition: .16s; }
.blog-page:hover:not(:disabled) { background: #0b2545; border-color: #0b2545; color: #fff; }
.blog-page.is-on { background: #0b2545; border-color: #0b2545; color: #fff; cursor: default; }
.blog-page:disabled { opacity: .42; cursor: default; }
.blog-page-gap { padding: 0 1px; font-size: 14px; color: #8a9bb0; }
.blog-note { font-size: 14px; color: #5a6b80; margin-top: 20px; }
.blog-note a { color: #0b2545; font-weight: 600; }

/* ==================== BLOG: article page ==================== */
.art-hero { padding-bottom: 6px; }
.art-h1 { max-width: 940px; }
.art-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin: 14px 0 0;
  font-size: 13.5px; color: #b9cee4; }
.art-meta .art-dot { opacity: .6; }
.art-tag { background: rgba(55, 201, 176, .16); color: #7fe3d0; border-radius: 999px;
  padding: 4px 11px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.art-body { background: #fff; }
.art-layout { max-width: 900px; }
.art-main { font-size: 16px; color: #33475e; }
.art-lead { font-size: 18.5px; line-height: 1.72; color: #22384f; font-weight: 500; margin: 0 0 22px; }
.art-main h2 { font-size: 22.5px; line-height: 1.3; color: #0b2545; margin: 36px 0 12px; }
.art-main h3 { font-size: 17px; color: #0b2545; margin: 22px 0 8px; }
.art-main p { font-size: 16px; line-height: 1.78; margin: 0 0 15px; }
.art-figure { margin: 22px 0 6px; }
.art-figure img { width: 100%; height: auto; border-radius: 14px; border: 1px solid #e6eef7;
  background: #fff; }
.art-toc { background: #f6f9fc; border: 1px solid #e2ebf5; border-radius: 14px; padding: 18px 24px;
  margin: 26px 0; }
.art-toc h2 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .07em; color: #5b7292;
  margin: 0 0 10px; }
.art-toc ul { margin: 0; padding-left: 18px; }
.art-toc li { margin: 7px 0; }
.art-toc a { color: #0b2545; text-decoration: none; font-size: 14.5px; }
.art-toc a:hover { color: #2aa892; text-decoration: underline; }
.art-table-wrap { overflow-x: auto; margin: 18px 0 10px; -webkit-overflow-scrolling: touch; }
.art-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.art-table th, .art-table td { border: 1px solid #e2ebf5; padding: 9px 12px; text-align: left;
  vertical-align: top; }
.art-table thead th { background: #f2f7fc; color: #0b2545; font-weight: 700; }
.art-table tbody tr:nth-child(even) { background: #fafcfe; }
.art-points { margin: 0 0 15px; padding-left: 20px; }
.art-points li { font-size: 15.5px; line-height: 1.7; margin: 7px 0; }
.art-note { font-size: 14px; color: #5a6b80; background: #f6f9fc; border-left: 3px solid #37c9b0;
  padding: 13px 17px; border-radius: 0 10px 10px 0; margin: 0 0 18px; }
.art-faq-item { border-top: 1px solid #e8eff7; padding: 15px 0 3px; }
.art-faq-item h3 { margin: 0 0 7px; font-size: 16px; }
.art-faq-item p { margin: 0 0 12px; font-size: 15.5px; }
.art-cta { background: #0b2545; border-radius: 16px; padding: 26px 28px; margin: 36px 0 26px; }
.art-cta h3 { color: #fff; margin: 0 0 8px; font-size: 20px; }
.art-cta p { color: #c8dcf0; font-size: 15px; margin: 0 0 16px; }
.art-cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .42); margin-left: 10px; }
.art-cta .btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.art-related { border: 1px solid #e2ebf5; border-radius: 14px; padding: 20px 24px; background: #fbfdff; }
.art-related h3 { margin: 0 0 10px; font-size: 16px; color: #0b2545; }

/* ---- related product card at the foot of every article ---- */
.art-product { margin: 30px 0 26px; }
.art-product > h2 { margin: 0 0 14px; font-size: 20px; }
.art-product-card { display: grid; grid-template-columns: 210px 1fr; gap: 20px; align-items: center;
  border: 1px solid #dbe7f3; border-left: 4px solid #37c9b0; border-radius: 14px;
  background: #fff; padding: 18px; text-decoration: none; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.art-product-card:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(11, 37, 69, .11);
  border-left-color: #2aa892; }
.art-product-media { display: block; border-radius: 10px; overflow: hidden; background: #f2f7fc;
  aspect-ratio: 1 / 1; }
.art-product-media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.art-product-body { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.art-product-kicker { font-size: 11px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: #2aa892; }
.art-product-name { font-size: 17.5px; line-height: 1.35; color: #0b2545; }
.art-product-desc { font-size: 14px; line-height: 1.6; color: #5a6b80; }
.art-product-specs { display: flex; flex-wrap: wrap; gap: 7px 14px; margin-top: 3px; }
.art-product-spec { display: inline-flex; align-items: baseline; gap: 6px; font-size: 12.5px;
  background: #f2f7fc; border-radius: 6px; padding: 4px 9px; }
.art-product-spec em { font-style: normal; color: #7c8fa5; }
.art-product-spec i { font-style: normal; color: #0b2545; font-weight: 700; }
.art-product-go { margin-top: 5px; font-size: 14px; font-weight: 700; color: #2aa892; }
.art-product-alt { font-size: 13.5px; color: #6b829e; margin: 12px 0 0; }
.art-product-alt a { color: #0b2545; font-weight: 600; }
.art-related ul { margin: 0 0 15px; padding-left: 18px; }
.art-related li { margin: 8px 0; }
.art-related a { color: #22384f; text-decoration: none; font-size: 14.5px; }
.art-related a:hover { color: #2aa892; text-decoration: underline; }
.art-back { margin: 24px 0 0; font-size: 14px; }
.art-back a { color: #5b7292; text-decoration: none; }
.art-back a:hover { color: #0b2545; }

@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  /* topic chips become a one-line horizontal scroller on phones so the hub
     intro + first cards are not pushed 600px down the page */
  .blog-chips {
    flex-wrap: nowrap; overflow-x: auto; gap: 8px;
    /* .container is width:min(1200px,92vw) with no padding, so the gutter is 4vw.
       Using -18px here overshot the viewport by 2px. */
    margin: 16px -4vw 22px; padding: 2px 4vw 10px;
    scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .blog-chips::-webkit-scrollbar { display: none; }
  .blog-chip { font-size: 12.5px; padding: 7px 13px; flex: 0 0 auto; scroll-snap-align: start; }
  /* pagination: keep the row compact on phones (‹ / › only, smaller number cells) */
  .blog-bar { margin: 16px 0 20px; gap: 10px; }
  .blog-count { font-size: 12.5px; }
  .blog-page { min-width: 0; height: 34px; padding: 0 10px; font-size: 13px; border-radius: 9px; }
  .blog-page-txt { display: none; }
  .blog-pager { gap: 6px; margin-top: 22px; }
  .art-h1 { font-size: 25px; }
  .art-lead { font-size: 17px; }
  .art-main h2 { font-size: 19.5px; }
  .art-main p, .art-points li { font-size: 15.5px; }
  .art-cta { padding: 20px 20px; }
  .art-cta .btn-ghost { margin: 10px 0 0; display: inline-block; }
  .art-toc { padding: 15px 18px; }
  /* product card stacks on phones: image on top, text under it */
  .art-product > h2 { font-size: 18px; }
  .art-product-card { grid-template-columns: 1fr; gap: 14px; padding: 15px; }
  .art-product-media { aspect-ratio: 16 / 10; }
  .art-product-media img { object-fit: contain; }
  .art-product-name { font-size: 16px; }
}

/* the blog hub sits on a light section, so the hero's white headings need
   restating (they inherit .sub-h1 / .sub-lead from the dark page-hero) */
.blog-hub .sub-h1 { color: #0b2545; margin-bottom: 6px; }
.blog-hub .sub-lead { color: #4b6076; max-width: 860px; }
.art-figure img { aspect-ratio: 16 / 9; object-fit: cover; max-height: 460px; }
@media (max-width: 640px) {
  .art-figure img { aspect-ratio: 4 / 3; max-height: 300px; }
}

/* =====================================================================
   /about was split: the blog hub moved to /blog (hero keeps only its
   breadcrumb) and the company profile moved to the top of /faq.
   ===================================================================== */
.page-hero.hero-compact { padding: 34px 0 32px; }
.page-hero.hero-compact .crumbs { margin-bottom: 0; }

.sub-sec.about-profile { padding-bottom: 0; }
.about-body { max-width: 880px; }
.about-body p { color: #33475f; font-size: 16px; line-height: 1.78; margin: 0 0 18px; }
.about-body .badges { margin-top: 28px; }

.faq-head { margin: 0 0 28px; }
.faq-head h2 { font-size: clamp(23px, 2.5vw, 31px); color: #0b2545; margin: 0 0 10px; line-height: 1.25; }
.faq-head p { color: #4b6076; font-size: 16.5px; line-height: 1.6; margin: 0; }

@media (max-width: 640px) {
  .page-hero.hero-compact { padding: 24px 0 22px; }
  .about-body p { font-size: 15.5px; line-height: 1.72; }
  .faq-head { margin-bottom: 22px; }
}


/* ---- application-field (market) detail pages ---- */
a.m-chip { color: inherit; text-decoration: none; cursor: pointer; transition: transform .15s ease, border-color .15s ease, background-color .15s ease; }
a.m-chip:hover { transform: translateY(-2px); border-color: #37c9b0; background-color: rgba(55, 201, 176, .08); }
.md-sec-h { font-size: clamp(19px, 2vw, 24px); color: #0b2545; margin: 30px 0 6px; line-height: 1.3; }
.md-note { color: #64748b; font-size: 14.5px; margin: 0 0 14px; }
.md-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.md-card { border: 1px solid rgba(11, 37, 69, .12); border-radius: 12px; padding: 16px 18px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.md-card h4 { margin: 0 0 6px; font-size: 15.5px; color: #0b2545; line-height: 1.35; }
.md-card p { margin: 0; font-size: 13.5px; color: #4b6076; line-height: 1.6; }
a.md-card { text-decoration: none; display: flex; flex-direction: column; }
a.md-card:hover { border-color: #37c9b0; box-shadow: 0 6px 18px rgba(11, 37, 69, .08); transform: translateY(-2px); }
a.md-card .md-comp-cta { margin-top: auto; padding-top: 10px; font-size: 13px; color: #0d9488; font-weight: 600; }
[dir="rtl"] a.md-card .md-comp-cta { direction: rtl; }
@media (max-width: 640px) { .md-grid { grid-template-columns: 1fr; } }


/* ---- 产品页「制造能力」段（2026-09-28）----
   表格复用 .p-modal-attrs 的样式，但它把 th 设成 width:1% + nowrap（为「标签列+值列」
   两列式设计）；这里是「参数列 + 三档位列」四列，必须把表头单元格还原成自动宽度。 */
.pd-cap-tbl thead th {
  width: auto; white-space: normal; text-align: left;
  color: #0b2545; font-weight: 700; font-size: 13px;
  border-bottom: 1px solid var(--bg-tint);
}
.pd-cap-tbl thead th:first-child { width: 1%; white-space: nowrap; }
.pd-cap-list { margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.pd-cap-list > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 10px; align-items: start; }
.pd-cap-list dt { color: var(--slate); font-weight: 600; font-size: 13.5px; line-height: 1.5; }
.pd-cap-list dd { margin: 0; color: var(--navy); font-size: 13.5px; line-height: 1.55; }
.pd-cap-note { margin: 14px 0 0; color: var(--slate); font-size: 12.5px; font-style: italic; line-height: 1.5; }
.pd-cap + .pd-descimgs { margin-top: 30px; }
@media (max-width: 640px) {
  .pd-cap-list > div { grid-template-columns: 1fr; gap: 2px; }
  .pd-cap-tbl { font-size: 12.5px; }
  .pd-cap-tbl th, .pd-cap-tbl td { padding: 7px 6px; }
}
