/* ==========================================================================
 * Hangxin Optoelectronics (HXGD) — Independent Site
 * Industrial precision-instrument design language: near-black bands, amber
 * accent, generous whitespace, product-first grids. Pure HTML/CSS/JS.
 * ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand — industrial amber (CTAs, highlights) */
  --brand: #F5A623;
  --brand-dark: #D98E0B;
  --brand-deeper: #B37600;
  --brand-soft: #FEF4DF;
  --brand-ring: rgba(245, 166, 35, 0.32);
  --brand-strong: #D98E0B;

  /* Ink */
  --ink: #2A2F37;
  --ink-strong: #16181D;
  --ink-soft: #454C56;
  --muted: #6B7280;
  --muted-light: #9CA3AF;

  /* Surfaces */
  --white: #ffffff;
  --bg-soft: #F4F5F7;
  --bg-softer: #ECEEF2;
  --line: #E5E7EB;
  --line-strong: #D1D5DB;

  /* Dark bands (near-black, faint blue cast) */
  --navy: #16181D;
  --navy-800: #1E2128;
  --navy-700: #2A2E37;
  --navy-600: #3A4050;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: 24px;
  --section-pad: 18px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 160ms;
  --t-med: 300ms;
  --t-slow: 500ms;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
  --shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 20px 48px rgba(16, 24, 40, 0.14);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 { color: var(--ink-strong); line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }

::selection { background: var(--brand); color: #fff; }

/* ---------- 3. Layout utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding: 48px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 24px 0; }
.section--tight-below { padding-bottom: 14px; }
.section--dark { background: var(--navy); color: #E8EAEE; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.section-head { margin-bottom: 40px; }
.section-head--center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-head--wide { max-width: 820px; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-deeper);
  margin-bottom: 12px;
}
.section--dark .eyebrow, .page-hero .eyebrow { color: var(--brand); }

.section-title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.section-sub {
  margin-top: 14px;
  font-size: 17px;
  color: var(--muted);
  max-width: 760px;
}
.section-head--center .section-sub { margin-left: auto; margin-right: auto; }
.section-sub--tight { max-width: 560px; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 14px 28px; font-size: 15px; }

/* Amber — primary CTA (industrial yellow) */
.btn--primary { background: var(--brand); color: var(--navy); }
.btn--primary:hover { background: var(--brand-dark); color: var(--navy); }

/* Near-black — header CTA */
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-700); }

/* Outline */
.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--ink-strong);
  background: var(--white);
}
.btn--ghost:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.section--dark .btn--ghost, .page-hero .btn--ghost, .hero .btn--ghost {
  background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35);
}
.section--dark .btn--ghost:hover, .page-hero .btn--ghost:hover, .hero .btn--ghost:hover {
  background: #fff; color: var(--navy); border-color: #fff;
}

.btn svg { width: 16px; height: 16px; flex: 0 0 auto; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-deeper);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.section--dark .link-arrow { color: var(--brand); }

/* ---------- 5. Breadcrumbs ---------- */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.breadcrumbs a { color: inherit; }
.breadcrumbs a:hover { color: var(--brand-deeper); }
.breadcrumbs .sep { color: var(--muted-light); }
.page-hero .breadcrumbs, .section--dark .breadcrumbs { color: rgba(255, 255, 255, 0.6); }
.page-hero .breadcrumbs a:hover { color: var(--brand); }

/* ---------- 6. Header ---------- */
.header-topbar {
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}
.header-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 38px;
  gap: 16px;
}
.header-topbar-left { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
}
.topbar-item:hover { color: var(--brand-deeper); }
.topbar-ico { display: inline-flex; color: var(--brand-deeper); }
.topbar-ico svg { width: 14px; height: 14px; }
.topbar-k { color: var(--muted-light); }
.topbar-v { font-weight: 600; color: var(--ink-strong); }
.topbar-sep { width: 1px; height: 14px; background: var(--line); }
.topbar-note { color: var(--muted); font-size: 12px; letter-spacing: 0.04em; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t-fast) var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(16, 24, 40, 0.08); }
/* Header uses a wider container than the page body — nav stretches toward
   the edges (same approach as the original Guoyi overseas site, 1520px). */
.site-header .container { max-width: 1520px; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 72px;
}

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo img { height: 44px; width: auto; }
.logo-word { display: flex; flex-direction: column; line-height: 1.05; }
.logo-word-name {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--ink-strong);
  white-space: nowrap;
}
.logo-word-name b { color: var(--brand-deeper); font-weight: 800; }
.logo-word-tag {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nav > li > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink-strong);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav > li > a:hover, .nav > li > a.is-active { color: var(--brand-deeper); background: var(--brand-soft); }
.nav .caret { display: inline-flex; }
.nav .caret svg { width: 14px; height: 14px; }

/* Header dropdown (products) */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 300px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), visibility var(--t-fast);
  z-index: 60;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-strong);
}
.nav-parent:hover { background: var(--bg-soft); color: var(--brand-deeper); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-contact-mobile { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 7. Hero (homepage) ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.62; }
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(22, 24, 29, 0.82) 0%, rgba(22, 24, 29, 0.55) 45%, rgba(22, 24, 29, 0.14) 100%);
}
.hero-inner {
  position: relative;
  padding: 104px 0 108px;
  max-width: 780px;
}

