:root {
  --navy: #071a33;
  --blue: #0f315f;
  --steel: #667085;
  --charcoal: #151a21;
  --ink: #1f2937;
  --muted: #667085;
  --line: #d9dee7;
  --soft: #f3f5f8;
  --gold: #c7a15a;
  --silver: #c5ced8;
  --white: #ffffff;
  --danger: #b42318;
  --radius: 8px;
  --shadow: 0 22px 70px rgba(7, 26, 51, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 40px));
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 99;
  background: var(--gold);
  color: var(--navy);
  padding: 10px 14px;
  border-radius: 4px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 26, 51, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 76px;
  gap: 24px;
}

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

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
}

.primary-nav a {
  text-decoration: none;
  padding: 8px 0;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--white);
  border-bottom: 2px solid var(--gold);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 5px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
}

.nav-cta {
  background: var(--gold);
  color: var(--navy);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 8px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(7, 26, 51, 0.94), rgba(21, 26, 33, 0.72));
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 26, 51, 0.96), rgba(7, 26, 51, 0.68), rgba(7, 26, 51, 0.48)),
    url("https://images.unsplash.com/photo-1581092162384-8987c1d64718?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 42px;
  align-items: end;
  min-height: 720px;
  padding: 92px 0 64px;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.55rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 980px;
}

.hero-lede,
.page-hero p {
  max-width: 720px;
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.82);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button-primary {
  background: var(--gold);
  color: var(--navy);
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.trust-row span,
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-panel {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
}

.hero-panel strong {
  display: block;
  color: var(--gold);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
}

.hero-panel a {
  display: block;
  color: var(--white);
  text-decoration: none;
  margin-top: 6px;
  font-weight: 700;
}

.section {
  padding: 84px 0;
}

.section-tight {
  padding: 34px 0;
}

.section-muted {
  background: var(--soft);
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.section-dark h2 {
  color: var(--white);
}

h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.1rem;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.metric-strip div {
  background: var(--white);
  padding: 26px;
}

.metric {
  display: block;
  color: var(--gold);
  font-weight: 900;
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.card-grid,
.product-grid,
.capability-grid,
.industry-grid {
  display: grid;
  gap: 22px;
}

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

.service-card,
.product-card,
.feature-box,
.capability-grid article,
.contact-card,
.quote-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(7, 26, 51, 0.07);
}

.service-card {
  overflow: hidden;
}

.service-card img,
.product-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.service-card div,
.product-card {
  padding: 22px;
}

.capabilities-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: start;
  padding: 42px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--gold);
  border-radius: var(--radius);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

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

.industries h2,
.industries .eyebrow {
  color: var(--white);
}

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

.industry-grid span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  min-height: 76px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 14px;
  border-radius: 6px;
  font-weight: 800;
}

.contact-cta {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
}

.page-hero {
  padding: 132px 0 78px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 26, 51, 0.96), rgba(15, 49, 95, 0.85)),
    url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.page-hero-image {
  background:
    linear-gradient(135deg, rgba(7, 26, 51, 0.94), rgba(15, 49, 95, 0.78)),
    url("https://images.unsplash.com/photo-1581092921461-eab62e97a780?auto=format&fit=crop&w=1800&q=80") center / cover;
}

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

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

.capability-grid article {
  padding: 24px;
}

.capability-grid span {
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: start;
}

.quote-form,
.contact-card,
.feature-box {
  padding: 26px;
}

.quote-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
  margin-top: 14px;
}

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

textarea {
  resize: vertical;
}

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

.notice {
  border-left: 4px solid var(--danger);
  padding: 14px 16px;
  background: #fff5f5;
  border-radius: 4px;
  margin-top: 20px;
}

.map-wrap {
  margin-top: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.map-wrap iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

.text-link {
  color: var(--blue);
  font-weight: 800;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
}

.legal-copy h2 {
  font-size: 1.35rem;
}

.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 24px;
}

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

.footer-logo {
  width: 230px;
  margin-bottom: 16px;
}

.site-footer h2 {
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  margin: 7px 0;
}

.site-footer .badge {
  color: var(--navy);
  background: var(--gold);
  border: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 980px) {
  .nav-wrap {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .primary-nav,
  .nav-cta {
    display: none;
  }

  .primary-nav.is-open {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 0;
    padding: 0 0 18px;
  }

  .primary-nav.is-open a {
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero-grid,
  .split,
  .capabilities-band,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    align-items: center;
  }

  .card-grid,
  .product-grid,
  .capability-grid,
  .industry-grid,
  .metric-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container,
  .narrow {
    width: min(100% - 28px, 1120px);
  }

  .brand img {
    width: 190px;
  }

  .hero,
  .hero-grid {
    min-height: 650px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding: 70px 0 42px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.55rem;
  }

  .hero-panel {
    display: none;
  }

  .section {
    padding: 58px 0;
  }

  .card-grid,
  .product-grid,
  .capability-grid,
  .industry-grid,
  .metric-strip {
    grid-template-columns: 1fr;
  }

  .capabilities-band,
  .contact-cta {
    padding: 24px;
  }

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