:root {
  --navy: #061b38;
  --navy-2: #0b2d5c;
  --blue: #0876d8;
  --blue-bright: #1d9bf0;
  --gray-950: #0f172a;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-500: #64748b;
  --gray-200: #dbe3ef;
  --gray-100: #f4f7fb;
  --white: #ffffff;
  --shadow: 0 18px 46px rgba(15, 23, 42, 0.14);
  --radius: 8px;
  color: var(--gray-950);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(16px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--gray-200);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
  color: var(--navy);
}

.brand-emblem {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
  box-shadow: inset -8px 0 0 var(--blue);
  overflow: hidden;
}

.brand-emblem::before {
  position: absolute;
  top: 9px;
  left: 8px;
  width: 32px;
  height: 15px;
  content: "";
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-bottom: 0;
  border-radius: 32px 32px 0 0;
}

.brand-emblem span {
  position: relative;
  z-index: 1;
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.05;
}

.brand small {
  font-size: 0.78rem;
  color: var(--gray-500);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--gray-700);
  font-size: 0.9rem;
  font-weight: 800;
}

.site-nav a {
  white-space: nowrap;
}

.nav-cta {
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
}

.menu-button {
  display: none;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 8px 12px;
  color: var(--navy);
  background: var(--white);
  font: inherit;
  font-weight: 850;
}

.section-dark {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 27, 56, 0.97), rgba(11, 45, 92, 0.94)),
    radial-gradient(circle at 82% 18%, rgba(29, 155, 240, 0.26), transparent 28%);
}

.hero {
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: 78px clamp(20px, 5vw, 72px) 58px;
}

.hero-content,
.section,
.trust-strip,
.contact-band,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-content {
  display: grid;
  justify-items: center;
  gap: 30px;
  text-align: center;
}

.hero-copy {
  max-width: 920px;
}

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

h1 {
  max-width: 870px;
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 6vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 1.22rem;
  line-height: 1.2;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--blue-bright);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #b9dcff;
}

.hero-line {
  margin-bottom: 16px;
  color: #d8ecff;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 900;
  line-height: 1.1;
}

.hero-copy p:not(.eyebrow):not(.hero-line) {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  color: #dbeafe;
  font-size: 1.08rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 20px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(8, 118, 216, 0.28);
}

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

.hero-panel {
  overflow: hidden;
  width: min(100%, 560px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-panel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}

.logo-panel img {
  aspect-ratio: 13 / 9.4;
  object-fit: contain;
  object-position: center;
  padding: 18px;
  background: var(--white);
}

.panel-caption {
  display: grid;
  gap: 4px;
  padding: 16px 18px 18px;
  color: var(--gray-700);
}

.panel-caption strong {
  color: var(--navy);
  font-size: 1.1rem;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  transform: translateY(-28px);
  padding: 18px;
  border: 1px solid var(--gray-200);
  border-left: 7px solid var(--blue);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.trust-strip span,
.competency-list span {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 9px 12px;
  color: var(--navy);
  background: var(--gray-100);
  font-size: 0.88rem;
  font-weight: 900;
}

.section {
  padding: 78px 0;
}

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

.section-heading p:not(.eyebrow),
.split-section p,
.intake-section p {
  color: var(--gray-700);
  font-size: 1.04rem;
}

.service-area {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 5px solid var(--blue);
  border-radius: var(--radius);
  background: var(--gray-100);
  color: var(--navy);
  font-weight: 850;
}

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

.service-card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
}

.service-card.featured {
  background: linear-gradient(180deg, #f8fbff, #ffffff);
  border-top: 5px solid var(--blue);
}

.icon {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--blue);
  font-weight: 950;
}

.service-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--gray-700);
}

.service-card li {
  margin-bottom: 6px;
}

.service-card a:not(.text-link) {
  color: var(--blue);
  font-weight: 900;
}

.note,
.form-disclaimer {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--gray-200);
  color: var(--gray-500);
  font-size: 0.9rem;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 950;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.75fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.strength-list {
  padding: 28px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--gray-100);
}

.strength-list p {
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid var(--gray-200);
  color: var(--navy);
  font-weight: 900;
}

.section-navy {
  width: 100%;
  max-width: none;
  padding: 82px max(20px, calc((100% - 1180px) / 2));
  color: var(--white);
  background: var(--navy);
}

.section-navy h2,
.section-navy h3,
.section-heading.light p,
.section-navy .eyebrow {
  color: var(--white);
}

.gov-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
}

.competency-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contract-box {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.contract-box h3,
.contract-box p {
  color: var(--white);
}

.intake-section {
  width: 100%;
  max-width: none;
  padding: 82px max(20px, calc((100% - 1180px) / 2));
  background: var(--gray-100);
}

.form-stack {
  display: grid;
  gap: 22px;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.intake-form {
  padding: 24px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
}

.form-title {
  grid-column: 1 / -1;
  max-width: 760px;
}

.form-title p {
  margin-bottom: 0;
}

label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--gray-950);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 58px 0;
}

.contact-band p {
  margin-bottom: 6px;
  color: var(--gray-700);
}

.contact-band a:not(.button) {
  color: var(--blue);
  font-weight: 900;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0;
  border-top: 1px solid var(--gray-200);
  color: var(--gray-500);
  font-weight: 800;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1080px) {
  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    inset: 76px 18px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

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

  .service-grid,
  .split-section,
  .gov-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .hero-panel {
    max-width: 520px;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .brand small {
    display: none;
  }

  .hero-content,
  .section,
  .trust-strip,
  .contact-band,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding: 44px 0 58px;
  }

  .hero-content {
    width: min(100% - 28px, 1180px);
  }

  .trust-strip {
    transform: none;
    margin-top: 18px;
  }

  .section,
  .section-navy,
  .intake-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .quote-form {
    grid-template-columns: 1fr;
  }

  .intake-form {
    padding: 18px;
  }

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

  .button {
    width: 100%;
  }
}
