/* FinishHub — Heavy-Industrial Surface Finishing Engineering Design System */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=DM+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');

:root {
  --steel-950: #0c1015;
  --steel-900: #131921;
  --steel-850: #1a222d;
  --steel-800: #222c39;
  --steel-700: #313e4f;
  --steel-600: #475569;
  --concrete-50: #f3f5f7;
  --concrete-100: #e7ebf0;
  --concrete-200: #d1d8e0;
  --concrete-300: #b8c2ce;
  --white: #ffffff;
  --ink: #12171f;
  --ink-soft: #3c4654;
  --muted: #5f6c7d;
  --safety: #d95314;
  --safety-bright: #f26419;
  --safety-dark: #b3400b;
  --safety-tint: #fff2eb;
  --blueprint: #1a4b7c;
  --blueprint-tint: #eaf2fa;
  --qc-green: #167a44;
  --qc-bg: #e8f6ee;
  --display: 'Barlow Condensed', 'Noto Sans SC', sans-serif;
  --sans: 'DM Sans', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  --radius-sm: 3px;
  --radius: 5px;
  --shadow-sm: 0 2px 8px rgba(12, 16, 21, 0.06);
  --shadow-md: 0 10px 30px rgba(12, 16, 21, 0.12);
  --shadow-lg: 0 22px 54px rgba(12, 16, 21, 0.28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--concrete-50);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.wrap {
  width: min(1260px, calc(100% - 40px));
  margin: 0 auto;
}

/* Industrial Top Spec Bar */
.topline {
  background: var(--steel-950);
  color: #aeb8c6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font: 500 11px/1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 0;
}
.topline-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topline-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e6ecf2;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #27c26c;
  box-shadow: 0 0 8px rgba(39, 194, 108, 0.7);
}
.topline-specs {
  display: flex;
  gap: 18px;
  align-items: center;
  color: #93a0b2;
}
.topline-specs strong { color: #f4a261; font-weight: 500; }

/* Sticky Industrial Header */
.nav {
  background: rgba(19, 25, 33, 0.96);
  color: #fff;
  border-bottom: 2px solid var(--safety);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
}
.navinner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
}
.brandmark {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--safety);
  display: grid;
  place-items: center;
  color: #fff;
  font: 700 18px var(--mono);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.25);
}
.brand small {
  display: block;
  font: 500 10px/1.2 var(--mono);
  letter-spacing: 0.14em;
  color: #9ba8b8;
  text-transform: uppercase;
  margin-top: 2px;
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  font-weight: 600;
  color: #d6dde6;
}
.navlinks a {
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.18s;
  white-space: nowrap;
}
.navlinks a:hover, .navlinks a.active {
  color: #fff;
  border-bottom-color: var(--safety-bright);
}
#language {
  background: var(--steel-800);
  color: #eef2f6;
  border: 1px solid var(--steel-700);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  font: 500 12px var(--mono);
  max-width: 112px;
}
#language option { background: var(--steel-900); color: #fff; }

/* Buttons */
.btn, .navcta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--safety);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 11px 18px;
  transition: background 0.18s, transform 0.15s, border-color 0.18s;
  white-space: nowrap;
}
.btn:hover, .navcta:hover {
  background: var(--safety-bright);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}
.btn-dark {
  background: var(--steel-900);
  color: #fff;
}
.btn-dark:hover { background: var(--steel-800); }
.btn-light {
  background: #fff;
  color: var(--steel-950);
  border-color: var(--concrete-200);
}
.btn-light:hover { background: var(--concrete-100); }

