@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-200.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Raleway";
  src: url("../fonts/raleway-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Raleway";
  src: url("../fonts/raleway-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Raleway";
  src: url("../fonts/raleway-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --sg-navy: #071725;
  --sg-black: #06131e;
  --sg-panel: #0f2430;
  --sg-cyan: #29acc3;
  --sg-teal: #078d82;
  --sg-gold: #bcbd27;
  --sg-lavender: #b48bb6;
  --sg-text: #f2f7f8;
  --sg-muted: #aab8be;
  --sg-paper: #ffffff;
  --sg-ink: #1c2a33;
  --sg-steel: #638da8;
  --sg-testimonial-text: #3d78a8;
  --sg-border: rgba(255, 255, 255, 0.12);
  --max: 1200px;
  /* Measured from Wix @1440x900 (banner-corrected) */
  --header-h: 100px;
  --bbb-x: 230px;
  --bbb-y: 25px;
  --bbb-w: 143px;
  --bbb-h: 50px;
  --nav-x: 439px;
  --nav-y: 38px;
  --title-x: 272px;
  --title-y: 105px; /* 205 banner-corrected - header */
  --title-w: 411px;
  --title-h: 373px;
  --sphere-x: 719px;
  --sphere-y: 72px; /* 172 - header */
  --sphere-w: 432px;
  --sphere-h: 429px;
  --hero-h: 650px; /* navy intro starts ~750 abs without banner */
  --chat-size: 56px;
  --chat-w: 150px;
  --chat-right: 12px;
  --chat-bottom: 12px;
  --font: "Raleway", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Helvetica, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--sg-ink);
  background: #f5f7f8;
  line-height: 1.65;
  font-size: 1.05rem;
  font-weight: 400;
}

img, svg { display: block; max-width: 100%; height: auto; }
.bbb-seal,
.hero-visual img,
.hero-title img {
  max-width: none;
}
a { color: var(--sg-teal); text-underline-offset: 0.18em; }
a:hover { color: #0aa39a; }
:focus-visible { outline: 3px solid var(--sg-cyan); outline-offset: 3px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--sg-navy); color: #fff; padding: 0.75rem 1rem; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  min-height: var(--header-h);
  max-height: var(--header-h);
  background: var(--sg-navy);
  border-bottom: 0;
}

.header-inner {
  position: relative;
  width: 100%;
  height: var(--header-h);
  max-width: none;
  margin: 0;
  padding: 0;
  display: block;
}

.header-bbb {
  position: absolute;
  left: var(--bbb-x);
  top: var(--bbb-y);
  display: flex;
  width: var(--bbb-w);
  height: var(--bbb-h);
}

.bbb-seal {
  width: var(--bbb-w);
  height: var(--bbb-h);
  max-width: none;
  object-fit: contain;
}

.site-nav {
  position: absolute;
  left: var(--nav-x);
  top: 37px;
  display: flex;
  justify-content: flex-start;
  min-width: 0;
}

.site-nav ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.site-nav a {
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 25px;
  white-space: nowrap;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 25px;
  box-sizing: border-box;
}
.site-nav li:nth-child(1) a { width: 65px; }
.site-nav li:nth-child(2) a { width: 128px; }
.site-nav li:nth-child(3) a { width: 103px; }
.site-nav li:nth-child(4) a { width: 127px; }
.site-nav li:nth-child(5) a { width: 187px; }
.site-nav li:nth-child(6) a { width: 54px; }
.site-nav li:nth-child(7) a { width: 92px; }

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--sg-gold);
}

