/* Header, Footer, Container */

.nh-container {
  width: 100%;
  max-width: var(--nh-max-wide);
  margin-inline: auto;
  padding-inline: var(--nh-gutter);
}

.nh-container--narrow {
  max-width: var(--nh-rail-content);
}

.nh-rail-content,
.nh-rail--content > .nh-form-shell.nh-container {
  max-width: var(--nh-rail-content);
}

.nh-rail-form {
  width: 100%;
  max-width: var(--nh-rail-form);
  margin-inline: auto;
}

/* ── Header ── */
.nh-header {
  position: sticky;
  top: 0;
  z-index: var(--nh-z-header);
  overflow: visible;
  background: rgba(255, 253, 249, 0.88);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border-bottom: 1px solid transparent;
  transition:
    background var(--nh-duration) var(--nh-ease),
    border-color var(--nh-duration) var(--nh-ease),
    box-shadow var(--nh-duration) var(--nh-ease);
}

.nh-header.is-scrolled {
  background: rgba(255, 253, 249, 0.96);
  border-bottom-color: var(--nh-border);
  box-shadow: 0 1px 0 rgba(45, 69, 104, 0.06), var(--nh-shadow-sm);
}

.nh-header__shell {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  height: var(--nh-header-h);
}

@media (min-width: 80rem) {
  .nh-header__shell {
    height: var(--nh-header-h-lg);
  }
}

.nh-header__logo {
  flex-shrink: 0;
  line-height: 0;
}

.nh-header__end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  min-width: 0;
}

.nh-logo {
  display: block;
  flex-shrink: 0;
  height: 2.625rem;
  width: auto;
  transition: opacity var(--nh-duration) var(--nh-ease);
}

.nh-logo:hover {
  opacity: 0.88;
}

@media (min-width: 80rem) {
  .nh-logo {
    height: 3.75rem;
  }
}

.nh-logo img {
  height: 100%;
  width: auto;
}

.nh-logo--parts {
  position: relative;
  display: inline-block;
  aspect-ratio: 123.615 / 110.69;
  height: 2.625rem;
}

@media (min-width: 80rem) {
  .nh-logo--parts {
    height: 3.75rem;
  }
}

.nh-logo--parts span {
  position: absolute;
}

.nh-logo--parts span:nth-child(1) { inset: 0 21.71% 52.16% 24.81%; }
.nh-logo--parts span:nth-child(2) { inset: 51.14% 58.27% 26.05% 0; }
.nh-logo--parts span:nth-child(3) { inset: 50.82% 0 26.05% 40.1%; }
.nh-logo--parts span:nth-child(4) { inset: 77.63% 30.18% 0 30.18%; }

.nh-logo--parts img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

/* Desktop Nav */
.nh-nav {
  display: none;
  min-width: 0;
}

@media (min-width: 80rem) {
  .nh-nav {
    display: block;
  }
}

.nh-nav__list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 0.0625rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nh-nav__item {
  position: relative;
  flex-shrink: 0;
}

.nh-header a,
.nh-header a:link,
.nh-header a:visited,
.nh-header a:hover,
.nh-header a:focus,
.nh-header a:focus-visible,
.nh-header a:active {
  text-decoration: none;
}

.nh-nav__link,
.nh-nav__trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 2.5rem;
  padding: 0.375rem 0.625rem;
  border: none;
  border-radius: var(--nh-radius-sm);
  background: transparent;
  color: var(--nh-navy);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition:
    color var(--nh-duration) var(--nh-ease),
    background var(--nh-duration) var(--nh-ease);
}

@media (min-width: 90rem) {
  .nh-nav__link,
  .nh-nav__trigger {
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
  }
}

.nh-nav__link::after,
.nh-nav__trigger::after {
  content: "";
  position: absolute;
  bottom: 0.25rem;
  left: 0.625rem;
  right: 0.625rem;
  height: 2px;
  border-radius: 1px;
  background: var(--nh-yellow);
  transform: scaleX(0);
  transition: transform 0.22s var(--nh-ease);
}