/* Company-intro hero: key numbers strip inside the hero block */
.hero--company .hero-inner { padding: 96px 0 56px; }
.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 34px 0 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.hero-stats .stat-num {
  font-size: 34px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1.1;
}
.hero-stats .stat-label { margin-top: 6px; font-size: 13.5px; color: rgba(255, 255, 255, 0.66); }
@media (max-width: 820px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; padding-bottom: 44px; }
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.hero-eyebrow .eb-sep { color: rgba(255, 255, 255, 0.35); }
.hero-eyebrow .eb-honor { color: rgba(255, 255, 255, 0.72); font-weight: 600; }
.hero-title {
  font-size: clamp(38px, 5.6vw, 64px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #fff;
  text-transform: uppercase;
}
.hero-title .grad { color: var(--brand); }
.hero-sub {
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 640px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* ---------- 8. Feature row ---------- */
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 32px 0;
}
.feature {
  display: flex;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
/* v2 — vertical layout, gradient icon, numbered tag */
.feature--v2 {
  flex-direction: column;
  gap: 18px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}
.feature-v2-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.feature-ico {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-deeper);
}
.feature-ico svg { width: 24px; height: 24px; }
.feature-ico--v2 {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(245, 166, 35, 0.55);
}
.feature-ico--v2 svg { width: 28px; height: 28px; }
.feature-v2-num {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted-light);
  padding-top: 4px;
}
.feature h3 { font-size: 15px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.feature p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.feature--v2 h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink-strong);
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.3;
  margin: 0;
}
.feature--v2 p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  flex: 1;
}
.feature-v2-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}
.feature-v2-tags span {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 4px 10px;
}

/* ---------- 9. Product cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pgrid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) {
  .pgrid, .pgrid--3 { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .feature-row { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 640px) {
  .pgrid, .pgrid--3 { grid-template-columns: 1fr; }
}

.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease),
    border-color var(--t-med) var(--ease);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}
.product-card .thumb {
  position: relative;
  aspect-ratio: 16 / 10;   /* wider/flatter cards (was 4/3) */
  background: var(--bg-soft);
  overflow: hidden;
}
.product-card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.product-card:hover .thumb img { transform: scale(1.04); }
.product-card .body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 18px 20px;
}
.product-card .tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-deeper);
  background: var(--brand-soft);
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.product-card h3 { font-size: 15px; font-weight: 700; line-height: 1.35; }
.product-card .model { margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.product-card p {
  margin-top: 8px; font-size: 13.5px; color: var(--muted); flex: 1;
  /* keep cards flat: description never runs past 3 lines */
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.product-card-actions .btn { padding: 9px 16px; font-size: 13px; }

/* Article variant of the product card (newsroom / related articles).
   The arrow icon inside .read-more is an inline SVG — without an explicit
   size it rendered at the browser's default replaced-element size (~300px)
   and blew up the card. */
.product-card--article .read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-deeper);
  white-space: nowrap;
}
.product-card--article .read-more svg { width: 15px; height: 15px; flex: none; }
.product-card--article:hover .read-more { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 10. Stats band ---------- */
.stats-band { background: var(--navy); color: #fff; padding: 48px 0; }
.stats-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.stats-head .eyebrow { color: var(--brand); }
.stats-head h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; color: #fff; }
.stats-head p { margin-top: 12px; color: rgba(255, 255, 255, 0.65); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat { padding: 12px; position: relative; }
.stat + .stat::before {
  content: "";
  position: absolute; left: -12px; top: 20%; bottom: 20%;
  width: 1px; background: rgba(255, 255, 255, 0.12);
}
.stat-num {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand);
  line-height: 1;
}
.stat-label { margin-top: 10px; font-size: 13.5px; color: rgba(255, 255, 255, 0.68); }

/* ---------- 11. Industries ---------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.industry {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 26px 12px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med);
}
.industry:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--brand);
}
.industry-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--brand);
}
.industry-ico svg { width: 26px; height: 26px; }
.industry span { font-size: 13.5px; font-weight: 700; color: var(--ink-strong); line-height: 1.35; }

/* ---------- 12. CTA band ---------- */
/* CTA band — custom-engineering lab photo background with a left-dark
   gradient overlay so the white copy stays readable on any crop. */
.cta-band {
  position: relative;
  background: var(--navy-800) url("../images/pillars/Custom-Engineering.jpg") center / cover no-repeat;
  color: #fff;
  padding: 88px 0;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7, 13, 22, 0.88) 0%, rgba(7, 13, 22, 0.62) 55%, rgba(7, 13, 22, 0.38) 100%);
}
.cta-band > .container { position: relative; z-index: 1; }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-inner h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; text-transform: uppercase; color: #fff; }
.cta-inner p { margin-top: 10px; color: rgba(255, 255, 255, 0.68); max-width: 560px; }