/* Eyebrows & Section Headers */
.eyebrow {
  font: 600 11px/1.2 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--safety);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: currentColor;
}
.section {
  padding: 76px 0;
}
.section-light { background: var(--white); border-top: 1px solid var(--concrete-200); border-bottom: 1px solid var(--concrete-200); }
.section-concrete { background: var(--concrete-50); }
.section-steel {
  background: var(--steel-900);
  color: #edf1f7;
  position: relative;
}
.section-steel .eyebrow { color: #f48c42; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 34px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--concrete-200);
}
.section-steel .section-head { border-bottom-color: rgba(255, 255, 255, 0.12); }
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.04;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 10px 0 8px;
  font-weight: 800;
}
.section-head p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  max-width: 680px;
}
.section-steel .section-head p { color: #a7b4c4; }
.textlink {
  font: 600 12px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--safety);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.textlink:hover { text-decoration: underline; }
.section-steel .textlink { color: #f69b57; }

/* HERO — Real Factory Floor Backdrop + Blueprint Grid */
.hero {
  position: relative;
  background:
    linear-gradient(105deg, rgba(12, 16, 21, 0.94) 0%, rgba(16, 23, 32, 0.88) 54%, rgba(18, 26, 36, 0.72) 100%),
    url('assets/factory/assembly-auto.jpg') center/cover no-repeat;
  color: #fff;
  padding: 64px 0 0;
  overflow: hidden;
  border-bottom: 3px solid var(--steel-800);
}
.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 > .wrap { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 40px;
  align-items: center;
}
.hero .eyebrow { color: #f69b57; }
.hero h1 {
  font-family: var(--display);
  font-size: clamp(44px, 5.8vw, 72px);
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-weight: 800;
  margin: 16px 0 18px;
}
.hero h1 em {
  font-style: normal;
  color: #f69b57;
}
.hero .intro {
  font-size: 16px;
  line-height: 1.75;
  color: #cad3df;
  max-width: 590px;
  margin: 0;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.searchbox {
  margin-top: 24px;
  background: #fff;
  border: 2px solid var(--steel-700);
  border-radius: var(--radius);
  padding: 5px;
  display: flex;
  align-items: center;
  max-width: 600px;
  box-shadow: var(--shadow-lg);
}
.searchbox svg { margin: 0 12px; color: var(--muted); flex: none; }
.searchbox input {
  border: 0;
  outline: 0;
  flex: 1;
  min-width: 0;
  font-size: 14px;
  color: var(--ink);
  padding: 10px 4px;
}
.searchbox button { padding: 12px 18px; }
.hotlinks {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font: 500 11px var(--mono);
  color: #9ba8b8;
}
.hotlinks a {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 4px 10px;
  border-radius: 2px;
  color: #e4ebf2;
  transition: background 0.16s, border-color 0.16s;
}
.hotlinks a:hover {
  background: var(--safety);
  border-color: var(--safety);
  color: #fff;
}

/* Hero Right Factory Spec Console */
.hero-panel {
  background: rgba(17, 23, 31, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 3px solid var(--safety);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-panel-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: rgba(12, 16, 21, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font: 500 10px var(--mono);
  letter-spacing: 0.12em;
  color: #9fb0c3;
  text-transform: uppercase;
}
.hero-panel-bar span:last-child { color: #4ade80; }
.hero-photo-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 2px;
  background: #0c1015;
}
.hero-photo-main, .hero-photo-sub {
  position: relative;
  overflow: hidden;
}
.hero-photo-main img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}
.hero-photo-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
}
.hero-photo-sub img {
  width: 100%;
  height: 134px;
  object-fit: cover;
}
.photo-tag {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: rgba(12, 16, 21, 0.82);
  border-left: 2px solid var(--safety);
  padding: 3px 8px;
  font: 500 10px var(--mono);
  color: #f1f5f9;
  letter-spacing: 0.06em;
}
.hero-telemetry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.tele-cell {
  padding: 13px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.tele-cell:last-child { border-right: 0; }
.tele-cell small {
  display: block;
  font: 500 10px var(--mono);
  color: #8f9eb0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.tele-cell strong {
  display: block;
  margin-top: 3px;
  font: 600 14px var(--mono);
  color: #fff;
}

/* Metrics Strip */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 16, 21, 0.6);
}
.metric {
  padding: 20px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.metric:last-child { border-right: 0; }
.metric strong {
  display: block;
  font: 700 26px/1.1 var(--mono);
  color: #f69b57;
}
.metric span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #b7c3d2;
}

/* GEO Quick-Answer / Executive Summary Band */
.geo-answer-band {
  background: var(--white);
  border-bottom: 1px solid var(--concrete-200);
  padding: 28px 0;
}
.geo-answer-box {
  background: var(--concrete-50);
  border: 1px solid var(--concrete-200);
  border-left: 4px solid var(--blueprint);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: center;
}
.geo-answer-box h2 {
  font-family: var(--display);
  font-size: 22px;
  text-transform: uppercase;
  margin: 6px 0 8px;
  color: var(--steel-950);
}
.geo-answer-box p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.75;
}
.geo-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.geo-fact {
  background: #fff;
  border: 1px solid var(--concrete-200);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}
.geo-fact small {
  display: block;
  font: 600 10px var(--mono);
  color: var(--blueprint);
  text-transform: uppercase;
}
.geo-fact b {
  display: block;
  font-size: 13px;
  margin-top: 2px;
  color: var(--ink);
}

/* Equipment Category Spec Cards */
.cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cat {
  background: var(--white);
  border: 1px solid var(--concrete-200);
  border-top: 3px solid var(--steel-800);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.cat:hover {
  border-top-color: var(--safety);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.cat-media {
  position: relative;
  height: 210px;
  background: #161d26;
  overflow: hidden;
  border-bottom: 1px solid var(--concrete-200);
}
.cat-media.cutout {
  background: radial-gradient(circle at center, #ffffff 35%, #eaedf2 100%);
  padding: 16px;
}
.cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-media.cutout img { object-fit: contain; }
.cat-code {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(12, 16, 21, 0.86);
  color: #f69b57;
  font: 600 10px var(--mono);
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border-radius: 2px;
}
.cat-copy {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cat-copy small {
  font: 600 10px var(--mono);
  color: var(--safety);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cat-copy h3 {
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.12;
  text-transform: uppercase;
  margin: 6px 0 8px;
  color: var(--steel-950);
}
.cat-copy p {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0 0 16px;
  line-height: 1.65;
}
.cat-specs {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px dashed var(--concrete-200);
  border-bottom: 1px dashed var(--concrete-200);
  margin-bottom: 14px;
}
.cat-specs div span {
  display: block;
  font: 500 10px var(--mono);
  color: var(--muted);
  text-transform: uppercase;
}
.cat-specs div strong {
  font: 600 12px var(--mono);
  color: var(--ink);
}

/* Interactive Process & Media Estimator (CNC HMI Style) */
.estimator-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  align-items: stretch;
}
.hmi-panel {
  background: var(--steel-850);
  border: 1px solid var(--steel-700);
  border-top: 3px solid var(--safety);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hmi-group label {
  display: block;
  font: 600 11px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #aeb8c6;
  margin-bottom: 8px;
}
.hmi-select {
  width: 100%;
  background: var(--steel-950);
  color: #fff;
  border: 1px solid var(--steel-700);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
}
.hmi-select:focus { outline: 2px solid var(--safety); border-color: var(--safety); }
.hmi-output {
  background: #0d131a;
  border: 1px solid var(--steel-700);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
}
.hmi-out-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 18px;
}
.hmi-out-head span {
  font: 600 11px var(--mono);
  color: #4ade80;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hmi-out-title {
  font-family: var(--display);
  font-size: 28px;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 10px;
}
.hmi-out-note {
  font-size: 13.5px;
  color: #b7c3d2;
  margin: 0 0 18px;
  line-height: 1.7;
}
.hmi-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.hmi-kpi {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
}
.hmi-kpi small {
  display: block;
  font: 500 10px var(--mono);
  color: #8f9eb0;
  text-transform: uppercase;
}
.hmi-kpi strong {
  display: block;
  margin-top: 4px;
  font: 600 14px var(--mono);
  color: #f69b57;
}
.hmi-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Engineering Comparison Table (GEO Goldmine) */
.table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--concrete-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 13.5px;
}
.spec-table th {
  background: var(--steel-900);
  color: #fff;
  font: 600 11px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  padding: 14px 16px;
  border-bottom: 2px solid var(--safety);
}
.spec-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--concrete-100);
  color: var(--ink-soft);
  vertical-align: top;
}
.spec-table tr:nth-child(even) td { background: #fafbfc; }
.spec-table td:first-child { font-weight: 700; color: var(--steel-950); }
.spec-mono { font-family: var(--mono); font-size: 12.5px; color: var(--blueprint); font-weight: 600; }

/* Real Factory Shop Floor Gallery Strip */
.factory-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.factory-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--concrete-200);
  background: var(--steel-950);
  height: 220px;
}
.factory-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.35s, opacity 0.25s;
}
.factory-card:hover img { transform: scale(1.04); opacity: 1; }
.factory-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 14px 12px;
  background: linear-gradient(transparent, rgba(12, 16, 21, 0.92));
  color: #fff;
}
.factory-caption small {
  display: block;
  font: 600 10px var(--mono);
  color: #f69b57;
  letter-spacing: 0.08em;
}
.factory-caption strong {
  font-size: 13px;
  font-weight: 600;
}

