:root {
  --blue: #1c5f9e;
  --blue-dark: #0d3a68;
  --navy: #0a2744;
  --orange: #e87820;
  --gold: #f0b429;
  --ink: #14202e;
  --muted: #5b6b7c;
  --line: #d9e2ec;
  --paper: #f6f8fb;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(10, 39, 68, 0.1);
  --radius: 18px;
  --max: 1120px;
  --header-h: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--orange);
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 24px;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px 16px;
}

.site-nav a {
  color: var(--navy);
  font-weight: 500;
  font-size: 0.9rem;
  white-space: nowrap;
}

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

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

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.8rem 1.25rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-dark) 55%, var(--orange) 160%);
  color: var(--white) !important;
  box-shadow: 0 10px 24px rgba(28, 95, 158, 0.28);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--navy) !important;
  background: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 10%, rgba(232, 120, 32, 0.16), transparent 28%),
    radial-gradient(circle at 0% 90%, rgba(28, 95, 158, 0.18), transparent 32%),
    linear-gradient(180deg, #f4f8fd 0%, #ffffff 70%);
  padding: 0 0 56px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(28, 95, 158, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(232, 120, 32, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, black, transparent 85%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding-top: 36px;
}

.hero-chip {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: none;
  height: min(46vh, 420px);
  border-radius: 0;
  overflow: hidden;
  isolation: isolate;
  box-shadow: none;
}

.hero-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.95) contrast(1.05);
}

.hero-chip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(28, 95, 158, 0.14), transparent 48%, rgba(232, 120, 32, 0.1));
  pointer-events: none;
}

.hero-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 39, 68, 0.12) 0%, transparent 28%, transparent 58%, #f4f8fd 100%);
  pointer-events: none;
  z-index: 1;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.75rem;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}

h1, h2, h3 {
  font-family: "Source Serif 4", Georgia, serif;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 0.7rem;
}

h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.7rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.lede {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 58ch;
}

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

.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-card dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.hero-card dd {
  margin: 0 0 16px;
  font-weight: 600;
  color: var(--navy);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: -28px;
  position: relative;
}

.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  font-size: 1.6rem;
  color: var(--blue);
}

.section {
  padding: 72px 0;
}

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

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 32px;
}

.grid-3, .grid-2 {
  display: grid;
  gap: 20px;
}

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

.grid-2 {
  grid-template-columns: 1fr 1fr;
}

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

.card h3 {
  font-size: 1.25rem;
}

.card p, .card li {
  color: var(--muted);
}

.accent-left {
  border-left: 4px solid var(--blue);
}

.accent-left.orange {
  border-left-color: var(--orange);
}

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

.chip {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.92rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

th, td {
  text-align: left;
  padding: 14px 16px;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
}

tr:last-child td {
  border-bottom: 0;
}

.page-hero {
  padding: 36px 0 28px;
  background: linear-gradient(180deg, #f4f8fd, #fff 80%);
}

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

.contact-form {
  display: grid;
  gap: 14px;
}

label {
  font-weight: 600;
  font-size: 0.92rem;
}

input, select, textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  background: var(--white);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  background: var(--navy);
  color: #d7e4f0;
  padding: 40px 0 24px;
}

.site-footer a {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.site-footer .brand img {
  background: #fff;
  border-radius: 12px;
  padding: 6px;
  height: 64px;
}

.legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
  font-size: 0.88rem;
  color: #adc0d2;
}

ul.clean {
  padding-left: 1.1rem;
}

.banner-cta {
  background: linear-gradient(105deg, var(--blue-dark), var(--blue) 45%, var(--orange));
  color: #fff;
  border-radius: 24px;
  padding: 36px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.banner-cta h2, .banner-cta p {
  color: #fff;
  margin: 0 0 8px;
}

@media (max-width: 720px) {
  .hero-grid, .stats, .grid-3, .grid-2, .split, .footer-grid, .section-head, .banner-cta {
    grid-template-columns: 1fr;
    display: grid;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
  }

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

  .stats {
    margin-top: 24px;
  }

  .banner-cta {
    display: block;
  }

  .hero-chip {
    height: 220px;
  }
}
