:root {
  --bg: #ffffff;
  --ink: #142033;
  --muted: #5d6878;
  --line: #dfe4ea;
  --soft: #f5f7fa;
  --accent: #c92b2b;
  --accent-dark: #9f1f1f;
  --navy: #1b2d44;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(20, 32, 51, .10);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand small { color: var(--muted); font-size: 12px; margin-top: 3px; }

.site-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-left: auto;
  font-size: 14px;
  color: var(--muted);
}

.site-nav a { padding: 8px 0; border-bottom: 2px solid transparent; }
.site-nav a.active,
.site-nav a:hover { color: var(--ink); border-color: var(--accent); }

.header-cta {
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.menu-toggle { display: none; }

.hero,
.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, .96fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  padding: clamp(52px, 8vw, 96px) clamp(18px, 5vw, 72px) clamp(42px, 6vw, 72px);
}

.hero h1,
.page-hero h1,
.detail-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero p,
.page-hero p,
.detail-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}

.button.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.button.primary:hover { background: var(--accent-dark); }
.button.secondary { background: var(--navy); color: #fff; border-color: var(--navy); }
.button.ghost { background: #fff; color: var(--ink); }

.hero-panel {
  padding: clamp(16px, 3vw, 28px);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-product,
.product-image,
.detail-media {
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-product { aspect-ratio: 4 / 3; }
.product-image { aspect-ratio: 4 / 3; }
.detail-media { min-height: 420px; }

.hero-product img,
.product-image img,
.detail-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}

.hero-note {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 16px;
}

.hero-note span { color: var(--muted); }

.photo-pending {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 180px;
  color: var(--muted);
  background: repeating-linear-gradient(135deg, #f7f8fa, #f7f8fa 10px, #eef1f5 10px, #eef1f5 20px);
  font-weight: 800;
}

.section,
.page-hero,
.cta-band {
  padding: clamp(42px, 7vw, 82px) clamp(18px, 5vw, 72px);
}

.page-hero {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2,
.split-section h2,
.content-narrow h2,
.cta-band h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.14;
  letter-spacing: 0;
}

.section-heading p,
.split-section p,
.content-narrow p,
.cta-band p {
  color: var(--muted);
  font-size: 17px;
}

.category-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.category-item,
.product-card,
.info-panel,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.category-item { padding: 22px; }
.category-item h3,
.product-card h3 { margin: 0 0 8px; line-height: 1.25; }
.category-item p,
.product-card p { margin: 0; color: var(--muted); }

.product-card {
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.product-card-body { padding: 18px; }
.product-category {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.mini-specs {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}

.mini-specs div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.mini-specs dt { color: var(--muted); }
.mini-specs dd { margin: 0; font-weight: 700; text-align: right; }
.text-link { color: var(--accent); font-weight: 800; }

.split-section {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(280px, 1.2fr);
  gap: 34px;
  align-items: start;
  background: var(--soft);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding-left: 28px;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 2px;
}

.center-action { text-align: center; margin-top: 30px; }

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: clamp(24px, 5vw, 56px);
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
}

.cta-band p { color: rgba(255,255,255,.75); }
.cta-band .button.secondary { background: #fff; color: var(--navy); border-color: #fff; }

.content-narrow { max-width: 980px; margin: 0 auto; }
.info-panel { padding: 24px; margin-top: 24px; }

.process-list {
  display: grid;
  gap: 12px;
}

.process-list div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.process-list strong { color: var(--accent); font-size: 20px; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  border: 1px solid var(--line);
}

.spec-table th,
.spec-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.spec-table th {
  width: 220px;
  background: var(--soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.contact-form label:nth-child(8),
.contact-form button,
.form-note { grid-column: 1 / -1; }

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  font: inherit;
  color: var(--ink);
}

textarea { resize: vertical; }
.form-note { margin: 0; color: var(--muted); font-size: 14px; }

.contact-card { padding: 24px; align-self: start; }
.contact-line { display: block; margin-top: 14px; color: var(--muted); overflow-wrap: anywhere; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(18px, 5vw, 72px);
  background: #111b29;
  color: #fff;
}

.site-footer p,
.footer-links { color: rgba(255,255,255,.72); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

@media (max-width: 960px) {
  .site-header { flex-wrap: wrap; }
  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
  }
  .site-nav {
    display: none;
    order: 3;
    width: 100%;
    margin-left: 0;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 12px;
  }
  .site-nav.open { display: flex; }
  .header-cta { display: none; }
  .hero,
  .detail-hero,
  .split-section,
  .contact-layout { grid-template-columns: 1fr; }
  .category-grid,
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band,
  .site-footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  .brand { min-width: 0; }
  .brand small { display: none; }
  .hero h1,
  .page-hero h1,
  .detail-copy h1 { font-size: 36px; }
  .category-grid,
  .product-grid,
  .contact-form { grid-template-columns: 1fr; }
  .spec-table th,
  .spec-table td {
    display: block;
    width: 100%;
  }
  .hero-actions,
  .cta-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
}
