.header-inner { grid-template-columns: auto minmax(0,1fr) auto auto; }
.language-switch, .footer-language { display: inline-flex; align-items: center; gap: 2px; flex: 0 0 auto; }
.language-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--header-foreground); font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .04em; text-shadow: var(--header-text-shadow); }
.language-switch a[aria-current="page"] { text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 2px; text-decoration-color: var(--header-accent); }
.language-switch a:not([aria-current]) { opacity: .72; }
.language-switch a:hover { opacity: 1; }
.footer-language a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font-size: 12px; line-height: 1.5; }
.footer-language a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; font-weight: 600; }
@media (min-width:1101px) and (max-width:1420px) {
  .header-inner { grid-template-columns: auto minmax(0,1fr) auto; }
  .header-actions { display: none; }
  .header .desktop-nav { padding-inline: 0; gap: 14px; font-size: 14px; }
}
@media (max-width:1100px) {
  .header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .header .brand { margin-right: auto; }
  .header .desktop-nav, .header-actions { display: none; }
  .header .menu-toggle { position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; flex: 0 0 44px; gap: 5.5px; width: 44px; height: 44px; padding: 0; border: 1px solid currentColor; border-radius: 50%; background: transparent; }
  .header .menu-toggle span { display: block; flex: 0 0 1.5px; width: 20px; height: 1.5px; background: currentColor; transform-origin: center; transition: transform .2s var(--ease); }
  .header .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .header .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-nav { display: flex; inset: var(--desktop-header) 0 0; z-index: 70; padding: 28px var(--pad); gap: 18px; font-size: 28px; line-height: 1.35; overflow-y: auto; overscroll-behavior: contain; }
  .mobile-nav a { display: flex; align-items: center; min-height: 48px; }
}
@media (max-width:760px) {
  .header-inner { gap: 10px; }
  .language-switch { gap: 0; }
  .language-switch a { min-width: 44px; }
  .mobile-nav { inset: var(--mobile-header,76px) 0 0; padding: 24px var(--pad); gap: 14px; font-size: clamp(23px,6.4vw,29px); }
  .footer-language { margin-right: auto; }
}
@media (max-height:500px) and (max-width:1100px) {
  .mobile-nav { padding-top: 14px; padding-bottom: 18px; gap: 8px; font-size: 23px; }
}
@media (prefers-reduced-motion:reduce) { .header .menu-toggle span { transition: none; } }