/* ---------- 13. Page hero (subpages) ---------- */
.page-hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 72px 0 64px;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(245, 166, 35, 0.12), transparent 60%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 48px 48px;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #fff;
}
.page-hero > .container > p {
  margin-top: 16px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 720px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- 14. Subnav (products / newsroom tabs) ---------- */
.pt-subnav {
  position: sticky;
  top: 72px;
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.pt-subnav-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.pt-subnav-inner::-webkit-scrollbar { display: none; }
.pt-subnav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.pt-subnav-btn svg { width: 17px; height: 17px; }
.pt-subnav-btn:hover { color: var(--ink-strong); }
.pt-subnav-btn.is-active { color: var(--navy); border-bottom-color: var(--brand); }
.pt-subnav-count {
  font-size: 11px;
  font-weight: 700;
  background: var(--bg-softer);
  color: var(--muted);
  border-radius: 999px;
  padding: 1px 8px;
}
.pt-subnav-btn.is-active .pt-subnav-count { background: var(--brand-soft); color: var(--brand-deeper); }

/* ---------- 15. Products page: filter sidebar + catalog ---------- */
.catalog-layout {
  display: grid;
  grid-template-columns: 264px 1fr;
  gap: 32px;
  align-items: start;
}

.filter-side {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 20px;
}
.filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.filter-head-k {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}
.filter-clear {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-deeper);
}
.filter-clear:hover { text-decoration: underline; }
.filter-group { padding: 16px 0; border-bottom: 1px solid var(--line); }
.filter-group:last-of-type { border-bottom: none; }
.filter-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.filter-list { display: flex; flex-direction: column; gap: 4px; }
.filter-check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--ink-soft);
  padding: 5px 6px;
  border-radius: 6px;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.filter-check:hover { background: var(--bg-soft); color: var(--ink-strong); }
.filter-check input {
  width: 15px; height: 15px;
  accent-color: var(--brand);
  cursor: pointer;
  flex: 0 0 auto;
}
.filter-check.is-active { color: var(--navy); font-weight: 600; }
.filter-check .filter-count {
  margin-left: auto;
  font-size: 11.5px;
  color: var(--muted-light);
  font-weight: 600;
}
.filter-apply { margin-top: 16px; }
.filter-apply .btn { width: 100%; }

.side-search {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  background: #fff;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.side-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); }
.side-search svg { width: 15px; height: 15px; color: var(--muted-light); flex: 0 0 auto; }
.side-search input {
  border: 0;
  outline: 0;
  padding: 9px 0;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--ink-strong);
  width: 100%;
  background: transparent;
}
.side-search input::placeholder { color: var(--muted-light); }

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.catalog-count { font-size: 13.5px; color: var(--muted); }
.catalog-count strong { color: var(--ink-strong); }
.catalog-sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted);
}
.catalog-sort select {
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-strong);
  background: #fff;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}
