/* WXD Assembly — Precision Automotive Industrial B2B Design System */
:root {
  --navy-950: #071426;
  --navy-900: #0b1f3a;
  --navy-800: #132d52;
  --blue-600: #0056d2;
  --blue-700: #0041a3;
  --blue-50: #eef4ff;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 10px 30px -10px rgba(11, 31, 58, 0.14);
  --shadow-lg: 0 24px 48px -16px rgba(7, 20, 38, 0.28);
  --shell: 1220px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.65 var(--font);
  color: var(--slate-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:is(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--blue-600); outline-offset: 3px; }

.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { position: fixed; left: 16px; top: 16px; z-index: 100; background: var(--navy-900); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm); }

/* Top Utility Trust Bar */
.utility-bar {
  background: var(--navy-950);
  color: #cbd5e1;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.utility-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-block: 8px;
}
.utility-badges { display: flex; flex-wrap: wrap; gap: 18px; }
.utility-badges span { display: inline-flex; align-items: center; gap: 6px; }
.utility-badges span::before { content: '●'; color: var(--amber-500); font-size: 9px; }
.utility-contact { display: flex; align-items: center; gap: 16px; font-weight: 600; color: var(--white); }
.utility-contact a { text-decoration: none; }
.utility-contact a:hover { color: var(--amber-500); }

/* Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--slate-200);
}
.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--navy-900);
}
.wordmark-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy-900), var(--blue-600));
  color: var(--white);
  font-weight: 900;
  font-size: 18px;
}
.wordmark-sub { font-size: 11px; font-weight: 600; color: var(--slate-500); display: block; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.1; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.site-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-700);
  padding-block: 6px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
  color: var(--blue-600);
  border-bottom-color: var(--blue-600);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber-500); color: var(--navy-950); box-shadow: 0 4px 14px rgba(245, 158, 11, 0.32); }
.btn-primary:hover { background: #fbbf24; }
.btn-blue { background: var(--blue-600); color: var(--white); }
.btn-blue:hover { background: var(--blue-700); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.3); color: var(--white); background: rgba(255, 255, 255, 0.06); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.14); }
.btn-outline-dark { border-color: var(--slate-200); color: var(--navy-900); background: var(--white); }
.btn-outline-dark:hover { border-color: var(--blue-600); color: var(--blue-600); }

/* Breadcrumbs */
.breadcrumbs { background: var(--slate-50); border-bottom: 1px solid var(--slate-200); padding-block: 10px; font-size: 13px; color: var(--slate-500); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; padding: 0; }
.breadcrumbs li + li::before { content: '/'; margin-right: 8px; color: var(--slate-200); }
.breadcrumbs a { text-decoration: none; color: var(--slate-700); font-weight: 500; }
.breadcrumbs a:hover { color: var(--blue-600); text-decoration: underline; }

/* Hero */
.hero {
  background: radial-gradient(circle at 80% 20%, #153663 0%, var(--navy-900) 52%, var(--navy-950) 100%);
  color: var(--white);
  padding-block: clamp(48px, 6vw, 84px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 86, 210, 0.28);
  border: 1px solid rgba(96, 165, 250, 0.35);
  color: #93c5fd;
  font: 700 12px/1.2 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.hero h1 span { color: var(--amber-500); }
.hero-lead {
  margin-top: 18px;
  font-size: clamp(16px, 1.3vw, 18px);
  color: #cbd5e1;
  max-width: 58ch;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 22px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: #e2e8f0;
  font-weight: 600;
}
.hero-pills li::before { content: '✓ '; color: var(--amber-500); font-weight: 800; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--navy-800);
}
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-media figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(7, 20, 38, 0.86);
  backdrop-filter: blur(6px);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Proof Metrics Strip */
.proof-strip {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding-block: 26px;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.proof-item {
  padding-left: 16px;
  border-left: 3px solid var(--blue-600);
}
.proof-item strong { display: block; font-size: 20px; font-weight: 800; color: var(--navy-900); line-height: 1.2; }
.proof-item span { display: block; font-size: 13px; color: var(--slate-600); margin-top: 4px; }

/* Sections */
.section { padding-block: clamp(56px, 6.5vw, 88px); }
.section-alt { background: var(--slate-50); border-block: 1px solid var(--slate-200); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head .kicker { font: 700 12px/1 var(--mono); color: var(--blue-600); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; display: block; }
.section-head h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; line-height: 1.18; letter-spacing: -0.025em; color: var(--navy-900); }
.section-head p { margin-top: 12px; color: var(--slate-600); font-size: 16px; }

/* 4-Pillar Service Cards */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.pillar-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px 24px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.pillar-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-600); }
.pillar-tag { font: 700 11px/1 var(--mono); color: var(--blue-600); background: var(--blue-50); padding: 4px 9px; border-radius: 4px; width: fit-content; margin-bottom: 14px; text-transform: uppercase; }
.pillar-card h3 { font-size: 19px; font-weight: 800; color: var(--navy-900); line-height: 1.25; }
.pillar-card p { margin-top: 10px; font-size: 14px; color: var(--slate-600); }
.pillar-link { margin-top: 18px; font-size: 14px; font-weight: 700; color: var(--blue-600); }

