:root {
  --blue: #0d3a8d;
  --blue-dark: #041b3c;
  --blue-mid: #153f7b;
  --blue-light: #1d63b3;
  --blue-soft: #0c2a5c;
  --text: #ffffff;
  --border: rgba(255, 255, 255, 0.2);
  --max-width: 1100px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--blue-dark);
  line-height: 1.6;
}


.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
  white-space: nowrap;
}

a {
  color: #b8d2ff;
}

a:hover,
a:focus-visible {
  color: #fff;
}


.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blue-soft);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 12px rgba(4, 27, 60, 0.75);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 1rem;
  position: relative;
  min-height: 76px;
  z-index: 120;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 5px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 200;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.nav-toggle-bar {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--blue-dark);
  border-radius: 999px;
  transition: transform 0.2s ease;
}

.nav-toggle-bar + .nav-toggle-bar {
  margin-top: 5px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
  flex: 0 0 auto;
  min-width: 0;
  overflow: hidden;
  position: relative;
  top: 0;
}

.brand-logo,
.brand img {
  width: auto;
  height: 70px;
  object-fit: contain;
  display: block;
  padding: 0.25rem 0.45rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 0.8rem;
  box-shadow: 0 2px 6px rgba(4, 27, 60, 0.4);
  transition: border 0.2s ease, transform 0.2s ease;
}

.brand-logo--small {
  height: 35px;
  padding: 0.1rem 0.3rem;
}
.brand-name {
  font-weight: 800;
  font-size: 1.1rem;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 20rem;
}

.main-nav {
  position: static;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex: 1 1 auto;
  gap: 1.75rem;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-end;
  min-width: 0;
}

.nav-list a {
  text-decoration: none;
  color: #fff;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-weight: 500;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  box-shadow: 0 6px 18px rgba(4, 27, 60, 0.6);
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  background: var(--blue-light);
  color: #fff;
  transform: translateY(-1px);
}

.nav-list a.active {
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-dark);
  box-shadow: none;
  transform: none;
}

.nav-list a:focus-visible {
  outline: 2px solid var(--blue-dark);
  outline-offset: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.6rem;
  font-size: 0.95rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 8px 20px rgba(4, 27, 60, 0.5);
}

.btn.primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  color: #fff;
}

.btn.secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px) scale(1.01);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1rem 3rem;
}

.hero {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05));
  border-radius: 0.75rem;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 18px 35px rgba(4, 27, 60, 0.45);
}

.hero h1 {
  margin-top: 0;
  font-size: 2rem;
  color: #fff;
}

.hero p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
  color: var(--blue-dark);
}

.hero.hero--thank-you {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 20px 35px rgba(11, 61, 145, 0.2);
}

.hero.hero--thank-you p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.hero.hero--thank-you h1 {
  color: #fff;
}

.hero.hero--thank-you .btn.secondary {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.action-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

body[data-page="home"] .home-links {
  justify-content: center;
}

.home-profile {
  margin: 1.25rem auto 0;
  text-align: center;
}

.home-profile img {
  width: min(100%, 280px);
  height: auto;
  border-radius: 0.5rem;
  display: block;
  margin: 0 auto;
}

.home-profile figcaption {
  margin-top: 0.6rem;
  font-weight: 600;
  color: #fff;
}

.section {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 1.75rem;
  box-shadow: 0 12px 30px rgba(4, 27, 60, 0.45);
}

.section h2 {
  margin-top: 0;
  font-size: 1.35rem;
  color: #fff;
}

.section p {
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.88);
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.service-panel {
  background: rgba(255, 255, 255, 0.06);
  padding: 1rem 1.25rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 25px rgba(4, 27, 60, 0.4);
}

.service-panel h3 {
  margin-top: 0;
  color: #fff;
}

.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(4, 27, 60, 0.7);
  display: none;
  z-index: 50;
}

footer {
  background: var(--blue-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2rem 1rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  font-size: 0.9rem;
  color: #fff;
  line-height: 1.5;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 1rem;
}

.footer-contact p:first-child {
  font-size: 1.15rem;
  font-weight: 700;
}

.footer-docs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.footer-docs li {
  margin: 0;
}

.footer-docs a {
  color: #b8d2ff;
  text-decoration: underline;
}

.footer-docs a:hover,
.footer-docs a:focus-visible {
  color: #fff;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

label {
  font-weight: 500;
  color: #fff;
}

input,
textarea {
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.45rem;
  font-size: 1rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

input:focus,
textarea:focus {
  outline: 2px solid var(--blue-light);
  border-color: var(--blue-light);
}

.form-error {
  color: #b81c1c;
  font-size: 0.85rem;
  min-height: 1rem;
}

.form-success {
  background: #e6f8ff;
  border: 1px solid #a3d6ff;
  color: #0f3a57;
  padding: 0.9rem;
  border-radius: 0.5rem;
  margin-top: 0.5rem;
  display: none;
}

.form-success.form-success--error {
  background: #ffe5e5;
  border-color: #f4bcbc;
  color: #a20202;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 900px) {
  .section-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero {
    padding: 3rem;
  }

  .header-inner {
    padding: 0.6rem 1.5rem 0.55rem;
    gap: 0.35rem;
  }

  .main-nav {
    position: static;
    transform: none;
    justify-content: center;
    flex: 0 0 auto;
    margin: 0 auto 0.05rem;
  }

  .nav-list {
    flex: 0 0 auto;
    justify-content: center;
  }
}

@media (min-width: 1101px) {
  .header-inner {
    flex-wrap: wrap;
  }
  .brand-name {
    max-width: 38rem;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.2;
  }
}

@media (max-width: 900px) {
  .header-inner {
    padding: 0.55rem 1rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-toggle-bar {
    background: var(--blue-dark);
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 0.5rem;
    box-shadow: 0 12px 24px rgba(4, 27, 60, 0.4);
    z-index: 140;
  }

  body.nav-open .main-nav {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list li + li {
    border-top: 1px solid var(--border);
  }

  .nav-list a {
    display: block;
    padding: 0.9rem 1rem;
    border-radius: 0;
    border: none;
  }

  .nav-list a.active {
    background: var(--blue);
    color: #fff;
  }

  .site-header {
    overflow: visible;
  }
}

@media (max-width: 900px) {
  .brand {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
  }

  .brand-name {
    white-space: normal;
    overflow: hidden;
    text-overflow: clip;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.2;
    padding-right: 12px;
  }

  .header-inner {
    flex-wrap: wrap;
  }
}

@media print {
  :root {
    color: #000;
  }

  body {
    background: #fff;
    color: #000;
  }

  *, *::before, *::after {
    background: none !important;
    box-shadow: none !important;
    color: inherit !important;
  }

  .site-header,
  .back-to-top {
    display: none !important;
  }

  .main-nav {
    display: none !important;
  }

  .section,
  .hero {
    border: none;
    padding: 0;
  }

  main {
    padding: 0;
  }

  .section-grid {
    display: block;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.85rem;
    font-style: italic;
  }

  footer {
    border-top: 1px solid #000;
  }
}
