:root {
  --ink: #17202a;
  --muted: #5b6675;
  --line: #dde4ed;
  --panel: #ffffff;
  --soft: #f4f7fb;
  --blue: #1769c2;
  --blue-dark: #0a3d78;
  --green: #188a5e;
  --amber: #c47a11;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f7f9fc;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 5vw;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--blue);
}

.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #0d1727;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 16, 31, 0.9), rgba(5, 16, 31, 0.56) 48%, rgba(5, 16, 31, 0.18));
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 0 5vw 12vh;
  color: #fff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.08;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(38px, 7vw, 72px);
}

.hero p {
  max-width: 620px;
  margin: 18px 0 0;
  color: #e7edf6;
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  background: var(--green);
  color: #fff;
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 76px 5vw;
}

.intro-grid,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 32px;
  align-items: start;
}

.section h2 {
  font-size: clamp(28px, 4vw, 44px);
}

.section p {
  color: var(--muted);
  font-size: 16px;
}

.facts {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.facts li,
.contact-panel a {
  display: grid;
  gap: 5px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.facts strong,
.contact-panel strong {
  font-size: 18px;
}

.facts span,
.contact-panel span {
  color: var(--muted);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 28px;
}

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

.zone-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 16px;
}

.zone-card {
  min-height: 280px;
  display: grid;
  align-items: end;
  padding: 28px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.feature-zone {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 24, 43, 0.92), rgba(7, 24, 43, 0.68)),
    url("assets/catalog-images/rubber-zone-bg.jpg") center / cover;
}

.custom-zone {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(20, 22, 27, 0.92), rgba(20, 22, 27, 0.68)),
    url("assets/custom-zone/packaging-bg.jpg") center / cover;
}

.muted-zone {
  background: #fff;
}

.zone-label {
  margin: 0 0 10px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.zone-card h3 {
  margin: 0 0 10px;
  font-size: 28px;
}

.zone-card p {
  max-width: 680px;
  margin: 0 0 20px;
}

.product-card {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
}

.product-card div {
  padding: 16px;
}

.product-card h3 {
  margin: 0 0 8px;
}

.product-card p {
  margin: 0;
  font-size: 14px;
}

.quote-band {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 32px;
  background: #e9f2fb;
  border-block: 1px solid var(--line);
}

.quote-band > * {
  max-width: 560px;
}

.quote-band > :first-child {
  justify-self: end;
  padding-left: 5vw;
}

.quote-band > :last-child {
  justify-self: start;
  padding-right: 5vw;
}

.quote-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style-position: inside;
}

.quote-steps li {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
}

.contact-panel {
  display: grid;
  gap: 12px;
}

.contact-panel a:hover {
  border-color: var(--blue);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 5vw;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
}

.zone-hero {
  min-height: 520px;
  display: grid;
  align-items: center;
  padding: 84px 5vw;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(9, 23, 42, 0.92), rgba(9, 23, 42, 0.74), rgba(9, 23, 42, 0.42)),
    url("assets/hero-auto-parts.png") center / cover;
}

.custom-hero {
  min-height: 560px;
  display: grid;
  align-items: center;
  padding: 84px 5vw;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 13, 18, 0.9), rgba(10, 13, 18, 0.7) 50%, rgba(10, 13, 18, 0.25)),
    url("assets/custom-zone/packaging-bg.jpg") center / cover;
}

.zone-hero > div,
.custom-hero > div {
  max-width: 760px;
}

.zone-hero h1,
.custom-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.05;
}

.zone-hero p,
.custom-hero p {
  max-width: 640px;
  color: #e9eff8;
  font-size: 18px;
}

.button.light {
  color: #fff;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.category-card {
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.category-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--soft);
  border-radius: 6px;
}

.category-card h3 {
  margin: 16px 0 6px;
}

.category-card p {
  margin: 0 0 14px;
  font-size: 14px;
}

.category-card a {
  color: var(--blue);
  font-weight: 800;
}