.nh-nav__trigger[data-nav-parent]::before {
  content: "";
  flex-shrink: 0;
  width: 0.35rem;
  height: 0.35rem;
  margin-left: 0.15rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.55;
  transition: transform 0.22s var(--nh-ease), opacity 0.22s var(--nh-ease);
  order: 1;
}

.nh-nav__trigger[data-nav-parent][aria-expanded="true"]::before {
  transform: rotate(-135deg) translateY(1px);
  opacity: 0.85;
}

.nh-nav__link:hover,
.nh-nav__trigger:hover,
.nh-nav__link:focus-visible,
.nh-nav__trigger:focus-visible {
  color: var(--nh-navy-deep);
  outline: none;
}

.nh-nav__link:hover::after,
.nh-nav__trigger:hover::after,
.nh-nav__link:focus-visible::after,
.nh-nav__trigger:focus-visible::after {
  transform: scaleX(1);
}

.nh-nav__link.is-active,
.nh-nav__trigger.is-active,
.nh-nav__trigger[aria-expanded="true"],
.nh-nav__trigger[data-state="open"] {
  color: var(--nh-navy-deep);
  font-weight: 700;
  background: transparent;
}

.nh-nav__link.is-active::after,
.nh-nav__trigger.is-active::after,
.nh-nav__trigger[aria-expanded="true"]::after,
.nh-nav__trigger[data-state="open"]::after {
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--nh-yellow), var(--nh-yellow-bright));
}

.nh-header [data-layout="site-main-navigation"] [data-static-nav-parent]:not(.nh-nav__cta),
.nh-header [data-layout="site-main-navigation"] [data-static-nav-parent]:not(.nh-nav__cta):hover,
.nh-header [data-layout="site-main-navigation"] [data-static-nav-parent]:not(.nh-nav__cta)[data-state="open"],
.nh-header [data-layout="site-main-navigation"] [data-static-nav-node][data-open="true"] > [data-static-nav-parent]:not(.nh-nav__cta) {
  background: transparent;
}

.nh-nav__item--cta {
  margin-left: 0.375rem;
  padding-left: 0.375rem;
  border-left: 1px solid var(--nh-border);
}

.nh-nav__cta {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.375rem;
  padding: 0.375rem 1.125rem;
  border: 0;
  border-radius: var(--nh-radius-pill);
  background: var(--nh-navy);
  color: var(--nh-yellow);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background var(--nh-duration) var(--nh-ease),
    transform var(--nh-duration) var(--nh-ease),
    box-shadow var(--nh-duration) var(--nh-ease);
}

.nh-nav__cta::after {
  display: none;
}

.nh-nav__cta[data-nav-account]::before {
  content: "";
  flex-shrink: 0;
  width: 0.4rem;
  height: 0.4rem;
  margin-top: -0.15rem;
  border-right: 1.75px solid currentColor;
  border-bottom: 1.75px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.9;
  transition: transform 0.22s var(--nh-ease), opacity 0.22s var(--nh-ease);
  order: 1;
}

.nh-nav__cta[data-nav-account][aria-expanded="true"]::before {
  margin-top: 0.15rem;
  transform: rotate(-135deg);
  opacity: 1;
}

.nh-nav__cta:hover {
  background: var(--nh-navy-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(26, 45, 74, 0.2);
}

.nh-nav__cta.is-active {
  background: var(--nh-yellow);
  color: var(--nh-navy-deep);
  box-shadow: none;
}

/* Mobile menu button */
.nh-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--nh-border);
  border-radius: var(--nh-radius-md);
  background: #fff;
  color: var(--nh-navy);
  box-shadow: var(--nh-shadow-sm);
  transition:
    background var(--nh-duration) var(--nh-ease),
    border-color var(--nh-duration) var(--nh-ease);
}

