@charset "UTF-8";

/* Los idiomas comparten la identidad de madera aprobada. */
.sima-language-picker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 84px;
}
.sima-language-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 40px;
  min-height: 68px;
  padding: 7px 3px;
  border: 1px solid transparent;
  border-radius: 3px;
  color: #f7ecd9;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
}
.sima-language-link svg { display: block; width: 29px; height: 34px; flex: none; filter: drop-shadow(0 2px 2px #0005); }
.sima-language-link:hover { color: var(--gold-light); background: #ffffff0b; border-color: #8e724f; }
.sima-language-link[aria-current="true"] { border-color: #b99161; background: #e7bd7f12; }
.sima-language-link:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }

@media (min-width: 801px) {
  .site-header { grid-template-columns: auto minmax(0, 1fr) auto auto; column-gap: clamp(12px, 1.1vw, 24px); }
  .site-header > .sima-language-picker { grid-column: 3; }
  .site-header > .menu-toggle, .site-header > #navigation { grid-column: 4; }
  .site-header #navigation { gap: 16px; }
  .site-header #navigation a { font-size: 14px; }
  .site-header .header-line-choice { font-size: 14px; gap: 8px; padding-inline: 10px; }
}
@media (min-width: 801px) and (max-width: 1250px) {
  .site-header > .menu-toggle { display: flex; align-items: center; gap: 10px; background: none; border: 0; min-height: 44px; padding: 10px 0 10px 10px; }
  .site-header .menu-toggle i { position: relative; display: block; width: 22px; height: 2px; background: var(--gold-light); }
  .site-header .menu-toggle i::after { content: ""; position: absolute; right: 0; top: 6px; width: 16px; height: 2px; background: var(--gold-light); }
  .site-header > #navigation { grid-column: 1 / -1; display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 20px var(--gutter) 26px; background: var(--dark); border-bottom: 1px solid #805d3d; box-shadow: 0 12px 22px #211b1326; flex-direction: column; align-items: stretch; gap: 0; }
  .site-header > #navigation.is-open { display: flex; }
  .site-header > #navigation a { min-height: 48px; padding: 13px 0; border-bottom: 1px solid #68543e; }
  .site-header > #navigation .nav-line-link { display: flex; }
  .site-header > #navigation .nav-contact { border-left: 0; padding-left: 0; }
}
@media (max-width: 800px) {
  .site-header { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; height: 104px; }
  .site-header > .brand { grid-column: 1; min-width: 0; }
  .site-header > .sima-language-picker { grid-column: 2; }
  .site-header > .menu-toggle { grid-column: 3; padding-left: 5px; }
  .site-header > #navigation { top: 100%; }
  .site-header .logo-window { width: 66px; }
  .site-header .brand-lockup { gap: 10px; }
  .site-header .brand-name { font-size: 26px; letter-spacing: 2.5px; }
  .site-header .brand-small { font-size: 9px; letter-spacing: 1.8px; }
  .sima-language-link { font-size: 11px; min-width: 38px; min-height: 66px; }
  .sima-language-picker { min-width: 80px; gap: 3px; }
  .sima-language-link svg { width: 27px; height: 32px; }
}
@media (max-width: 480px) {
  .site-header { gap: 7px; }
  .site-header > .menu-toggle { min-width: 38px; justify-content: flex-end; padding: 12px 0 12px 4px; }
  .site-header > .menu-toggle > span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
}
@media (max-width: 360px) {
  .site-header .logo-window { width: 58px; }
  .site-header .brand-name { font-size: 23px; }
  .site-header .brand-lockup { gap: 8px; }
  .sima-language-picker { min-width: 76px; }
  .sima-language-link { min-width: 36px; font-size: 10px; }
}
