/* FAG Bearings Precision Industrial UI — German Minimalism & High Contrast */
:root {
  --ink-950: #0B1220;
  --ink-900: #0F172A;
  --ink-800: #1E293B;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-400: #64748B;
  --surface: #FFFFFF;
  --surface-alt: #F8FAFC;
  --surface-muted: #F1F5F9;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --accent: #007A3D;
  --accent-hover: #005F2F;
  --accent-soft: #ECFDF5;
  --accent-border: #A7F3D0;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Code", Consolas, ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-900);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button, input, textarea { font-family: inherit; }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons — Strict Light/Dark High-Contrast Dual States */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.15s ease;
}
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #FFFFFF;
}
.btn-dark {
  background: var(--ink-900);
  color: #FFFFFF;
  border-color: var(--ink-900);
}
.btn-dark:hover, .btn-dark:focus-visible {
  background: var(--ink-800);
  border-color: var(--ink-800);
  color: #FFFFFF;
}
.btn-outline-dark {
  background: #FFFFFF;
  color: var(--ink-900);
  border-color: var(--border-strong);
}
.btn-outline-dark:hover, .btn-outline-dark:focus-visible {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: #FFFFFF;
}
.btn-outline-light {
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-outline-light:hover, .btn-outline-light:focus-visible {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: var(--ink-900);
}

/* Top Utility Bar */
.topbar {
  background: var(--ink-950);
  color: #CBD5E1;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
  padding: 6px 0;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.topbar a { color: #CBD5E1; }
.topbar a:hover { color: #FFFFFF; }
.topbar-tel {
  color: #FFFFFF !important;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Sticky Precision Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-logo-img {
  height: 44px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  object-position: left center;
  display: block;
}
.brand-emblem {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: var(--ink-900);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--ink-800);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink-900);
}
.brand-name em {
  font-style: normal;
  color: var(--accent);
}
.brand-sub {
  font-size: 11px;
  color: var(--ink-400);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

/* Desktop Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 13px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-700);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.nav-link:hover, .nav-item.active > .nav-link {
  color: var(--accent);
  background: var(--accent-soft);
}
.nav-caret {
  width: 12px;
  height: 12px;
  opacity: 0.65;
  transition: transform 0.18s ease;
}
.nav-item:hover .nav-caret { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  padding: 10px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  z-index: 950;
}
.nav-item:hover > .nav-dropdown,
.nav-item:focus-within > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown.is-mega,
.nav-dropdown.nav-dd-2 {
  min-width: 440px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}
.nav-dropdown a {
  display: block;
  padding: 8px 12px;
  font-size: 13.5px;
  color: var(--ink-700);
  border-radius: var(--radius-sm);
}
.nav-dropdown a:hover {
  background: var(--surface-alt);
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  color: var(--ink-900);
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  padding: 14px 20px 20px;
}
.mobile-drawer.is-open { display: block; }
.mobile-nav-list { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-900);
  border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--surface-muted);
}
.mobile-nav-list a:hover { background: var(--surface-alt); color: var(--accent); }
.mobile-search-form {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.mobile-search-form input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 14px;
}

/* Homepage Hero — German Architectural Precision */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0B1220 0%, #111C2E 58%, #0E2320 100%);
  color: #FFFFFF;
  padding: 64px 0 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 122, 61, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #A7F3D0;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34D399;
}
.hero h1 {
  font-size: 38px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  margin-bottom: 16px;
}
.hero-lead {
  font-size: 15.5px;
  line-height: 1.75;
  color: #CBD5E1;
  max-width: 600px;
  margin-bottom: 26px;
}

.hero-search {
  display: flex;
  gap: 10px;
  max-width: 560px;
  margin-bottom: 22px;
}
.hero-search input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(15, 23, 42, 0.72);
  color: #FFFFFF;
  font-size: 14.5px;
  outline: none;
}
.hero-search input::placeholder { color: #94A3B8; }
.hero-search input:focus { border-color: #34D399; background: rgba(15, 23, 42, 0.95); }

.hero-hot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #94A3B8;
  margin-bottom: 28px;
}
.hero-hot a {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #E2E8F0;
}
.hero-hot a:hover {
  border-color: #34D399;
  color: #FFFFFF;
  background: rgba(0, 122, 61, 0.28);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Hero Right Precision Blueprint Card */
.hero-panel {
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 24px;
  min-width: 0;
}
.hero-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: #94A3B8;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-panel-badge {
  color: #34D399;
  font-weight: 600;
}
.hero-blueprint {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0 18px;
}
.hero-spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.hero-spec-item {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
}
.hero-spec-label { font-size: 11.5px; color: #94A3B8; display: block; }
.hero-spec-val { font-size: 13.5px; font-weight: 600; color: #F8FAFC; margin-top: 2px; display: block; }

/* Metrics Strip */
.metrics-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.metric-cell {
  padding: 22px 20px;
  border-right: 1px solid var(--border);
  min-width: 0;
}
.metric-cell:last-child { border-right: none; }
.metric-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}
.metric-num span { color: var(--accent); }
.metric-desc {
  font-size: 13px;
  color: var(--ink-600);
  margin-top: 4px;
}

/* Section Rhythm */
.section { padding: 64px 0; }
.section-alt { background: var(--surface-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-dark { background: var(--ink-900); color: #FFFFFF; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}
.section-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.section-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}
.section-sub {
  font-size: 14.5px;
  color: var(--ink-600);
  margin-top: 8px;
  max-width: 660px;
}
.section-dark .section-title { color: #FFFFFF; }
.section-dark .section-sub { color: #CBD5E1; }

/* Category Pill Bar */
.cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-700);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  white-space: nowrap;
}
.cat-pill:hover, .cat-pill.active {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: #FFFFFF;
}

/* Product Grid & Cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.product-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.product-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.product-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #FFFFFF;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--surface-muted);
  overflow: hidden;
}
.product-thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}
.product-card:hover .product-thumb img { transform: scale(1.04); }
.product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.product-cat {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink-900);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-desc {
  font-size: 13px;
  color: var(--ink-600);
  line-height: 1.55;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--surface-muted);
  font-size: 12.5px;
}
.product-price-tag {
  color: var(--ink-400);
  white-space: nowrap;
}
.product-more {
  color: var(--ink-900);
  font-weight: 600;
  white-space: nowrap;
}
.product-card:hover .product-more { color: var(--accent); }

/* 4-Stage Precision Workflow (Replaces dated 4s.jpg) */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.process-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--ink-900);
  border-radius: var(--radius);
  padding: 24px 22px;
  min-width: 0;
}
.process-card:hover { border-top-color: var(--accent); }
.process-step {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 14px;
}
.process-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  padding: 3px 8px;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
}
.process-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 10px;
}
.process-card p {
  font-size: 13.5px;
  color: var(--ink-600);
  line-height: 1.7;
}

/* Industry Applications / Cases */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.case-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
}
.case-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.case-img {
  aspect-ratio: 16 / 10;
  background: var(--surface-muted);
  overflow: hidden;
}
.case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.case-card:hover .case-img img { transform: scale(1.04); }
.case-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.case-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 8px;
  line-height: 1.4;
}
.case-desc {
  font-size: 13.5px;
  color: var(--ink-600);
  line-height: 1.65;
  margin-bottom: 14px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.case-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

/* Knowledge Hub (3 Columns) */
.news-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.hub-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  min-width: 0;
}
.hub-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.hub-col-head h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink-900);
}
.hub-col-head a {
  font-size: 12.5px;
  color: var(--accent);
  font-weight: 600;
}
.hub-list li {
  border-bottom: 1px dashed var(--border);
}
.hub-list li:last-child { border-bottom: none; }
.hub-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  font-size: 13.8px;
  color: var(--ink-700);
}
.hub-list a:hover { color: var(--accent); }
.hub-list-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.hub-list-date {
  font-size: 12px;
  color: var(--ink-400);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

/* GEO FAQ Accordion (Homepage) */
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-900);
  cursor: pointer;
}
.faq-q:hover { color: var(--accent); }
.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
  transition: transform 0.2s ease;
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 0 20px 18px;
  font-size: 13.8px;
  line-height: 1.75;
  color: var(--ink-600);
  border-top: 1px solid var(--surface-muted);
  padding-top: 14px;
}
.faq-item.is-open .faq-a { display: block; }

