/* Site styles */

:root {
  --ink: #0b0f12;
  --steel: #141a1f;
  --steel-2: #1b232a;
  --line: #26313a;
  --line-soft: #e3e7ea;
  --paper: #ffffff;
  --mist: #f4f6f7;
  --text: #11171c;
  --muted: #67737c;
  --muted-2: #8b969e;
  --accent: #f2b705;
  --accent-deep: #d9a404;
  --accent-ink: #191400;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(11, 15, 18, .06), 0 12px 32px rgba(11, 15, 18, .06);
  --wrap: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -.015em; font-weight: 750; }

p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: var(--accent-ink); padding: 10px 16px; font-weight: 700;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- top bar ---------- */

.topbar {
  background: var(--steel);
  color: #b9c3ca;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  letter-spacing: .01em;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 36px; gap: 16px;
}
.topbar-note { display: flex; align-items: center; gap: 8px; }
.topbar-note::before {
  content: ""; width: 6px; height: 6px; background: var(--accent); display: inline-block;
}
.topbar-links { display: flex; align-items: center; gap: 14px; }
.topbar-links a:hover { color: var(--accent); }
.topbar-links .dot { color: #47535c; }

/* ---------- masthead ---------- */

.masthead {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink);
  color: #e8edf0;
  border-bottom: 1px solid var(--line);
}
.masthead-inner {
  display: flex; align-items: center; gap: 32px;
  min-height: 74px;
}

