@font-face {
  font-family: "Neue Montreal Shared";
  src: url("../assets/font/NeueMontreal-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neue Montreal Shared";
  src: url("../assets/font/NeueMontreal-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
site-navbar,
site-footer {
  display: block;
}

site-navbar {
  position: sticky;
  top: 0;
  z-index: 30;
}

.skip-main {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-main:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: #111111;
  color: #ffffff;
  z-index: 50;
  text-decoration: none;
}

.site-header {
  position: relative;
  z-index: 30;
}

.site-header__shell {
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #e3e7eb;
}

.site-header__desktop,
.site-header__mobile {
  min-height: 70px;
  align-items: center;
}

.site-header__desktop {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  padding: 0 48px;
}

.site-header__mobile {
  display: none;
  padding: 0 18px;
}

.site-header__menu-toggle,
.site-header__mobile-menu,
.site-header__mobile-balance {
  display: none;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.site-header__nav--right {
  justify-content: flex-end;
}

.nav-link {
  font-family: "Neue Montreal Shared", "Neue Montreal Local", "Neue Montreal", Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.045em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  color: #59616b;
}

.nav-link:hover,
.nav-link.is-active,
.site-header__account-link:hover {
  color: #04aec2;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-header__brand-image {
  display: block;
  height: 50px;
  width: auto;
}

.site-header__account-link {
  white-space: nowrap;
}

.site-header__language {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid #dbe5e7;
  border-radius: 999px;
  background: #f2f6f7;
}

.site-header__language button {
  width: 34px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #6a737d;
  font-family: "Neue Montreal Shared", "Neue Montreal Local", "Neue Montreal", Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.site-header__language button:hover {
  color: #087786;
}

.site-header__language button.is-active {
  background: #ffffff;
  color: #087786;
  box-shadow: 0 2px 8px rgba(18, 44, 51, 0.1);
}

.site-header__language button:focus-visible {
  outline: 2px solid #04aec2;
  outline-offset: 1px;
}

.site-header__language--mobile {
  justify-self: end;
}

.products-footer {
  margin-top: 12px;
  padding: 72px 24px 24px;
  background: #edf3f4;
  color: #1d2a2e;
  font-family: "Neue Montreal Shared", "Neue Montreal Local", "Neue Montreal", Arial, sans-serif;
  border-top: 1px solid #c6e4e7;
}

.products-footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: start;
}

.products-footer__logo {
  width: min(220px, 100%);
  height: auto;
}

.products-footer__tag,
.products-footer__column p {
  color: #405258;
  font-size: 17px;
  line-height: 1.6;
}

.products-footer__tag {
  margin: 24px 0 0;
  max-width: 320px;
}

.products-footer__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: start;
}

.products-footer__column h2 {
  margin: 0 0 20px;
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.products-footer__column p {
  margin: 0 0 12px;
}

.products-footer__column a {
  color: inherit;
}

.products-footer__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid #a7d4d8;
  background: #d7ecee;
  color: #0d3841;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.products-footer__button:hover {
  border-color: #8fc7cc;
  background: #c7e4e7;
}

.products-footer__legal {
  max-width: 1400px;
  margin: 48px auto 0;
  padding-top: 18px;
  border-top: 1px solid #bddde0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  color: #56666a;
  font-size: 14px;
  line-height: 1.5;
}

.products-footer__legal p {
  margin: 0;
}

.products-footer__legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.products-footer__legal a {
  color: #172a33;
  text-decoration: none;
}

.products-footer__legal a:hover {
  color: #007f90;
}

@media (max-width: 760px) {
  .site-header__desktop {
    display: none;
  }

  .site-header__mobile {
    display: grid;
    grid-template-columns: 68px 1fr 68px;
    padding: 0 14px;
  }

  .site-header__brand-image {
    height: 36px;
  }

  .site-header__menu-toggle,
  .site-header__mobile-balance {
    display: block;
    width: 44px;
    height: 44px;
  }

  .site-header__menu-toggle {
    padding: 0;
    border: 0;
    background: transparent;
    color: #172a33;
    cursor: pointer;
  }

  .site-header__menu-toggle:focus-visible {
    outline: 2px solid #04aec2;
    outline-offset: 2px;
  }

  .site-header__menu-icon {
    width: 22px;
    height: 16px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .site-header__menu-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    transform-origin: center;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .site-header__menu-toggle[aria-expanded="true"] .site-header__menu-icon span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header__menu-toggle[aria-expanded="true"] .site-header__menu-icon span:nth-child(2) {
    opacity: 0;
  }

  .site-header__menu-toggle[aria-expanded="true"] .site-header__menu-icon span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-header__mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 8px 24px 20px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #d5e2e4;
    box-shadow: 0 16px 28px rgba(18, 44, 51, 0.1);
  }

  .site-header__mobile-menu:not([hidden]) {
    display: flex;
    flex-direction: column;
  }

  .site-header__mobile-menu .nav-link {
    padding: 16px 0;
    border-bottom: 1px solid #e4ecee;
    font-size: 14px;
  }

  .site-header__mobile-menu .nav-link:last-child {
    border-bottom: 0;
  }

  .products-footer {
    margin-top: 8px;
    padding: 40px 24px 20px;
  }

  .products-footer__inner,
  .products-footer__content {
    grid-template-columns: 1fr;
  }

  .products-footer__inner {
    gap: 36px;
  }

  .products-footer__logo {
    width: 144px;
  }

  .products-footer__tag,
  .products-footer__column p {
    font-size: 15px;
    line-height: 1.5;
  }

  .products-footer__tag {
    max-width: 340px;
    margin-top: 16px;
  }

  .products-footer__content {
    gap: 24px;
  }

  .products-footer__column h2 {
    margin-bottom: 16px;
    font-size: 26px;
  }

  .products-footer__column p {
    margin-bottom: 8px;
  }

  .products-footer__button {
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
    padding-inline: 18px;
  }

  .products-footer__legal {
    margin-top: 32px;
    padding-top: 16px;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    justify-content: flex-start;
    font-size: 12px;
  }
}