.nh-menu-btn:hover {
  background: var(--nh-yellow-muted);
  border-color: transparent;
}

@media (min-width: 80rem) {
  .nh-menu-btn {
    display: none;
  }
}

.nh-menu-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.nh-header__subpage {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
  height: var(--nh-header-h);
}

.nh-header__back {
  position: absolute;
  left: var(--nh-gutter);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--nh-navy-deep);
  text-decoration: none;
}

.nh-header__back svg {
  width: 1.375rem;
  height: 1.375rem;
}

.nh-header__page-title {
  margin: 0;
  max-width: calc(100% - 5.5rem);
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--nh-navy-deep);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 79.9375rem) {
  .nh-header--subpage .nh-header__subpage[hidden] {
    display: flex !important;
  }

  .nh-header--subpage .nh-header__shell {
    display: none;
  }
}

/* ── Footer ── */
.nh-footer {
  position: relative;
  margin-top: auto;
  background: linear-gradient(168deg, #152238 0%, var(--nh-navy-deep) 38%, var(--nh-navy) 100%);
  color: rgba(245, 213, 71, 0.95);
  overflow: hidden;
}

.nh-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--nh-yellow) 20%, var(--nh-yellow-bright) 50%, var(--nh-yellow) 80%, transparent);
}

.nh-footer__inner {
  padding: 3.25rem var(--nh-gutter) 2rem;
}

.nh-footer__top {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 48rem) {
  .nh-footer__top {
    grid-template-columns: auto 1fr;
    gap: 2.5rem 3.5rem;
  }
}

@media (min-width: 72rem) {
  .nh-footer__top {
    grid-template-columns: 5.5rem 1fr 1fr;
    gap: 2.5rem 3rem;
  }
}

.nh-footer__mark {
  display: block;
  width: 3.75rem;
  flex-shrink: 0;
}

.nh-footer__mark-inner {
  position: relative;
  display: block;
  aspect-ratio: 38.16 / 30.57;
}

.nh-footer__mark-inner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nh-footer__mark-outline {
  inset: -6.5% -5.2%;
}

.nh-footer__body {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 72rem) {
  .nh-footer__body {
    grid-column: span 2;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem 3rem;
  }
}

.nh-footer__info {
  font-size: 0.875rem;
  line-height: 1.9;
  letter-spacing: -0.01em;
}

.nh-footer__info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.5rem;
  align-items: baseline;
}

.nh-footer__info-row + .nh-footer__info-row {
  margin-top: 0.4rem;
}

.nh-footer__label {
  font-weight: 800;
  color: var(--nh-yellow);
  white-space: nowrap;
}

.nh-footer__sep {
  opacity: 0.35;
  font-weight: 300;
  user-select: none;
}

.nh-footer__value {
  color: rgba(255, 248, 220, 0.88);
}

.nh-footer__bank {
  padding: 1.125rem 1.25rem;
  border-radius: var(--nh-radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(245, 213, 71, 0.12);
  list-style: none;
  font-size: 0.875rem;
  line-height: 1.85;
}

.nh-footer__bank li {
  position: relative;
  padding-left: 0.875rem;
}

.nh-footer__bank li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--nh-yellow);
  opacity: 0.7;
}

.nh-footer__bank li + li {
  margin-top: 0.35rem;
}

.nh-footer__bank strong {
  font-weight: 800;
  color: var(--nh-yellow);
}

.nh-footer__bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 213, 71, 0.12);
}

.nh-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nh-footer__legal a,
.nh-footer__legal span:not([aria-hidden]) {
  color: rgba(245, 213, 71, 0.9);
  transition: color var(--nh-duration) var(--nh-ease);
}

.nh-footer__legal a:hover {
  color: #fff;
}

.nh-footer__legal span[aria-hidden] {
  margin-inline: 0.5rem;
  opacity: 0.3;
  font-weight: 400;
}

.nh-footer__copy {
  margin-top: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: rgba(245, 213, 71, 0.45);
}

