/* Shared AMHA header, menu, and overflow fixes */
html, body { margin: 0; background: #ffffff; max-width: 100%; overflow-x: hidden; }
* { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
a { color: #013976; }
a:hover { color: #8A5F17; }

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #D5DFEA;
  position: relative;
}
.site-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-logo { display: block; flex: 0 0 auto; }
.site-logo img { height: 52px; width: auto; display: block; max-width: none; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #B9C7D8;
  border-radius: 4px;
  background: #ffffff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #013976;
  border-radius: 1px;
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }
.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a { text-decoration: none; color: #013976; }
.nav-links a:hover { color: #8A5F17; }
.nav-links a[aria-current="page"]:not(.nav-cta) {
  color: #8A5F17;
  border-bottom: 2px solid #C08A2E;
  padding-bottom: 4px;
}
.nav-cta {
  text-decoration: none;
  background: #013976;
  color: #ffffff !important;
  padding: 12px 20px;
  border-radius: 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 0 !important;
}
.nav-cta:hover { background: #012A57; color: #ffffff !important; }
.nav-cta[aria-current="page"] { box-shadow: inset 0 0 0 2px #C08A2E; }

@media (max-width: 760px) {
  .site-nav { padding: 8px 16px; }
  .site-logo img { height: 44px; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 40;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    background: #ffffff;
    border-bottom: 1px solid #D5DFEA;
    padding: 8px 16px 16px;
    box-shadow: 0 8px 20px rgba(1, 42, 87, 0.12);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 8px 4px;
    border-bottom: 1px solid #EDF3FA;
  }
  .nav-links a[aria-current="page"]:not(.nav-cta) {
    border-bottom: 1px solid #EDF3FA;
    box-shadow: inset 0 -2px 0 #C08A2E;
  }
  .nav-cta {
    margin-top: 8px;
    justify-content: center;
    border-bottom: 0 !important;
  }
}

/* Prevent wide auto-fit grids and hero stat rows from overflowing on phones */
.hero-stat-row { min-width: 0; }
@media (max-width: 760px) {
  .hero-stat-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .hero-stat-row > div {
    border-left: 0 !important;
    border-top: 1px solid #5C80AD;
    padding: 10px 0 !important;
  }
}
.country-strip { min-width: 0; }
.country-strip > * { min-width: 0; max-width: 100%; }
@media (prefers-reduced-motion: reduce) {
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { transition: none; }
}

@media (max-width: 760px) {
  .hero-inner {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
}
