:root {
  --bg: #f5f9f8;
  --surface: #ffffff;
  --surface-alt: #eaf4f2;
  --ink: #162638;
  --muted: #5a6b75;
  --line: #d4e3e5;
  --accent: #1f9b65;
  --accent-dark: #126b48;
  --blue: #0d5f9f;
  --blue-dark: #0d2e4f;
  --navy: #0d2e4f;
  --shadow: 0 18px 45px rgba(13, 46, 79, 0.12);
  --max: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 178px;
}

.brand img {
  width: 178px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  border-radius: 4px;
  color: #33404c;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 12px;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--accent-dark);
  background: #e6f5ef;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: var(--blue);
  color: #ffffff;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
  padding: 12px 18px;
  text-align: center;
}

.button:hover {
  background: var(--blue-dark);
}

.button.secondary {
  background: #ffffff;
  border-color: #c7d0d7;
  color: var(--navy);
}

.button.secondary:hover {
  background: var(--surface-alt);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #ffffff;
  color: var(--navy);
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
}

.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  gap: 42px;
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: 64px 0;
}

.eyebrow {
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.12;
  margin: 0;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 4.65rem);
  max-width: 820px;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

h3 {
  font-size: 1.18rem;
}

.lead {
  color: #394653;
  font-size: 1.12rem;
  max-width: 760px;
}

.hero .lead {
  margin: 22px 0 30px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-media {
  position: relative;
  min-height: 420px;
}

.hero-media img {
  width: 100%;
  height: min(64vh, 580px);
  min-height: 420px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.hero-stat {
  position: absolute;
  left: -24px;
  bottom: 28px;
  width: min(82%, 310px);
  border-left: 5px solid var(--accent);
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 18px;
}

.hero-stat strong {
  display: block;
  color: var(--navy);
  font-size: 1.65rem;
  line-height: 1;
}

.hero-stat span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: 76px 0;
}

.section.compact {
  padding: 52px 0;
}

.section.alt {
  background: var(--surface);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}

.section-head p {
  color: var(--muted);
  margin: 10px 0 0;
  max-width: 680px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.highlight {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px;
}

.card.has-image,
.highlight.has-image {
  overflow: hidden;
  padding: 0;
}

.card.has-image img,
.highlight.has-image img,
.split-photo img,
.project-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split-photo {
  border-radius: 6px;
  margin-bottom: 16px;
  overflow: hidden;
}

.project-item img {
  border-radius: 4px;
}

.card-body,
.highlight-body {
  padding: 22px;
}

.alt .card,
.alt .highlight {
  background: #fbfcfd;
}

.card p,
.highlight p {
  color: var(--muted);
  margin: 10px 0 0;
}

.card-link {
  display: inline-block;
  color: var(--blue);
  font-weight: 800;
  margin-top: 16px;
}

.metric {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: #ffffff;
  border-radius: 6px;
  padding: 24px;
}

.metric strong {
  display: block;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 8px;
}

.metric span {
  color: #dbe6ee;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 44px;
  align-items: start;
}

.panel {
  background: linear-gradient(135deg, var(--blue-dark), #145f83);
  border-radius: 6px;
  color: #ffffff;
  padding: 30px;
}

.panel h2,
.panel h3 {
  color: #ffffff;
}

.panel p,
.panel li {
  color: #dbe6ee;
}

.plain-list,
.check-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 2px;
}

.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 72px 0 52px;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.page-hero .lead {
  margin-top: 18px;
}

.service-row {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.service-row p {
  color: var(--muted);
}

.project-list {
  display: grid;
  gap: 16px;
}

.project-item {
  display: grid;
  grid-template-columns: 0.32fr 1fr;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px;
}

.contact-card dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.contact-card dt {
  color: var(--navy);
  font-weight: 800;
}

.contact-card dd {
  color: var(--muted);
  margin: 4px 0 0;
}

.form-grid {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cbd4dc;
  border-radius: 4px;
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
}

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

.cta {
  background: linear-gradient(135deg, var(--blue-dark), #126b48);
  color: #ffffff;
  padding: 62px 0;
}

.cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta h2 {
  color: #ffffff;
}

.cta p {
  color: #dbe6ee;
  margin: 12px 0 0;
  max-width: 720px;
}

.site-footer {
  background: #092033;
  color: #dbe6ee;
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr;
  gap: 36px;
}

.site-footer h2,
.site-footer h3 {
  color: #ffffff;
}

.site-footer p,
.site-footer li {
  color: #c4ced7;
}

.site-footer ul {
  display: grid;
  gap: 7px;
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #aeb9c3;
  font-size: 0.92rem;
  margin-top: 34px;
  padding-top: 20px;
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 70px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    padding: 12px 16px 18px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .header-actions .button {
    display: none;
  }

  .hero-grid,
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 0;
    padding: 48px 0;
  }

  .hero-media {
    min-height: 320px;
  }

  .hero-media img {
    height: 360px;
    min-height: 320px;
  }

  .hero-stat {
    left: 16px;
    bottom: 16px;
  }

  .grid.three,
  .grid.four,
  .grid.two,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head,
  .cta .container {
    align-items: start;
    flex-direction: column;
  }

  .service-row,
  .project-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .brand,
  .brand img {
    min-width: 138px;
    width: 138px;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 56px 0;
  }

  .page-hero {
    padding: 54px 0 42px;
  }
}
