:root {
  --ink: #151719;
  --charcoal: #202327;
  --graphite: #2b2f34;
  --line: #d8dde3;
  --muted: #68717c;
  --paper: #f4f6f8;
  --panel: #ffffff;
  --red: #b6202a;
  --red-dark: #851820;
  --steel: #dfe5eb;
  --shadow: 0 18px 46px rgba(14, 18, 23, 0.16);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

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

.site-header {
  background: var(--ink);
  color: #fff;
  border-bottom: 4px solid var(--red);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.brand-mark {
  width: 46px;
  height: 46px;
}

.brand small {
  color: #c9d0d8;
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 10px 12px;
  text-decoration: none;
  color: #dfe5eb;
  font-weight: 700;
  font-size: 0.94rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--red);
  color: #fff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
}

.button.secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}

.hero {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(21,23,25,0.96), rgba(21,23,25,0.72)),
    url("assets/images/brake-parts.jpg") center / cover;
}

.hero-inner {
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.65fr);
  gap: 44px;
  align-items: center;
  padding: 72px 0;
}

.eyebrow {
  display: inline-flex;
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

.hero .eyebrow {
  color: #ff6870;
}

h1,
h2,
h3 {
  line-height: 1.05;
  margin: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  letter-spacing: -0.02em;
}

.hero p {
  max-width: 680px;
  color: #d7dce2;
  font-size: 1.08rem;
  margin: 24px 0;
}

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

.spec-panel {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 28px;
  backdrop-filter: blur(10px);
}

.spec-panel strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.spec-panel ul {
  margin: 0;
  padding-left: 18px;
  color: #d7dce2;
}

.section {
  padding: 70px 0;
}

.section.dark {
  background: var(--charcoal);
  color: #fff;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
}

h2 {
  margin-top: 8px;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.lead {
  color: var(--muted);
  max-width: 720px;
}

.dark .lead {
  color: #c4ccd5;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product-card {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(16, 21, 27, 0.08);
  display: flex;
  flex-direction: column;
}

.product-photo {
  aspect-ratio: 1 / 0.78;
  overflow: hidden;
  background: #151719;
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.product-card:hover img {
  transform: scale(1.035);
}

.product-body {
  padding: 22px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.product-body span {
  color: var(--red);
  font-weight: 900;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.product-body h3 {
  font-size: 1.34rem;
  margin: 10px 0;
}

.product-body p {
  color: var(--muted);
  margin: 0 0 18px;
}

.text-link {
  margin-top: auto;
  color: var(--red-dark);
  font-weight: 900;
  text-underline-offset: 4px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.content-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 32px;
  box-shadow: 0 10px 24px rgba(16, 21, 27, 0.06);
}

.content-card p {
  color: var(--muted);
}

.detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 44px;
  padding: 56px 0 68px;
  align-items: start;
}

.detail-image {
  background: #111;
  box-shadow: var(--shadow);
}

.detail-image img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
}

.detail-copy {
  background: #fff;
  border-top: 6px solid var(--red);
  padding: 32px;
  box-shadow: var(--shadow);
}

.detail-copy h1 {
  color: var(--ink);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  margin: 8px 0 14px;
}

.model-box {
  border: 1px solid var(--line);
  background: #f8fafc;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0;
}

.option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 18px 0 22px;
}

.option-row span {
  border: 1px solid var(--line);
  padding: 8px 11px;
  background: #fff;
  color: var(--graphite);
  font-weight: 800;
  font-size: 0.9rem;
}

.detail-list {
  color: var(--muted);
  margin: 0 0 24px;
  padding-left: 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 26px;
}

.form {
  display: grid;
  gap: 15px;
}

label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 11px 12px;
  font: inherit;
}

textarea {
  min-height: 136px;
  resize: vertical;
}

.site-footer {
  background: #111315;
  color: #cbd3dc;
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-inner a {
  color: #fff;
}

.policy section + section {
  margin-top: 24px;
}

@media (max-width: 1000px) {
  .hero-inner,
  .split,
  .detail,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .nav,
  .section-heading,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-inner {
    min-height: auto;
    padding: 52px 0;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .detail-image img {
    min-height: 320px;
  }
}