/* CTA Banner */
.cta-band {
  background: linear-gradient(135deg, #0B1220 0%, #162436 100%);
  color: #FFFFFF;
  padding: 48px 0;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: 24px; font-weight: 800; color: #FFFFFF; margin-bottom: 8px; }
.cta-band p { font-size: 14.5px; color: #CBD5E1; max-width: 620px; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Subpage Architectural Header */
.subhero {
  background: linear-gradient(135deg, #0B1220 0%, #152236 100%);
  color: #FFFFFF;
  padding: 36px 0 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.breadcrumbs {
  font-size: 13px;
  color: #94A3B8;
  margin-bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.breadcrumbs a { color: #CBD5E1; }
.breadcrumbs a:hover { color: #FFFFFF; }
.subhero-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
  color: #FFFFFF;
}
.subhero-desc {
  margin-top: 8px;
  font-size: 14px;
  color: #CBD5E1;
  max-width: 740px;
}

/* 2-Column Subpage Layout (Strict minmax(0,1fr) Overflow Protection!) */
.page-shell {
  padding: 36px 0 64px;
}
.layout-2col {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.layout-article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
}
.main-col, .side-col {
  min-width: 0;
  max-width: 100%;
}

/* Sidebar */
.side-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
}
.side-card-head {
  padding: 14px 18px;
  background: var(--ink-900);
  color: #FFFFFF;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.side-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px;
  font-size: 14px;
  color: var(--ink-700);
  border-bottom: 1px solid var(--surface-muted);
}
.side-nav li:last-child a { border-bottom: none; }
.side-nav a:hover { background: var(--surface-alt); color: var(--accent); }
.side-nav li.active a {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  border-left: 3px solid var(--accent);
  padding-left: 15px;
}
.side-contact-body {
  padding: 18px;
  font-size: 13.5px;
  color: var(--ink-600);
}
.side-contact-tel {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink-900);
  margin: 6px 0 12px;
  display: block;
}
.side-contact-tel:hover { color: var(--accent); }
.side-contact-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  margin-bottom: 14px;
}

/* Mobile Horizontal Scrollable Category Strip */
.mobile-cats {
  display: none;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 14px;
  margin-bottom: 18px;
  -webkit-overflow-scrolling: touch;
}
.mobile-cats a {
  flex: 0 0 auto;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--ink-700);
  white-space: nowrap;
}
.mobile-cats a.active {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: #FFFFFF;
}

/* Product Detail Page */
.product-detail-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.product-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.gallery-main {
  aspect-ratio: 4 / 3;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  overflow: hidden;
}
.gallery-main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
}
.gallery-thumb {
  width: 68px;
  height: 54px;
  flex-shrink: 0;
  padding: 4px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--accent); }
.gallery-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }

