:root {
  --ink: #17211d;
  --muted: #61706a;
  --line: #dbe5df;
  --paper: #ffffff;
  --soft: #f4f8f5;
  --blue: #003366;
  --blue-dark: #002244;
  --blue-light: #00509E;
  --gold: #c99a3d;
  --teal: #2f7dbd;
  --danger: #9b3d30;
  --shadow: 0 18px 48px rgba(18, 31, 26, 0.12);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.nav-wrap {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.28rem;
  color: var(--blue-dark);
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 8px 18px rgba(15, 91, 67, 0.22);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--blue-dark);
  cursor: pointer;
}

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

.nav-menu,
.sub-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link,
.drop-trigger {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #25342f;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.nav-link:hover,
.drop-trigger:hover,
.nav-link.active,
.drop-trigger.active {
  color: var(--blue);
  background: #edf5f0;
}

.has-dropdown {
  position: relative;
}

.drop-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 230px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 160ms ease;
}

.has-dropdown:hover .sub-menu,
.has-dropdown:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: #30413b;
  font-weight: 600;
}

.sub-menu a:hover,
.sub-menu a.active {
  color: var(--blue);
  background: var(--soft);
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 750;
}

.button {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 22px rgba(15, 91, 67, 0.22);
}

.button:hover {
  background: var(--blue-dark);
}

.button-secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue-dark);
}

.hero {
  min-height: 620px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(8, 44, 33, 0.86), rgba(8, 44, 33, 0.5), rgba(8, 44, 33, 0.12)),
    url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1800&q=80") center / cover;
  color: #fff;
}

.hero-inner,
.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-copy {
  max-width: 660px;
  padding: 90px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.12;
  margin: 0;
  color: #fff;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 5.25rem);
  max-width: 760px;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

h3 {
  font-size: 1.25rem;
}

.hero p,
.page-hero p,
.section-lead {
  font-size: 1.08rem;
  color: #dfeee7;
  max-width: 650px;
}

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

.page-hero {
  padding: 92px 0 56px;
  background:
    linear-gradient(135deg, rgba(15, 91, 67, 0.97), rgba(35, 121, 135, 0.9)),
    url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1600&q=80") center / cover;
  color: #fff;
}

.page-hero.compact {
  padding-bottom: 44px;
}

.page-hero p {
  margin-bottom: 0;
}

.contact-hero {
  padding: 82px 0 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 51, 102, 0.95), rgba(0, 74, 148, 0.85), rgba(23, 107, 184, 0.75)),
    url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.contact-hero .section-inner {
  display: grid;
  gap: 28px;
}

.contact-hero-copy {
  max-width: 760px;
  padding-bottom: 42px;
}

.contact-hero-copy p:last-child {
  max-width: 650px;
  color: #dfeee7;
  font-size: 1.08rem;
}

.contact-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.contact-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  color: #ecf7f2;
  font-weight: 750;
}

.contact-tabs a:hover,
.contact-tabs a.active {
  color: var(--blue-dark);
  background: #fff;
}

.section {
  padding: 76px 0;
}

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

.section.tight {
  padding: 54px 0;
}

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

.section-lead {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 22px;
}

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

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(18, 31, 26, 0.06);
}

.card strong {
  color: var(--blue);
}

.card p,
.feature-list,
.content p {
  color: var(--muted);
}

.card .button-secondary,
.card .button {
  margin-top: 8px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: -42px;
  position: relative;
  z-index: 2;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  box-shadow: var(--shadow);
}

.metric {
  padding: 26px;
  background: #fff;
}

.metric b {
  display: block;
  color: var(--blue);
  font-size: 1.85rem;
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-weight: 650;
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 44px;
  align-items: center;
}

.visual-panel {
  min-height: 410px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(15, 91, 67, 0.1), rgba(15, 91, 67, 0.68)),
    url("https://images.unsplash.com/photo-1559526324-593bc073d938?auto=format&fit=crop&w=1200&q=80") center / cover;
  box-shadow: var(--shadow);
}

.feature-list {
  padding-left: 20px;
}

.feature-list li {
  margin: 10px 0;
}

.callout {
  padding: 34px;
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 26px rgba(18, 31, 26, 0.08);
}

.callout p:first-of-type {
  margin-top: 12px;
}

.contact-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(18, 31, 26, 0.06);
}

.contact-methods {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.contact-method {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.contact-method strong {
  display: block;
  color: var(--blue-dark);
}

.contact-method span {
  color: var(--muted);
}

.form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-weight: 750;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cfdcd5;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.faq-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-item p {
  max-width: 820px;
  margin-bottom: 0;
}

.security-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.security-list li {
  padding: 18px;
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
}

.location {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
}

.location p {
  margin-bottom: 6px;
}

.map-panel {
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 34px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(15, 91, 67, 0.88), rgba(35, 121, 135, 0.76)),
    url("https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=1400&q=80") center / cover;
  color: #fff;
  box-shadow: var(--shadow);
}

.map-panel h2 {
  max-width: 560px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e7f2ed;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
}

.site-footer {
  color: #dce9e4;
  background: #081f18;
}

.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 30px;
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 34px;
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
}

.site-footer p,
.site-footer a {
  color: #b7c9c1;
}

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

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9fb4ab;
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-menu {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    padding: 12px 16px 18px;
    border-bottom: 1px solid var(--line);
    background: #fff;
  }

  .nav-menu.open {
    display: grid;
  }

  .nav-link,
  .drop-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 10px 12px;
  }

  .sub-menu {
    position: static;
    width: auto;
    display: grid;
    margin: 0 0 8px 12px;
    padding: 0;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .hero {
    min-height: 560px;
  }

  .section-head,
  .split,
  .grid.two,
  .grid.three,
  .metric-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .metric-strip {
    margin-top: 0;
  }

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

  .contact-hero {
    padding-top: 64px;
  }

  .contact-tabs {
    border-radius: var(--radius);
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }
}

@media (max-width: 560px) {
  .hero-copy {
    padding: 74px 0;
  }

  .section {
    padding: 54px 0;
  }

  .card,
  .callout,
  .contact-panel {
    padding: 22px;
  }

  .contact-tabs a {
    width: 100%;
  }
}