.filter-section,
.catalog-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.filter-grid span {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue-dark);
  font-weight: 800;
}

.table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.parts-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 14px;
}

.parts-table th,
.parts-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.parts-table th {
  color: var(--blue-dark);
  background: #edf4fb;
}

.parts-table tr:last-child td {
  border-bottom: 0;
}

.catalog-grid {
  display: grid;
  gap: 12px;
}

.detail-grid {
  display: grid;
  gap: 18px;
}

.detail-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f6f8fb;
  border-radius: 6px;
}

.detail-card span {
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-card h3 {
  margin: 6px 0 8px;
  font-size: 24px;
}

.detail-card p {
  margin: 0 0 12px;
}

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

.browse-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.browse-grid article {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.browse-grid strong {
  color: var(--blue-dark);
  font-size: 18px;
}

.browse-grid span {
  color: var(--muted);
}

.subcategory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.subcategory-grid article {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.subcategory-grid h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 20px;
}

.subcategory-grid p {
  margin: 0;
  font-size: 14px;
}

.subcategory-grid span {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.quality-panel,
.packing-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
}

.quality-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.quality-points article,
.process-list li {
  display: grid;
  gap: 6px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quality-points strong,
.process-list strong {
  color: var(--blue-dark);
  font-size: 18px;
}

.quality-points span,
.process-list span {
  color: var(--muted);
}

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

.custom-product-grid article,
.custom-product-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.custom-product-card {
  display: block;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.custom-product-card:hover {
  border-color: var(--blue);
  box-shadow: 0 14px 30px rgba(23, 32, 42, 0.12);
  transform: translateY(-3px);
}

.custom-product-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
}

.custom-product-grid div {
  padding: 16px;
}

.custom-product-grid h3 {
  margin: 0 0 8px;
  color: var(--blue-dark);
}

.custom-product-grid p {
  margin: 0;
  font-size: 14px;
}

.custom-product-grid span {
  display: inline-block;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 800;
}

.process-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.request-card {
  border-color: rgba(24, 138, 94, 0.35);
  background: #f3fbf7;
}

.product-area-hero {
  background:
    linear-gradient(90deg, rgba(10, 13, 18, 0.9), rgba(10, 13, 18, 0.72) 50%, rgba(10, 13, 18, 0.28)),
    url("assets/custom-zone/packing-boxes.jpg") center / cover;
}

.area-stack {
  display: grid;
  gap: 26px;
}

.product-area {
  scroll-margin-top: 92px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: stretch;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.area-copy h2 {
  font-size: clamp(26px, 3vw, 38px);
}

.area-copy ul {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.area-gallery {
  display: grid;
  gap: 10px;
}

.area-gallery img {
  width: 100%;
  min-height: 260px;
  height: 100%;
  object-fit: cover;
  background: var(--soft);
  border-radius: 6px;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 800;
}

.catalog-card {
  display: grid;
  gap: 6px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.catalog-card strong {
  font-size: 20px;
}

.catalog-card span {
  color: var(--muted);
}

.catalog-card em {
  color: var(--green);
  font-style: normal;
  font-weight: 800;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 720px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(5, 16, 31, 0.28), rgba(5, 16, 31, 0.88));
  }

  .hero-copy {
    padding-bottom: 8vh;
  }

  .intro-grid,
  .contact-section,
  .quote-band,
  .product-grid,
  .zone-grid,
  .category-grid,
  .detail-card,
  .browse-grid,
  .subcategory-grid,
  .quality-panel,
  .packing-section,
  .quality-points,
  .custom-product-grid,
  .product-area,
  .filter-section,
  .catalog-section {
    grid-template-columns: 1fr;
  }

  .quote-band > :first-child,
  .quote-band > :last-child {
    justify-self: stretch;
    max-width: none;
    padding-inline: 5vw;
  }
}

@media (max-width: 520px) {
  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .button,
  .hero-actions {
    width: 100%;
  }

  .quote-steps {
    grid-template-columns: 1fr;
  }
}
