/* =========================================================
   MAICE AUTO PARTS — site.css
   Design direction: see DESIGN.md
   ========================================================= */

:root {
  --navy-900: #06121f;
  --navy-800: #0a1e33;
  --navy-700: #102a44;
  --steel-050: #f6f8fa;
  --steel-100: #ebeff4;
  --steel-200: #d3dce6;
  --steel-500: #75879b;
  --ink: #0b1b2b;
  --signal: #1f6bff;
  --signal-deep: #0c47c4;
  --ok: #16794c;

  --font-body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;

  --page: 1280px;
  --gutter: 24px;
  --pad: 32px;
  --radius: 2px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--steel-050);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.02;
  margin: 0;
}

p { margin: 0; }

.wrap { width: 100%; max-width: var(--page); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- utility ---------- */

.tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

.data {
  font-family: var(--font-display);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--dark { background: var(--navy-900); color: var(--steel-050); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--steel-200);
  margin-bottom: 40px;
}
.section-head h2 { font-size: clamp(30px, 3.4vw, 46px); }
.section-head .lede {
  max-width: 420px;
  font-size: 14px;
  color: var(--steel-500);
}
.section--dark .section-head { border-color: rgba(255, 255, 255, 0.14); }
.section--dark .section-head .lede { color: rgba(246, 248, 250, 0.6); }

.label {
  font-size: 13px;
  color: var(--steel-500);
  line-height: 1.4;
}

/* ---------- header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--navy-900);
  color: var(--steel-050);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 180ms ease, border-color 180ms ease;
}
.header.is-scrolled { background: var(--navy-900); border-color: rgba(255, 255, 255, 0.14); }
.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand { display: flex; flex-direction: row; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__mark { width: 34px; height: 34px; display: block; flex: none; }
.brand__text { display: flex; flex-direction: column; gap: 3px; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.06em;
  line-height: 1;
}
.brand__sub {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(246, 248, 250, 0.55);
  text-transform: uppercase;
}

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a {
  font-size: 14px;
  color: rgba(246, 248, 250, 0.78);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 140ms ease, border-color 140ms ease;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; border-color: var(--signal); }

.header__actions { display: flex; align-items: center; gap: 16px; }
.header__wa { font-size: 13px; color: rgba(246, 248, 250, 0.72); }
.header__wa strong { color: #fff; font-weight: 500; }

.menu-btn { display: none; }

/* ---------- buttons ---------- */

.btn {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, transform 80ms ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--signal); color: #fff; }
.btn--primary:hover { background: var(--signal-deep); }
.btn--navy { background: var(--navy-900); color: var(--steel-050); }
.btn--navy:hover { background: var(--navy-700); }
.btn--ghost { border-color: var(--steel-200); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.22); color: var(--steel-050); background: transparent; }
.btn--ghost-light:hover { border-color: rgba(255, 255, 255, 0.6); }
.btn--sm { height: 38px; padding: 0 14px; font-size: 13px; }
.btn-short { display: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--steel-200);
  padding-bottom: 2px;
}
.link-arrow:hover { border-color: var(--signal); color: var(--signal-deep); }
.link-arrow svg { width: 14px; height: 14px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: var(--navy-900);
  color: var(--steel-050);
  overflow: hidden;
  padding: 72px 0 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(120% 90% at 70% 20%, #000 20%, transparent 78%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 640px;
  background-image:
    linear-gradient(90deg, #06121F 0%, rgba(6,18,31,.94) 30%, rgba(6,18,31,.42) 60%, rgba(6,18,31,.72) 100%),
    url("../img/warehouse.jpg");
  background-size: cover;
  background-position: center 42%;
  opacity: 1;
  pointer-events: none;
  mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 96px;
}

.hero__copy { max-width: 600px; }

.hero h1 {
  font-size: clamp(44px, 5.6vw, 82px);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.015em;
  margin: 0 0 24px;
  text-wrap: balance;
}
.hero h1 .thin { font-weight: 500; color: rgba(246,248,250,.78); }

.hero__lede {
  max-width: 500px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(246, 248, 250, 0.74);
  margin-bottom: 32px;
}

.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero__stat .n {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.01em;
}
.hero__stat .t { font-size: 12px; color: rgba(246,248,250,.55); margin-top: 6px; }

.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1.04;
  min-height: 380px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}

.plate {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: var(--radius);
  padding: 10px 10px 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
}
.plate__img {
  flex: 1;
  min-height: 0;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.plate__img img { width: 94%; height: 94%; object-fit: contain; mix-blend-mode: multiply; }
.plate__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 2px 9px;
  color: var(--ink);
}
.plate__oem { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: .04em; }
.plate__cat { font-size: 11px; color: var(--steel-500); white-space: nowrap; }

.plate--main { grid-column: 1; grid-row: 1; transform: translateY(14px); }
.plate--bottom { grid-column: 2; grid-row: 2; transform: translateY(14px); }
.plate--top { grid-column: 2; grid-row: 1; transform: translateY(14px); }
.plate--left { grid-column: 1; grid-row: 2; transform: translateY(14px); }

.hero__visual.is-in .plate { transform: translateY(0); }
.hero__visual.is-in .plate--main { transition-delay: 0ms; }
.hero__visual.is-in .plate--top { transition-delay: 90ms; }
.hero__visual.is-in .plate--left { transition-delay: 180ms; }
.hero__visual.is-in .plate--bottom { transition-delay: 270ms; }

/* ---------- lookup console ---------- */

.lookup {
  border-top: 2px solid var(--signal);
  position: relative;
  z-index: 2;
  margin-top: -48px;
  background: #fff;
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  padding: 22px 24px 18px;
  box-shadow: 0 18px 40px rgba(6, 18, 31, 0.1);
}
.lookup__row {
  display: grid;
  grid-template-columns: 1fr 240px 180px;
  gap: 12px;
  align-items: end;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { font-size: 12px; color: var(--steel-500); }
.input, .select, .textarea {
  height: 48px;
  width: 100%;
  padding: 0 14px;
  background: #fff;
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  font-size: 15px;
  outline: none;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.textarea { height: auto; min-height: 128px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: #9aa8b8; }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--signal);
  box-shadow: 0 0 0 2px rgba(31, 107, 255, 0.22);
}
.input--lg { font-size: 17px; letter-spacing: .01em; }
.select { appearance: none; color: var(--ink); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%2375879b' stroke-width='1.6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

.lookup__hint { margin-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: 12px; color: var(--steel-500); }
.lookup__hint a { font-family: var(--font-display); letter-spacing: .04em; color: var(--ink); border-bottom: 1px solid var(--steel-200); }
.lookup__hint a:hover { color: var(--signal-deep); border-color: var(--signal); }

/* ---------- category ledger ---------- */

.ledger {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--steel-200);
  border: 1px solid var(--steel-200);
}
.ledger a {
  background: #fff;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 88px 1fr auto;
  align-items: center;
  gap: 18px;
  transition: background 140ms ease;
}
.ledger a:hover { background: var(--steel-050); }
.ledger img {
  width: 88px; height: 66px; object-fit: contain; mix-blend-mode: multiply;
}
.ledger .nm { display: block; font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.1; }
.ledger .ln { display: block; font-size: 12px; color: var(--steel-500); margin-top: 4px; }
.ledger .ar { width: 16px; height: 16px; color: var(--steel-500); }
.ledger a:hover .ar { color: var(--signal); }
.ledger .ledger-all { grid-column: auto; grid-template-columns: 1fr auto; background: #fff; }
.ledger .ledger-all .nm { font-size: 17px; }

/* ---------- process columns ---------- */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.process__item { border-top: 1px solid var(--steel-200); padding-top: 20px; }
.process__item h3 { font-size: 20px; margin-bottom: 10px; }
.process__item p { font-size: 14px; color: #3f5468; line-height: 1.6; }
.section--dark .process__item { border-color: rgba(255,255,255,.18); }

/* ---------- spec plate (product card) ---------- */

.grid-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 140ms ease;
}
.card:hover { border-color: #aebccc; }
.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.card__media img { width: 90%; height: 90%; object-fit: contain; mix-blend-mode: multiply; transition: width 300ms ease; }
.card:hover .card__media img { width: 94%; }
.card__body { padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__oem {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: .04em;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card__name { font-size: 14px; font-weight: 500; color: #23384c; }
.card__fit {
  font-size: 12px;
  color: var(--steel-500);
  line-height: 1.45;
  min-height: 34px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__meta {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--steel-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--steel-500);
}
.card__meta .q { color: var(--ink); font-weight: 500; }

/* ---------- table ---------- */

.table-wrap { overflow-x: auto; }
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.table th {
  text-align: left;
  font-weight: 500;
  font-size: 12px;
  color: var(--steel-500);
  padding: 10px 12px;
  border-bottom: 1px solid var(--steel-200);
}
.table td { padding: 13px 12px; border-bottom: 1px solid var(--steel-200); }
.table td.r, .table th.r { text-align: right; }
.table tr:hover td { background: var(--steel-050); }
.section--dark .table th { color: rgba(246,248,250,.55); border-color: rgba(255,255,255,.14); }
.section--dark .table td { border-color: rgba(255,255,255,.1); }
.section--dark .table tr:hover td { background: rgba(255,255,255,.04); }

/* ---------- markets ---------- */

.markets {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  color: var(--steel-050);
}
.markets::before {
  content: "";
  position: absolute; inset: 0;
  background: url("../img/loading.jpg") center / cover no-repeat;
  opacity: .9;
  filter: brightness(1.45) saturate(.6) contrast(.92);
}
.markets::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,18,31,.86) 0%, rgba(6,18,31,.55) 38%, rgba(6,18,31,.94) 78%, rgba(6,18,31,.96) 100%);
}
.markets__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 96px 0; }
.markets h2 { font-size: clamp(32px, 3.8vw, 52px); margin-bottom: 20px; text-wrap: balance; }
.markets p { color: rgba(246,248,250,.7); max-width: 440px; font-size: 15px; }
.markets__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 32px; align-content: start; }
.markets__list li {
  list-style: none;
  display: flex; justify-content: space-between; gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: 14px;
}
.markets__list .d { color: rgba(246,248,250,.5); font-family: var(--font-display); letter-spacing: .04em; }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 56px 48px;
  background: url("../img/container.jpg") center 62% / cover no-repeat;
  color: var(--steel-050);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6,18,31,.9) 0%, rgba(6,18,31,.62) 52%, rgba(6,18,31,.86) 100%);
}
.cta-band h2, .cta-band .actions { position: relative; z-index: 1; }
.cta-band .btn--ghost { color: #fff; border-color: rgba(255,255,255,.38); }
.cta-band .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.cta-band h2 { font-size: clamp(26px, 2.8vw, 38px); }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- footer ---------- */

.footer { background: var(--navy-900); color: var(--steel-050); padding: 64px 0 32px; }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer h4 { font-size: 16px; margin-bottom: 14px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer ul a { font-size: 13px; color: rgba(246,248,250,.62); }
.footer ul a:hover { color: #fff; }
.footer__addr { font-size: 13px; color: rgba(246,248,250,.62); line-height: 1.7; }
.footer__brand .brand { margin-bottom: 16px; }
.footer__brand p { font-size: 13px; color: rgba(246,248,250,.55); max-width: 260px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px;
  display: flex; justify-content: space-between; gap: 24px;
  font-size: 11px; color: rgba(246,248,250,.42);
}

/* ---------- catalog page ---------- */

.page-head { background: var(--navy-900); color: var(--steel-050); padding: 56px 0 48px; background-size: cover; background-position: center; }
.page-head h1 { font-size: clamp(36px, 4.6vw, 64px); margin-bottom: 12px; }
.page-head p { color: rgba(246,248,250,.66); max-width: 560px; font-size: 15px; }
.page-head .crumbs { font-size: 12px; color: rgba(246,248,250,.5); margin-bottom: 18px; display: flex; gap: 8px; }
.page-head .crumbs a:hover { color: #fff; }

.page-head--quote {
  background-image:
    linear-gradient(90deg, rgba(6,18,31,.97) 0%, rgba(6,18,31,.92) 48%, rgba(6,18,31,.7) 100%),
    url("../img/bench.jpg");
  background-position: center 62%;
}

.filters {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: var(--steel-050);
  border-bottom: 1px solid var(--steel-200);
  padding: 16px 0;
}
.filters__row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.search-box { position: relative; flex: 1 1 320px; }
.search-box svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--steel-500); }
.search-box .input { padding-left: 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  height: 32px; padding: 0 13px;
  border: 1px solid var(--steel-200); border-radius: var(--radius);
  background: #fff; font-size: 13px; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 7px;
}
.chip:hover { border-color: #aebccc; }
.chip.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.chip .c { font-family: var(--font-display); font-size: 12px; color: var(--steel-500); }
.chip.is-active .c { color: rgba(255,255,255,.6); }
.select--sort { width: 190px; height: 42px; }

.results-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 24px 0 20px; }
.results-bar p { font-size: 13px; color: var(--steel-500); }
.results-bar .sort { font-size: 13px; }

.empty {
  padding: 64px 24px;
  border: 1px solid var(--steel-200);
  background: #fff;
  text-align: center;
}
.empty h3 { font-size: 26px; margin-bottom: 8px; }
.empty p { font-size: 14px; color: var(--steel-500); max-width: 420px; margin: 0 auto 20px; }

/* ---------- product page ---------- */

.product { padding: 48px 0 80px; }
.product__grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: start; }
.product__media { position: sticky; top: calc(var(--header-h) + 24px); }
.product__plate {
  background: #fff; border: 1px solid var(--steel-200); border-radius: var(--radius);
  padding: 16px;
}
.product__plate img { width: 100%; aspect-ratio: 4/3; object-fit: contain; mix-blend-mode: multiply; background: #fff; }
.product__cap { margin-top: 10px; font-size: 11px; color: var(--steel-500); display: flex; justify-content: space-between; gap: 12px; }

.product__info .cat-label { font-size: 12px; color: var(--steel-500); margin-bottom: 10px; }
.product__info h1 { font-size: clamp(32px, 3.6vw, 50px); margin-bottom: 18px; }
.oem-block {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--steel-200);
  border-bottom: 1px solid var(--steel-200);
}
.oem-block .k { font-size: 12px; color: var(--steel-500); margin-bottom: 2px; }
.oem-block .v { font-family: var(--font-display); font-weight: 600; font-size: 30px; letter-spacing: .04em; line-height: 1; }
.copy-btn { height: 36px; padding: 0 12px; border: 1px solid var(--steel-200); background: #fff; border-radius: var(--radius); font-size: 12px; }
.copy-btn:hover { border-color: var(--ink); }

.spec-list { margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.spec-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--steel-200); font-size: 13px; }
.spec-row .sk { color: var(--steel-500); }
.spec-row .sv { font-family: var(--font-display); font-weight: 500; letter-spacing: .02em; }

.fitment { margin-top: 28px; }
.fitment h3 { font-size: 18px; margin-bottom: 10px; }
.fitment ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.fitment li { font-size: 13px; padding: 9px 0; border-bottom: 1px solid var(--steel-200); color: #33475b; }
.fitment .more { font-size: 12px; color: var(--steel-500); padding-top: 8px; }

.vin-box {
  margin-top: 24px;
  background: var(--steel-100);
  border-left: 3px solid var(--signal);
  padding: 14px 16px;
  font-size: 13px;
  color: #33475b;
}
.vin-box strong { display: block; font-weight: 600; color: var(--ink); margin-bottom: 4px; }

.product__actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

/* ---------- quote page ---------- */

.quote-page { padding: 56px 0 96px; }
.quote__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 64px; align-items: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.form-note { font-size: 12px; color: var(--steel-500); margin-top: 16px; }
.form-status { margin-top: 16px; font-size: 13px; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: #b3261e; }

.quote__side { background: #fff; border: 1px solid var(--steel-200); padding: 32px; }
.quote__side h2 { font-size: 28px; margin-bottom: 18px; }
.steps { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.steps li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.steps .n { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1; color: var(--signal); }
.steps .t { font-size: 14px; color: #33475b; }
.steps .t strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.quote__contact { border-top: 1px solid var(--steel-200); padding-top: 18px; font-size: 13px; color: var(--steel-500); display: flex; flex-direction: column; gap: 8px; }
.quote__contact a { color: var(--ink); font-weight: 500; }

.success-panel { display: none; background: #fff; border: 1px solid var(--steel-200); padding: 28px; margin-top: 24px; }
.success-panel.is-on { display: block; }
.success-panel h3 { font-size: 24px; margin-bottom: 8px; }
.success-panel textarea { width: 100%; min-height: 170px; margin-top: 14px; font-size: 12px; line-height: 1.6; }
.success-panel .actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; padding-bottom: 88px; }
  .hero__visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .grid-products { grid-template-columns: repeat(3, 1fr); }
  .product__grid { grid-template-columns: 1fr; gap: 32px; }
  .product__media { position: static; }
  .markets__inner { grid-template-columns: 1fr; gap: 40px; }
  .quote__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  :root { --pad: 20px; }
  .header__actions .header__wa { display: none; }
  .header__actions .btn--sm { padding: 0 12px; font-size: 12px; }
  .btn-full { display: none; }
  .btn-short { display: inline; }
  .nav { display: none; }
  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: var(--navy-900);
    padding: 8px 20px 18px;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 48px rgba(3, 10, 19, 0.45);
    z-index: 60;
  }
  .nav.is-open a { padding: 13px 0; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .menu-btn { display: inline-flex; margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.2); color: inherit; height: 38px; padding: 0 12px; border-radius: var(--radius); font-size: 13px; }
  .menu-btn[aria-expanded="true"] { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); }
  .header__actions { margin-left: 0; }
  .section { padding: 64px 0; }
  .hero { padding-top: 48px; }
  .hero__stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 20px; margin-top: 40px; }
  .lookup__row { grid-template-columns: 1fr; }
  .ledger { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; gap: 24px; }
  .grid-products { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .table th:nth-child(3), .table td:nth-child(3) { display: none; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 8px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .product__grid { gap: 24px; }
  .spec-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .page-head { padding: 40px 0 32px; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: 42px; }
  .hero__visual { min-height: 300px; aspect-ratio: 1 / 1; }
  .process { grid-template-columns: 1fr; }
  .grid-products { grid-template-columns: 1fr 1fr; }
  .card__oem { font-size: 17px; }
  .markets__list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}


/* ---------- Chinese edition ---------- */
.lang-switch {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(246, 248, 250, 0.62);
  border-bottom: 1px solid rgba(246, 248, 250, 0.28);
  padding-bottom: 2px;
  margin-right: 4px;
  margin-left: 2px;
  flex: none;
}
.lang-switch:hover { color: #fff; border-color: var(--signal); }
html[lang="zh-CN"] .menu-btn { flex: none; white-space: nowrap; }
html[lang="zh-CN"] body {
  font-family: "Barlow", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}
html[lang="zh-CN"] h1, html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3, html[lang="zh-CN"] h4 {
  font-family: "Barlow Condensed", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  letter-spacing: 0;
  line-height: 1.16;
}
html[lang="zh-CN"] .hero h1 { line-height: 1.08; }
html[lang="zh-CN"] .brand__sub { letter-spacing: 0.14em; }
html[lang="zh-CN"] .label { letter-spacing: 0.06em; }

@media (max-width: 480px) {
  .brand__mark { width: 30px; height: 30px; }
  .brand__name { font-size: 22px; }
  .brand__sub { display: none; }
  .header__inner { gap: 12px; }
  .header__actions { gap: 10px; }
  .lang-switch { margin-left: 0; }
}