/* Split Content + Checklist */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.check-cards { display: grid; gap: 14px; list-style: none; padding: 0; }
.check-cards li {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}
.check-cards strong { display: block; font-size: 16px; color: var(--navy-900); margin-bottom: 4px; }
.check-cards strong::before { content: '✓ '; color: var(--blue-600); font-weight: 900; }
.check-cards span { font-size: 14px; color: var(--slate-600); display: block; }

/* 3-Column Feature Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.feature-card {
  padding: 26px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}
.feature-card h3 { font-size: 18px; font-weight: 700; color: var(--navy-900); margin-bottom: 10px; }
.feature-card h3 a { text-decoration: none; color: var(--blue-600); }
.feature-card h3 a:hover { text-decoration: underline; }
.feature-card p { font-size: 14.5px; color: var(--slate-600); }

/* Spec Table (Great for Engineers & Featured Snippets) */
.spec-table-wrap { overflow-x: auto; border: 1px solid var(--slate-200); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-sm); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; text-align: left; }
.spec-table th { background: var(--navy-900); color: var(--white); padding: 14px 18px; font-weight: 700; }
.spec-table td { padding: 14px 18px; border-top: 1px solid var(--slate-200); color: var(--slate-700); }
.spec-table tr:nth-child(even) td { background: var(--slate-50); }
.spec-table td:first-child { font-weight: 700; color: var(--navy-900); white-space: nowrap; }

/* Workflow Steps */
.steps-list { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 18px; margin-top: 24px; }
.steps-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
}
.steps-list li::before {
  counter-increment: step;
  content: '0' counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--navy-900);
  color: var(--amber-500);
  font: 800 14px/1 var(--mono);
}
.steps-list h3 { font-size: 16px; color: var(--navy-900); margin-bottom: 4px; }
.steps-list p { font-size: 14px; color: var(--slate-600); }

/* Factory Photo Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.gallery-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.gallery-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-card figcaption { padding: 14px 16px; font-size: 13.5px; color: var(--slate-700); font-weight: 600; }

/* FAQ Accordion */
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 18px 22px;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy-900);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-list summary::after { content: '+'; font: 700 20px/1 var(--mono); color: var(--blue-600); }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { margin-top: 12px; color: var(--slate-600); font-size: 15px; max-width: 78ch; }

/* Related Internal Links */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.related-grid a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--slate-200);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.related-grid a:hover { border-color: var(--blue-600); box-shadow: var(--shadow-md); }
.related-grid strong { font-size: 16px; color: var(--navy-900); }
.related-grid span { font-size: 13.5px; color: var(--slate-600); }

/* Conversion CTA Band */
.cta-band {
  background: linear-gradient(120deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--navy-800) 100%);
  color: var(--white);
  padding-block: clamp(48px, 6vw, 72px);
}
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}
.cta-inner h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; max-width: 680px; line-height: 1.2; }
.cta-inner p { margin-top: 10px; color: #cbd5e1; max-width: 600px; font-size: 15px; }

/* RFQ Page & Form */
.rfq-section { padding-block: clamp(48px, 6vw, 80px); background: var(--slate-50); }
.rfq-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.rfq-panel {
  background: var(--white);
  padding: clamp(24px, 4vw, 38px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
}
.rfq-panel h2 { font-size: 22px; color: var(--navy-900); margin-bottom: 20px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-grid label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--slate-700); }
.field-grid label span { color: #dc2626; }
.field-grid .wide { grid-column: 1 / -1; }
.field-grid input, .field-grid select, .field-grid textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--slate-900);
}
.field-grid input:focus, .field-grid select:focus, .field-grid textarea:focus {
  border-color: var(--blue-600);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 86, 210, 0.12);
}
.form-note { font-size: 13px; color: var(--slate-500); margin-block: 14px 18px; }
.draft { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--slate-200); }
.draft textarea { width: 100%; margin-top: 8px; padding: 12px; border: 1px solid var(--slate-200); border-radius: var(--radius-sm); font-family: var(--mono); font-size: 13px; }
.draft-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 14px; }
.rfq-box { margin-top: 24px; padding: 20px; background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-md); }
.rfq-box h3 { font-size: 15px; color: var(--navy-900); margin-bottom: 8px; }
.rfq-box ul { padding-left: 18px; color: var(--slate-600); font-size: 14px; display: grid; gap: 6px; }

/* Footer */
.site-footer { background: var(--navy-950); color: #cbd5e1; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 56px 40px; }
.footer-brand .wordmark { color: var(--white); }
.footer-brand p { margin-top: 14px; font-size: 14px; color: #94a3b8; max-width: 34ch; }
.footer-email { display: inline-block; margin-top: 14px; color: var(--amber-500); font-weight: 700; text-decoration: none; }
.footer-col h3 { font: 700 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--white); margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-col a { font-size: 14px; color: #94a3b8; text-decoration: none; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-block: 20px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 13px; color: #64748b; }

@media (max-width: 1024px) {
  .hero-grid, .split, .rfq-grid { grid-template-columns: 1fr; }
  .pillar-grid, .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .pillar-grid, .proof-grid, .card-grid, .gallery-grid, .field-grid, .footer-grid { grid-template-columns: 1fr; }
  .header-inner { flex-wrap: wrap; padding-block: 12px; }
  .utility-badges { gap: 10px; }
}
