/* Shared header. Loaded last so these rules beat page-level nav CSS. */
nav.at-nav {
  position: sticky;
  top: 0;
  z-index: 10000;
  display: block;
  margin: 0;
  padding: 0;
  background: #0B1D33;
  border-bottom: 1px solid rgba(139, 35, 50, 0.12);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  line-height: normal;
  box-sizing: border-box;
  overflow: visible;
}
nav.at-nav * { box-sizing: border-box; }
nav.at-nav .nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 1rem;
}
nav.at-nav .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
nav.at-nav .logo-box {
  width: 42px;
  height: 42px;
  background: #8B2332;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Bebas Neue", sans-serif;
  font-size: 20px;
  color: #fff;
}
nav.at-nav .logo-text {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.25rem;
  color: #fff;
  letter-spacing: 2px;
  line-height: 1;
}
nav.at-nav .logo-text em {
  font-style: normal;
  color: #8B2332;
}
nav.at-nav .nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}
nav.at-nav .nav-links > li {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav.at-nav .nav-links a {
  color: #9DA3AD;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.2;
}
nav.at-nav .nav-links > li > a:not(.nav-cta):not(.nav-phone) {
  display: inline-flex;
  align-items: center;
  height: 70px;
}
nav.at-nav .nav-links a:hover {
  color: #A63243;
}
nav.at-nav .nav-links > li > a.is-active:not(.nav-cta):not(.nav-phone) {
  color: #fff;
  box-shadow: inset 0 -2px 0 #A63243;
}
nav.at-nav .has-sub > a::after {
  content: "";
  display: inline-block;
  margin-left: 0.35rem;
  border: 4px solid transparent;
  border-top-color: currentColor;
  transform: translateY(2px);
}
nav.at-nav .nav-sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: #0B1D33;
  border: 1px solid rgba(139, 35, 50, 0.4);
  border-top: 2px solid #8B2332;
  padding: 0.35rem 0;
  margin: 0;
  list-style: none;
  z-index: 10001;
  max-height: min(70vh, 520px);
  overflow-y: auto;
}
nav.at-nav .has-sub:hover > .nav-sub,
nav.at-nav .has-sub:focus-within > .nav-sub {
  display: block;
}
nav.at-nav .nav-sub a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.7rem;
}
nav.at-nav .nav-sub a.is-active {
  color: #fff;
  box-shadow: inset 3px 0 0 #A63243;
}
nav.at-nav .nav-phone {
  color: #A63243 !important;
  font-weight: 700 !important;
}
nav.at-nav .nav-cta {
  display: inline-flex !important;
  align-items: center;
  background: #8B2332 !important;
  color: #fff !important;
  padding: 8px 12px !important;
  border-radius: 6px;
  font-weight: 800 !important;
  letter-spacing: 0.3px;
  line-height: 1.2 !important;
}
nav.at-nav .nav-cta:hover {
  background: #A63243 !important;
  color: #fff !important;
}
nav.at-nav .hamburger {
  display: none;
  width: auto;
  height: auto;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  line-height: 0;
  z-index: 10002;
}
nav.at-nav .hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}
nav.at-nav .mobile-menu {
  display: none;
  background: #0B1D33;
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  padding: 0.5rem 1.5rem 1.25rem;
  border-bottom: 2px solid #8B2332;
  z-index: 10001;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
}
nav.at-nav .mobile-menu a {
  display: block;
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
nav.at-nav .mobile-menu a.is-active {
  color: #fff;
  box-shadow: inset 4px 0 0 #A63243;
  padding-left: 0.65rem;
}
nav.at-nav .mobile-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
nav.at-nav .mobile-row > a {
  flex: 1;
  border-bottom: none;
  min-width: 0;
}
nav.at-nav .sub-toggle {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: #fff;
  line-height: 0;
}
nav.at-nav .sub-toggle::before {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  margin: 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
}
nav.at-nav .mobile-item.is-open > .mobile-row .sub-toggle::before {
  transform: rotate(-135deg) translate(-2px, -2px);
}
nav.at-nav .mobile-sub {
  display: none;
  background: rgba(255, 255, 255, 0.04);
}
nav.at-nav .mobile-item.is-open > .mobile-sub {
  display: block;
}
nav.at-nav .mobile-sub a {
  font-size: 1.02rem;
  letter-spacing: 1px;
  padding-left: 0.85rem;
  color: #DEE2E8;
  white-space: normal;
  line-height: 1.15;
}
nav.at-nav .mobile-menu a.nav-cta {
  display: inline-block;
  background: #8B2332;
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 0.7rem 1.2rem;
  margin-top: 0.75rem;
  border-radius: 6px;
  border-bottom: none;
  box-shadow: none;
}
@media (max-width: 1100px) {
  nav.at-nav .nav-links { display: none; }
  nav.at-nav .hamburger { display: block; }
  nav.at-nav .mobile-menu.is-open { display: block; }
}
