.site-header {
  position: fixed;
  z-index: 50;
  top: 16px;
  left: 50%;
  width: min(1200px, calc(100% - 32px));
  min-height: 68px;
  padding: 10px 12px 10px 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border: 1px solid rgba(25, 23, 19, .1);
  border-radius: 22px;
  background: rgba(255, 250, 240, .8);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: box-shadow .25s, background .25s;
}

.site-header.is-scrolled {
  background: rgba(255, 250, 240, .94);
  box-shadow: 0 10px 40px rgba(31, 27, 20, .1);
}

.site-header .brand,
.site-footer .brand {
  width: 42px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-header .brand img,
.site-footer .brand img {
  display: block;
  width: 36px;
  height: 31px;
  object-fit: contain;
}

.site-header .main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #4d4941;
  font-size: 14px;
  font-weight: 750;
}

.site-header .main-nav a {
  transition: color .2s;
}

.site-header .main-nav a:hover {
  color: var(--orange);
}

.site-header .header-cta {
  justify-self: end;
  min-height: auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 0;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: none;
  cursor: pointer;
  transition: transform .2s, background .2s;
}

.site-header .header-cta:hover {
  background: var(--orange);
  transform: translateY(-2px);
}

.site-header .menu-toggle {
  display: none;
}

.site-header .mobile-header-cta {
  display: none;
}

.sales-page .hero {
  padding-top: 116px;
}

.site-footer {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 55px 0 30px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.site-footer p {
  margin: 15px 0 0;
  color: var(--muted);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand .brand {
  flex: 0 0 auto;
}

.footer-company {
  max-width: 390px;
  font-size: 13px;
}

.footer-links,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 12px;
  font-size: 14px;
  font-weight: 750;
}

.footer-contact {
  justify-self: end;
  text-align: right;
}

.footer-bottom {
  grid-column: 1 / -1;
  margin-top: 30px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer-copyright {
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header .header-cta {
    display: none;
  }

  .site-header .menu-toggle {
    justify-self: end;
    width: 44px;
    height: 44px;
    padding: 0;
    display: grid;
    place-content: center;
    gap: 6px;
    border: 0;
    border-radius: 13px;
    background: var(--ink);
  }

  .site-header .menu-toggle i {
    width: 19px;
    height: 2px;
    background: #fff;
    transition: transform .2s;
  }

  .site-header .menu-toggle[aria-expanded="true"] i:first-of-type {
    transform: translateY(4px) rotate(45deg);
  }

  .site-header .menu-toggle[aria-expanded="true"] i:last-of-type {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-header .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    padding: 18px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    overflow: visible;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-header .main-nav.is-open {
    display: flex;
  }

  .site-header .main-nav a {
    padding: 14px;
    border-bottom: 1px solid var(--line);
  }

  .site-header .main-nav a:last-child {
    border: 0;
  }

  .site-header .main-nav .mobile-header-cta {
    margin-top: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 0;
    border-radius: 14px;
    background: var(--ink);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    transition: transform .2s, background .2s;
  }

  .site-header .main-nav .mobile-header-cta:hover {
    background: var(--orange);
    transform: translateY(-2px);
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-contact {
    justify-self: end;
  }

  .sales-page .hero {
    padding-top: 132px;
  }
}

@media (max-width: 600px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 60px;
    padding: 8px 9px 8px 17px;
  }

  .site-header .brand img,
  .site-footer .brand img {
    width: 32px;
    height: 28px;
  }

  .site-footer {
    width: min(1200px, calc(100% - 24px));
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .site-footer > div:first-child,
  .footer-bottom {
    grid-column: auto;
  }

  .footer-contact {
    justify-self: start;
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }

  .sales-page .hero {
    padding-top: 112px;
  }
}

.site-header .main-nav .language-switch {
  padding: 7px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .08em;
}

@media (max-width: 820px) {
  .site-header .main-nav .language-switch {
    margin: 8px 0;
    padding: 12px 14px;
    text-align: center;
  }
}
