:root {
  --page: #dfe9ef;
  --ink: #162833;
  --muted: #5c6c76;
  --brand: #06345c;
  --brand-2: #0d6b9f;
  --accent: #f58220;
  --line: #dce8ee;
  --panel: #ffffff;
  --soft: #eef5f8;
  --shadow: 0 10px 28px rgba(19, 51, 72, 0.12);
  --wrap: 1020px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #edf4f7 0, var(--page) 420px, #d8e3e9 100%);
  color: var(--ink);
  font-family: Arial, Tahoma, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

a {
  color: var(--brand-2);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--accent);
}

.site {
  width: min(var(--wrap), calc(100vw - 32px));
  min-height: 0;
  margin: 18px auto;
  border: 1px solid #cbd9e0;
  background: var(--panel);
  box-shadow: 0 14px 34px rgba(25, 55, 74, 0.12);
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 78px;
  margin: 0;
  padding: 14px 22px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.logo {
  display: inline-flex;
  align-items: center;
  width: 185px;
}

.logo img {
  display: block;
  width: 168px;
  height: auto;
}

.top-summary {
  width: 570px;
  color: var(--muted);
  text-align: right;
}

.top-summary strong {
  display: block;
  margin-bottom: 3px;
  color: var(--brand);
  font-size: 18px;
  line-height: 1.2;
}

.top-summary span {
  display: block;
  font-size: 13px;
}

.top-summary .contact-line {
  display: inline-block;
  margin-top: 10px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7fbfd;
  color: var(--brand);
  font-weight: 700;
}

.main-nav {
  position: static;
  z-index: 20;
  width: calc(100% - 44px);
  margin: 14px 22px 16px;
  border: 1px solid #ccdbe3;
  border-radius: 6px;
  background: #f8fbfd;
  box-shadow: none;
  overflow: hidden;
}

.main-nav ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  display: block;
  min-height: 44px;
  padding: 0 12px;
  border-right: 1px solid var(--line);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  line-height: 44px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
}

.main-nav li:last-child a {
  border-right: 0;
}

.main-nav a:hover,
.main-nav a:focus {
  background: #fff6ee;
  color: var(--accent);
}

.main-nav a.active {
  background: var(--brand);
  color: #fff;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  width: calc(100% - 44px);
  min-height: 285px;
  margin: 0 auto;
  border: 1px solid #c8d7df;
  border-radius: 6px;
  overflow: hidden;
  background: #0d2738;
}

.hero-home {
  min-height: 310px;
}

.hero.hero-compact {
  min-height: 220px;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.96) contrast(1.04);
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(4, 25, 40, 0.76), rgba(4, 25, 40, 0.42) 54%, rgba(4, 25, 40, 0.08));
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  margin: 0;
  padding: 32px;
  color: #fff;
}

.hero-copy h1 {
  max-width: 590px;
  margin: 0 0 14px;
  color: #fff;
  font-size: 36px;
  line-height: 1.08;
}

.hero-compact .hero-copy h1 {
  font-size: 30px;
}

.hero-copy p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.content {
  width: 100%;
  margin: 0;
  padding: 26px 22px 36px;
}

.content.compact {
  padding-top: 22px;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--brand);
  font-weight: 800;
  line-height: 1.22;
}

.content h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: 28px;
}

h2 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 22px;
}

h3 {
  margin-top: 20px;
  margin-bottom: 8px;
  font-size: 17px;
}

p {
  margin: 11px 0;
}

ul {
  margin: 10px 0 16px;
  padding-left: 22px;
}

li {
  margin: 4px 0;
}

.lead {
  max-width: 820px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}

.button-row {
  margin: 22px 0 0;
}

.hero .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero .button-row .button {
  margin: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  min-width: 142px;
  margin: 0 10px 10px 0;
  padding: 0 18px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(245, 130, 32, 0.18);
}

.button:hover,
.button:focus {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  text-decoration: none;
}

.hero .button:hover,
.hero .button:focus {
  border-color: #fff;
  background: #fff;
  color: var(--brand);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.button.secondary:hover,
.button.secondary:focus {
  background: #fff;
  color: var(--brand);
}

.intro-band {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
}

.intro-copy {
  padding: 0;
}

.stat-strip {
  display: grid;
  gap: 10px;
}

.stat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 24px rgba(19, 51, 72, 0.08);
}

.stat strong {
  display: block;
  color: var(--brand);
  font-size: 24px;
}

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

.feature-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.product-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.product-grid + .intro-band {
  margin-top: 28px;
}

.feature,
.product-card,
.service-box,
.contact-card {
  display: block;
  min-height: 160px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(19, 51, 72, 0.07);
}

.feature:hover,
.feature:focus,
.product-card:hover,
.product-card:focus {
  border-color: rgba(245, 130, 32, 0.55);
  color: var(--ink);
  text-decoration: none;
  transform: translateY(-2px);
}