.pagination button, .pagination .page-current {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-strong);
  background: #fff;
}
.pagination button:hover { border-color: var(--navy); }
.pagination .page-current { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination button:disabled { opacity: 0.4; cursor: not-allowed; }

/* ---------- 16. Knowledge cards ---------- */
.kgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card--knowledge .thumb { aspect-ratio: 16 / 10; }

/* ---------- 17. Company page ---------- */
/* Company profile — editorial split: copy left, photo + cert cards right */
.profile-mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 48px;
  align-items: start;
}
.pm-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.pm-eyebrow .pm-amber { color: var(--brand-deeper); }
.pm-eyebrow .pm-slash { color: var(--line-strong, #c9c9c9); }
.pm-eyebrow span:last-child { color: var(--navy); }
.pm-title {
  margin-top: 14px;
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.12;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.pm-facts { display: flex; align-items: center; gap: 26px; margin-top: 26px; }
.pm-fact-sep { width: 1px; height: 52px; background: var(--line); }
.pm-fact-num { font-size: 26px; font-weight: 800; letter-spacing: 0.02em; }
.pm-fact-num--amber { color: #b98a3c; }
.pm-fact-num--blue { color: #1d5d92; }
.pm-fact-label { margin-top: 5px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.pm-lead { margin-top: 26px; font-size: 15.5px; font-weight: 700; color: var(--ink, #232323); line-height: 1.65; }
.pm-p { margin-top: 12px; font-size: 14.5px; color: var(--muted); line-height: 1.7; }
.pm-photo {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
}
.pm-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm-certs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 18px; }
.pm-cert {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #eef3f8;
  border: 1px solid #dde7f0;
}
.pm-cert-ico { flex: none; width: 34px; height: 34px; }
.pm-cert-ico img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pm-cert span { font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.35; }
@media (max-width: 980px) {
  .profile-mosaic { grid-template-columns: 1fr; gap: 30px; }
  .pm-topline { display: none; }
}

.certs-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.cert-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  background: #fff;
}
.cert-pill::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

.philosophy-card {
  margin-top: 28px;
  padding: 32px 34px;
  border-radius: 16px;
  background:
    linear-gradient(90deg, #ffffff 0%, #ffffff 52%, rgba(255, 255, 255, 0.72) 74%, rgba(255, 255, 255, 0.18) 100%),
    url("../images/company/lab-optical.jpg") right center / cover no-repeat,
    var(--brand-soft);
  border: 1px solid var(--line);
}
.philosophy-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-deeper);
  margin-bottom: 10px;
}

.pillar {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar h3 { font-size: 17px; margin-bottom: 8px; }
.pillar p { font-size: 14px; color: var(--muted); }

/* Why Hangxin — alternating media rows: image and text swap sides each row.
   Image column is deliberately narrower than the text column; flipped rows
   mirror the tracks so the image stays the same size on either side. */
.pillar-media-list { display: flex; flex-direction: column; gap: 30px; }
.pillar-media-row {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 44px;
  align-items: center;
}
.pillar-media-row--flip { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
.pillar-media-row--flip .pillar-media { order: 2; }
.pillar-media-row--flip .pillar-txt { order: 1; }
.pillar-media {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}
.pillar-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.pillar-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.pillar-ico {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-deeper);
  display: flex; align-items: center; justify-content: center;
}
.pillar-ico svg { width: 22px; height: 22px; }
.pillar-txt h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.pillar-txt p { font-size: 16px; line-height: 1.75; color: var(--muted); }
@media (max-width: 820px) {
  .pillar-media-row, .pillar-media-row--flip { grid-template-columns: 1fr; gap: 16px; }
  .pillar-media-row--flip .pillar-media { order: 0; }
  .pillar-media-row--flip .pillar-txt { order: 1; }
}
.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--brand);
  margin-bottom: 16px;
}
.value-icon svg { width: 22px; height: 22px; }

.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.pillar-media img { width: 100%; height: 100%; object-fit: cover; }
.pillar-body { padding: 20px; }
.pillar-body h3 { font-size: 16px; margin-bottom: 8px; }
.pillar-body p { font-size: 13.5px; color: var(--muted); }

/* Honors */
.honors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.honor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 26px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.honor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.honor-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--brand-soft);
}
.honor-icon img { width: 26px; height: 26px; }
.honor-card h3 { font-size: 14px; font-weight: 700; line-height: 1.4; }

/* ---------- History timeline ---------- */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--line-strong);
}
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand);
  box-sizing: border-box;
}
.timeline-period {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-deeper);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 3px 12px;
}
.timeline-title { font-size: 18px; font-weight: 700; margin: 10px 0 8px; color: var(--ink-strong); }
.timeline-item ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.timeline-item li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.timeline-item li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.honors-carousel {
  position: relative;
  margin-top: 36px;
  /* extend past the container padding on both sides (a bit wider than the
     content column, without touching the viewport edge), square corners */
  margin-left: calc(-1 * var(--gutter));
  margin-right: calc(-1 * var(--gutter));
  overflow: hidden;
}
.honors-slides { display: flex; }
.honors-slide { flex: 0 0 100%; }
.honors-slide img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.honors-dots {
  position: absolute;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
}
.honors-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}
.honors-dot.is-active { background: var(--brand); width: 22px; border-radius: 999px; }

/* ---------- 18. Service page ---------- */
.bento-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar--wide { padding: 0; overflow: hidden; }
.pillar--wide .pillar-image { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.pillar--wide .pillar-image img { width: 100%; height: 100%; object-fit: cover; }
.pillar--wide .pillar-body { padding: 22px; }
.pillar--wide .pillar-body h3 { font-size: 16px; margin-bottom: 8px; }
.pillar--wide .pillar-body p { font-size: 13.5px; color: var(--muted); }

.process-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process-step {
  position: relative;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.process-node {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--brand);
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 14px;
}
.process-copy h3 { font-size: 16px; margin-bottom: 6px; }
.process-copy p { font-size: 13.5px; color: var(--muted); }

.delivery-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  /* extend past the container padding so the one-line contact strip fits */
  margin-left: calc(-1 * var(--gutter));
  margin-right: calc(-1 * var(--gutter));
  padding-left: calc(var(--gutter) + 28px);
  padding-right: calc(var(--gutter) + 28px);
}
.delivery-head h3 { font-size: 19px; }
.delivery-note { margin-top: 6px; font-size: 14px; color: var(--muted); }
.delivery-terms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 22px;
}
.delivery-term {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.term-code {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand-deeper);
  background: var(--brand-soft);
  padding: 2px 9px;
  border-radius: 6px;
}
.delivery-term h4 { margin-top: 10px; font-size: 15px; }
.term-desc { margin-top: 6px; font-size: 13px; color: var(--muted); }
.term-eta {
  margin-top: 12px;
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.term-unit { display: block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }

.delivery-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap;          /* single line on desktop */
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.delivery-contact p {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.delivery-links { display: flex; gap: 18px; flex-wrap: wrap; flex: none; }
.delivery-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-deeper);
}
.delivery-links a svg { width: 18px; height: 18px; }
.delivery-links a:hover { color: var(--brand); }
.delivery-links svg { width: 16px; height: 16px; }

/* ---------- 19. Contact ---------- */
.section--contact { background: var(--bg-soft); }
.contact-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: start;
}
.form { display: flex; flex-direction: column; gap: 16px; }
.contact-form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.contact-form-title { font-size: 20px; margin-bottom: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink-soft); letter-spacing: 0.02em; }
.field input, .field textarea, .field select {
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  background: #fff;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-ring);
}
.field textarea { min-height: 120px; resize: vertical; }

