:root {
  --ink: #172026;
  --muted: #66727a;
  --line: #dde3e7;
  --panel: #ffffff;
  --soft: #f4f7f6;
  --accent: #0f766e;
  --accent-dark: #0b4f4a;
  --signal: #c9792a;
  --shadow: 0 18px 40px rgba(23, 32, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

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

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand span {
  display: grid;
  line-height: 1.05;
}

.brand strong {
  font-size: 18px;
}

.brand small {
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
}

nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

nav a:hover {
  color: var(--ink);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.header-cta,
.btn.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.btn.secondary {
  background: #fff;
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(42px, 7vw, 80px) clamp(18px, 5vw, 72px);
  min-height: calc(100vh - 72px);
  background:
    linear-gradient(90deg, rgba(244, 247, 246, 0.98), rgba(255, 255, 255, 0.86)),
    linear-gradient(135deg, rgba(14, 50, 70, 0.12), rgba(213, 117, 43, 0.14));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--signal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.lead {
  max-width: 620px;
  color: #405057;
  font-size: 19px;
  line-height: 1.55;
}

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

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 10px;
  margin: 0;
}

.trust-strip div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.trust-strip dt {
  font-size: 22px;
  font-weight: 800;
}

.trust-strip dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-product {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.hero-spec {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: grid;
  gap: 2px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(23, 32, 38, 0.9);
  color: #fff;
}

.hero-spec span,
.hero-spec small {
  color: rgba(255, 255, 255, 0.76);
}

.category-band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.category-band a {
  display: grid;
  gap: 6px;
  padding: 22px clamp(14px, 3vw, 34px);
  border-right: 1px solid var(--line);
  background: #fff;
}

.category-band a:hover {
  background: var(--soft);
}

.category-band span {
  color: var(--muted);
  font-size: 13px;
}

.category-band strong {
  font-size: 20px;
}

.section {
  padding: 72px clamp(18px, 5vw, 72px);
}

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

.catalog-heading {
  display: grid;
  gap: 8px;
}

.back-to-lines {
  display: none;
  justify-self: start;
  margin-top: 8px;
}

.is-category-view .back-to-lines {
  display: inline-flex;
}

.section-heading p:not(.eyebrow),
.split p {
  color: var(--muted);
  line-height: 1.65;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 220px;
  gap: 12px;
  margin-bottom: 18px;
}

.catalog-toolbar.is-hidden {
  display: none;
}

label {
  display: grid;
  gap: 7px;
  color: #405057;
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

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

.form-note {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.catalog-count {
  margin: -6px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

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

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fafafa;
}

.product-card .card-copy {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.product-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-meta span {
  padding: 5px 8px;
  border-radius: 8px;
  background: var(--soft);
  color: #405057;
  font-size: 12px;
  font-weight: 700;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 2px;
}

.card-actions .btn {
  min-height: 38px;
  padding: 0 12px;
  font-size: 13px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 44px;
  background: var(--soft);
}

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

.process-list div,
.lead-paths article {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.process-list svg,
.lead-paths svg {
  color: var(--accent);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.detail-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.supply-video {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: 34px;
  background: #fff;
}

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

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

.factory-video-grid video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: #0f171b;
  object-fit: cover;
}

.factory-video-grid strong {
  font-size: 15px;
}

.factory-video-grid span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.forms {
  background: #fff;
}

.lead-paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.lead-paths p {
  color: var(--muted);
  line-height: 1.55;
}

.lead-paths a {
  color: var(--accent);
  font-weight: 800;
}

.quote-section {
  padding: 72px clamp(18px, 5vw, 72px);
  background: var(--ink);
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 38px);
  border-radius: 8px;
  background: #fff;
}

.quote-form > div,
.quote-form .wide {
  grid-column: 1 / -1;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(23, 32, 38, 0.58);
}

.modal.is-open {
  display: flex;
}

.modal-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1fr);
  gap: 28px;
  width: min(1040px, 100%);
  max-height: 92vh;
  overflow: auto;
  padding: 22px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.icon-button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.close-modal {
  position: absolute;
  top: 12px;
  right: 12px;
}

.modal-gallery > img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fafafa;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.thumb-row button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0;
  cursor: pointer;
}

.thumb-row img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.spec-table {
  display: grid;
  grid-template-columns: 150px 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.spec-table dt,
.spec-table dd {
  margin: 0;
  padding: 11px 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.spec-table dt {
  background: var(--soft);
  color: #405057;
  font-weight: 800;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  background: #0f171b;
  color: #fff;
}

footer div {
  display: grid;
  gap: 4px;
}

footer span {
  color: rgba(255, 255, 255, 0.64);
}

footer a {
  color: #8fe0d7;
  font-weight: 800;
}

svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero,
  .split,
  .supply-video,
  .modal-panel {
    grid-template-columns: 1fr;
  }

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

  .category-band,
  .detail-grid,
  .lead-paths {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: auto;
  }

  .trust-strip,
  .catalog-toolbar,
  .product-grid,
  .category-band,
  .process-list,
  .detail-grid,
  .factory-video-grid,
  .lead-paths,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .header-cta {
    padding: 0 12px;
  }

  h1 {
    font-size: 40px;
  }
}