.feature h2,
.product-card h2,
.service-box h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

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

.card-number {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.detail-copy {
  max-width: 680px;
}

.visual-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.visual-panel img {
  display: block;
  width: 100%;
  height: clamp(340px, 42vw, 440px);
  padding: 14px;
  object-fit: contain;
  object-position: center;
  background: var(--soft);
}

.visual-panel .caption {
  padding: 16px 18px;
  color: var(--muted);
  font-size: 13px;
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
}

.detail-list li {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}

.detail-list.link-list li {
  padding: 0;
}

.detail-list a {
  display: block;
  min-height: 100%;
  padding: 12px 14px;
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

.detail-list a:hover,
.detail-list a:focus {
  color: var(--accent);
}

.section-image {
  float: right;
  max-width: 260px;
  max-height: 220px;
  margin: 4px 0 16px 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 24px rgba(19, 51, 72, 0.12);
}

.clear {
  clear: both;
}

.subnav {
  display: none;
}

.service-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

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

.reference-item {
  display: block;
  min-height: 224px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
  box-shadow: 0 8px 22px rgba(19, 51, 72, 0.08);
}

.reference-item:hover,
.reference-item:focus {
  border-color: rgba(245, 130, 32, 0.55);
  color: var(--muted);
  text-decoration: none;
  transform: translateY(-2px);
}

.reference-item img {
  display: block;
  width: 100%;
  height: 128px;
  margin: 0 0 10px;
  border-radius: 8px;
  background: var(--soft);
  object-fit: cover;
}

.reference-item strong,
.reference-item span {
  display: block;
}

.reference-item strong {
  color: var(--brand);
  font-size: 14px;
}

.reference-item span {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.35;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}

.contact-card h2:first-child {
  margin-top: 0;
}

.data-list {
  margin: 0;
}

.data-list dt {
  margin-top: 13px;
  color: var(--brand);
  font-weight: 800;
}

.data-list dd {
  margin: 2px 0 0;
}

.form-row {
  margin-bottom: 13px;
}

.form-row.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row label {
  display: block;
  margin-bottom: 5px;
  color: var(--brand);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #c9d8df;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-family: Arial, Tahoma, sans-serif;
  font-size: 14px;
}

input:focus,
textarea:focus {
  border-color: var(--brand-2);
  outline: 2px solid rgba(13, 107, 159, 0.15);
}

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

button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 168px;
  padding: 0 18px;
  border: 1px solid var(--brand);
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  font-family: Arial, Tahoma, sans-serif;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(6, 52, 92, 0.18);
}

button:hover,
button:focus {
  border-color: var(--accent);
  background: var(--accent);
}

button:disabled {
  border-color: #8ea6b4;
  background: #8ea6b4;
  cursor: wait;
}

.form-status {
  min-height: 20px;
  margin-top: 10px;
  color: var(--brand);
  font-size: 12px;
}

.form-status.error {
  color: #9b1c1c;
}

.footer {
  width: auto;
  min-height: 70px;
  margin: 0 22px;
  padding: 18px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer strong {
  color: var(--brand);
}

.footer .right {
  float: right;
  text-align: right;
}

@media (max-width: 900px) {
  .site {
    width: 100%;
    min-height: 0;
    margin: 0;
    border-right: 0;
    border-left: 0;
  }

  .top,
  .top-summary {
    display: block;
    text-align: left;
  }

  .top-summary {
    width: auto;
    margin-top: 10px;
  }

  .top {
    padding-right: 16px;
    padding-left: 16px;
  }

  .main-nav {
    position: static;
    width: calc(100% - 32px);
    margin: 12px 16px 14px;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .main-nav ul {
    display: flex;
    width: max-content;
    min-width: 100%;
  }

  .main-nav li {
    flex: 0 0 120px;
  }

  .main-nav a {
    min-width: 120px;
  }

  .hero,
  .hero-home {
    width: calc(100% - 32px);
    min-height: 260px;
  }

  .hero.hero-compact {
    min-height: 210px;
  }

  .hero-copy {
    width: 100%;
    max-width: 560px;
    padding: 26px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: 30px;
    line-height: 1.12;
  }

  .hero .button {
    min-width: 0;
  }

  .intro-band,
  .detail-layout,
  .service-columns,
  .contact-layout,
  .product-grid.three,
  .feature-grid,
  .reference-grid {
    grid-template-columns: 1fr;
  }

  .content {
    padding-right: 16px;
    padding-left: 16px;
  }

  .footer {
    margin-right: 16px;
    margin-left: 16px;
  }
}

@media (max-width: 520px) {
  .hero-copy {
    padding: 22px;
  }

  .hero-copy h1,
  .hero-compact .hero-copy h1 {
    font-size: 26px;
  }

  .hero-copy p {
    font-size: 16px;
  }
}
