:root {
  --navy: #071018;
  --navy-2: #101a28;
  --ink: #142033;
  --muted: #5a6a7c;
  --paper: #f2f4f6;
  --white: #fff;
  --line: rgba(12, 24, 40, .1);
  --siemens: #0aa3a0;
  --keyence: #d01232;
  --gold: #c4a574;
  --max: 1160px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Golos Text", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
h1, h2, h3, .logo, .display {
  font-family: "Golos Text", "Segoe UI", sans-serif;
  letter-spacing: -.01em;
  line-height: 1.2;
  font-weight: 700;
}

.topbar {
  background: var(--navy);
  color: #9eafc0;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; flex-wrap: wrap; }
.topbar b { color: #fff; font-weight: 600; }

header.site {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: 20px;
}
.logo { display: flex; align-items: center; gap: 12px; font-size: 18px; letter-spacing: .06em; }
.logo-mark {
  width: 38px; height: 38px; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-size: 10px; letter-spacing: .04em;
}
.logo em { font-style: normal; color: var(--siemens); }
nav.main { display: flex; gap: 26px; font-size: 14px; font-weight: 600; }
nav.main a { position: relative; }
nav.main a:hover, nav.main a.is-on { color: var(--siemens); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 22px; background: var(--navy); color: #fff;
  font-family: "Golos Text", sans-serif; font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; font-weight: 600; border: 0; cursor: pointer;
}
.btn:hover { background: #122033; }
.btn.light { background: #fff; color: var(--navy); }
.btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn.ghost:hover { background: #fff; color: var(--navy); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; font-size: 20px; }

.hero {
  min-height: 88vh; color: #fff; display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: #071018 center/cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,16,24,.88) 8%, rgba(7,16,24,.45) 70%, rgba(7,16,24,.28));
}
.hero .wrap { position: relative; z-index: 1; padding: 88px 0 92px; max-width: 820px; margin-left: max(24px, calc((100% - var(--max)) / 2)); }
.kicker {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 18px;
}
h1 { font-size: clamp(36px, 5.4vw, 62px); max-width: 13ch; }
.lead { margin-top: 22px; max-width: 46ch; color: #d5dee8; font-size: 18px; font-weight: 400; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }

.page-hero {
  color: #fff; padding: 92px 0 64px; position: relative;
  background: #0b1624 center/cover no-repeat;
}
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,16,24,.55), rgba(7,16,24,.78)); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(32px, 4.5vw, 52px); max-width: 16ch; }
.page-hero p { margin-top: 14px; color: #d7e0ea; max-width: 52ch; }

section { padding: 84px 0; }
.sec-kicker { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--siemens); font-weight: 700; margin-bottom: 12px; }
h2.sec { font-size: clamp(28px, 3.5vw, 42px); max-width: 16ch; }
.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.prose p { color: var(--muted); margin-top: 16px; font-size: 17px; }
.prose p + p { margin-top: 12px; }

.photo-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; }
.photo-grid .stack { display: grid; gap: 14px; }
.shot {
  position: relative; overflow: hidden; min-height: 220px; background: #111;
}
.shot img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px; color: #fff; font-size: 13px; font-weight: 600;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
}

.brands { display: grid; grid-template-columns: 1fr 1fr; }
.brand {
  min-height: 460px; color: #fff; padding: 56px 44px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 16px;
  position: relative; overflow: hidden;
}
.brand img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.brand::after { content: ""; position: absolute; inset: 0; }
.brand.siemens::after { background: linear-gradient(180deg, rgba(6,70,72,.15), rgba(6,70,72,.88)); }
.brand.keyence::after { background: linear-gradient(180deg, rgba(110,12,28,.2), rgba(110,12,28,.9)); }
.brand > * { position: relative; z-index: 1; }
.brand h3 { font-size: clamp(30px, 3vw, 42px); }
.brand p { max-width: 38ch; color: #f0f4f7; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.card {
  border: 1px solid var(--line); background: #fff; overflow: hidden;
}
.card img { width: 100%; height: 190px; object-fit: cover; background: #eceff2; }
.card .pad { padding: 20px 20px 24px; }
.card em { font-style: normal; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.card.siemens em { color: var(--siemens); }
.card.keyence em { color: var(--keyence); }
.card h3 { font-size: 22px; margin: 8px 0 8px; }
.card p { color: var(--muted); font-size: 14px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 28px; }
.stats div { background: var(--paper); padding: 24px; }
.stats b { display: block; font-family: "Golos Text", sans-serif; font-size: 26px; margin-bottom: 6px; font-weight: 700; }
.stats span { color: var(--muted); font-size: 14px; }

.paper { background: var(--paper); }
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 36px; }
.why article { border-top: 2px solid var(--navy); padding-top: 16px; }
.why h3 { font-size: 18px; margin-bottom: 8px; }
.why p { color: var(--muted); font-size: 14px; }

.cta { background: var(--navy); color: #fff; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.cta p { color: #b7c4d2; margin-top: 10px; }

.form {
  display: grid; gap: 14px; background: #fff; border: 1px solid var(--line); padding: 28px;
}
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.form input, .form select, .form textarea {
  height: 46px; border: 1px solid var(--line); padding: 0 12px;
  font: 16px "Golos Text", sans-serif; color: var(--ink);
}
.form textarea { height: 140px; padding: 12px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-aside { background: var(--navy); color: #fff; padding: 32px; }
.contact-aside a { color: #9fe0dc; }
.contact-aside p { color: #c5d0dc; margin: 10px 0 22px; }

.legal { max-width: 760px; }
.legal h2 { font-size: 22px; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--muted); margin-top: 10px; }
.legal ul { padding-left: 18px; }

.home-shop-lead { color: var(--muted); max-width: 640px; margin: -8px 0 28px; }
.home-products {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
}
.home-product {
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.home-product-media {
  display: block;
  background: #f7f8fa;
  border-bottom: 1px solid var(--line);
}
.home-product-media img,
.home-product-img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin: 0;
  padding: 12px;
}
.home-product-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.home-product-body h3 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  min-height: 3.8em;
}
.home-product-price {
  color: var(--siemens);
  font-weight: 700;
  font-size: 16px;
}
.home-product-body .btn {
  margin-top: auto;
  height: 40px;
  font-size: 11px;
  width: 100%;
}
.home-shop-more {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

footer {
  background: #050b12; color: #93a3b4; padding: 48px 0 24px; font-size: 14px;
}
footer .top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.08); }
footer .logo { color: #fff; margin-bottom: 10px; }
footer a:hover { color: #fff; }
.copy { padding-top: 16px; font-size: 12px; }

@media (max-width: 1100px) {
  .home-products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  nav.main, header.site .btn.desk { display: none; }
  nav.main.open {
    display: flex; flex-direction: column; position: absolute;
    left: 0; right: 0; top: 76px; background: #fff; padding: 16px 22px 22px;
    border-bottom: 1px solid var(--line); gap: 14px;
  }
  .menu-btn { display: grid; place-items: center; }
  .split, .brands, .cards, .why, .cta .wrap, footer .top, .form .row, .photo-grid, .home-products { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .brand { min-height: 340px; padding: 36px 24px; }
}
