/* Shared buttons, header navigation, and footer. */
.button {
  border-radius: var(--radius-control);
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 2px solid var(--blue);
  padding: 13px 16px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--blue);
  color: var(--cream);
  box-shadow: 5px 5px #082d801b;
  transition: transform .2s;
}

.button:hover {
  transform: translate(-2px, -2px);
}

.button.alt {
  background: transparent;
  color: var(--blue);
  box-shadow: none;
}

.button.inverse {
  color: var(--blue);
  background: var(--cream);
  border-color: var(--cream);
}

.site-header {
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 700 22px/.83 var(--display);
  letter-spacing: -1.6px;
}

.brand-logo {
  display: block;
  width: 78px;
  height: auto;
  max-height: 76px;
  object-fit: contain;
}

.header-contact {
  display: none;
}

.header-contact:hover {
  background: #153e91;
}

/* Scoped to the site header: catalog navigation has independent styles. */
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--cream);
  padding: 22px;
  gap: 20px;
  border-bottom: 2px solid var(--blue);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 800;
}

.site-nav.open {
  display: flex;
  flex-direction: column;
}

.site-nav a {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}

.site-nav a:hover, .site-nav a:focus-visible, .site-nav a[aria-current='page'] {
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}

.site-nav a img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.nav-toggle {
  border-radius: var(--radius-control);
  width: 44px;
  height: 44px;
  border: 2px solid var(--blue);
  background: none;
  font-size: 20px;
}

footer {
  background: var(--blue);
  color: var(--cream);
  padding-block: 45px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-brand {
  font: 700 clamp(34px, 6vw, 70px) var(--display);
  letter-spacing: -.07em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 12px;
}

@media (min-width: 700px) {
  .header-inner {
    min-height: 90px;
  }
  .brand {
    font-size: 19px;
  }
  .brand-logo {
    width: 74px;
  }
  .site-nav {
    display: flex;
    position: static;
    border: 0;
    padding: 0;
    gap: 14px;
    font-size: 10px;
  }
  .site-nav.open {
    flex-direction: row;
  }
  .site-nav a img {
    width: 23px;
    height: 23px;
  }
  .nav-toggle {
    display: none;
  }
}

@media (min-width: 1050px) {
  .brand {
    font-size: 22px;
  }
  .brand-logo {
    width: 90px;
    max-height: 84px;
  }
  .header-contact {
    display: inline-flex;
  }
  .button {
    font-size: 11px;
    padding: 14px 20px;
  }
  .site-nav {
    font-size: 11px;
    gap: 22px;
  }
}
