:root {
  --navy: #01004a;
  --navy-2: #06125f;
  --green: #007a1c;
  --lime: #7cff2e;
  --ink: #1a1a1a;
  --muted: #5b6170;
  --paper: #f6f7f4;
  --white: #ffffff;
  --line: #e2e6de;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(var(--max), calc(100% - 2.4rem)); margin-inline: auto; }

.topbar {
  background: var(--navy);
  color: #d7dcec;
  font-size: 0.9rem;
  padding: 0.45rem 0;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: #fff; }

header.site {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 0.7rem 0;
}
.logo img { height: 56px; width: auto; }
nav.main { display: flex; gap: 0.2rem; flex-wrap: wrap; }
nav.main a {
  color: var(--navy);
  font-weight: 600;
  padding: 0.55rem 0.85rem;
  border-radius: 6px;
}
nav.main a:hover, nav.main a.active {
  background: #eef8ea;
  color: var(--green);
  text-decoration: none;
}
.btn {
  display: inline-block;
  background: var(--green);
  color: #fff !important;
  font-weight: 700;
  padding: 0.75rem 1.2rem;
  border-radius: 6px;
  text-decoration: none !important;
}
.btn:hover { background: #006318; }
.btn.ghost {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.45);
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 5.2rem 0 4.6rem;
  background: #01004a;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: #01004a center/cover no-repeat;
  opacity: 0;
  transition: opacity .9s ease;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(1,0,74,.92) 0%, rgba(1,0,74,.72) 48%, rgba(0,122,28,.55) 100%);
}
.hero-bg.is-on { opacity: 1; }
.hero .wrap { position: relative; z-index: 2; }
.hero-dots {
  position: absolute;
  z-index: 3;
  right: 1.4rem;
  bottom: 1.1rem;
  display: flex;
  gap: .45rem;
}
.hero-dots button {
  width: 11px; height: 11px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.45); cursor: pointer;
}
.hero-dots button[aria-current="true"] { background: var(--lime); }
.hero h1 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.2;
  margin: 0 0 0.8rem;
  max-width: 16ch;
}
.hero p.lead { font-size: 1.2rem; max-width: 42ch; color: #e8ecf8; }
.hero .actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.6rem; }

.section { padding: 4rem 0; }
.section.alt { background: var(--paper); }
h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  color: var(--navy);
  font-size: 2rem;
  margin: 0 0 0.6rem;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 .35rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
  margin-top: 1.8rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.card img { width: 100%; height: 150px; object-fit: cover; }
.card .body { padding: 1.1rem 1.15rem 1.3rem; }
.card h3 { margin: 0 0 .4rem; color: var(--navy); font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2.4rem;
  align-items: center;
}
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

.quote {
  border-left: 4px solid var(--lime);
  padding: .2rem 0 .2rem 1.1rem;
  color: var(--navy);
  font-size: 1.15rem;
}

footer.site {
  background: var(--navy);
  color: #c9cee0;
  padding: 2.4rem 0 1.4rem;
}
footer.site a { color: #fff; }
footer .grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 800px) { footer .grid { grid-template-columns: 1fr; } }
.legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 1.6rem; padding-top: 1rem; font-size: .85rem; }

form.contact {
  display: grid; gap: .8rem; max-width: 560px;
}
label { font-weight: 600; font-size: .92rem; color: var(--navy); }
input, textarea, select {
  width: 100%; padding: .7rem .75rem;
  border: 1px solid #c9d0c4; border-radius: 6px;
  font: inherit;
}
button[type=submit] {
  border: 0; cursor: pointer;
  background: var(--green); color: #fff;
  font-weight: 700; padding: .8rem 1.2rem; border-radius: 6px;
}

ul.plain { padding-left: 1.1rem; }
ul.plain li { margin: .35rem 0; }
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 2.4rem 0 2rem;
}
.page-hero h1 { font-family: "Libre Baskerville", Georgia, serif; margin: 0; }
.page-hero p { color: #cfd4e8; margin: .5rem 0 0; }

.banner-block { padding: 0; background: var(--navy); }
.banner { position: relative; overflow: hidden; min-height: 360px; }
.banner .slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity .7s ease;
  background: #01004a center/cover no-repeat;
}
.banner .slide.is-on { opacity: 1; z-index: 1; }
.banner .slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(1,0,74,.8) 0%, rgba(1,0,74,.38) 55%, rgba(0,122,28,.28) 100%);
}
.banner .caption {
  position: relative; z-index: 2; color: #fff;
  width: min(var(--max), calc(100% - 2.4rem));
  margin: 0 auto; padding: 4.4rem 0;
  max-width: 36rem;
  margin-left: max(1.2rem, calc((100% - var(--max)) / 2));
}
.banner .caption h2 {
  color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 .5rem;
}
.banner .caption p { margin: 0; color: #e4e8f6; font-size: 1.08rem; }
.banner .dots {
  position: absolute; z-index: 3; right: 1.2rem; bottom: 1.1rem;
  display: flex; gap: .4rem;
}
.banner .dots button {
  width: 11px; height: 11px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.4); cursor: pointer;
}
.banner .dots button[aria-current="true"] { background: var(--lime); }
.banner .arrow {
  position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: rgba(1,0,74,.55); color: #fff; font-size: 1.4rem; cursor: pointer;
}
.banner .arrow.prev { left: .7rem; }
.banner .arrow.next { right: .7rem; }
.banner .arrow:hover { background: var(--green); }

.swap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: #e8ece4;
}
.swap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .8s ease;
}
.swap img.is-on { opacity: 1; }