.product-summary h1 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink-900);
  margin-bottom: 12px;
}
.product-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.meta-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--ink-700);
}
.meta-badge-green {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent);
}
.product-summary-desc {
  font-size: 14.5px;
  color: var(--ink-600);
  line-height: 1.75;
  margin-bottom: 18px;
}
.quote-box {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 20px;
}
.quote-box-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-400);
}
.quote-box-val {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-900);
  margin-top: 2px;
}
.quote-box-note {
  font-size: 12.5px;
  color: var(--ink-600);
  margin-top: 4px;
}
.product-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Prose Rich-Text Formatting & Mobile Table Overflow Protection */
.prose-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.article-header {
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.article-header h1 {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink-900);
  margin-bottom: 10px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--ink-400);
}
.prose {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink-800);
  word-break: break-word;
}
.prose h2 {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink-900);
  margin: 28px 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
}
.prose h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink-900);
  margin: 20px 0 10px;
}
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 16px 20px; list-style: disc; }
.prose li { margin-bottom: 8px; }
.prose img {
  margin: 16px auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 13.8px;
  border: 1px solid var(--border);
}
.prose th, .prose td {
  padding: 10px 12px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.prose th {
  background: var(--surface-alt);
  font-weight: 700;
  color: var(--ink-900);
  white-space: nowrap;
}

/* Prev / Next Bar */
.prev-next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
}
.prev-next-item {
  padding: 12px 14px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  min-width: 0;
}
.prev-next-item span { display: block; font-size: 12px; color: var(--ink-400); margin-bottom: 4px; }
.prev-next-item a { color: var(--ink-900); font-weight: 600; }
.prev-next-item a:hover { color: var(--accent); }

/* News Editorial List */
.editorial-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.editorial-item {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  align-items: start;
}
.editorial-item:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.editorial-date {
  text-align: center;
  padding: 10px 6px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-variant-numeric: tabular-nums;
}
.editorial-day { display: block; font-size: 22px; font-weight: 800; color: var(--ink-900); line-height: 1.1; }
.editorial-ym { display: block; font-size: 11.5px; color: var(--ink-400); margin-top: 4px; }
.editorial-body h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 8px;
  line-height: 1.4;
}
.editorial-body h2 a:hover { color: var(--accent); }
.editorial-body p {
  font-size: 13.8px;
  color: var(--ink-600);
  line-height: 1.65;
}

/* Pagination */
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  font-size: 13.5px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-700);
}
.pagination a:hover, .pagination .page-num-current {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: #FFFFFF;
}

