.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #F4EFE6;
  border-bottom: 1px solid var(--border);
  transition: transform var(--animation-duration-normal) ease;
}
.headerHidden { transform: translateY(-100%); }
.headerInner {
  width: min(1240px, calc(100% - 64px));
  min-height: 92px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}
.desktopLeft, .desktopRight {
  display: flex;
  align-items: center;
  gap: 30px;
  font: 500 0.82rem/1 var(--font-family-base);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.desktopRight { justify-content: flex-end; }
.desktopLeft a, .desktopRight a { color: var(--foreground); text-decoration: none; }
.brand { display: block; justify-self: center; width: 210px; }
.brand img { display: block; width: 100%; height: 70px; object-fit: contain; object-position: center; }
.menuButton, .mobileLang, .mobileMenu { display: none; }
.mobileMenu[hidden] { display: none; }

.footer {
  background: #1C1B18;
  color: #F4EFE6;
  padding: 76px 0 30px;
}
.footerGrid, .footerBottom {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
}
.footerGrid {
  display: grid;
  grid-template-columns: 1.25fr .75fr 1fr;
  gap: 64px;
  align-items: start;
}
.footerBrand img {
  width: min(320px, 100%);
  height: 180px;
  object-fit: contain;
  object-position: left center;
  display: block;
  filter: invert(1) brightness(1.15);
}
.footerBrand p {
  margin: 20px 0 0;
  color: rgba(244,239,230,.66);
  font: 400 .98rem/1.5 var(--font-family-base);
}
.footerNav, .footerLegal { display: grid; gap: 18px; }
.footerNav a, .footerContact a, .footerLegal a {
  color: inherit;
  text-decoration: none;
  font-family: var(--font-family-base);
}
.footerNav a { font-size: 1rem; }
.footerContact { display: grid; gap: 34px; }
.footerContact > a { font-weight: 600; }
.footerLegal a { color: rgba(244,239,230,.6); font-size: .92rem; }
.footerBottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(244,239,230,.16);
  color: rgba(244,239,230,.52);
  font: 400 .9rem/1.4 var(--font-family-base);
}

@media (max-width: 900px) {
  .headerInner {
    width: min(100% - 34px, 1240px);
    min-height: 86px;
    grid-template-columns: 1fr auto 1fr;
  }
  .desktopLeft, .desktopRight { display: none; }
  .menuButton {
    display: grid;
    gap: 7px;
    width: 44px;
    padding: 10px 0;
    background: transparent;
    border: 0;
    justify-self: start;
  }
  .menuButton span {
    display: block;
    width: 28px;
    height: 1.5px;
    background: var(--foreground);
  }
  .brand { width: 190px; }
  .brand img { height: 64px; }
  .mobileLang {
    display: block;
    justify-self: end;
    font: 600 .78rem/1 var(--font-family-base);
    letter-spacing: .11em;
  }
  .mobileMenu {
    display: grid;
    padding: 18px 24px 28px;
    background: #F4EFE6;
    border-top: 1px solid var(--border);
    gap: 18px;
  }
  .mobileMenu a {
    color: var(--foreground);
    text-decoration: none;
    font: 500 1rem/1.3 var(--font-family-base);
  }
  .footer { padding-top: 62px; }
  .footerGrid {
    width: min(100% - 40px, 1240px);
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footerBrand img { width: 300px; height: 150px; }
  .footerBottom { width: min(100% - 40px, 1240px); margin-top: 44px; }
}
