﻿:root {
  --navy: #071629;
  --navy-2: #0c2442;
  --blue: #1261b6;
  --blue-2: #edf5ff;
  --green: #16a37a;
  --green-2: #edfdf7;
  --ink: #162033;
  --muted: #5e6b7e;
  --line: #dbe5f1;
  --surface: #ffffff;
  --soft: #f7fafc;
  --radius: 4px;
  --shadow: 0 14px 28px rgba(7, 22, 41, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 1001;
  background: var(--green);
  color: var(--navy);
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.nav-wrap, .container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}
.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 3px;
  background: var(--navy);
  display: grid;
  place-items: center;
  color: white;
  font-size: 14px;
  border-left: 4px solid var(--green);
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  margin-top: -4px;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  padding: 10px 11px;
  border-radius: 6px;
  color: #314159;
  font-size: 14px;
  font-weight: 700;
}
.main-nav a:hover, .main-nav a:focus, .main-nav a.active {
  color: var(--blue);
  background: transparent;
  outline: none;
}

.hero {
  color: white;
  background:
    linear-gradient(90deg, rgba(4, 12, 23, 0.9) 0%, rgba(6, 17, 31, 0.78) 46%, rgba(6, 17, 31, 0.42) 100%),
    url("../images/manufacturing-hero.svg") center/cover no-repeat;
  min-height: 640px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--green), var(--blue));
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: block;
  padding: 104px 0 92px;
}
.hero-copy {
  max-width: 790px;
  padding: 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--green);
}
h1, h2, h3 {
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 16px;
}
.hero h1 {
  color: white;
  font-size: clamp(40px, 6vw, 64px);
  max-width: 780px;
  margin-top: 16px;
}
.hero p {
  max-width: 620px;
  color: #d7e4f5;
  font-size: 19px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  max-width: 820px;
}
.hero-badges span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border-left: 3px solid var(--green);
  background: rgba(255, 255, 255, 0.12);
  color: #edf7ff;
  padding: 8px 13px;
  font-weight: 800;
  font-size: 13px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 3px;
  border: 1px solid transparent;
  background: var(--blue);
  color: white;
  font-weight: 800;
  cursor: pointer;
}
.btn:hover, .btn:focus { background: #0f58b8; outline: 3px solid rgba(23, 105, 210, 0.2); }
.btn.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn.secondary:hover, .btn.secondary:focus { background: rgba(255, 255, 255, 0.12); }
.btn.light {
  background: white;
  color: var(--blue);
  border-color: white;
}

main section { padding: 78px 0; }
.section-soft { background: linear-gradient(180deg, #fbfdff, var(--soft)); }
.section-dark {
  background:
    linear-gradient(90deg, rgba(7, 22, 41, 0.96), rgba(7, 22, 41, 0.9)),
    url("../images/circuit-pattern.svg") center/cover no-repeat;
  color: #dce7f5;
}
.section-dark h2, .section-dark h3 { color: white; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 34px;
}
.section-head p, .lead {
  color: var(--muted);
  max-width: 720px;
  margin: 0;
}
.section-dark .lead, .section-dark .section-head p { color: #c4d3e6; }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 22px; }

.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: 22px;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: white;
  border: 1px solid #e2eaf3;
  border-top: 3px solid var(--green);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: none;
}
.section-dark .card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}
.card p { color: var(--muted); margin: 0; }
.section-dark .card p { color: #c4d3e6; }
.icon-box {
  width: 42px;
  height: 42px;
  border-radius: 2px;
  background: var(--navy);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 18px;
}
.service-card {
  display: flex;
  flex-direction: column;
  min-height: 238px;
}
.service-card a {
  color: var(--blue);
  font-weight: 800;
  margin-top: auto;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.76)),
    url("../images/manufacturing-hero.svg") center/cover no-repeat;
  color: var(--ink);
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34%;
  height: 4px;
  background: var(--green);
}
.page-hero h1 { color: var(--navy); font-size: clamp(34px, 5vw, 52px); max-width: 850px; }
.page-hero p { color: var(--muted); max-width: 760px; font-size: 18px; }
.breadcrumbs {
  color: #66758a;
  font-size: 14px;
  margin-bottom: 18px;
}
.breadcrumbs a { color: var(--blue); font-weight: 700; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}
.visual-frame {
  border-radius: 2px;
  border: 0;
  overflow: hidden;
  box-shadow: none;
  background: #0b1728;
  border-left: 5px solid var(--green);
}
.factory-image-frame {
  min-height: 430px;
  border-radius: 3px;
  overflow: hidden;
  background: #071629;
  border-left: 5px solid var(--green);
  box-shadow: 0 18px 36px rgba(7, 22, 41, 0.12);
}
.factory-image-frame img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}
.list-check {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 12px;
}
.list-check li {
  padding-left: 30px;
  position: relative;
}
.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 5px #dff8ef;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}
th, td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
th {
  background: var(--navy);
  color: white;
}
tr:last-child td { border-bottom: 0; }

.cta-band {
  background:
    linear-gradient(90deg, rgba(7, 22, 41, 0.96), rgba(18, 97, 182, 0.84)),
    url("../images/manufacturing-hero.svg") center/cover no-repeat;
  color: white;
  border-radius: var(--radius);
  padding: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}
.cta-band h2 { color: white; margin-bottom: 10px; }
.cta-band p { margin: 0; max-width: 680px; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.field.full { grid-column: 1 / -1; }
label {
  display: block;
  font-weight: 800;
  margin-bottom: 7px;
  color: var(--navy);
}
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 13px 14px;
  min-height: 46px;
  background: white;
  color: var(--ink);
}
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus {
  outline: 3px solid rgba(23, 105, 210, 0.18);
  border-color: var(--blue);
}
.form-note {
  margin-top: 14px;
  color: var(--green);
  font-weight: 800;
  min-height: 24px;
}
.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.blog-list {
  display: grid;
  gap: 20px;
}
.blog-item {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 20px;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.blog-date {
  background: var(--blue-2);
  color: var(--blue);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  font-weight: 800;
}

.site-footer {
  background: var(--navy);
  color: #c7d5e7;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 28px;
}
.site-footer h2, .site-footer h3 { color: white; }
.site-footer h2 { font-size: 28px; }
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.site-footer a:hover, .site-footer a:focus { color: var(--green); outline: none; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 34px;
  padding-top: 20px;
  color: #92a5bc;
  font-size: 14px;
}

@media (max-width: 980px) {
  .split, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 760px) {
  .nav-wrap { min-height: 68px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: white;
    border-bottom: 1px solid var(--line);
    padding: 10px 16px 18px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 12px; }
  .hero { min-height: auto; }
  .split, .grid-2, .grid-3, .grid-4, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 70px 0; }
  .hero h1 { font-size: 40px; }
  main section { padding: 56px 0; }
  .hero-badges { gap: 8px; }
  .hero-badges span { width: 100%; }
  .cta-band { align-items: flex-start; flex-direction: column; padding: 28px; }
  .blog-item { grid-template-columns: 1fr; }
  .factory-image-frame, .factory-image-frame img { min-height: 300px; }
}