.nav-toggle {
  display: none;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 0;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  width: 2.75rem;
  height: 2.75rem;
  color: #fff;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.2rem;
  height: 2px;
  background: currentColor;
  margin: 0 auto;
  position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; width: 100%; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.hero {
  position: relative;
  background: #ffffff;
  /* Measured: header 100 + hero to navy intro (~750) */
  height: var(--hero-h);
  min-height: var(--hero-h);
  max-height: var(--hero-h);
  overflow: hidden;
  padding: 0;
  display: block;
}

.hero-panel {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  display: block;
  padding: 0;
}

.hero-title {
  position: absolute;
  left: var(--title-x);
  top: var(--title-y);
  width: var(--title-w);
  height: var(--title-h);
  margin: 0;
  padding: 0;
  border: 0;
}
.hero-title img {
  width: var(--title-w);
  height: var(--title-h);
  max-width: none;
  object-fit: contain;
  display: block;
}

.hero-visual {
  position: absolute;
  left: var(--sphere-x);
  top: var(--sphere-y);
  width: var(--sphere-w);
  height: var(--sphere-h);
  display: block;
  padding: 0;
  margin: 0;
}

.hero-visual img {
  width: var(--sphere-w);
  height: var(--sphere-h);
  max-width: none;
  object-fit: contain;
  margin: 0;
}

.section h2 {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.section { padding: 4.5rem 1.25rem; }
.section-wrap { max-width: var(--max); margin: 0 auto; }

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  color: var(--sg-cyan);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.intro-section {
  background: var(--sg-navy);
  color: var(--sg-text);
  text-align: center;
}

.brand-logo {
  width: 160px;
  height: auto;
  margin: 0 auto 1.25rem;
  background: transparent;
}

.intro-section .lede {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  color: #d5e0e5;
}

.know-section { background: #edf2f4; }
.know-grid,
.gov-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.gov-grid { grid-template-columns: 0.95fr 1.05fr; }

.government-section {
  background: linear-gradient(160deg, #0a2030, #071725);
  color: var(--sg-text);
}
.government-section a { color: var(--sg-cyan); }

.focus-section { background: #fff; }
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.focus-grid article {
  padding: 1.25rem;
  border: 1px solid #d7e0e4;
  border-radius: 14px;
  background: #f8fbfc;
}
.focus-grid h3 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.focus-grid p { margin: 0; color: #4d5b63; }

.products-section { background: #f0f4f6; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.product-card {
  background: #fff;
  border: 1px solid #d7e0e4;
  border-radius: 16px;
  padding: 1.35rem;
}
.product-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.25rem;
  align-items: center;
  background: var(--sg-navy);
  color: var(--sg-text);
  border-color: transparent;
}
.product-card h3 { margin-top: 0; }
.text-link { font-weight: 700; }

.testimonials-section {
  background: var(--sg-steel);
  color: #fff;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.testimonial-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}

.testimonial-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  align-items: center;
}

.testimonial-brand img {
  width: 200px;
  margin: 0 auto;
  background: rgba(255,255,255,0.92);
  padding: 0.75rem;
  border-radius: 8px;
}

.testimonial-panel {
  background: #fff;
  color: var(--sg-testimonial-text);
  border-radius: 4px;
  padding: 1.75rem 1.5rem;
  min-height: 280px;
}

.testimonial-panel blockquote { margin: 0; }
.testimonial-panel p { margin: 0 0 1.25rem; font-size: 1.05rem; }
.testimonial-panel footer {
  color: #2f5f86;
  font-weight: 700;
}

.carousel-btn {
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

.contact-section { background: #fff; }
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
}
.contact-meta { font-size: 1.1rem; }

.contact-form,
.form-row { display: grid; gap: 0.45rem; }
.contact-form { gap: 1rem; }
.form-row label { font-weight: 650; color: #24323a; }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid #c9d4d9;
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  font: inherit;
  background: #fff;
}
.form-check {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.7rem;
}
.form-check input { width: auto; margin-top: 0.3rem; }
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-status { padding: 0.85rem 1rem; border-radius: 10px; margin-bottom: 1rem; }
.form-status.is-success { background: #e7f7f2; color: #0b6b5d; }
.form-status.is-error { background: #fdeced; color: #8f2430; }
.has-error input,
.has-error select,
.has-error textarea { border-color: #c24852; }
.field-error { color: #c24852; font-size: 0.9rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--sg-teal), var(--sg-cyan));
  color: #041018;
}
.btn-primary:hover { filter: brightness(1.05); color: #041018; }

.site-footer {
  background: var(--sg-navy);
  color: #d5e0e5;
  padding: 2.5rem 1.25rem 2rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}
.footer-logo { width: 110px; margin-bottom: 0.75rem; background: transparent; }
.footer-brand { margin: 0 0 0.35rem; font-weight: 800; color: #fff; }
.footer-tag, .footer-meta { margin: 0 0 0.85rem; color: #aab8be; }
.footer-links, .footer-social { list-style: none; margin: 0; padding: 0; }
.footer-links { display: grid; gap: 0.55rem; }
.footer-links a, .footer-meta a { color: #dce7ec; text-decoration: none; }
.footer-links a:hover, .footer-meta a:hover { color: var(--sg-cyan); }
.footer-social { display: flex; gap: 0.7rem; margin-top: 0.75rem; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
}
.footer-social img { width: 18px; height: 18px; }
.footer-copy {
  max-width: var(--max);
  margin: 1.5rem auto 0;
  text-align: center;
  color: #8fa0a8;
  font-size: 0.92rem;
}

/* Chat — Wix collapsed launcher is a 150×56 pill, ~12px from edges */
.chat-root {
  position: fixed;
  right: var(--chat-right);
  bottom: var(--chat-bottom);
  z-index: 80;
  width: var(--chat-w);
  height: var(--chat-size);
}
.chat-root.is-open {
  width: auto;
  height: auto;
  right: var(--chat-right);
  bottom: var(--chat-bottom);
}
.chat-launcher {
  width: var(--chat-w);
  height: var(--chat-size);
  border: 0;
  border-radius: 999px;
  background: var(--sg-cyan);
  color: #fff;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0 1rem;
}
.chat-launcher svg { flex-shrink: 0; }
.chat-panel {
  width: min(400px, calc(100vw - 1.5rem));
  height: min(600px, calc(100vh - 5rem));
  background: #d9e4ea;
  border-radius: 16px;
  overflow: hidden;
  display: none;
  flex-direction: column;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}
.chat-panel.is-open {
  display: flex;
}
.chat-root.is-open .chat-launcher {
  display: none;
}
.chat-notice { display: none !important; }
.chat-header {
  background: var(--sg-cyan);
  color: #041018;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
}
.chat-header h2 { margin: 0; font-size: 1.05rem; }
.chat-minimize {
  border: 0; background: transparent; font-size: 1.4rem; cursor: pointer; color: inherit;
}
.chat-notice {
  margin: 0;
  padding: 0.55rem 0.9rem;
  font-size: 0.78rem;
  background: #c9d8e0;
  color: #2d3d46;
}
.chat-body {
  flex: 1;
  overflow: auto;
  padding: 0.9rem;
  display: grid;
  gap: 0.7rem;
  align-content: start;
}
.chat-bubble {
  background: #fff;
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  max-width: 92%;
  color: #1d2a31;
}
.chat-bubble.user {
  justify-self: end;
  background: #eef8fb;
}
.chat-suggestions { display: grid; gap: 0.45rem; }
.chat-suggestions button {
  text-align: left;
  border: 1px solid #adc0ca;
  background: rgba(255,255,255,0.7);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  cursor: pointer;
  font: inherit;
}
.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem;
  padding: 0.7rem;
  background: #cfdce3;
}
.chat-form input {
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 0.95rem;
  font: inherit;
}
.chat-form button {
  width: 2.6rem;
  border: 0;
  border-radius: 999px;
  background: var(--sg-navy);
  color: #fff;
  cursor: pointer;
}

.legal-main {
  max-width: 820px;
  margin: 0 auto;
  padding: 7rem 1.25rem 4rem;
}

/* Blog */
.blog-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 4.5rem;
}
.blog-index-header { margin-bottom: 2rem; }
.blog-index-header .lede {
  max-width: 40rem;
  color: #4d5b63;
  font-size: 1.15rem;
}
.blog-grid {
  display: grid;
  gap: 1.5rem;
}
.blog-card {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.1rem;
  border: 1px solid #d7e0e4;
  background: #fff;
}
.blog-card-media img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.blog-card-body h2 {
  margin: 0.2rem 0 0.6rem;
  font-size: 1.35rem;
  line-height: 1.25;
}
.blog-card-body h2 a {
  color: var(--sg-ink);
  text-decoration: none;
}
.blog-card-body h2 a:hover { color: var(--sg-teal); }
.blog-meta {
  margin: 0 0 0.35rem;
  color: #6a7a83;
  font-size: 0.92rem;
}
.blog-back { margin: 0 0 1rem; }
.blog-post-header h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.15;
}
.blog-cover { margin: 1.25rem 0 1.5rem; }
.blog-cover img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  background: #f0f4f6;
}
.blog-content {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #1c2a33;
}
.blog-content img {
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
}
.blog-content pre,
.blog-content code {
  font-family: Consolas, "Cascadia Code", monospace;
}
.blog-content pre {
  overflow: auto;
  padding: 1rem;
  background: #0f2430;
  color: #e5f2f5;
}
.blog-content a { color: var(--sg-teal); }

@media (max-width: 980px) {
  .blog-card { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .hero-panel,
  .know-grid,
  .gov-grid,
  .focus-grid,
  .product-grid,
  .product-card.featured,
  .contact-layout,
  .testimonial-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .testimonial-carousel { grid-template-columns: 1fr; }
  .carousel-btn { justify-self: center; }
  .bbb-seal { width: 112px; }
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--sg-navy);
    padding: 1rem 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 0.85rem; }
  .header-bbb { order: 0; }
  .chat-panel {
    width: min(100vw - 1rem, 420px);
    height: min(78vh, 640px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
