.site-header .header-inner { justify-content: flex-start !important; gap: 20px !important; }
.site-header .market-switch { margin-right: auto; }
.site-header .nav-links { order: 2; }
.language-switch { position: relative; flex-shrink: 0; order: 3; }
.language-switch summary { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 56px; min-height: 44px; padding: 8px; border: 1px solid #3a1d6e; color: #f4edff; font: 700 12px/1 'Space Grotesk', sans-serif; cursor: pointer; list-style: none; }
.language-switch summary::-webkit-details-marker { display: none; }
.language-switch[open] summary { border-color: var(--market-accent); }
.language-options { position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; padding: 6px; background: #0c0326; border: 1px solid #6031a1; box-shadow: 4px 4px 0 #07021a; z-index: 80; }
.language-options a { display: flex; align-items: center; min-height: 44px; padding: 10px 14px; font: 500 14px/1.2 'Space Grotesk', sans-serif; color: #c9b8e8; text-decoration: none; }
.language-options a[aria-current] { color: var(--market-accent); background: #1b0740; }
.language-options a:hover { color: #fff; background: #30105a; }
@media (max-width: 1600px) {
  .header-inner { flex-wrap: wrap; }
  .nav-links { width: 100%; flex-wrap: wrap; }
  .js .menu-toggle { display: block; }
  .js .nav-links:not([data-open]) { display: none !important; }
  .nav-links[data-open] { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px 0; }
  .nav-links .button-link { grid-column: 1 / -1; }
  .site-header .nav-links { order: 5; }
  .language-switch { order: 0; }
}
@media (max-width: 600px) {
  .site-header .header-inner { display: grid !important; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px !important; }
  .site-header .brand { grid-column: 1; grid-row: 1; }
  .language-switch { grid-column: 2; grid-row: 1; }
  .site-header .menu-toggle { grid-column: 3; grid-row: 1; margin-left: 0; padding: 10px 8px; font-size: 12px; min-height: 44px; }
  .site-header .market-switch { grid-column: 1 / -1; grid-row: 2; width: 100%; margin-right: 0; }
  .site-header .nav-links { grid-column: 1 / -1; grid-row: 3; }
  .site-header .market-switch a { padding: 10px 8px; }
  .language-switch summary { min-width: 48px; }
  .site-header .brand { gap: 8px !important; }
  .site-header .brand svg { width: 20px; }
  .site-header .brand > span { font-size: 16px !important; }
  .site-header .brand > span > span { font-size: 8px !important; letter-spacing: 1px !important; }
}
html[lang='en'] .hero h1, html[lang='es'] .hero h1 { overflow-wrap: anywhere; }
html[lang='en'] .hero-stats > div > div:first-child,
html[lang='es'] .hero-stats > div > div:first-child { font-size: clamp(1.4rem, 3vw, 2.5rem) !important; }
