:root {
  --blue: #155f83;
  --blue-2: #1f7896;
  --slate: #3d4a56;
  --ink: #17252f;
  --muted: #637381;
  --teal: #15847d;
  --green: #25834b;
  --line: #d8e1e6;
  --soft: #f6f8f7;
  --paper: #ffffff;
  --shadow: 0 16px 40px rgba(23, 37, 47, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.58;
  font-size: 16px;
}
a { color: inherit; text-decoration: none; }
img, iframe, object { max-width: 100%; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.topbar {
  background: #123849;
  color: #edf7f6;
  font-size: 13px;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  flex-wrap: wrap;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--blue);
}
.mark {
  width: 52px;
  height: 52px;
  display: block;
  object-fit: contain;
  background: white;
  border: 1px solid var(--line);
  border-radius: 50%;
  padding: 3px;
}
.brand small {
  display: block;
  color: var(--muted);
  font-weight: 600;
  margin-top: -2px;
}
.links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.links a {
  padding: 10px 9px;
  border-radius: 6px;
  color: var(--slate);
  font-size: 14px;
  font-weight: 650;
}
.links a:hover, .links a.active {
  color: var(--blue);
  background: #eaf5f3;
}
.menu-btn { display: none; }

.hero {
  min-height: 620px;
  color: white;
  background:
    linear-gradient(90deg, rgba(18,56,73,.94) 0%, rgba(18,56,73,.80) 44%, rgba(18,56,73,.18) 100%),
    url("../images/engineering-hero.png") center/cover no-repeat;
  position: relative;
}
.hero::after, .page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}
.hero .wrap {
  position: relative;
  z-index: 1;
  padding: 98px 0 44px;
}
.eyebrow {
  color: #47b3a9;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
  font-size: 12px;
}
h1, h2, h3 { line-height: 1.12; letter-spacing: 0; }
h1 {
  font-size: clamp(38px, 5vw, 64px);
  margin: 14px 0 18px;
  max-width: 850px;
  font-weight: 800;
}
.hero p {
  font-size: clamp(18px, 1.7vw, 21px);
  max-width: 780px;
  color: #e4eeee;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}
.btn.primary { background: var(--green); color: white; }
.btn.secondary { background: white; color: var(--blue); }
.btn.ghost { border-color: rgba(255,255,255,.55); color: white; }
.btn.line { border-color: var(--line); background: white; color: var(--blue); }

.trust {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.20);
  margin-top: 70px;
}
.trust div {
  background: rgba(18, 56, 73, .74);
  padding: 16px;
  font-weight: 800;
  min-height: 78px;
}

.section { padding: 72px 0; background: white; }
.section.alt { background: var(--soft); }
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 28px;
}
.section-title h2 { font-size: clamp(28px, 3vw, 40px); margin: 0; color: var(--ink); }
.section-title p { max-width: 720px; color: var(--muted); margin: 8px 0 0; }

.grid { display: grid; gap: 18px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(23, 37, 47, .035);
}
.card h3 { margin: 8px 0 10px; color: var(--ink); font-size: 20px; }
.card p { color: var(--muted); margin: 0 0 14px; }
.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #c9e5dd;
  color: var(--green);
  border-radius: 8px;
  font-weight: 900;
}
.list { padding-left: 18px; color: var(--slate); }
.list li { margin: 8px 0; }
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat {
  background: #eef7f4;
  border-left: 4px solid var(--green);
  padding: 20px;
}
.stat strong { display: block; font-size: 28px; color: var(--blue); }

.page-head {
  position: relative;
  background: linear-gradient(120deg, #123849, #155f83 62%, #25834b);
  color: white;
  overflow: hidden;
}
.page-head .wrap { position: relative; z-index: 1; padding: 72px 0; }
.page-head h1 { font-size: clamp(36px, 5vw, 58px); margin: 8px 0 12px; }
.page-head p { max-width: 820px; color: #e4eeee; font-size: 18px; }

.info-table, .data-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.info-table th, .info-table td, .data-table th, .data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.data-table th { background: #eef7f4; color: var(--ink); }
.info-table th { width: 260px; color: var(--ink); background: #f4f7f6; }

.project-card {
  border-left: 4px solid var(--green);
}
.meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.pill {
  border: 1px solid var(--line);
  background: #f6fafc;
  color: var(--slate);
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.doc-card { padding: 0; overflow: hidden; }
.doc-preview {
  height: 220px;
  background: #eaf0f7;
  border-bottom: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.doc-preview iframe, .doc-preview img, .doc-preview object {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.doc-type {
  color: var(--green);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 900;
}
.doc-body { padding: 18px; }

.contact-layout { display: grid; grid-template-columns: .9fr 1.2fr; gap: 26px; }
form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
label { display: grid; gap: 6px; color: var(--slate); font-weight: 800; font-size: 14px; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
  background: white;
}
textarea, .full { grid-column: 1 / -1; }
textarea { min-height: 130px; resize: vertical; }
.map {
  min-height: 260px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(21,95,131,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21,95,131,.05) 1px, transparent 1px),
    white;
  background-size: 24px 24px;
  color: var(--muted);
  text-align: center;
  padding: 24px;
}
.map-embed {
  display: block;
  overflow: hidden;
  padding: 0;
  text-align: left;
}
.map-embed iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}
.map-caption {
  padding: 16px 18px;
  color: var(--slate);
  background: white;
}
.map-caption a {
  color: var(--blue);
  font-weight: 800;
}

.footer {
  background: #123849;
  color: #e3eeee;
  padding: 54px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer h3 { color: white; margin-top: 0; }
.footer a { display: block; color: #e3eeee; margin: 8px 0; }
.copyright {
  border-top: 1px solid rgba(255,255,255,.14);
  margin-top: 34px;
  padding-top: 18px;
  color: #bad1d2;
}

@media (max-width: 980px) {
  .grid.three, .grid.two, .doc-grid, .contact-layout, .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust, .stat-row { grid-template-columns: repeat(2, 1fr); }
  .links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    background: white;
    padding: 10px 20px 20px;
    border-bottom: 1px solid var(--line);
  }
  .links.open { display: grid; }
  .links a { padding: 12px; }
  .menu-btn {
    display: inline-flex;
    border: 1px solid var(--line);
    background: white;
    color: var(--blue);
  }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .hero { min-height: 720px; background-position: 62% center; }
  .hero .wrap { padding-top: 70px; }
  .grid.three, .grid.two, .doc-grid, .contact-layout, .footer-grid, .trust, .stat-row, form { grid-template-columns: 1fr; }
  .section { padding: 54px 0; }
  .section-title { display: block; }
  .info-table th, .info-table td, .data-table th, .data-table td { padding: 12px; font-size: 14px; }
  .data-table { display: block; overflow-x: auto; }
}
