:root {
  --navy: #004890;
  --navy-dark: #00356c;
  --navy-deep: #001f3d;
  --navy-mid: #0a5cb0;
  --ink: #0e1a2b;
  --muted: #4d5d70;
  --paper: #f3f6fa;
  --paper-2: #e7eef6;
  --line: #d4deea;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(0, 36, 80, 0.1);
  --radius: 18px;
  --header-h: 88px;
  --max: 1120px;
  --font: "DM Sans", "Segoe UI", sans-serif;
  --display: "Outfit", "DM Sans", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--navy);
  color: var(--white);
  padding: 8px 12px;
  z-index: 1000;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(0, 36, 80, 0.06);
}

.header-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 64px;
  width: auto;
  background: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--navy);
}

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 16px;
  border-radius: 999px;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--navy-dark);
  color: var(--white) !important;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  padding: 72px 0 88px;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(0, 72, 144, 0.12), transparent 60%),
    linear-gradient(180deg, #f7fafd 0%, var(--white) 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  width: 6px;
  height: 180px;
  background: var(--navy);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  top: calc(18% + 174px);
  width: min(42%, 380px);
  height: 6px;
  background: var(--navy);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 3px;
  background: var(--navy);
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 650;
  max-width: 14ch;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 46ch;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: 0.18s ease;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--navy-dark);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--navy);
  color: var(--navy);
}

.hero-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-logo {
  width: min(100%, 360px);
  margin: 0 auto 22px;
  background: transparent;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--navy);
}

.stat span {
  font-size: 0.82rem;
  color: var(--muted);
}

section {
  padding: 88px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.services {
  background: var(--paper);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 26px 30px;
  border: 1px solid var(--line);
  min-height: 100%;
}

.service-card .mark {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--navy);
}

.service-card h3 {
  font-size: 1.35rem;
}

.service-card p {
  color: var(--muted);
  margin: 0 0 16px;
}

.service-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 16px;
  margin: 8px 0;
  color: var(--ink);
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 2px;
  background: var(--navy);
}

.capabilities {
  background: var(--white);
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cap {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.cap h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.cap p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.approach {
  background: var(--navy-deep);
  color: var(--white);
}

.approach .section-head p {
  color: rgba(255, 255, 255, 0.72);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  padding: 8px 0 0;
  border-top: 3px solid rgba(255, 255, 255, 0.28);
}

.step .num {
  display: block;
  font-family: var(--display);
  font-size: 1.7rem;
  color: #8ec3ff;
  margin: 14px 0 8px;
}

.step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.about-visual {
  min-height: 320px;
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(0, 72, 144, 0.08), transparent 50%),
    var(--paper);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  padding: 36px;
}

.about-visual img {
  width: min(100%, 420px);
  background: transparent;
}

.contact {
  background: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
}

.contact-card,
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
}

.contact-card a {
  color: var(--navy);
  font-weight: 600;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--white);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(0, 72, 144, 0.28);
  border-color: var(--navy);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-status {
  min-height: 1.4em;
  margin: 8px 0 0;
  font-size: 0.92rem;
}

.form-status.ok {
  color: #0f6a3c;
}

.form-status.err {
  color: #9b1c1c;
}

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.site-footer img {
  height: 52px;
  width: auto;
  background: transparent;
}

@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .service-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .cap-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero::before,
  .hero::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 16px 20px 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .nav.is-open {
    display: flex;
  }

  .form-row,
  .stat-row,
  .cap-grid,
  .footer-inner {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  h1 {
    max-width: none;
  }

  section {
    padding: 64px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
