.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; }
.languageNav, .mobileLang { position:relative; }
.languageNav { display:block; }
.languageNav summary, .mobileLang summary {
  width:58px;
  height:34px;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid rgba(28,27,24,.28);
  border-radius:3px;
  background:rgba(255,255,255,.28);
  color:var(--foreground);
  cursor:pointer;
  list-style:none;
  font:600 .75rem/1 var(--font-family-base);
  letter-spacing:.08em;
  transition:background .2s ease,border-color .2s ease;
}
.languageNav summary::-webkit-details-marker, .mobileLang summary::-webkit-details-marker { display:none; }
.languageNav summary:hover, .languageNav summary:focus-visible, .mobileLang summary:hover, .mobileLang summary:focus-visible {
  border-color:#1C1B18;
  background:#fff;
}
.languageNav summary svg, .mobileLang summary svg {
  width:10px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.4;
  transition:transform .2s ease;
}
.languageNav[open] summary svg, .mobileLang[open] summary svg { transform:rotate(180deg); }
.languageOptions {
  position:absolute;
  z-index:80;
  top:calc(100% + 8px);
  right:0;
  min-width:76px;
  padding:5px;
  display:grid;
  gap:2px;
  border:1px solid rgba(28,27,24,.16);
  border-radius:4px;
  background:#F4EFE6;
  box-shadow:0 12px 28px rgba(28,27,24,.14);
}
.languageOptions a {
  min-height:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:2px;
  color:rgba(28,27,24,.65);
  text-decoration:none;
  font:600 .74rem/1 var(--font-family-base);
  letter-spacing:.08em;
}
.languageOptions a:hover, .languageOptions a:focus-visible { color:var(--foreground); background:rgba(28,27,24,.07); }
.languageOptions a.active { color:#F4EFE6; background:#1C1B18; }
.srOnly { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.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;
  }
  .mobileLang summary { width:54px; height:34px; }
  .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; }
}
