:root {
  --bg: #f8f9fb;
  --surface: #ffffff;
  --surface-soft: #eef2f6;
  --text: #172033;
  --muted: #647084;
  --line: #dfe5ed;
  --navy: #12345a;
  --navy-deep: #0d2745;
  --accent: #2f6fb5;
  --white: #ffffff;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 72px;
  padding: 0 32px;
  border-bottom: 1px solid rgba(223, 229, 237, 0.9);
  background: rgba(248, 249, 251, 0.86);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 206px;
}

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

.brand span {
  display: grid;
  gap: 4px;
  line-height: 1;
}

.brand strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.brand em {
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 34px;
}

nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

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

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

.lang {
  min-width: 42px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
}

.lang.active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.small-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
}

.small-cta {
  min-height: 34px;
  padding: 0 14px;
  background: var(--navy);
  color: var(--white);
}

.button {
  padding: 0 24px;
}

.button.primary {
  background: var(--white);
  color: var(--navy);
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.button.secondary {
  width: 100%;
  border: 0;
  background: var(--surface);
  color: var(--navy);
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  color: var(--white);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  transform: scale(1.05);
  background: url("assets/hero-factory.png") center / cover no-repeat;
  filter: blur(2px);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(2, 10, 24, 0.66), rgba(6, 19, 39, 0.76)),
    rgba(18, 52, 90, 0.66);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 880px;
  margin: 0 auto;
  padding: 144px 28px 128px;
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

h1 {
  max-width: 820px;
  margin: 30px 0 0;
  color: var(--white);
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 850;
  line-height: 0.98;
}

.hero-lead {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 650;
}

.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 42px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1180px;
  margin: -54px auto 0;
  position: relative;
  z-index: 2;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 20px 50px rgba(20, 35, 56, 0.08);
}

.metrics div {
  display: grid;
  gap: 8px;
  min-height: 108px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.metrics div:last-child {
  border-right: 0;
}

.metrics strong {
  color: var(--navy);
  font-size: 24px;
  line-height: 1;
}

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

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 28px;
}

.statement-grid,
.company,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
}

h2 {
  margin: 12px 0 0;
  color: var(--text);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.14;
}

.statement p,
.company p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.82;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.chips span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.product-lines {
  max-width: none;
  background: var(--surface-soft);
}

.product-lines > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  margin-bottom: 42px;
}

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

.line-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(20, 35, 56, 0.06);
}

.line-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 10px;
  background: #eef2f6;
}

.line-grid div {
  display: flex;
  min-height: 350px;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
}

h3 {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.35;
}

.line-grid p,
.application-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.spec-list {
  display: grid;
  gap: 1px;
  margin: 4px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--line);
  list-style: none;
}

.spec-list li {
  display: grid;
  grid-template-columns: minmax(72px, 0.82fr) minmax(0, 1.18fr);
  gap: 10px;
  align-items: center;
  min-height: 34px;
  padding: 8px 10px;
  background: var(--surface);
}

.spec-list span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.spec-list strong {
  color: var(--navy);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.3;
}

.line-grid a {
  margin-top: auto;
  min-height: 42px;
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 750;
  font-size: 14px;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  gap: 1px;
}

.application-grid article {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 210px;
  padding: 30px;
  background: var(--surface);
}

.application-grid span {
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  font-weight: 800;
}

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

table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

th,
td {
  padding: 22px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

td {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

td strong {
  color: var(--navy);
  font-family: "SFMono-Regular", Consolas, monospace;
}

.facts,
.contact-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 34px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.facts div,
.contact-list div {
  padding: 22px;
  background: var(--surface);
}

dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

dd {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 750;
}

.contact {
  max-width: none;
  margin: 0;
  padding-left: max(28px, calc((100vw - 1180px) / 2 + 28px));
  padding-right: max(28px, calc((100vw - 1180px) / 2 + 28px));
  background: var(--navy-deep);
  color: var(--white);
}

.contact h2,
.contact h3 {
  color: var(--white);
}

.contact p,
.contact-list dt,
.quote-form p {
  color: rgba(255, 255, 255, 0.7);
}

.contact-list {
  grid-template-columns: 1fr;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.14);
}

.contact-list div {
  background: rgba(255, 255, 255, 0.06);
}

.contact-list dd {
  color: var(--white);
}

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-self: start;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.quote-form label,
.quote-form .full {
  display: grid;
  gap: 8px;
}

.quote-form .full,
.quote-form button,
.quote-form p {
  grid-column: 1 / -1;
}

.quote-form span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  outline: none;
}

input,
select {
  height: 42px;
  padding: 0 12px;
}

textarea {
  resize: vertical;
  padding: 12px;
  line-height: 1.6;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px max(28px, calc((100vw - 1180px) / 2 + 28px));
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
}

.site-footer span:first-child {
  color: var(--text);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
    min-height: auto;
    padding: 16px 20px;
  }

  nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 14px;
  }

  .small-cta {
    display: none;
  }

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

  .statement-grid,
  .company,
  .contact {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 620px) {
  .brand {
    min-width: 0;
  }

  .brand em {
    display: none;
  }

  nav a {
    font-size: 13px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    padding: 112px 20px 96px;
  }

  .hero-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .metrics,
  .line-grid,
  .application-grid,
  .facts {
    grid-template-columns: 1fr;
  }

  .metrics {
    margin: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .metrics div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 72px 20px;
  }

  .line-grid div {
    min-height: 0;
  }

  .quote-form {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .site-footer {
    flex-direction: column;
  }
}
