:root {
  --ink: #101522;
  --muted: #667085;
  --line: #e6e8ef;
  --paper: #f6f7f9;
  --white: #fff;
  --navy: #111a56;
  --red: #e93228;
  --steel: #dfe3ea;
  --shadow: 0 22px 70px rgba(16, 21, 34, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font-weight: 800;
  color: var(--navy);
}
.brand img {
  width: 128px;
  height: auto;
  border: 1px solid var(--line);
  background: white;
}
.brand span { font-size: 13px; text-transform: uppercase; }
.menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.menu a {
  padding: 12px 13px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  color: #263044;
}
.menu a[aria-current="page"] { color: var(--red); }
.menu .cta-link {
  margin-left: 8px;
  color: white;
  background: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  white-space: nowrap;
}
.menu .cta-link[aria-current="page"] {
  color: white;
  background: #080d22;
}
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--navy);
}
.menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: white;
}
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  min-height: 560px;
  background: #0c122d;
  color: white;
}
.page-hero.compact { min-height: 380px; }
.page-hero.config-hero {
  min-height: 0;
  height: 420px;
}
.page-hero.config-hero .hero-copy {
  padding-top: 34px;
  padding-bottom: 34px;
}
.page-hero.config-hero h1 {
  font-size: clamp(29px, 2.45vw, 38px);
}
.page-hero.config-hero .lead {
  max-width: 620px;
  font-size: 17px;
  line-height: 1.5;
}
.page-hero.config-hero .hero-media {
  min-height: 0;
  height: 100%;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 6vw, 78px) clamp(22px, 5vw, 72px);
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(34px, 3.8vw, 58px);
  line-height: 1.08;
  font-weight: 900;
}
h2 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(30px, 3.2vw, 52px);
  line-height: 1.08;
  font-weight: 900;
  overflow-wrap: anywhere;
}
h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.18;
}
.lead {
  max-width: 690px;
  color: rgba(255,255,255,.78);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.65;
}
.hero-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12,18,45,.65), rgba(12,18,45,.05));
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  text-decoration: none;
  font-weight: 900;
  border: 1px solid transparent;
}
.button.primary { color: white; background: var(--red); }
.button.secondary { color: white; border-color: rgba(255,255,255,.32); }
.section {
  padding: clamp(64px, 8vw, 110px) clamp(20px, 5vw, 72px);
}
.section.config-chooser {
  padding-top: 34px;
  padding-bottom: 34px;
}
.config-chooser .section-head {
  margin-bottom: 22px;
}
.config-chooser h2 {
  font-size: clamp(28px, 2.4vw, 38px);
  max-width: 620px;
}
.section.alt { background: var(--paper); }
.section.dark { color: white; background: var(--navy); }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}
.section-head p {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.7;
}
.dark .section-head p { color: rgba(255,255,255,.72); }
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.card {
  min-height: 230px;
  padding: 26px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(16,21,34,.03);
}
.dark .card {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.14);
}
.card .num {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--red);
  font-weight: 900;
}
.card p,
.rich p,
.list li {
  color: #475467;
  line-height: 1.7;
}
.dark .card p { color: rgba(255,255,255,.73); }
.feature-band {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 32px;
  align-items: center;
}
.feature-band img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 30px;
  background: var(--line);
}
.stats div {
  padding: 22px;
  background: white;
}
.stats strong {
  display: block;
  color: var(--navy);
  font-size: 28px;
}
.gallery-full {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
.gallery-preview {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.gallery-preview img,
.gallery-full img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  background: var(--steel);
  cursor: zoom-in;
}
.gallery-full figure {
  grid-column: span 4;
  margin: 0;
  overflow: hidden;
  background: var(--steel);
}
.gallery-preview figure {
  margin: 0;
  overflow: hidden;
  background: var(--steel);
}
.gallery-preview img {
  aspect-ratio: 4 / 5;
  min-height: 360px;
}
.gallery-link-row {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
.gallery-full figure:nth-child(6n+1),
.gallery-full figure:nth-child(6n+4) { grid-column: span 5; }
.gallery-full figure:nth-child(6n+2),
.gallery-full figure:nth-child(6n+3),
.gallery-full figure:nth-child(6n+5),
.gallery-full figure:nth-child(6n+6) { grid-column: span 3; }
.specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}
.specs div {
  padding: 24px;
  background: white;
}
.specs dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
.specs dd {
  margin: 10px 0 0;
  color: var(--navy);
  font-size: 25px;
  font-weight: 900;
}
.table-wrap {
  overflow-x: auto;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}
caption {
  padding: 20px 22px;
  text-align: left;
  color: var(--navy);
  font-weight: 900;
}
th, td {
  padding: 15px 18px;
  border-top: 1px solid var(--line);
  text-align: left;
}
th {
  color: white;
  background: var(--navy);
}
.table-grid {
  display: grid;
  gap: 28px;
}
.element-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.part-card {
  min-height: 260px;
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(16,21,34,.03);
}
.part-card-wide {
  grid-column: span 2;
}
.part-card img {
  width: 100%;
  height: 170px;
  object-fit: contain;
  padding: 8px;
  background: #f8f9fb;
  cursor: zoom-in;
}
.part-card h3 {
  margin-top: 16px;
  font-size: 19px;
}
.part-card p {
  color: var(--muted);
  line-height: 1.55;
}
.cta-panel {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: center;
  padding: clamp(34px, 5vw, 58px);
  color: white;
  background: linear-gradient(135deg, var(--navy), #090e27);
  min-width: 0;
}
.contact-box {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.07);
  min-width: 0;
}
.contact-box a {
  display: block;
  margin-bottom: 10px;
  color: white;
  font-size: 22px;
  font-weight: 900;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 42px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}
.footer img { width: 118px; margin-bottom: 16px; }
.footer p {
  color: #475467;
  line-height: 1.7;
}
.footer a {
  color: var(--navy);
  font-weight: 900;
}
.footer-note {
  max-width: 620px;
}
.download-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: white;
  background: var(--navy);
}
.download-strip p { margin: 0; color: rgba(255,255,255,.78); }
.download-strip strong { display: block; color: white; font-size: 20px; }
.configurator-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.configurator-card {
  text-align: center;
  text-decoration: none;
  color: var(--ink);
}
.configurator-card img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  padding: 10px;
  background: transparent;
}
.configurator-card h3 {
  margin-top: 16px;
  min-height: 48px;
  font-size: 19px;
}
.configurator-card p { color: var(--muted); }
.configurator-card.is-active img {
  outline: 4px solid var(--red);
  outline-offset: -4px;
}
.config-section { display: none; }
.config-section.is-active { display: block; }
.configurator {
  display: grid;
  grid-template-columns: minmax(320px, .62fr) minmax(460px, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  margin-top: 20px;
}
.config-visual {
  position: static;
  height: 420px;
  overflow: hidden;
  background: transparent;
}
.config-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.config-form,
.contact-form {
  padding: clamp(24px, 4vw, 44px);
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.config-form h2,
.contact-form h2 {
  margin-bottom: 10px;
  font-size: clamp(26px, 2.4vw, 38px);
  text-align: center;
}
.form-grid {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.field label {
  display: block;
  margin-bottom: 5px;
  color: #283044;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #8a93a5;
  padding: 10px 12px;
  color: var(--ink);
  background: white;
  font: inherit;
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.submit-status {
  display: none;
  margin-top: 18px;
  padding: 16px;
  background: #eef8f1;
  border: 1px solid #b9e4c4;
  color: #175d2a;
  line-height: 1.6;
}
.submit-status.is-visible { display: block; }
.mailto-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--navy);
  font-weight: 900;
}
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(5, 8, 22, .86);
}
.image-lightbox.is-open { display: flex; }
.image-lightbox img {
  max-width: min(1200px, 94vw);
  max-height: 88vh;
  object-fit: contain;
  background: white;
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
}
.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 0;
  color: white;
  background: var(--red);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 980px) {
  .menu-button { display: block; }
  .menu {
    position: fixed;
    top: 74px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: white;
    box-shadow: var(--shadow);
  }
  .menu.is-open { display: flex; }
  .page-hero,
  .feature-band,
  .cta-panel,
  .footer {
    grid-template-columns: 1fr;
  }
  .grid-3,
  .grid-4,
  .specs,
  .element-gallery,
  .configurator-cards,
  .stats { grid-template-columns: 1fr 1fr; }
  .gallery-preview { grid-template-columns: repeat(2, 1fr); }
  .configurator { grid-template-columns: 1fr; }
  .config-visual {
    position: static;
    height: 320px;
  }
}

@media (max-width: 640px) {
  .brand span { display: none; }
  .brand img { width: 118px; }
  h1 { font-size: 34px; }
  h2 { font-size: 29px; }
  .hero-copy { padding: 42px 20px; }
  .grid-3,
  .grid-4,
  .specs,
  .element-gallery,
  .configurator-cards,
  .form-row,
  .stats { grid-template-columns: 1fr; }
  .part-card-wide { grid-column: span 1; }
  .section-head { display: block; }
  .config-visual { height: 260px; }
  .gallery-preview figure,
  .gallery-full figure,
  .gallery-full figure:nth-child(6n+1),
  .gallery-full figure:nth-child(6n+4),
  .gallery-full figure:nth-child(6n+2),
  .gallery-full figure:nth-child(6n+3),
  .gallery-full figure:nth-child(6n+5),
  .gallery-full figure:nth-child(6n+6) {
    grid-column: span 12;
  }
  .gallery-preview { grid-template-columns: 1fr; }
}