.contact-direct {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.contact-direct-title { font-size: 18px; margin-bottom: 18px; }
.contact-list { display: flex; flex-direction: column; gap: 12px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.contact-item:hover { border-color: var(--brand); background: var(--brand-soft); }
.contact-item .ico {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--brand);
}
.contact-item .ico svg { width: 18px; height: 18px; }
.contact-item .k { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.contact-item .v { font-size: 14px; font-weight: 600; color: var(--ink-strong); margin-top: 2px; }

.contact-map {
  position: relative;
  margin-top: 18px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
}
.contact-map iframe { width: 100%; height: 100%; border: 0; }
.contact-map-overlay {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
}
.contact-map-overlay h4 { font-size: 14px; }
.contact-map-overlay p {
  display: flex; align-items: flex-start; gap: 7px;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--muted);
}
.contact-map-overlay svg { flex: 0 0 auto; margin-top: 2px; color: var(--brand-deeper); }
.contact-direction {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-deeper);
}
.contact-direction:hover { text-decoration: underline; }

.lc-inline-or { margin: 0 10px; color: var(--muted-light); font-size: 13px; }

/* ---------- 20. Applications ---------- */
.app-stage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.app-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.app-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.app-card--image { padding: 24px; }
.app-card-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 12px; }
.app-card-heading .icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--brand);
  flex: 0 0 auto;
}
.app-card-heading .icon svg { width: 22px; height: 22px; }
.app-card h3 { font-size: 16px; }
.app-card p { font-size: 13.5px; color: var(--muted); }
.app-card .link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-deeper);
}
.app-card .link svg { width: 15px; height: 15px; }
.app-card-media { margin-top: 16px; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16 / 9; background: var(--bg-soft); }
.app-card-media img { width: 100%; height: 100%; object-fit: cover; }

/* Partners band — text-level trust strip (no trademark logos) */
.partners-band { padding: 56px 0; background: var(--bg-soft); }
.partner-card {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 40px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.partner-intro-title { font-size: 20px; font-weight: 800; }
.partner-intro p { margin-top: 10px; font-size: 14px; color: var(--muted); }
.partner-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-deeper);
}
.partner-more svg { width: 15px; height: 15px; }
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--white);
  min-height: 64px;
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.partner-logo:hover { border-color: var(--brand); color: var(--brand-deeper); }

/* ---------- 21. Newsroom / blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-card-thumb { aspect-ratio: 16 / 9; background: var(--bg-soft); overflow: hidden; }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-thumb--placeholder { background: linear-gradient(135deg, var(--navy), var(--navy-700)); }
.blog-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.blog-card-tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-deeper);
  background: var(--brand-soft);
  padding: 3px 9px;
  border-radius: 999px;
}
.blog-card-title { margin-top: 10px; font-size: 16px; line-height: 1.4; }
.blog-card-summary { margin-top: 8px; font-size: 13.5px; color: var(--muted); flex: 1; }
.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
}
.blog-card-arrow { color: var(--brand-deeper); font-weight: 700; }

.news-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card .thumb { aspect-ratio: 16 / 9; background: var(--bg-soft); overflow: hidden; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card .body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.news-card .meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.news-card .meta .cat {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-deeper);
}
.news-card h3 { margin-top: 10px; font-size: 16px; line-height: 1.4; }
.news-card p { margin-top: 8px; font-size: 13.5px; color: var(--muted); flex: 1; }
.news-card .link {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-deeper);
}
.news-card .link svg { width: 15px; height: 15px; }

.solution-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}
.solution-tab {
  padding: 9px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  background: #fff;
  transition: all var(--t-fast) var(--ease);
}
.solution-tab:hover { border-color: var(--navy); color: var(--navy); }
.solution-tab.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.cat-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.cat-tab {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  background: #fff;
}
.cat-tab.is-active { background: var(--brand); border-color: var(--brand); color: var(--navy); }

.sub-filter { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.sub-filter-label { font-size: 13px; font-weight: 700; color: var(--muted); }
.sub-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  background: #fff;
}
.sub-chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.sub-chip-count { font-size: 11px; color: var(--muted-light); }
.sub-chip.is-active .sub-chip-count { color: rgba(255, 255, 255, 0.6); }

.solution-group { margin-bottom: 56px; }
.solution-group.is-hidden { display: none; }
.solution-empty { padding: 40px 20px; text-align: center; color: var(--muted); font-size: 14px; }
.empty-state { padding: 60px 20px; text-align: center; color: var(--muted); }

/* ---------- 22. Article / knowledge pages ---------- */
.article-hero, .knowledge-hero {
  padding: 64px 0 48px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.article-head { max-width: 820px; }
.article-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-deeper);
  margin-bottom: 14px;
}
.article-title { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; line-height: 1.15; }
.article-deck { margin-top: 16px; font-size: 17px; color: var(--muted); }
.article-byline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--muted);
}
.byline-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); padding: 5px; }
.byline-author { font-weight: 700; color: var(--ink-strong); }
.article-cover { margin-top: 34px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.article-cover img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }

.article-section { padding: 56px 0; }
.article-body { max-width: 760px; font-size: 16.5px; }
.article-body h2 { margin: 36px 0 14px; font-size: 24px; }
.article-body h3 { margin: 28px 0 10px; font-size: 19px; }
.article-body p { margin-bottom: 16px; color: var(--ink-soft); }
.article-body ul, .article-body ol { margin: 0 0 16px 22px; }
.article-body li { margin-bottom: 8px; color: var(--ink-soft); list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body a { color: var(--brand-deeper); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.article-body strong { color: var(--ink-strong); }
.article-body table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.article-body th { background: var(--bg-soft); font-weight: 700; }

.article-back { padding: 28px 0 64px; }

.knowledge-layout, .solution-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
.knowledge-cover { margin-top: 26px; border-radius: var(--radius-lg); overflow: hidden; }
.knowledge-cover img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.knowledge-meta-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--muted);
}
.knowledge-cat { font-weight: 700; color: var(--brand-deeper); }
.knowledge-title { margin-top: 14px; font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; line-height: 1.15; }
.knowledge-summary { margin-top: 14px; font-size: 17px; color: var(--muted); max-width: 760px; }
.knowledge-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.knowledge-product-card, .solution-toc {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
}
.knowledge-product-card .thumb { aspect-ratio: 4 / 3; background: var(--bg-soft); }
.knowledge-product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.knowledge-product-card .body { padding: 22px; }
.knowledge-product-card .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-deeper);
  background: var(--brand-soft);
  padding: 3px 9px;
  border-radius: 999px;
}
.knowledge-product-card h3 { margin-top: 10px; font-size: 17px; }
.knowledge-product-card .model { margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.knowledge-product-card p { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.knowledge-product-card .product-card-actions { margin-top: 16px; }
.knowledge-pdf { margin-bottom: 12px; }

.solution-toc { padding: 22px; position: sticky; top: 96px; }
.solution-toc-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.solution-toc nav { display: flex; flex-direction: column; gap: 8px; }
.solution-toc-link { font-size: 13.5px; color: var(--ink-soft); }
.solution-toc-link:hover, .solution-toc-link.active { color: var(--brand-deeper); font-weight: 600; }

.knowledge-youtube-card {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  align-items: center;
}
.knowledge-youtube-card:hover { border-color: var(--brand); }
.yt-thumb { position: relative; flex: 0 0 148px; border-radius: 8px; overflow: hidden; }
.yt-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.yt-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.yt-caption { display: flex; flex-direction: column; gap: 4px; }
.yt-title { font-size: 14px; font-weight: 700; line-height: 1.35; }
.yt-source { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }

/* ---------- 23. Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding: 64px 0 48px;
}
.footer-logo { display: inline-block; margin-bottom: 18px; }
.footer-brand p { font-size: 13.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.6); }
/* Footer variant of the header wordmark — light text on the near-black footer */
.logo-word--light .logo-word-name { color: #fff; }
.logo-word--light .logo-word-name b { color: var(--brand); }
.logo-word--light .logo-word-tag { color: rgba(255, 255, 255, 0.5); }
.footer-brand .footer-brand-name {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.62);
  transition: color var(--t-fast) var(--ease);
}
.footer-col a:hover { color: var(--brand); }
.footer-col .footer-col-sub { margin-top: 22px; }
.footer-col-sub-h { margin-bottom: 10px; }

.footer-bottom-band { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom .links { display: flex; gap: 20px; }
.footer-bottom .links a:hover { color: var(--brand); }

/* ---------- 24. Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: #fff;
  padding: 84px 24px 32px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--t-med) var(--ease);
  visibility: hidden;
}
.mobile-menu.is-open { transform: translateX(0); visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  padding: 15px 4px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-strong);
  border-bottom: 1px solid var(--line);
}
.mobile-menu nav a:hover { color: var(--brand-deeper); }
.mobile-menu .sub { margin: 0 0 8px 16px; }
.mobile-menu .sub a {
  padding: 10px 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: none;
}
.mobile-menu .cta { margin-top: 26px; }
.mobile-menu .cta .btn { width: 100%; }

/* ---------- 25. Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 26. Lucide icon chip ---------- */
.lucide-icon { width: 1em; height: 1em; }

/* ==========================================================================
 * 30. Header dropdowns — caret rotation, hover bridge, amber tick,
 *     full-width Newsroom mega panel.
 *     Ported from the original Guoyi overseas-site nav layout (2026-10-14).
 *     Text links use --brand-deeper (amber #F5A623 is too light on white).
 * ========================================================================== */

/* Caret — points down, flips up while the dropdown is open */
.nav .caret svg { width: 12px; height: 12px; }
.nav > li.has-dropdown > a .caret {
  color: var(--muted-light);
  transition: transform var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.nav > li.has-dropdown:hover > a .caret,
.nav > li.has-dropdown:focus-within > a .caret {
  transform: rotate(180deg);
  color: var(--brand-deeper);
}

/* Dropdown — floating card: hover bridge + amber tick + softer entrance */
.dropdown {
  top: calc(100% + 14px);
  min-width: 240px;
  padding: 12px;
  border-radius: 16px;
  border-color: rgba(209, 213, 219, 0.45);
  box-shadow: 0 24px 64px rgba(16, 24, 40, 0.14), 0 2px 8px rgba(16, 24, 40, 0.05);
  transform: translateY(8px);
  z-index: 60;
}
.dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.dropdown::after {
  content: ""; position: absolute; top: -1px; left: 24px;
  width: 46px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), rgba(22, 24, 29, 0));
}
.dropdown a { padding: 10px 14px; font-size: 13.5px; border-radius: 10px; }
.dropdown a:hover { transform: none; }

/* Product categories dropdown — single column with uppercase label */
.nav-col { display: flex; flex-direction: column; min-width: 0; }
.nav-col--parents { min-width: 240px; flex: 0 0 auto; align-items: flex-start; padding: 4px 0; }
.nav-col--parents::before {
  content: "Product Categories";
  padding: 2px 14px 8px;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted-light);
}
.nav-parent { padding: 9px 14px; font-size: 13.5px; border-radius: 10px; }

/* Full-width mega dropdown (Newsroom) — left rail + 4-card row */
.nav > li.has-dropdown--mega { position: static; }   /* mega panel anchors to the header */
.dropdown--mega {
  left: 0; right: 0; top: 100%;
  min-width: 0; padding: 0;
  border: none;
  border-top: 1px solid var(--line);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 28px 56px rgba(15, 23, 42, 0.16);
}
.mega-grid { display: grid; padding-block: 36px 40px; }
.mega-grid--news { grid-template-columns: minmax(170px, 0.62fr) repeat(4, minmax(0, 1fr)); column-gap: 26px; }
.mega-col { min-width: 0; padding: 0 32px; }
.mega-col--rail { padding-left: 0; border-right: 1px solid var(--line); }
.mega-grid--news .mega-card:last-child { padding-right: 0; }
.mega-eyebrow {
  margin: 0 0 18px;
  font-size: 12.5px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand-deeper);
}
.mega-chevron {
  width: 13px; height: 13px; flex: 0 0 auto;
  color: var(--muted-light);
  transition: transform var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.mega-grid .mega-home {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 700; color: var(--brand-deeper);
  padding: 0; border-radius: 0;
}
.mega-grid .mega-home:hover { background: none; color: var(--brand-deeper); transform: none; }
.mega-grid .mega-home:hover .mega-chevron { color: var(--brand-deeper); transform: translateX(3px); }
.mega-grid .mega-card { display: block; min-width: 0; padding: 0; border-radius: 0; }
.mega-grid .mega-card:hover { background: none; transform: none; }
.mega-grid .mega-card h4 {
  margin: 0 0 14px;
  min-height: 42px;              /* 2-line baseline — keeps card thumbnails top-aligned */
  font-size: 15.5px; font-weight: 700; line-height: 1.35;
  color: var(--brand-deeper);
  transition: color var(--t-fast) var(--ease);
}
.mega-grid .mega-card:hover h4 { text-decoration: underline; text-underline-offset: 3px; }
.mega-card-media {
  display: block; overflow: hidden; border-radius: 10px;
  aspect-ratio: 16 / 10; background: var(--bg-softer);
}
.mega-card-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform var(--t-slow) var(--ease);
}
.mega-card:hover .mega-card-media img { transform: scale(1.05); }
.mega-card-media--empty {
  background: linear-gradient(135deg, var(--brand-soft), var(--bg-softer));
  border: 1px solid var(--line);
}