/* Inquiry Form */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-field.is-full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 600; color: var(--ink-800); }
.form-field input, .form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  color: var(--ink-900);
  background: #FFFFFF;
  outline: none;
}
.form-field input:focus, .form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 122, 61, 0.12);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.captcha-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.captcha-row input { max-width: 180px; }
.captcha-img {
  height: 42px;
  width: auto;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Footer */
.site-footer {
  background: var(--ink-950);
  color: #CBD5E1;
  padding: 56px 0 28px;
  border-top: 3px solid var(--accent);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr) minmax(0, 1.1fr) 150px;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand { font-size: 18px; font-weight: 800; color: #FFFFFF; margin-bottom: 12px; }
.footer-brand em { font-style: normal; color: #34D399; }
.footer-about { font-size: 13.5px; line-height: 1.75; color: #94A3B8; }
.footer-heading { font-size: 14px; font-weight: 700; color: #FFFFFF; margin-bottom: 14px; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
.footer-links a { font-size: 13.5px; color: #94A3B8; }
.footer-links a:hover { color: #FFFFFF; }
.footer-contact li { font-size: 13.5px; color: #94A3B8; margin-bottom: 8px; }
.footer-contact strong { color: #FFFFFF; }
.footer-qr {
  text-align: center;
}
.footer-qr img {
  width: 128px;
  height: 128px;
  margin: 0 auto 8px;
  padding: 6px;
  background: #FFFFFF;
  border-radius: var(--radius-sm);
}
.footer-qr p { font-size: 12px; color: #94A3B8; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  padding-right: 72px;
  font-size: 12.5px;
  color: #64748B;
}
.footer-bottom a { color: #94A3B8; }
.footer-bottom a:hover { color: #FFFFFF; }

/* Desktop Floating Widget */
.float-bar {
  position: fixed;
  right: 18px;
  bottom: 92px;
  z-index: 880;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.float-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--ink-900);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  gap: 2px;
  cursor: pointer;
}
.float-btn:hover { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.float-btn-primary { background: var(--accent); border-color: var(--accent); }
.float-btn-primary:hover { background: var(--accent-hover); }

.qr-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(11, 18, 32, 0.72);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.qr-modal.is-open { display: flex; }
.qr-modal-box {
  background: #FFFFFF;
  color: var(--ink-900);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 340px;
  width: 100%;
  text-align: center;
  position: relative;
}
.qr-modal-box img { width: 200px; height: 200px; margin: 14px auto; border: 1px solid var(--border); padding: 6px; border-radius: var(--radius-sm); }
.qr-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--ink-900);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

/* Mobile Floating Back-to-Top Button */
.mobile-top-btn {
  display: none;
  position: fixed;
  right: 14px;
  bottom: 66px;
  z-index: 885;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.92);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, background-color 0.18s ease;
}
.mobile-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-top-btn:active, .mobile-top-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* Mobile Fixed Bottom Bar */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 890;
  background: var(--ink-950);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.mobile-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 9px 4px;
  font-size: 11.5px;
  color: #E2E8F0;
  gap: 3px;
}
.mobile-bar a.is-call {
  background: var(--accent);
  color: #FFFFFF;
  font-weight: 700;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(11, 18, 32, 0.88);
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; background: #FFFFFF; padding: 12px; border-radius: var(--radius); }

/* Responsive Breakpoints */
@media (max-width: 1080px) {
  .main-nav, .header-actions .btn-outline-dark { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-hub-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layout-2col, .layout-article { grid-template-columns: minmax(0, 1fr); }
  .side-col { display: none; }
  .mobile-cats { display: flex; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .topbar { display: none; }
  .header-inner { height: 60px; }
  .brand-logo-img { height: 34px; max-width: 156px; }
  .brand-name { font-size: 16px; }
  .brand-sub { font-size: 10.5px; }
  .header-actions .btn-primary { padding: 8px 12px; font-size: 12.5px; }

  .hero { padding: 36px 0 32px; }
  .hero h1 { font-size: 25px; line-height: 1.3; }
  .hero-lead { font-size: 14px; margin-bottom: 20px; }
  .hero-search { flex-direction: column; }
  .hero-panel { padding: 18px; }
  .hero-blueprint svg { max-width: 220px; height: auto; }

  .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-cell { padding: 16px 14px; border-bottom: 1px solid var(--border); }
  .metric-cell:nth-child(2n) { border-right: none; }
  .metric-num { font-size: 18px; }

  .section { padding: 42px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 22px; }
  .section-title { font-size: 22px; }

  .product-grid, .product-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-thumb { padding: 12px; }
  .product-body { padding: 12px; }
  .product-title { font-size: 13.8px; }
  .product-desc { display: none; }
  .product-foot { flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 8px; }

  .process-grid, .case-grid, .faq-list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .product-top-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .product-detail-card, .prose-card { padding: 18px; }
  .product-summary h1, .article-header h1, .subhero-title { font-size: 21px; }
  .prose table { display: block; overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
  .prev-next { grid-template-columns: minmax(0, 1fr); }
  .editorial-item { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 16px; }
  .editorial-date { display: inline-flex; align-items: baseline; gap: 8px; padding: 4px 10px; width: fit-content; }
  .editorial-day { font-size: 15px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }

  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .site-footer { padding: 40px 0 96px; }
  .footer-bottom { padding-right: 0; }
  .float-bar { display: none; }
  .mobile-top-btn { display: flex; }
  .mobile-bar { display: grid; }
}