.logo { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.logo-mark { width: 34px; height: 34px; flex: 0 0 auto; }
.logo-text {
  font-size: 21px; font-weight: 800; letter-spacing: .045em; line-height: 1;
  white-space: nowrap;
}
.logo-text em { font-style: normal; color: var(--accent); }
.logo img { height: 34px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav a {
  padding: 9px 12px; font-size: 14px; font-weight: 600; color: #c3ccd2;
  border-radius: 4px; white-space: nowrap;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav a.active { color: var(--accent); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.icon-btn {
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); color: #cfd8dd; border-radius: 4px;
  cursor: pointer; padding: 0;
}
.icon-btn:hover { border-color: #3c4a54; color: #fff; }
.icon-btn svg { width: 18px; height: 18px; }

.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; padding: 9px 12px; border: 1px solid var(--line);
  border-radius: 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: #cfd8dd;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { border-color: #3c4a54; color: #fff; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px;
  background: var(--steel-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 6px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
.lang-menu a { display: block; padding: 8px 10px; font-size: 13.5px; color: #c3ccd2; border-radius: 3px; }
.lang-menu a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.lang-menu a.current { color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 4px; font-size: 12.5px; font-weight: 750;
  letter-spacing: .07em; text-transform: uppercase; cursor: pointer; border: 1px solid transparent;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent-deep); }
.btn-ghost { border-color: rgba(255, 255, 255, .22); color: #fff; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1e282f; }
.btn-wa { background: #eef8f2; color: #0b5c37; border-color: #b6ddc6; }
.btn-wa svg { width: 16px; height: 16px; flex: 0 0 auto; fill: #1a9e5c; transition: fill .15s ease; }
.btn-wa:hover { background: #0f7a48; color: #fff; border-color: #0f7a48; }
.btn-wa:hover svg { fill: #fff; }
.btn-wa:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-block { width: 100%; }

.burger {
  display: none; width: 38px; height: 38px; padding: 0; background: transparent;
  border: 1px solid var(--line); border-radius: 4px; color: #cfd8dd; cursor: pointer;
  align-items: center; justify-content: center;
}
.burger svg { width: 20px; height: 20px; }

/* ---------- hero ---------- */

.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #22323f 0%, #182531 46%, #101a23 100%);
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
  padding: 88px 0 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 420px at 78% 10%, rgba(242, 183, 5, .13), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, .03), transparent 40%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; right: -80px; top: -40px; width: 520px; height: 640px;
  background: repeating-linear-gradient(135deg, rgba(242, 183, 5, .16) 0 12px, transparent 12px 34px);
  transform: rotate(8deg);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 78%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 78%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-copy { max-width: 760px; }
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--accent); }
.hero h1 {
  margin: 22px 0 0; font-size: clamp(38px, 5.2vw, 64px); line-height: 1.02;
  letter-spacing: -.03em; font-weight: 800; text-wrap: balance;
}
.hero-sub {
  margin-top: 22px; font-size: 17.5px; line-height: 1.65; color: #b6c1c8; max-width: 640px;
}
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero-stats {
  margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.stat { padding: 22px 24px 30px 0; border-right: 1px solid rgba(255, 255, 255, .1); }
.stat:last-child { border-right: 0; }
.stat b {
  display: block; font-family: var(--mono); font-size: 34px; line-height: 1; color: var(--accent);
  font-weight: 700; letter-spacing: -.02em;
}
.stat span {
  display: block; margin-top: 8px; font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: #8d99a1;
}

/* ---------- sections ---------- */

.section { padding: 84px 0; }
.section-mist { background: var(--mist); }
.section-dark { background: var(--ink); color: #fff; }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  margin-bottom: 34px;
}
.section-head .eyebrow {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.section-head .eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
.section-title { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.02em; }
.section-sub { margin-top: 12px; color: var(--muted); font-size: 16px; max-width: 620px; }
.section-dark .section-sub { color: #9aa6ae; }
.section-dark .section-head .eyebrow { color: #8d99a1; }
.link-more {
  flex: 0 0 auto; font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text); border-bottom: 2px solid var(--accent); padding-bottom: 4px;
}
.link-more:hover { color: var(--accent-deep); }

/* ---------- brand grid ---------- */

.brand-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.brand-card {
  position: relative; background: var(--paper); border: 1px solid var(--line-soft);
  padding: 26px 22px 22px; min-height: 132px; display: flex; flex-direction: column;
  justify-content: space-between; transition: border-color .15s, transform .15s, box-shadow .15s;
  overflow: hidden; min-width: 0;
}
.brand-card::after {
  content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px;
  border: 1px solid var(--line-soft); transform: rotate(45deg);
}
.brand-card .code {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--muted-2);
}
.brand-card .name {
  display: block; font-size: 21px; font-weight: 750; letter-spacing: -.01em; margin-top: 4px;
}
.brand-card .country {
  display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted); margin-top: 8px;
}
.brand-card:hover {
  border-color: var(--accent); transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.brand-card:hover::after { border-color: rgba(242, 183, 5, .45); }

/* brand cards with a logo lockup: logo across the top, name/country pinned to the base */
.brand-card.has-logo {
  padding: 20px 22px 20px; min-height: 166px; justify-content: flex-start; gap: 14px;
}
.brand-card.has-logo::after { display: none; }
.brand-card.has-logo .code { align-self: flex-start; }
.bc-logo { display: block; width: 100%; max-width: 232px; min-width: 0; }
.bc-logo img {
  display: block; width: 100%; max-width: 100%; height: auto;
  transition: filter .15s, opacity .15s;
}
.brand-card.has-logo .bc-body { margin-top: auto; display: block; }
.brand-card.has-logo .name { margin-top: 0; }
.brand-card.has-logo .country { margin-top: 6px; }
.brand-card.has-logo:hover .bc-logo img { opacity: .92; }

/* brands with no artwork set their name as a wordmark in the logo band */
.bc-word {
  display: block; height: 64px; line-height: 64px; white-space: nowrap;
  /* same left rail as the artwork (8/464 of the band); the cap line is nudged
     up so the type sits on the optical centre of the image logos */
  padding-left: 1.72%; position: relative; top: -3px;
  font-size: var(--wm, 41px); font-weight: 800; letter-spacing: -.012em;
  color: var(--ink); transform: scaleX(var(--wx, 1)); transform-origin: left center;
}

/* ---------- category grid ---------- */

.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cat-card {
  display: flex; align-items: center; gap: 14px; padding: 18px;
  background: var(--paper); border: 1px solid var(--line-soft);
  transition: border-color .15s, transform .15s;
}
.cat-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.cat-icon {
  width: 44px; height: 44px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  background: var(--mist); border: 1px solid var(--line-soft);
}
.cat-icon svg { width: 24px; height: 24px; stroke: var(--text); stroke-width: 1.5; fill: none; }
.cat-name { font-size: 14.5px; font-weight: 650; line-height: 1.3; }

/* ---------- condition cards ---------- */

.cond-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cond-card {
  display: flex; flex-direction: column; padding: 26px 22px;
  border: 1px solid var(--line); background: var(--steel);
  color: #e8edf0; transition: border-color .15s, background .15s;
}
.cond-card:hover { border-color: var(--accent); background: var(--steel-2); }
.cond-card .num {
  font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: .12em;
}
.cond-card h3 { margin-top: 18px; font-size: 22px; letter-spacing: -.01em; }
.cond-card p { margin-top: 10px; font-size: 14px; line-height: 1.6; color: #98a5ad; flex: 1; }
.cond-card .arrow { margin-top: 20px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.cond-card .arrow::after { content: " →"; color: var(--accent); }

/* ---------- why ---------- */

.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.why-item { border-top: 2px solid var(--line-soft); padding-top: 18px; }
.why-item .num { font-family: var(--mono); font-size: 11px; color: var(--muted-2); letter-spacing: .12em; }
.why-item h3 { margin-top: 14px; font-size: 17px; }
.why-item p { margin-top: 8px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* ---------- cta band ---------- */

.cta-band {
  background: var(--ink); color: #fff; padding: 66px 0; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--accent);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -.02em; max-width: 620px; }
.cta-inner p { margin-top: 12px; color: #a3aeb5; max-width: 560px; }

/* ---------- product cards ---------- */

.part-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.model-class { margin-top: 54px; }
.model-class:first-child { margin-top: 0; }
.model-class-h {
  display: flex; align-items: baseline; gap: 12px; margin: 0 0 6px; padding: 0 0 12px;
  border-bottom: 2px solid var(--ink); font-size: 26px; letter-spacing: -.02em;
}
.model-class-h span { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--muted-2); }
.model-brand { margin-top: 34px; }.model-brand:first-of-type { margin-top: 26px; }
.model-brand-h {
  display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft); font-size: 20px; letter-spacing: -.01em;
}
.model-brand-h span { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--muted-2); }
/* machine classes inside a brand page: haul trucks, dozers, loaders ... */
.model-group { margin-top: 30px; }
.model-group:first-of-type { margin-top: 0; }
.model-group-h {
  display: flex; align-items: baseline; gap: 10px; margin: 0 0 14px; padding: 0 0 9px;
  border-bottom: 1px solid var(--line-soft); font-size: 17px; letter-spacing: -.01em;
}
.model-group-h span { font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--muted-2); }
.model-group .model-card { min-height: 112px; justify-content: center; }
.part-card {
  background: var(--paper); border: 1px solid var(--line-soft); display: flex; flex-direction: column;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.part-card:hover { border-color: #cfd6da; box-shadow: var(--shadow); transform: translateY(-2px); }
.part-media {
  aspect-ratio: 4 / 3; background: var(--mist); display: flex; align-items: center;
  justify-content: center; overflow: hidden; border-bottom: 1px solid var(--line-soft);
  position: relative;
}
.part-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.part-media img.is-ph { object-fit: cover; mix-blend-mode: normal; }
.part-media .ph {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--muted-2);
}
.part-body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.badges { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.badge {
  font-size: 10px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase;
  padding: 3px 6px; border: 1px solid var(--line-soft); color: var(--muted); background: #fff;
}
.badge.is-genuine { border-color: #b9c6cf; color: #33424c; }
.badge.is-used { border-color: #d8c9a8; color: #6b5424; background: #fbf6ea; }
.badge.is-reman { border-color: #b9d2c4; color: #275544; background: #f1f8f4; }
.badge.is-aftermarket { border-color: #d5d5d5; color: #555; }
.badge.is-quote { border-color: #e0bd63; color: #6b5424; background: #fff8e6; }

/* 卡片内的等级胶囊：单行、胶囊形、超出部分在卡片内左右滑动 */
.part-card .badges {
  flex-wrap: nowrap; gap: 6px;
  overflow-x: auto; overflow-y: hidden;
  overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; -ms-overflow-style: none;
  padding-bottom: 2px; margin-right: -4px; padding-right: 4px;
  cursor: grab;
}
.part-card .badges::-webkit-scrollbar { display: none; }
.part-card .badges.is-overflow { mask-image: linear-gradient(90deg, #000 calc(100% - 26px), transparent); }
.part-card .badges.is-overflow.at-end { mask-image: none; }
.part-card .badges.is-dragging { cursor: grabbing; }
.part-card .badges.is-dragging .badge { pointer-events: none; }
.part-card .badge { flex: 0 0 auto; border-radius: 999px; padding: 4px 9px; white-space: nowrap; }
.part-pn { font-family: var(--mono); font-size: 13px; letter-spacing: .02em; color: var(--muted); }
.part-name { margin-top: 4px; font-size: 15.5px; font-weight: 650; line-height: 1.3; }
.part-foot {
  margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--muted);
}
.part-foot .go { font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.part-card:hover .go { color: var(--accent-deep); }

/* ---------- page head / breadcrumb ---------- */

.breadcrumb {
  padding: 18px 0; font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px;
  border-bottom: 1px solid var(--line-soft);
}
.breadcrumb a:hover { color: var(--text); }
.breadcrumb .sep { color: #c2c9ce; }
.breadcrumb .current { color: var(--text); font-weight: 600; }

.page-head { padding: 54px 0 42px; }
.page-head .kicker-line {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.page-head .kicker-line::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
.page-head h1 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.025em; }
.page-head p { margin-top: 14px; max-width: 680px; color: var(--muted); font-size: 16px; }
.page-head .count {
  margin-top: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em;
  color: var(--muted-2); text-transform: uppercase;
}

/* ---------- listing ---------- */

.listing { padding-bottom: 90px; }
.filters {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding: 16px 0 26px;
}
.filters select {
  appearance: none; background: #fff; border: 1px solid var(--line-soft); border-radius: 4px;
  padding: 10px 34px 10px 12px; font-family: var(--font); font-size: 13.5px; color: var(--text);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2367737c'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.filters .clear {
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: none; border: 0; color: var(--muted); cursor: pointer; padding: 10px 6px;
}
.filters .clear:hover { color: var(--text); }

.pagination {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center;
  margin: 36px 0 4px;
}
.pagination .page-link,
.pagination .page-num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 12px;
  border: 1px solid var(--line-soft); border-radius: 4px;
  color: var(--text); font-size: 13px; font-weight: 650; text-decoration: none;
  background: #fff;
}
.pagination a:hover { border-color: var(--ink); }
.pagination .is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination .is-disabled { color: var(--muted-2); background: var(--mist); cursor: default; }
.pagination .page-gap { color: var(--muted-2); padding: 0 2px; }

.empty-state {
  border: 1px dashed #cfd6da; background: var(--mist); padding: 56px 32px; text-align: center;
}
.empty-state h3 { font-size: 21px; }
.empty-state p { margin: 10px auto 0; max-width: 460px; color: var(--muted); font-size: 15px; }
.empty-state .btn { margin-top: 24px; }

/* ---------- forms ---------- */

.form-card {
  background: #fff; border: 1px solid var(--line-soft); padding: 30px;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 12px; border: 1px solid #d5dbdf; border-radius: 4px;
  font-family: var(--font); font-size: 14.5px; color: var(--text); background: #fff;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(242, 183, 5, .18);
}
.form-actions { margin-top: 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { font-size: 12.5px; color: var(--muted); }
.form-msg { margin-top: 16px; padding: 12px 14px; font-size: 14px; display: none; border-left: 3px solid var(--accent); background: #fdf8e8; }
.form-msg.ok { display: block; }
.form-msg.err { display: block; border-left-color: #c0392b; background: #fdf0ee; }

/* ---------- product detail ---------- */

.product-hero { padding: 28px 0 70px; }
.product-title { margin-bottom: 34px; }
.product-top {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px;
  align-items: start;
}
.product-side > :first-child { margin-top: 0; }
.gallery-main {
  aspect-ratio: 1 / 1; background: var(--mist); border: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  position: relative;
}
.gallery-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.gallery-main img.is-ph { object-fit: cover; }
.gallery-main .ph { font-family: var(--mono); font-size: 12px; color: var(--muted-2); letter-spacing: .12em; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.gallery-thumbs button {
  width: 74px; height: 74px; padding: 0; border: 1px solid var(--line-soft); background: #fff; cursor: pointer;
  overflow: hidden;
}
.gallery-thumbs button.active { border-color: var(--accent); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.product-title .brandline {
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); display: flex; gap: 10px; align-items: center;
}
.product-side .brandline { margin-bottom: 14px; }
.product-side .brandline a { color: var(--text); border-bottom: 1px solid var(--accent); }
.product-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.tag-pill {
  font-size: 12px; line-height: 1; padding: 8px 12px; border-radius: 999px;
  background: var(--mist); border: 1px solid var(--line-soft); color: var(--muted);
  white-space: nowrap;
}
.product-title h1 {
  margin-top: 12px; font-size: clamp(30px, 3.1vw, 46px); line-height: 1.12;
  letter-spacing: -.022em; text-wrap: balance;
}
.product-pn {
  margin-top: 14px; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 14px; padding: 8px 12px; background: var(--mist);
  border: 1px solid var(--line-soft);
}
.product-pn b { letter-spacing: .04em; }
/* interchangeable numbers: one line, clipped after the third with an ellipsis */
.pn-alt { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 10px; min-width: 0; }
.pn-alt-label {
  flex: 0 0 auto; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted-2);
}
.pn-alt-list { display: flex; flex: 1 1 200px; flex-wrap: nowrap; gap: 6px; min-width: 0; overflow: hidden; }
.pn-alt-chip {
  flex: 0 0 auto; padding: 5px 9px; border: 1px dashed #cfd6da; background: #fff;
  font-family: var(--mono); font-size: 12px; line-height: 1; color: #1b232a;
}
a.pn-alt-chip:hover { border-color: var(--accent); color: var(--accent-deep); }
.pn-alt-list.is-more { padding-right: 26px;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 46px), transparent calc(100% - 4px));
  mask-image: linear-gradient(90deg, #000 calc(100% - 46px), transparent calc(100% - 4px)); }
.pn-alt-more {
  position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  padding: 0 2px 0 6px; font-size: 13px; line-height: 1; color: var(--muted); background: #fff;
}
.product-summary { margin-top: 18px; color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.buy-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }

.cond-list { margin-top: 28px; border-top: 1px solid var(--line-soft); }
.cond-row {
  display: grid; grid-template-columns: 130px 1fr auto; gap: 16px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--line-soft);
}
.cond-row .cname { font-size: 13px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.cond-row .cmeta { font-size: 13px; color: var(--muted); }
.cond-row .cavail { font-size: 12px; color: #2f6b4f; font-family: var(--mono); letter-spacing: .04em; text-align: right; }
.cond-row .cavail.order { color: #8a6a1f; }

.table-scroll { width: 100%; overflow-x: auto; }
.spec-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 14.5px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; line-height: 1.55; }
.spec-table th { width: 30%; color: var(--muted); font-weight: 600; background: #fafbfb; }
.spec-table td { overflow-wrap: break-word; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.trade-note { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.apps-table.cols-2 th:first-child { width: 32%; }
.apps-table.cols-3 th:nth-child(1) { width: 34%; }
.apps-table.cols-3 th:nth-child(2) { width: 18%; }
.apps-table.cols-3 th:nth-child(3) { width: 48%; }
.apps-table.cols-4 { min-width: 620px; }
.apps-table.cols-4 th:nth-child(1) { width: 28%; }
.apps-table.cols-4 th:nth-child(2) { width: 16%; }
.apps-table.cols-4 th:nth-child(3) { width: 12%; }
.apps-table.cols-4 th:nth-child(4) { width: 44%; }

.detail-section { padding: 54px 0; border-top: 1px solid var(--line-soft); }
.detail-section h2 { font-size: 26px; margin-bottom: 22px; letter-spacing: -.015em; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.guide-card { border: 1px solid var(--line-soft); background: #fff; padding: 22px 22px 20px; }
.guide-card h3 { font-size: 16px; letter-spacing: -.005em; margin-bottom: 14px; }
.guide-card ul { list-style: none; }
.guide-card li { position: relative; padding-left: 16px; font-size: 14.5px; line-height: 1.6; color: #3b464c; }
.guide-card li + li { margin-top: 10px; }
.guide-card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; background: var(--accent); }
.grade-note { margin-top: 18px; padding: 14px 16px; background: #fafbfb; border-left: 3px solid var(--accent); font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.ref-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ref-list + .part-grid, .ref-list + .table-scroll, .ref-list + .ref-list { margin-top: 24px; }
.ref-chip {
  display: inline-block; padding: 7px 12px; border: 1px solid #d3dae0; background: var(--mist);
  font-family: var(--mono); font-size: 13px; font-weight: 500; color: #1b232a;
}
a.ref-chip:hover { border-color: var(--accent); background: #fff; color: var(--accent-deep); }
.ref-chip-count {
  display: inline-block; margin-left: 9px; padding: 1px 6px; background: var(--accent);
  color: #11171c; font-size: 11px; font-weight: 700; letter-spacing: .02em; line-height: 16px; border-radius: 2px;
}
a.ref-chip:hover .ref-chip-count { background: var(--accent-deep); color: #fff; }
.part-link { font-weight: 600; border-bottom: 1px solid rgba(242, 183, 5, .55); }
.part-link:hover { color: var(--accent-deep); border-bottom-color: var(--accent); }
a.model-link { color: var(--text); border-bottom: 1px solid rgba(242, 183, 5, .7); }
a.model-link:hover { color: var(--accent-deep); border-bottom-color: var(--accent); }
.condition-note { margin-top: 12px; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.prose { max-width: 760px; color: #2b343a; font-size: 15.5px; line-height: 1.75; }
.prose p + p { margin-top: 14px; }
.prose-list { max-width: 760px; margin: 18px 0 0; padding-left: 22px; color: #2b343a; font-size: 15.5px; line-height: 1.75; }
.prose-list li + li { margin-top: 10px; }
.model-card .code { text-transform: none; }

.faq-list { border-top: 1px solid var(--line-soft); max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item summary {
  cursor: pointer; padding: 18px 34px 18px 0; font-weight: 650; font-size: 16px; position: relative;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 20px; color: var(--muted);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .answer { padding: 0 0 20px; color: var(--muted); font-size: 15px; max-width: 720px; }

/* ---------- static pages ---------- */

.static-body { padding-bottom: 90px; }
.static-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; align-items: start; }
.static-copy p { color: #2b343a; font-size: 16px; line-height: 1.75; }
.static-copy p + p { margin-top: 16px; }
.info-list { margin-top: 28px; border-top: 1px solid var(--line-soft); }
.info-row { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 14.5px; }
.info-row dt { color: var(--muted); }
.info-row dd { margin: 0; }
.contact-list { border-top: 1px solid var(--line-soft); margin-bottom: 26px; }
.contact-row { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 14.5px; }
.contact-row .lab { width: 110px; flex: 0 0 auto; color: var(--muted); }
.contact-row a { border-bottom: 1px solid var(--accent); }

/* ---------- article ---------- */

.article-head { padding: 54px 0 30px; max-width: 820px; }
.article-head h1 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.025em; }
.article-meta { margin-top: 16px; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.article-body { max-width: 760px; padding-bottom: 80px; }
.article-body h2 { font-size: 27px; margin: 40px 0 14px; letter-spacing: -.015em; }
.article-body h3 { font-size: 20px; margin: 28px 0 10px; }
.article-body p { margin: 0 0 16px; font-size: 16.5px; line-height: 1.78; color: #222b31; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 22px; }
.article-body li { margin-bottom: 8px; line-height: 1.7; }
.article-body img { margin: 26px 0; border: 1px solid var(--line-soft); }
.article-body figure { margin: 28px 0; }
.article-body figure img { margin: 0 auto; width: auto; max-width: 100%; max-height: 640px; height: auto; }
.article-body figcaption {
  margin-top: 10px; font-family: var(--mono); font-size: 11.5px; line-height: 1.6;
  letter-spacing: .04em; color: var(--muted-2);
}
.article-body .table-scroll { margin: 24px 0; }
.article-body a { border-bottom: 1px solid rgba(242, 183, 5, .55); }
.article-body > h2:first-of-type { margin-top: 26px; }

.article-cta {
  margin-top: 38px; padding: 24px 26px; background: var(--mist); border: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.article-cta .kicker-line { margin-bottom: 8px; }
.article-cta strong { display: block; font-size: 20px; line-height: 1.3; letter-spacing: -.01em; }

.article-latest {
  max-width: 760px; margin: 0 0 80px; padding-top: 38px; border-top: 1px solid var(--line-soft);
}
.article-latest .section-head { margin-bottom: 24px; align-items: flex-end; }
.article-latest .section-title { font-size: 28px; }
.post-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.post-grid.compact.single { grid-template-columns: minmax(0, 360px); }

/* ---------- blog index ---------- */

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.post-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-soft);
  transition: box-shadow .18s ease, transform .18s ease;
}
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-media { display: block; aspect-ratio: 16 / 10; background: var(--mist); overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-body { display: flex; flex-direction: column; gap: 9px; padding: 20px 20px 22px; }
.post-kicker {
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted-2);
}
.post-title { font-size: 19px; font-weight: 750; line-height: 1.28; letter-spacing: -.01em; }
.post-desc { font-size: 14px; line-height: 1.6; color: var(--muted); }
.post-foot {
  margin-top: auto; padding-top: 12px; font-family: var(--mono); font-size: 11.5px;
  letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink);
}
@media (max-width: 900px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-grid.compact, .post-grid.compact.single { grid-template-columns: 1fr; }
}
.article-body blockquote {
  margin: 26px 0; padding: 18px 22px; border-left: 3px solid var(--accent); background: var(--mist);
  font-size: 17px;
}

/* ---------- footer ---------- */

.footer { background: var(--ink); color: #a7b2b9; padding: 64px 0 0; font-size: 14px; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.footer .logo { margin-bottom: 16px; }
.footer-blurb { font-size: 13.5px; line-height: 1.7; color: #8d99a1; max-width: 300px; }
.footer h4 {
  color: #fff; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px;
  font-weight: 750;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer a:hover { color: var(--accent); }
.footer-contact div { margin-bottom: 9px; word-break: break-word; }
.footer-contact a { border-bottom: 1px solid rgba(242, 183, 5, .4); }
.legal {
  padding: 22px 0 30px; font-size: 11.5px; line-height: 1.65; color: #6d7880;
}
.legal-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 10px; }

/* ---------- search overlay ---------- */

.search-overlay {
  position: fixed; inset: 0; z-index: 300; background: rgba(8, 11, 14, .82);
  display: none; align-items: flex-start; justify-content: center; padding: 12vh 20px 20px;
  backdrop-filter: blur(2px);
}
.search-overlay.open { display: flex; }
.search-panel {
  width: 100%; max-width: 680px; background: #fff; border-top: 4px solid var(--accent);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.search-bar { display: flex; align-items: center; gap: 10px; padding: 18px 20px; border-bottom: 1px solid var(--line-soft); }
.search-bar svg { width: 20px; height: 20px; color: var(--muted); flex: 0 0 auto; }
.search-bar input {
  flex: 1; border: 0; outline: none; font-family: var(--font); font-size: 19px; color: var(--text);
  background: transparent;
}
.search-close { border: 0; background: var(--mist); color: var(--muted); width: 30px; height: 30px; cursor: pointer; }
.search-results { max-height: 52vh; overflow: auto; }
.search-results a {
  display: flex; justify-content: space-between; gap: 16px; padding: 13px 20px;
  border-bottom: 1px solid var(--line-soft); font-size: 14.5px;
}
.search-results a:hover { background: var(--mist); }
.search-results .pn { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.search-hint { padding: 20px; font-size: 13.5px; color: var(--muted); }
.search-hint a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- utilities ---------- */

.mt-0 { margin-top: 0; }
.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- responsive ---------- */

@media (max-width: 1240px) {
  .masthead-inner { gap: 18px; }
  .nav { gap: 0; margin-left: 0; }
  .nav a { padding: 8px 9px; font-size: 13px; }
  .header-actions { gap: 8px; }
  .header-actions .btn { padding: 11px 14px; font-size: 11.5px; }
  .logo-text { font-size: 19px; }
}

@media (max-width: 1080px) {
  .nav { display: none; }
  .brand-grid, .cat-grid, .cond-grid, .part-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .product-top { grid-template-columns: 1fr; gap: 34px; }
  .static-grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 820px) {
  .wrap { padding: 0 18px; }
  .topbar-note { display: none; }
  .topbar-inner { justify-content: flex-end; }
  .header-actions .btn-accent { display: none; }
  .burger { display: inline-flex; }
  .brand-grid, .cat-grid, .part-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cond-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 60px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .article-latest .section-head { align-items: flex-start; }
  .hero { padding-top: 60px; }
  .hero-stats { margin-top: 44px; }
  .stat b { font-size: 26px; }
  .cta-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; gap: 12px; }

  body.nav-open .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: fixed; left: 0; right: 0; top: 0; bottom: 0; z-index: 120;
    background: var(--ink); padding: 88px 20px 40px; overflow: auto;
  }
  body.nav-open .nav a {
    font-size: 20px; padding: 14px 8px; border-bottom: 1px solid var(--line);
  }
  body.nav-open .nav a.active { color: var(--accent); }
  body.nav-open .burger { position: relative; z-index: 130; }
}

@media (max-width: 560px) {
  .cond-grid, .why-grid { grid-template-columns: 1fr; }
  /* two products per row on phones */
  .part-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .part-body, .part-card .part-body { padding: 10px 10px 12px; }
  .part-card .badges { gap: 4px; margin-bottom: 8px; }
  .part-card .badge { font-size: 9px; padding: 3px 7px; }
  .part-pn { font-size: 11px; }
  .part-name { font-size: 13px; margin-top: 3px; }
  .part-foot { font-size: 10.5px; padding-top: 10px; gap: 6px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat-card { padding: 14px 12px; gap: 10px; }
  .cat-icon { width: 36px; height: 36px; }
  .cat-card .name { font-size: 13.5px; line-height: 1.25; }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .brand-card { padding: 18px 16px; min-height: 108px; }
  .brand-card.has-logo { padding: 14px 14px 16px; min-height: 132px; gap: 10px; }
  .brand-card.has-logo .code { font-size: 10px; letter-spacing: .1em; }
  .bc-word { height: 50px; line-height: 50px; font-size: calc(var(--wm, 41px) * .78); }
  .brand-card .name { font-size: 17px; }
  .brand-card .country { font-size: 10.5px; }
  .hero h1 { font-size: 34px; }
  .hero-sub { font-size: 16px; }
  .hero-stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); padding: 16px 0; }
  .stat:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .cond-row {
    display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
    gap: 4px 12px;
  }
  .cond-row .cname { flex: 0 0 auto; }
  .cond-row .cavail { margin-left: auto; }
  .cond-row .cmeta { flex: 1 0 100%; order: 3; }
  .gallery-main { aspect-ratio: 4 / 3; }
  .masthead-inner { gap: 10px; }
  .logo { gap: 8px; }
  .logo-text { font-size: 17px; }
  .logo-mark { width: 30px; height: 30px; }
  .header-actions { gap: 6px; }
  .icon-btn, .burger { width: 34px; height: 34px; }
  .icon-btn svg { width: 17px; height: 17px; }
  .lang summary { padding: 8px 9px; font-size: 11px; }
}

/* Homepage: intro copy, process, sectors, about strip */
.page-head .page-intro { max-width: 780px; }
.page-intro p { color: var(--muted); font-size: 15.5px; line-height: 1.78; margin-top: 12px; }
.page-intro p:first-child { margin-top: 0; }
.sector-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-top: 34px; }
.sector-card { padding: 26px; background: var(--paper); border: 1px solid var(--line-soft); }
.sector-card h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.01em; }
.sector-card p { margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.sector-card .link-more { display: block; width: fit-content; margin-top: 16px; }
.sector-card .link-more + .link-more { margin-top: 12px; }
/* related-link cards reuse the sector grid, but they are two stacked lines */
a.sector-card { display: block; text-decoration: none; }
a.sector-card:hover { border-color: var(--accent); }
a.sector-card .sector-name {
  display: block; font-size: 15.5px; font-weight: 750; letter-spacing: -.01em; line-height: 1.35;
}
a.sector-card .sector-desc {
  display: block; margin-top: 7px; color: var(--muted); font-size: 13.5px; line-height: 1.55;
}
.about-strip { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.about-strip p { color: var(--muted); font-size: 15.5px; line-height: 1.78; margin-top: 12px; max-width: 620px; }
.faq-title { font-size: 18px; letter-spacing: -.01em; margin-bottom: 6px; }
@media (max-width: 900px) {
  .about-strip { grid-template-columns: 1fr; gap: 36px; }
  .sector-grid { margin-top: 26px; }
}
.page-head .page-intro { margin-top: 16px; max-width: 780px; }

/* ---------- 404 ---------- */

.nf-hero {
  color: #e8edf0;
  padding: 64px 0 72px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(820px 320px at 6% -18%, rgba(242, 183, 5, .16), transparent 70%),
    linear-gradient(180deg, #21313e 0%, #17242f 46%, #0f1922 100%);
}
.nf-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 56px; align-items: start;
}
.nf-badge { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.nf-code {
  font-family: var(--mono); font-size: 14px; font-weight: 800; letter-spacing: .14em;
  color: var(--accent-ink); background: var(--accent); padding: 4px 9px; border-radius: 3px;
}
.nf-kicker { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #93a0a9; font-weight: 700; }
.nf-hero h1 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -.03em; color: #fff; }
.nf-sub { margin-top: 16px; max-width: 620px; color: #aab5bd; font-size: 16.5px; }

.nf-search { margin-top: 30px; max-width: 640px; }
.nf-label {
  display: block; margin-bottom: 9px; font-size: 11.5px; letter-spacing: .12em;
  text-transform: uppercase; color: #7d8a94; font-weight: 700;
}
.nf-field {
  display: flex; align-items: center; gap: 4px; background: #fff;
  border-radius: 4px; padding: 6px 6px 6px 14px;
}
.nf-field svg { width: 18px; height: 18px; color: var(--muted); flex: 0 0 auto; }
.nf-field input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  padding: 10px 12px; font: inherit; font-size: 15.5px; color: var(--text);
}
.nf-field input::-webkit-search-cancel-button { cursor: pointer; }
.nf-field .btn { flex: 0 0 auto; }

.nf-found { margin-top: 22px; }
.nf-found-label {
  margin-bottom: 10px; font-size: 11.5px; letter-spacing: .12em;
  text-transform: uppercase; color: #7d8a94; font-weight: 700;
}
.nf-found-links { display: flex; flex-direction: column; gap: 8px; }
.nf-found-links a {
  display: flex; align-items: baseline; gap: 12px; padding: 11px 14px;
  background: var(--steel-2); border: 1px solid var(--line); border-radius: 4px; color: #e8edf0;
}
.nf-found-links a:hover { border-color: var(--accent); }
.nf-found-links .pn { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.nf-found-links .t { font-size: 14px; }

.nf-notice { margin-top: 16px; font-size: 13.5px; color: #b9c3ca; }
.nf-notice a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; margin-left: 8px; }

.nf-results { margin-top: 14px; display: flex; flex-direction: column; gap: 2px; max-height: 320px; overflow: auto; }
.nf-results a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 4px; font-size: 14px; }
.nf-results a:hover { background: rgba(255, 255, 255, .06); }
.nf-results .pn { font-family: var(--mono); font-size: 12.5px; color: var(--accent); flex: 0 0 auto; }
.nf-results .nf-empty { padding: 8px 2px; font-size: 13.5px; color: #aab5bd; }

.nf-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }

.nf-aside { background: var(--steel-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.nf-aside h2 {
  margin-bottom: 14px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: #8f9ba4; font-weight: 700;
}
.nf-pop { list-style: none; margin: 0; padding: 0; }
.nf-pop li + li { border-top: 1px solid var(--line); }
.nf-pop a { display: block; padding: 11px 0; }
.nf-pop a:hover .nf-pop-pn { color: var(--accent); }
.nf-pop-pn { display: block; font-family: var(--mono); font-size: 14px; color: #fff; }
.nf-pop-name { display: block; margin-top: 2px; font-size: 12.5px; color: #8f9ba4; }
.nf-aside-all {
  display: inline-block; margin-top: 16px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--accent);
}

.nf-links { padding: 56px 0; border-bottom: 1px solid var(--line-soft); }
.nf-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.nf-links h2 {
  margin-bottom: 16px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); font-weight: 700;
}
.nf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nf-chip {
  display: inline-flex; align-items: center; padding: 8px 14px; font-size: 14px; font-weight: 600;
  border: 1px solid var(--line-soft); border-radius: 999px; color: var(--text); background: #fff;
}
.nf-chip:hover { border-color: var(--ink); }

.nf-help { padding: 48px 0 72px; background: var(--mist); }
.nf-help-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.nf-help h2 { font-size: 22px; }
.nf-help p { margin-top: 10px; max-width: 640px; color: var(--muted); font-size: 15px; }

@media (max-width: 900px) {
  .nf-grid { grid-template-columns: 1fr; gap: 36px; }
  .nf-links-grid { grid-template-columns: 1fr; gap: 32px; }
  .nf-hero { padding: 44px 0 52px; }
}

@media (max-width: 560px) {
  .nf-field { flex-wrap: wrap; padding: 10px; gap: 10px; }
  .nf-field svg { display: none; }
  .nf-field input { flex: 1 1 100%; padding: 8px 4px; }
  .nf-field .btn { width: 100%; }
  .nf-help { padding: 40px 0 56px; }
}
.nf-aside-all::after { content: " \2192"; }
.nf-hero { padding: 56px 0 60px; }

/* product card: WhatsApp quick chat (image → button → title) */
.part-card { position: relative; }
.part-wa {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin: 10px 16px 0; padding: 7px 10px;
  background: #eef8f2; color: #0b5c37; border: 1px solid #b6ddc6;
  border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .02em;
  line-height: 1.2; white-space: nowrap; text-align: center;
  transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.part-wa svg { width: 14px; height: 14px; flex: 0 0 auto; fill: #1a9e5c; transition: fill .15s ease; }
.part-wa:hover { background: #0f7a48; color: #fff; border-color: #0f7a48; box-shadow: 0 2px 6px rgba(11, 15, 18, .14); }
.part-wa:hover svg { fill: #fff; }
.part-wa:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

a.part-media { color: inherit; }
a.part-body { color: inherit; }

.part-card .part-body { padding-top: 12px; }

@media (max-width: 560px) {
  .part-wa { margin: 8px 12px 0; padding: 6px 8px; font-size: 11px; }
  .part-wa svg { width: 13px; height: 13px; }
}

@media (min-width: 620px) and (max-width: 820px) {
  /* tablets: three products per row */
  .part-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .part-body, .part-card .part-body { padding: 12px 12px 14px; }
  .part-name { font-size: 14px; }
  .part-foot { font-size: 11px; }
}

/* ---------- home hero carousel ---------- */

.hero-slider {
  position: relative;
  height: clamp(440px, 72vh, 760px);
  background: #0b0f12;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hs-track {
  position: absolute; inset: 0;
  display: flex;
  will-change: transform;
  transition: transform .7s cubic-bezier(.33, .1, .2, 1);
}
.hs-slide { position: relative; flex: 0 0 100%; height: 100%; }
.hs-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; display: block; }
.hs-veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 10, 14, .9) 0%, rgba(6, 10, 14, .74) 38%, rgba(6, 10, 14, .28) 68%, rgba(6, 10, 14, .42) 100%),
    linear-gradient(180deg, rgba(6, 10, 14, .55) 0%, rgba(6, 10, 14, 0) 34%, rgba(6, 10, 14, .62) 100%);
}
.hs-inner {
  position: relative; z-index: 2; height: 100%;
  display: flex; align-items: center;
}
.hs-copy { max-width: 640px; padding-bottom: 26px; }
.hs-copy h1 {
  margin: 20px 0 0;
  font-size: clamp(34px, 4.4vw, 58px); line-height: 1.04;
  letter-spacing: -.03em; font-weight: 800; text-wrap: balance;
}
.hs-sub { margin-top: 20px; max-width: 560px; font-size: 17px; line-height: 1.62; color: #c3ced6; }
.hs-copy .hero-actions { margin-top: 30px; }

.hs-arrow {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 46px; height: 46px; padding: 0; cursor: pointer;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%;
  background: rgba(11, 15, 18, .35); color: #fff;
  backdrop-filter: blur(6px);
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.hs-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hs-arrow.is-prev { left: 26px; }
.hs-arrow.is-next { right: 26px; }
.hs-arrow:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.hs-arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.hs-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 22px; pointer-events: none;
}
.hs-dots { display: flex; gap: 9px; pointer-events: auto; }
.hs-dot {
  width: 36px; height: 3px; padding: 0; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .34);
  transition: background .2s ease, width .2s ease;
}
.hs-dot:hover { background: rgba(255, 255, 255, .6); }
.hs-dot.is-active { background: var(--accent); width: 54px; }
.hs-dot:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.hs-count { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: rgba(255, 255, 255, .7); }
.hs-count b { color: #fff; font-weight: 700; }

/* ---------- proof bar under hero ---------- */

.proof-bar { background: #fff; border-bottom: 1px solid var(--line-soft); }
.proof-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof {
  display: flex; align-items: baseline; gap: 12px;
  padding: 26px 0 24px 26px;
  border-left: 1px solid var(--line-soft);
}
.proof:first-child { padding-left: 0; border-left: 0; }
.proof b {
  font-family: var(--mono); font-size: 30px; line-height: 1; font-weight: 700;
  letter-spacing: -.02em; color: var(--text);
}
.proof span {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); font-weight: 650;
}

@media (prefers-reduced-motion: reduce) {
  .hs-track { transition: none; }
}

@media (max-width: 900px) {
  /* height follows the copy so the slide can never squeeze the buttons or
     let the dots bar sit on top of them */
  .hero-slider { height: auto; min-height: 400px; }
  .hs-inner { height: auto; display: block; padding-top: 44px; }
  .hs-arrow { display: none; }
  .hs-copy { padding-bottom: 84px; }
  .hs-sub { font-size: 15.5px; }
  .proof-inner { grid-template-columns: 1fr 1fr; }
  .proof { padding: 20px 0 18px 20px; }
  .proof:nth-child(odd) { padding-left: 0; border-left: 0; }
  .proof:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  /* the decorative corner square crowds the text once cards get narrow */
  .brand-card::after { display: none; }
  /* CSS fallback so a wordmark never spills out of a half-width card, even
     before the fit script runs */
  .bc-word { font-size: min(var(--wm, 41px), 8vw); }
  /* tables keep readable columns and scroll sideways instead of squeezing
     words into one or two letters per line */
  .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .table-scroll .spec-table { table-layout: auto; min-width: 540px; }
  .spec-table th, .spec-table td { overflow-wrap: normal; }
}

@media (max-width: 560px) {
  .hero-slider { min-height: 0; }
  .hs-inner { padding-top: 34px; }
  .hs-copy { padding-bottom: 76px; }
  .hs-copy h1 { font-size: clamp(26px, 7.6vw, 30px); }
  .hs-sub { color: #d6dee4; }
  .hs-sub-more { display: none; }
  .hs-veil { background: linear-gradient(180deg, rgba(6, 10, 14, .86) 0%, rgba(6, 10, 14, .72) 46%, rgba(6, 10, 14, .86) 100%); }
  .hs-copy .hero-actions { gap: 10px; }
  .hs-copy .hero-actions .btn, .hs-copy .hero-actions .btn-ghost { justify-content: center; width: 100%; }
  .proof b { font-size: 24px; }
  .proof span { font-size: 10px; }
}


/* ---------- homepage: category tiles / company / faq / quote ---------- */

.cat-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cat-tile {
  display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line-soft); transition: border-color .15s, transform .15s;
}
.cat-tile:hover { border-color: var(--accent); transform: translateY(-2px); }
.ct-media { display: block; aspect-ratio: 4 / 3; background: #fff; overflow: hidden; border-top: 1px solid var(--line-soft); }
.ct-media img { width: 100%; height: 100%; object-fit: contain; padding: 0; }
.ct-body {
  display: flex; flex-direction: column; gap: 5px; padding: 16px 16px 14px;
}
/* Two-line title band: keeps every tile's body the same height, so the grid's
   stretch never leaves a white strip under .ct-media. Titles bottom-align so the
   part-number line stays tight under them in 1-line and 2-line cards alike. */
.ct-name {
  display: flex; align-items: flex-end;
  font-weight: 700; font-size: 15.5px; letter-spacing: -.01em;
  line-height: 1.2; min-height: 2.4em;
}
.ct-meta {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted-2);
}

.company-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 60px; align-items: stretch; }
.company-copy { display: flex; flex-direction: column; justify-content: flex-start; }
.company-copy .eyebrow {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); display: flex; align-items: center; gap: 10px; margin-bottom: 12px; line-height: 1;
}
.company-copy .eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); flex: 0 0 auto; }
.company-media {
  position: relative; margin: 0; border: 1px solid var(--line-soft); background: var(--mist);
  overflow: hidden; height: 100%; min-height: 360px;
}
.company-media img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.company-lede { margin-top: 16px; color: var(--muted); font-size: 15.5px; line-height: 1.75; max-width: 560px; }
.fit-list {
  list-style: none; margin: 26px 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px;
}
.fit-list li { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; }
.fit-list svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 2px; color: #1c7a4f; }
.company-foot {
  margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px;
}
.company-contact { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.company-contact a { color: var(--text); border-bottom: 1px solid var(--line-soft); }
.company-contact a:hover { border-bottom-color: var(--accent); }
.company-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 22px; }
.company-actions .btn-wa span { letter-spacing: .04em; }


.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; align-items: start; }
.faq-grid .faq-item:nth-child(1), .faq-grid .faq-item:nth-child(2) { border-top: 1px solid var(--line-soft); }
.faq-grid .faq-item .answer { max-width: none; }
/* Homepage FAQ: always expanded, plain question + answer */
.faq-grid .faq-item { padding: 18px 0 20px; border-bottom: 1px solid var(--line-soft); }
.faq-q { font-size: 16px; font-weight: 650; line-height: 1.35; letter-spacing: -.005em; }
.faq-grid .faq-item .answer { padding: 10px 0 0; font-size: 15px; line-height: 1.65; color: var(--muted); }
.section-dark .link-more { color: #fff; }
.section-dark .link-more:hover { color: var(--accent); }

.quote-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 56px; align-items: stretch; }
.quote-media { margin: 0; border: 1px solid var(--line-soft); background: var(--mist); overflow: hidden; }
.quote-media img { display: block; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1080px) {
  .cat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ct-body { padding: 12px 13px 15px; }
  .ct-name { font-size: 14.5px; }
  .company-grid, .quote-grid { grid-template-columns: 1fr; gap: 34px; }
  .company-media { order: -1; height: auto; aspect-ratio: 4 / 3; min-height: 0; }
  .quote-media { display: none; }
  .faq-grid { grid-template-columns: 1fr; gap: 0; }
  .faq-grid .faq-item:nth-child(2) { border-top: 0; }
}
@media (max-width: 560px) {
  .fit-list { grid-template-columns: 1fr; gap: 10px; }
}

/* Slide 2 (Komatsu PC2000): the photo is the same ratio as the frame, so nudge
   it left with a small zoom to pull the boom out from under the headline. */
.hs-slide-2 img { transform: translateX(5%) scale(1.1); transform-origin: center 46%; }