@media (max-width: 1150px) {
  .mega-grid--news { grid-template-columns: minmax(150px, 0.7fr) repeat(2, minmax(0, 1fr)); }
  .mega-grid .mega-card--sm-hide { display: none; }
  .mega-col { padding: 0 24px; }
}

/* ==========================================================================
 * 31. Home banner carousel — full-bleed under the header nav.
 *     Source images are 1920x800 (12:5) with baked-in copy, so the widget
 *     is image-only: horizontal slide transitions, dots, swipe-drag
 *     (mouse / touch / pen via Pointer Events, no arrow buttons).
 * ========================================================================== */
.home-banner {
  position: relative;
  width: 100%;
  height: clamp(280px, 41.67vw, 620px);   /* keeps the native 12:5 ratio */
  overflow: hidden;
  background: var(--navy);
  cursor: grab;
  touch-action: pan-y;   /* let the page scroll vertically; horizontal = swipe */
}
.home-banner:active { cursor: grabbing; }
.home-banner-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s var(--ease);
  will-change: transform;
}
.home-banner-slide { flex: 0 0 100%; height: 100%; }
.home-banner-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;   /* native image dragging would fight the swipe */
  user-select: none;
}

/* Dots */
.home-banner-dots {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  z-index: 3;
  display: flex; gap: 8px;
}
.home-banner-dot {
  width: 9px; height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transition: width var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.home-banner-dot.is-active { width: 26px; background: var(--brand); }
.home-banner-dot:hover { background: rgba(255, 255, 255, 0.8); }

@media (max-width: 768px) {
  .home-banner { height: clamp(200px, 48vw, 380px); }
}

/* ---------- 32. Certificates gallery (company page) ---------- */
.certs-gallery { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.cert-item {
  display: block;
  margin: 0;
  width: 172px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease),
    border-color var(--t-med) var(--ease);
}
.cert-item img { width: 100%; display: block; }
.cert-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}

