:root {
  --ink: #111827;
  --navy: #090d16;
  --navy-2: #101827;
  --steel: #314155;
  --muted: #667085;
  --line: rgba(17, 24, 39, 0.12);
  --paper: #f4f7fb;
  --white: #ffffff;
  --silver: #d7dde6;
  --blue: #2376c9;
  --blue-dark: #155da3;
  --accent: #f4b942;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(9, 13, 22, 0.96);
  color: var(--white);
  box-shadow: 0 16px 45px rgba(9, 13, 22, 0.24);
}

.topbar {
  display: flex;
  justify-content: center;
  gap: clamp(0.7rem, 2vw, 1.6rem);
  padding: 0.55rem clamp(1rem, 5vw, 5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--silver);
  font-size: 0.86rem;
  font-weight: 700;
  flex-wrap: wrap;
}

.topbar a,
.site-nav a,
.footer-links a {
  text-decoration: none;
}

.topbar a:hover,
.site-nav a:hover,
.footer-links a:hover {
  color: var(--accent);
}

.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  padding: 0.82rem clamp(1rem, 5vw, 5rem);
}

.brand {
  display: block;
  width: clamp(9.5rem, 18vw, 13.5rem);
}

.brand img {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #070910;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(0.9rem, 2.5vw, 2.2rem);
  color: var(--silver);
  font-size: 0.94rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.82rem 1.1rem;
  border-radius: 0.2rem;
  font-weight: 900;
  text-decoration: none;
  line-height: 1.1;
}

.nav-cta {
  background: var(--blue);
  color: var(--white);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(44rem, calc(100vh - 7rem));
  align-items: center;
  padding: clamp(4rem, 9vw, 7.5rem) clamp(1rem, 6vw, 6rem);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(9, 13, 22, 0.96) 0%, rgba(9, 13, 22, 0.84) 42%, rgba(9, 13, 22, 0.42) 100%),
    radial-gradient(circle at 76% 35%, rgba(35, 118, 201, 0.45), transparent 32%),
    var(--navy);
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(60rem, 64vw);
  opacity: 0.32;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 45rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  margin-bottom: 1.15rem;
  font-family: Impact, "Arial Black", "Segoe UI", Arial, sans-serif;
  font-size: clamp(2.8rem, 6.5vw, 5.35rem);
  line-height: 1;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.04;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.18rem;
}

.hero-copy {
  max-width: 40rem;
  color: #e6edf7;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.button-primary {
  background: var(--blue);
  color: var(--white);
}

.button-primary:hover,
.nav-cta:hover {
  background: var(--blue-dark);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: var(--white);
}

.quick-contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 72rem;
  margin: -2.5rem auto 0;
  padding: 0 clamp(1rem, 4vw, 2rem);
  position: relative;
  z-index: 2;
}

.quick-contact div {
  min-width: 0;
  padding: 1.4rem;
  background: var(--white);
  box-shadow: var(--shadow);
}

.quick-contact span,
.contact-card span {
  display: block;
  margin-bottom: 0.42rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-contact a,
.contact-card a {
  display: block;
  color: var(--blue-dark);
  font-weight: 900;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 6vw, 6rem);
}

.section-heading {
  max-width: 52rem;
  margin-bottom: 2rem;
}

.feature-grid,
.service-grid,
.contact-grid {
  display: grid;
  gap: 1rem;
}

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

.feature-card,
.service-card,
.contact-card,
.about-panel {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.feature-card {
  padding: 1.6rem;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  min-width: 3.4rem;
  height: 2.2rem;
  margin-bottom: 1.1rem;
  padding: 0 0.6rem;
  background: var(--navy-2);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
}

.feature-card p,
.service-card p,
.contact-card p,
.about-content p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.about-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.42fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 6vw, 6rem);
  background:
    linear-gradient(135deg, rgba(9, 13, 22, 0.96), rgba(16, 24, 39, 0.93)),
    var(--navy);
  color: var(--white);
}

.about-content {
  max-width: 54rem;
}

.about-content p {
  color: #d9e2ef;
}

.about-panel {
  padding: 1.6rem;
  color: var(--ink);
}

.about-panel strong {
  display: block;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.about-panel ul {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--steel);
  font-weight: 700;
}

.services {
  background: var(--white);
}

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

.service-card {
  min-height: 12rem;
  padding: 1.5rem;
}

.service-card h3 {
  padding-bottom: 0.85rem;
  border-bottom: 3px solid var(--blue);
  text-transform: uppercase;
}

.service-card-wide {
  grid-column: span 2;
}

.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 6vw, 6rem);
  background: var(--navy-2);
  color: var(--white);
}

.cta-band h2 {
  margin-bottom: 0;
  max-width: 50rem;
}

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

.contact-card {
  padding: 1.5rem;
}

.contact-card p {
  margin: 1rem 0 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem clamp(1rem, 6vw, 6rem);
  background: #060910;
  color: var(--white);
}

.site-footer strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.1rem;
}

.site-footer p {
  margin-bottom: 0;
  color: var(--silver);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--silver);
  font-weight: 800;
}

@media (max-width: 980px) {
  .nav-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .site-nav {
    order: 3;
    flex-wrap: wrap;
  }

  .quick-contact,
  .feature-grid,
  .service-grid,
  .contact-grid,
  .about-band {
    grid-template-columns: 1fr;
  }

  .service-card-wide {
    grid-column: auto;
  }

  .cta-band,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .topbar {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding-top: 3.5rem;
  }

  .hero-media {
    width: 100%;
    opacity: 0.18;
  }

  .hero-actions,
  .button,
  .nav-cta {
    width: 100%;
  }

  .quick-contact {
    margin-top: 0;
    padding: 0;
  }

  .quick-contact div {
    box-shadow: none;
    border-bottom: 1px solid var(--line);
  }
}
