:root {
  --ink: #18212a;
  --steel: #2f3b45;
  --muted: #66717b;
  --accent: #8a6a3f;
  --accent-dark: #604b30;
  --paper: #f4f5f5;
  --white: #fff;
  --line: #d7dde2;
  --soft: #eef1f3;
  --green: #28735a;
}

* { box-sizing: border-box; }

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

a { color: inherit; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 38px;
  border-radius: 2px;
  background: var(--steel);
  color: #fff;
  font-weight: 900;
  letter-spacing: .04em;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
}

.brand small {
  margin-top: 3px;
  color: var(--accent);
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.nav a {
  padding: 8px 10px;
  border-radius: 2px;
  color: var(--ink);
  text-decoration: none;
  font-size: .93rem;
  font-weight: 800;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent-dark);
  background: var(--soft);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
  padding: clamp(44px, 7vw, 90px) clamp(18px, 5vw, 64px);
  background:
    linear-gradient(115deg, rgba(24, 33, 42, .95), rgba(47, 59, 69, .86)),
    linear-gradient(90deg, transparent 0 24px, rgba(255,255,255,.04) 24px 25px);
  color: var(--white);
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 940px;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1.03;
}

.hero p,
.page-hero p {
  max-width: 780px;
  color: #dce3e8;
  font-size: 1.06rem;
}

.hero-image {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 2px;
  background: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 900;
}

.actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.button,
.product-card a,
.related-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 2px;
  border: 2px solid transparent;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary,
.product-card a {
  color: #fff;
  background: var(--steel);
}

.button.primary:hover,
.product-card a:hover { background: var(--ink); }

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

.button.outline,
.related-card a {
  border-color: var(--steel);
  color: var(--steel);
  background: transparent;
}

.section,
.page-hero {
  padding: clamp(46px, 7vw, 78px) clamp(18px, 5vw, 64px);
}

.page-hero {
  background: linear-gradient(120deg, var(--ink), var(--steel));
  color: #fff;
}

.split,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 5vw, 64px);
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.08;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 26px;
}

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

.catalog { padding-top: 0; }

.product-card,
.related-card,
.contact-panel,
.contact-form,
.policy {
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
}

.product-card,
.related-card {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  padding: 24px;
  overflow: hidden;
}

.product-card img,
.related-card img {
  width: calc(100% + 48px);
  height: 220px;
  margin: -24px -24px 8px;
  object-fit: contain;
  background: #fff;
}

.product-card span,
.related-card span,
.status-pill {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 2px;
  background: var(--soft);
  color: var(--accent-dark);
  font-size: .78rem;
  font-weight: 900;
}

.product-card h2,
.product-card h3,
.related-card h3 {
  margin: 0;
  font-size: 1.24rem;
  line-height: 1.2;
}

.product-card p {
  margin: 0;
  color: var(--muted);
}

.product-card strong,
.related-card strong {
  margin-top: auto;
  font-size: 1.45rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, .96fr);
  gap: clamp(32px, 5vw, 62px);
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 62px) clamp(18px, 5vw, 52px);
  background: #fff;
}

.detail-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: #fff;
}

.detail-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
}

.status-pill {
  margin-bottom: 18px;
  border-radius: 2px;
  color: #fff;
  background: var(--green);
}

.detail-summary {
  color: var(--muted);
  font-size: 1.05rem;
}

.detail-bullets {
  display: grid;
  gap: 8px;
  margin: 22px 0;
  padding-left: 20px;
  color: var(--muted);
}

.model-box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px 12px;
  margin: 24px 0;
  padding: 13px 14px;
  border: 1px solid var(--ink);
  border-radius: 2px;
}

.model-box span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.model-box strong { font-size: 1.1rem; }

.model-box em {
  padding: 5px 8px;
  border-radius: 5px;
  color: #fff;
  background: var(--accent);
  font-size: .78rem;
  font-style: normal;
  font-weight: 900;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 20px;
}

.price-row strong { font-size: 1.65rem; }
.price-row s { color: #958d83; }

.contact-note {
  display: grid;
  gap: 5px;
  margin: 20px 0 24px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #f8f9f9;
}

.contact-note span { color: var(--muted); }

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.spec-grid div {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #f8f9f9;
}

.spec-grid dt {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.spec-grid dd {
  margin: 3px 0 0;
  font-weight: 800;
}

.related-section { background: #fff; }
.catalog-link { margin-top: 24px; text-align: center; }
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  background: linear-gradient(120deg, var(--ink), var(--steel));
}

.contact-panel,
.contact-form,
.policy {
  padding: 24px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 900;
}

input,
textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #cfc5b8;
  border-radius: 2px;
  font: inherit;
}

textarea { resize: vertical; }

.policy {
  max-width: 960px;
  margin: 0 auto;
}

.policy h2 {
  margin-top: 26px;
  font-size: 1.35rem;
}

.policy h2:first-child { margin-top: 0; }

.footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #ffffff;
}

.footer p { margin: 0; }

@media (max-width: 920px) {
  .site-header,
  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }
  .nav { justify-content: flex-start; }
  .hero,
  .split,
  .contact-layout,
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .product-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .product-grid,
  .related-grid,
  .spec-grid {
    grid-template-columns: 1fr;
  }
  .product-card img,
  .related-card img {
    height: 190px;
  }
  .detail-actions .button,
  .actions .button {
    width: 100%;
  }
}