/* ---------- 33. Industries photo mosaic (home) ---------- */
.industry-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 205px;
  gap: 16px;
}
.industry-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  border-radius: 14px;
  overflow: hidden;
  background: var(--navy) center / cover no-repeat;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.industry-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 13, 22, 0.05) 25%, rgba(7, 13, 22, 0.88) 100%);
}
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.industry-card-body { position: relative; padding: 18px 20px; color: #fff; width: 100%; }
.industry-card-body h3 { color: #fff; font-size: 16.5px; font-weight: 700; line-height: 1.3; }
.industry-card--feature { grid-row: span 3; }
.industry-card--feature h3 { font-size: 26px; }
.industry-card--feature p { margin-top: 8px; font-size: 13.5px; color: rgba(255, 255, 255, 0.78); }
/* Hook card — photo background with amber edge; invitation for unlisted
   industries (fills the 6th slot). Text mirrors the photo cards. */
.industry-card--hook {
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245, 166, 35, 0.65);
}
.industry-card--hook::before {
  background: linear-gradient(180deg, rgba(7, 13, 22, 0.55) 0%, rgba(7, 13, 22, 0.88) 100%);
}
.industry-card--hook .industry-card-body { text-align: center; padding: 24px 26px; }
.industry-card--hook h3 { color: #fff; font-size: 18px; }
.industry-card--hook p { margin-top: 8px; font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.8); }
.industry-card--hook .industry-cta { color: var(--brand); }
.industry-card--hook:hover { border-color: var(--brand); transform: translateY(-4px); }
.industry-cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px;
  color: var(--brand);
  font-size: 13px; font-weight: 600;
  white-space: nowrap;
}
.industry-cta svg { width: 14px; height: 14px; flex: none; }
@media (max-width: 900px) {
  .industry-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 185px; }
}
@media (max-width: 640px) {
  .industry-mosaic { grid-template-columns: 1fr; grid-auto-rows: 195px; }
  .industry-card--feature { grid-row: auto; }
  .industry-card--feature h3 { font-size: 20px; }
}

/* ---------- 34. How We Work — staggered photo-card timeline (service) ---------- */
.process-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.process-card { display: flex; flex-direction: column; }
.process-card:nth-child(even) { margin-top: 58px; }   /* staggered, like the reference */
.process-photo {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--bg-soft);
}
.process-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow) var(--ease);
}
.process-card:hover .process-photo img { transform: scale(1.05); }
.process-copy { padding: 14px 4px 0; }
.process-copy h3 { font-size: 16.5px; margin-bottom: 5px; }
.process-copy p { font-size: 13.5px; color: var(--muted); }
@media (max-width: 900px) {
  .process-mosaic { grid-template-columns: repeat(2, 1fr); }
  .process-card:nth-child(even) { margin-top: 0; }
}
@media (max-width: 640px) {
  .process-mosaic { grid-template-columns: 1fr; }
}

/* ---------- 35. Company values mosaic (company page) ---------- */
.values-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.value-photo { aspect-ratio: 16 / 9; overflow: hidden; }
.value-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow) var(--ease);
}
.value-card:hover .value-photo img { transform: scale(1.05); }
.value-body { padding: 18px 22px 22px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.value-body h3 { font-size: 17.5px; margin-bottom: 7px; }
.value-body p { font-size: 14px; color: var(--muted); }
/* Vision card spans both rows on the left — its photo fills the whole
   frame edge-to-edge (absolute fill so no white gap can appear at the
   bottom regardless of how the grid rows resolve). */
.value-card--tall { grid-row: span 2; }
.value-card--tall .value-photo { flex: 1; aspect-ratio: auto; min-height: 300px; position: relative; }
.value-card--tall .value-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.value-card--tall .value-body { flex: none; }
@media (max-width: 900px) {
  .values-mosaic { grid-template-columns: 1fr; }
  .value-card--tall { grid-row: auto; }
  .value-card--tall .value-photo { aspect-ratio: 16 / 9; min-height: 0; flex: none; }
}

/* Honors → certificate wall divider (company page) */
.certs-divider { height: 1px; background: var(--line); margin: 40px 0 36px; }

/* Decorative photo background for soft sections (company history) */
.section--deco {
  background:
    linear-gradient(180deg, rgba(248, 249, 250, 0.9) 0%, rgba(248, 249, 250, 0.78) 100%),
    url("../images/company/company-up.jpg") center / cover no-repeat;
}

/* Off-canvas drawers must not extend the document scroll width on phones
   (closed = display:none; the open slide-in is replayed via keyframes). */
.mobile-menu:not(.is-open) { display: none; }
.mobile-menu.is-open { animation: mm-slide-in var(--t-med) var(--ease); }
@keyframes mm-slide-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
