.container {
  width: min(100%, calc(var(--container) + (var(--padding-global) * 2)));
  margin-inline: auto;
  padding-inline: var(--padding-global);
}

.container--narrow {
  width: min(100%, calc(var(--container-narrow) + (var(--padding-global) * 2)));
}

.section { padding-block: var(--section-large); }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  color: var(--color-surface);
  background: var(--color-main-blue);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1440px);
  height: 100%;
  margin-inline: auto;
  padding-inline: 12px;
}

.brand img { width: min(240px, 68vw); height: auto; }
.desktop-nav { display: none; }

.menu-toggle {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border: 0;
  color: var(--color-accent-orange-lite);
  background: transparent;
  cursor: pointer;
}

.menu-toggle__lines,
.menu-toggle__lines::before,
.menu-toggle__lines::after {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.menu-toggle__lines { position: relative; }
.menu-toggle__lines::before,
.menu-toggle__lines::after { position: absolute; left: 0; content: ""; }
.menu-toggle__lines::before { top: -7px; }
.menu-toggle__lines::after { top: 7px; }

.site-footer {
  padding: 48px 0 32px;
  color: var(--color-surface);
  background: var(--color-main-blue);
}

.site-footer__inner,
.site-footer__main,
.site-footer__company,
.contact-list,
.site-footer__nav ul,
.site-footer__credits,
.site-footer__credits ul {
  display: flex;
  flex-direction: column;
}

.site-footer__inner { gap: 48px; }
.site-footer__main { gap: 48px; }
.site-footer__company { gap: 24px; }
.site-footer__logo { width: min(307px, 100%); }
.site-footer__brand { display: none; }
.contact-list { gap: 24px; margin-bottom: 0; }
.contact-list div { display: grid; gap: 4px; }
.contact-list dt { font-size: 14px; font-weight: 700; }
.contact-list dd { margin: 0; font-size: 14px; }
.contact-list a, .site-footer__nav a, .site-footer__credits a { text-decoration: none; }
.site-footer__nav ul { gap: 0; margin: 0; list-style: none; }
.site-footer__nav a { display: block; padding-block: 8px; font-size: 14px; font-weight: 700; }
.site-footer__credits {
  gap: 24px;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 35%);
  font-size: 12px;
  text-align: center;
}
.site-footer__credits ul { flex-direction: row; gap: 16px; margin: 0; list-style: none; }

@media (min-width: 1024px) {
  .site-header__inner { padding-inline: 35px; }
  .brand img { width: 307px; }
  .desktop-nav { display: flex; gap: 32px; align-items: center; }
  .desktop-nav ul { display: flex; gap: 32px; margin: 0; list-style: none; }
  .desktop-nav a { font-size: 15px; text-decoration: none; }
  .desktop-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--color-accent-orange-lite); text-decoration-thickness: 2px; text-underline-offset: 7px; }
  .desktop-nav li:last-child a { font-size: 14px; font-weight: 700; }
  .menu-toggle { display: none; }

  .site-footer { padding-top: 80px; }
  .site-footer__inner { gap: 80px; }
  .site-footer__main {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr) 250px;
    gap: 64px;
    align-items: start;
  }
  .site-footer__logo--mobile { display: none; }
  .site-footer__brand { display: grid; align-self: stretch; place-items: center; }
  .site-footer__brand img { width: 380px; }
  .site-footer__nav { justify-self: end; }
  .site-footer__credits { flex-direction: row; justify-content: space-between; font-size: 14px; text-align: left; }
  .site-footer__credits ul { gap: 24px; }
}