/* Supplier Directory */
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter {
  background: #fff;
  color: var(--ink-soft);
  border: 1px solid var(--concrete-200);
  border-radius: var(--radius-sm);
  padding: 8px 13px;
  font: 600 12px var(--sans);
  transition: all 0.16s;
}
.filter:hover, .filter.active {
  background: var(--steel-900);
  border-color: var(--steel-900);
  color: #fff;
}
.region-select {
  background: #fff;
  border: 1px solid var(--concrete-200);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font: 600 12px var(--mono);
  color: var(--ink);
}
.vendor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.vendor {
  background: #fff;
  border: 1px solid var(--concrete-200);
  border-left: 3px solid var(--steel-700);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.vendor:hover {
  border-left-color: var(--safety);
  box-shadow: var(--shadow-md);
}
.vendor-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.vendor-logo {
  width: 44px;
  height: 44px;
  background: var(--steel-900);
  color: #fff;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font: 700 15px var(--mono);
  letter-spacing: 0.04em;
}
.vendor-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.tag {
  font: 600 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  border-radius: 2px;
  background: var(--concrete-100);
  color: var(--steel-800);
  border: 1px solid var(--concrete-200);
}
.tag-lab {
  background: var(--qc-bg);
  color: var(--qc-green);
  border-color: #bce3cc;
}
.vendor h3 {
  font-family: var(--display);
  font-size: 24px;
  text-transform: uppercase;
  margin: 14px 0 3px;
  color: var(--steel-950);
}
.vendor .sub {
  font: 500 11px var(--mono);
  color: var(--blueprint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.vendor p {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 12px 0 14px;
  line-height: 1.65;
}
.vendor-industries {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.ind-chip {
  font-size: 11px;
  background: var(--concrete-50);
  color: var(--muted);
  padding: 3px 8px;
  border-radius: 2px;
  border: 1px solid var(--concrete-200);
}
.vendor-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--concrete-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font: 500 11px var(--mono);
  color: var(--muted);
}
.vendor-foot a {
  color: var(--safety);
  font-weight: 700;
}
.vendor-foot a:hover { text-decoration: underline; }
.demo-note {
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
}

/* Technical Guides Grid (Crawlable Pages!) */
.articles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.article {
  background: #fff;
  border: 1px solid var(--concrete-200);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 230px 1fr;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.article:hover {
  border-color: var(--safety);
  box-shadow: var(--shadow-md);
}
.article-visual {
  position: relative;
  background: var(--steel-900);
  min-height: 220px;
}
.article-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
}
.article-meta {
  font: 600 10px var(--mono);
  color: var(--safety);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.article h3 {
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.15;
  text-transform: uppercase;
  margin: 8px 0 10px;
  color: var(--steel-950);
}
.article p {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0 0 16px;
  line-height: 1.65;
}
.article-link {
  margin-top: auto;
  font: 700 12px var(--mono);
  color: var(--blueprint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.article:hover .article-link { color: var(--safety); }

/* 4-Step Proven Industrial Workflow */
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.wf-step {
  background: var(--steel-850);
  border: 1px solid var(--steel-700);
  border-top: 3px solid var(--safety);
  border-radius: var(--radius);
  padding: 22px;
}
.wf-num {
  font: 700 28px var(--mono);
  color: #f69b57;
  line-height: 1;
}
.wf-step h3 {
  font-family: var(--display);
  font-size: 22px;
  text-transform: uppercase;
  margin: 12px 0 8px;
  color: #fff;
}
.wf-step p {
  font-size: 13px;
  color: #b7c3d2;
  margin: 0;
  line-height: 1.65;
}

/* FAQ Accordion (SEO + GEO FAQPage Schema) */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--concrete-200);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.faq-item summary {
  font-weight: 700;
  font-size: 15px;
  color: var(--steel-950);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::after {
  content: '+';
  font: 700 18px var(--mono);
  color: var(--safety);
  flex: none;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  margin: 12px 0 0;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.75;
}

/* Supplier B2B Marketing / Plans CTA */
.subscribe {
  background: linear-gradient(135deg, #161d26 0%, #1f2a38 100%);
  color: #fff;
  border-top: 3px solid var(--safety);
  padding: 72px 0;
}
.subscribe-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.subscribe h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 44px);
  text-transform: uppercase;
  margin: 10px 0 8px;
}
.subscribe p { color: #b7c3d2; margin: 0; max-width: 640px; }
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.plan {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.plan.featured {
  background: #fff;
  color: var(--ink);
  border-color: var(--safety);
  box-shadow: var(--shadow-lg);
}
.plan b {
  font-family: var(--display);
  font-size: 24px;
  text-transform: uppercase;
}
.plan span {
  font: 600 11px var(--mono);
  color: #f69b57;
  display: block;
  margin: 6px 0 12px;
  letter-spacing: 0.08em;
}
.plan.featured span { color: var(--safety); }
.plan p { font-size: 13.5px; line-height: 1.65; color: #c4cfdd; }
.plan.featured p { color: var(--ink-soft); }
.plan ul {
  margin: 14px 0 0;
  padding-left: 18px;
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.8;
}
.plan.featured ul { color: var(--ink-soft); }

/* Footer */
.foot {
  background: var(--steel-950);
  color: #c3cedb;
  padding: 50px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}
.foot h4 {
  font: 600 11px var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f69b57;
  margin: 0 0 14px;
}
.foot p { font-size: 13px; color: #94a3b8; line-height: 1.75; margin: 12px 0 0; }
.foot-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13px;
}
.foot-list a { color: #cbd5e1; }
.foot-list a:hover { color: #f69b57; }
.photo-credit {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11.5px;
  color: #7d8b9d;
  line-height: 1.7;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Modals (RFQ Spec Builder & Supplier Listing) */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 20, 0.78);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.modal.open { display: flex; }
.dialog {
  width: min(680px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  border-top: 4px solid var(--safety);
  border-radius: var(--radius);
  padding: 30px;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.close {
  position: absolute;
  right: 16px;
  top: 14px;
  border: 1px solid var(--concrete-200);
  background: var(--concrete-50);
  border-radius: var(--radius-sm);
  width: 34px;
  height: 34px;
  font-size: 20px;
  line-height: 1;
}
.dialog h2 {
  font-family: var(--display);
  font-size: 32px;
  text-transform: uppercase;
  margin: 10px 0 8px;
}
.dialog > p { font-size: 13.5px; color: var(--muted); margin: 0 0 20px; }
.formgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font: 600 11px var(--mono); text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  padding: 10px 12px;
  border: 1px solid var(--concrete-300);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 13.5px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--safety);
  border-color: var(--safety);
}
.field textarea { min-height: 88px; resize: vertical; }
.formsubmit { margin-top: 18px; width: 100%; }
.success {
  display: none;
  margin-top: 14px;
  background: var(--qc-bg);
  border: 1px solid #a7dfbe;
  color: #135732;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
}
.rfq-preview {
  background: var(--steel-950);
  color: #d7e2ee;
  padding: 14px;
  border-radius: var(--radius-sm);
  font: 12px/1.6 var(--mono);
  white-space: pre-wrap;
  margin-top: 12px;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  background: var(--steel-950);
  color: #fff;
  border-left: 3px solid var(--safety);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-size: 13px;
  transition: 0.25s;
  z-index: 120;
  box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Dedicated Technical Guide / Article Page Layout */
.guide-hero {
  background: linear-gradient(110deg, #0d1218 0%, #18222f 100%);
  color: #fff;
  padding: 46px 0 42px;
  border-bottom: 3px solid var(--safety);
}
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font: 500 11px var(--mono);
  color: #93a2b5;
  text-transform: uppercase;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: #f69b57; }
.guide-hero h1 {
  font-family: var(--display);
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.03;
  text-transform: uppercase;
  margin: 12px 0 14px;
  max-width: 920px;
}
.guide-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font: 500 12px var(--mono);
  color: #b4c0cf;
  margin-top: 14px;
}
.guide-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  padding: 48px 0 72px;
  align-items: start;
}
.guide-toc {
  position: sticky;
  top: 96px;
  background: #fff;
  border: 1px solid var(--concrete-200);
  border-top: 3px solid var(--steel-900);
  border-radius: var(--radius);
  padding: 20px;
}
.guide-toc h3 {
  font: 700 11px var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--safety);
  margin: 0 0 12px;
}
.guide-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}
.guide-toc a { color: var(--ink-soft); }
.guide-toc a:hover { color: var(--safety); }
.guide-content {
  background: #fff;
  border: 1px solid var(--concrete-200);
  border-radius: var(--radius);
  padding: 36px 40px;
  min-width: 0;
}
.guide-content h2 {
  font-family: var(--display);
  font-size: 30px;
  text-transform: uppercase;
  color: var(--steel-950);
  margin: 34px 0 12px;
  padding-top: 18px;
  border-top: 1px solid var(--concrete-100);
}
.guide-content h2:first-of-type { margin-top: 24px; }
.guide-content h3 {
  font-size: 18px;
  color: var(--steel-900);
  margin: 22px 0 8px;
}
.guide-content p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.guide-content ul, .guide-content ol {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}
.tldr-box {
  background: var(--blueprint-tint);
  border: 1px solid #c3daf0;
  border-left: 4px solid var(--blueprint);
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}
.tldr-box strong {
  display: block;
  font: 700 11px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blueprint);
  margin-bottom: 8px;
}
.callout-warn {
  background: var(--safety-tint);
  border: 1px solid #f5cdb8;
  border-left: 4px solid var(--safety);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin: 20px 0;
  font-size: 14px;
}
.guide-figure {
  margin: 22px 0;
  border: 1px solid var(--concrete-200);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--concrete-50);
}
.guide-figure img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
}
.guide-figure figcaption {
  padding: 10px 14px;
  font: 500 11px var(--mono);
  color: var(--muted);
  border-top: 1px solid var(--concrete-200);
}
.guide-cta-box {
  margin-top: 32px;
  background: var(--steel-900);
  color: #fff;
  padding: 26px;
  border-radius: var(--radius);
  border-left: 4px solid var(--safety);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.guide-cta-box h3 { color: #fff; margin: 0 0 6px; font-family: var(--display); font-size: 26px; text-transform: uppercase; }
.guide-cta-box p { color: #b7c3d2; margin: 0; font-size: 13.5px; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid, .geo-answer-box, .estimator-grid { grid-template-columns: 1fr; }
  .cats, .vendor-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow-steps, .factory-strip { grid-template-columns: repeat(2, 1fr); }
  .articles { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .guide-shell { grid-template-columns: 1fr; }
  .guide-toc { position: static; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 28px); }
  .topline-specs { display: none; }
  .navlinks a { display: none; }
  .navlinks { gap: 8px; }
  .navcta { padding: 9px 12px; font-size: 11px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(2) { border-right: 0; }
  .cats, .vendor-grid, .workflow-steps, .factory-strip, .faq-grid, .plans, .foot-grid, .formgrid { grid-template-columns: 1fr; }
  .article { grid-template-columns: 1fr; }
  .article-visual { min-height: 190px; }
  .hero-photo-grid { grid-template-columns: 1fr; }
  .hero-photo-stack { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .geo-facts { grid-template-columns: 1fr; }
  .guide-content { padding: 22px 18px; }
  .section { padding: 54px 0; }
}
