:root {
  --ink: #102033;
  --navy: #14365f;
  --blue: #1f5f93;
  --orange: #db6e27;
  --orange-deep: #b95419;
  --mist: #f5f7f7;
  --line: #d9e1e5;
  --muted: #5d6b75;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(16, 32, 51, 0.12);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(219, 110, 39, 0.45);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 225, 229, 0.9);
  backdrop-filter: blur(16px);
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 82px;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  width: 100%;
}

.site-nav a {
  padding: 10px 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--orange-deep);
}

.site-nav .nav-cta {
  margin-left: 10px;
  padding: 11px 16px;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
}

.site-nav .nav-cta:hover {
  color: var(--white);
  background: var(--orange-deep);
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 32, 51, 0.9), rgba(16, 32, 51, 0.58), rgba(16, 32, 51, 0.2)),
    var(--hero-image, none);
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 160px;
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(255, 255, 255, 0.12) 48% 49%, transparent 49%),
    linear-gradient(45deg, transparent 0 52%, rgba(219, 110, 39, 0.25) 52% 53%, transparent 53%);
  background-size: 42px 42px, 56px 56px;
  opacity: 0.75;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--max));
  min-height: 560px;
  margin: 0 auto;
  padding: 96px 0 84px;
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 760px);
}

.hero-narrow .hero-inner {
  min-height: 410px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h1 {
  max-width: 790px;
  font-size: 54px;
}

h2 {
  font-size: 34px;
}

h3 {
  font-size: 22px;
}

p {
  margin: 0;
  overflow-wrap: break-word;
}

.hero p {
  max-width: 660px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
}

.button {
  padding: 12px 18px;
  color: var(--white);
  background: var(--orange);
  border: 1px solid var(--orange);
}

.button:hover {
  background: var(--orange-deep);
  border-color: var(--orange-deep);
}

.button.secondary {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.66);
}

.button.secondary:hover {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.text-link {
  min-height: 0;
  color: var(--orange-deep);
}

.text-link:hover {
  color: var(--navy);
}

.section {
  padding: 76px 0;
}

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

.section.dark {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(20, 54, 95, 0.96), rgba(16, 32, 51, 0.98)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 28px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.7fr);
  gap: 38px;
  align-items: end;
  margin-bottom: 36px;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

.dark .section-heading p,
.dark .muted {
  color: rgba(255, 255, 255, 0.78);
}

.muted {
  color: var(--muted);
}

.lead {
  font-size: 20px;
  color: var(--muted);
}

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

.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 {
  min-width: 0;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.dark .card {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.card h3 {
  margin-bottom: 12px;
}

.card p + .text-link,
.card ul + .text-link {
  margin-top: 18px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 32, 51, 0.05), rgba(16, 32, 51, 0.9)), var(--card-image);
  background-size: cover;
  background-position: center;
}

.feature-card > div {
  position: relative;
  z-index: 1;
}

.feature-card h3 {
  margin-bottom: 10px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.75fr);
  gap: 48px;
  align-items: center;
}

.media-panel {
  position: relative;
}

.media-panel img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-caption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.stat {
  padding: 22px;
  background: var(--white);
}

.stat strong {
  display: block;
  color: var(--orange-deep);
  font-size: 26px;
  line-height: 1.1;
}

.stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 700;
}

.service-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 22px;
}

.service-list li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

.process {
  counter-reset: phase;
}

.process .card {
  position: relative;
  padding-top: 54px;
}

.process .card::before {
  counter-increment: phase;
  content: counter(phase, decimal-leading-zero);
  position: absolute;
  top: 22px;
  left: 28px;
  color: var(--orange-deep);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.project-card .tag {
  margin-bottom: 18px;
}

.project-card p {
  margin-top: 12px;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  width: fit-content;
  padding: 5px 9px;
  color: var(--orange-deep);
  background: #fff0e8;
  border: 1px solid #ffd7c2;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.18);
}

.value {
  padding: 26px;
  background: rgba(255, 255, 255, 0.08);
}

.value strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 0.65fr);
  gap: 26px;
  align-items: start;
}

.contact-block {
  display: grid;
  gap: 18px;
}

.contact-item {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-item strong {
  display: block;
  margin-bottom: 7px;
}

.map-link {
  position: relative;
  overflow: hidden;
  display: block;
  min-height: 330px;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
  text-decoration: none;
}

.map-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(16, 32, 51, 0.94), rgba(31, 95, 147, 0.72)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 38px);
}

.map-link span {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 1;
  font-size: 24px;
  font-weight: 900;
}

.cta-band {
  padding: 44px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(20, 54, 95, 0.96), rgba(16, 32, 51, 0.96)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 32px);
  border-radius: var(--radius);
}

.cta-band p {
  max-width: 760px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  color: var(--muted);
  background: #f7f8f8;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  gap: 46px;
  padding: 56px 0 34px;
}

.footer-logo {
  width: auto;
  height: 88px;
  margin-bottom: 22px;
}

.footer-nav,
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-nav a,
.footer-social a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-social a:hover {
  color: var(--orange);
}

.footer-bottom {
  border-top: 1px solid var(--line);
}

.footer-bottom .section-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  color: var(--muted);
  font-size: 14px;
}

.redirect-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px;
  background: var(--mist);
}

.redirect-card {
  max-width: 520px;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

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

  .site-nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .hero-inner {
    min-height: 500px;
    padding: 80px 0 70px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .section-heading,
  .split,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .grid.three,
  .grid.four,
  .project-grid,
  .values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .header-inner,
  .section-inner,
  .footer-inner,
  .hero-inner {
    width: min(calc(100% - 28px), var(--max));
  }

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

  .hero::before {
    background:
      linear-gradient(90deg, rgba(16, 32, 51, 0.94), rgba(16, 32, 51, 0.72)),
      var(--hero-image, none);
    background-size: cover;
    background-position: center;
  }

  .hero-inner,
  .hero-narrow .hero-inner {
    min-height: 430px;
    padding: 64px 0 60px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 20px;
  }

  .hero p,
  .lead,
  .section-heading p {
    font-size: 17px;
  }

  .section {
    padding: 56px 0;
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .project-grid,
  .stat-strip,
  .values {
    grid-template-columns: 1fr;
  }

  .card,
  .project-card,
  .contact-item {
    padding: 22px;
  }

  .cta-band {
    padding: 28px;
  }

  .footer-bottom .section-inner {
    flex-direction: column;
  }
}
