@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap');

:root {
  --navy: #00285f;
  --navy-deep: #001a3d;
  --blue: #0066b3;
  --ink: #1a2332;
  --muted: #5c6b7a;
  --line: #e2e8f0;
  --bg: #f7f9fc;
  --white: #ffffff;
  --max: 1040px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

/* Header - logo left, nav full to the right */
.topbar {
  background: #0a0a0a;
  padding: 0.75rem 1.25rem;
  position: sticky;
  top: 0;
  z-index: 100;
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  max-width: none;
}
.logo-link {
  flex-shrink: 0;
}
.logo-link img {
  height: 52px;
  width: auto;
  background: var(--white);
  padding: 0.25rem 0.45rem;
}
.nav-buttons {
  display: flex;
  flex: 1;
  justify-content: flex-end;
  gap: 0.35rem;
  min-width: 0;
}
.nav-buttons a {
  flex: 0 0 auto;
  text-align: center;
  padding: 0.8rem 1.6rem;
  font-weight: 600;
  font-size: 0.98rem;
  min-width: 8.5rem;
  background: var(--blue);
  color: var(--white);
  transition: background 0.15s;
}
.nav-buttons a:hover { background: #0077cc; }
.nav-buttons a.active {
  background: var(--white);
  color: var(--blue);
}
.menu-btn {
  display: none;
  margin-left: auto;
  padding: 0.75rem 1.1rem;
  border: none;
  background: var(--blue);
  color: var(--white);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

/* Photo hero */
.hero {
  position: relative;
  min-height: min(72vh, 560px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--navy-deep) center/cover no-repeat;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 20, 50, 0.88) 0%, rgba(0, 26, 61, 0.55) 55%, rgba(0, 26, 61, 0.35) 100%);
}
.hero .wrap {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0 3.25rem;
  max-width: 560px;
  margin-left: max(1.25rem, calc((100% - var(--max)) / 2));
  margin-right: auto;
  width: min(100% - 2.5rem, 560px);
}
.hero .eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8ec8ef;
  margin-bottom: 0.75rem;
}
.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}
.hero p {
  font-size: 1.05rem;
  opacity: 0.92;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--blue);
  color: var(--white);
  transition: background 0.15s;
}
.btn:hover { background: #0077cc; }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: #eef4fa; }

/* Sections */
.section { padding: 3.75rem 0; }
.section-muted { background: var(--bg); }
.section h2 {
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.85rem;
  line-height: 1.25;
}
.section .intro {
  color: var(--muted);
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}
.split img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.split p { color: #3d4d5c; margin-bottom: 1rem; }

.cta-band {
  position: relative;
  color: var(--white);
  padding: 3.5rem 0;
  background: var(--navy) center/cover no-repeat;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 26, 61, 0.82);
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 {
  color: var(--white);
  max-width: 22ch;
  margin-bottom: 0.75rem;
}
.cta-band p {
  max-width: 36rem;
  opacity: 0.9;
  margin-bottom: 1.35rem;
}

/* Feature cards with icons */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 1.5rem 1.25rem 1.35rem;
}
.feature .icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  color: var(--blue);
}
.feature h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.45rem;
  font-weight: 700;
}
.feature p {
  font-size: 0.95rem;
  color: var(--muted);
}

.photo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}
.photo-row figure {
  position: relative;
  overflow: hidden;
}
.photo-row img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.photo-row figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Inner pages */
.page-hero {
  background: var(--navy-deep);
  color: var(--white);
  padding: 2.75rem 0;
  border-bottom: 3px solid var(--blue);
}
.page-hero h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  margin-bottom: 0.5rem;
}
.page-hero p { opacity: 0.85; max-width: 38rem; }

.content { padding: 2.75rem 0 3.5rem; }
.content article {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}
.content article:last-child { border-bottom: none; }
.content h2 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.65rem;
}
.content p { color: #3d4d5c; max-width: 46rem; }
.content p + p { margin-top: 0.85rem; }

.list-blocks { display: grid; gap: 0.65rem; margin-top: 1rem; }
.list-blocks li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  background: var(--bg);
  border-left: 3px solid var(--blue);
}
.list-blocks strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.list-blocks span { color: var(--muted); font-size: 0.95rem; }

.site-footer {
  background: #0a0a0a;
  color: rgba(255,255,255,0.85);
  text-align: center;
  padding: 2.25rem 1rem;
}
.site-footer img {
  height: 48px;
  margin: 0 auto 0.85rem;
  background: var(--white);
  padding: 0.3rem 0.45rem;
}
.site-footer p { font-size: 0.92rem; margin-bottom: 0.3rem; }
.site-footer a { color: #7ec4ef; }
.site-footer .meta {
  margin-top: 1rem;
  font-size: 0.78rem;
  opacity: 0.5;
}

@media (max-width: 860px) {
  .split, .features, .photo-row { grid-template-columns: 1fr; }
  .split img, .photo-row img { height: 240px; }
  .hero .wrap {
    margin-left: 1.25rem;
    width: min(100% - 2.5rem, 560px);
  }
}

@media (max-width: 720px) {
  .topbar-inner {
    flex-wrap: wrap;
    position: relative;
  }
  .menu-btn { display: block; }
  .nav-buttons {
    display: none;
    flex-direction: column;
    flex: 1 1 100%;
    width: 100%;
  }
  .nav-buttons.open { display: flex; }
  .nav-buttons a { flex: none; }
  .hero { min-height: 420px; align-items: center; }
  .hero::after {
    background: linear-gradient(180deg, rgba(0,20,50,0.55), rgba(0,20,50,0.9));
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
