/* Shared navigation within the two areas of García Gestió. */
.header .brand { line-height: 0; }
.header .brand img { width: 270px; height: auto; }
.header .nav { font-size: 12px; }
.language-options { direction: ltr; }
.legal-page .footer-brand img { width: 205px; height: auto; }
.legal-page .footer-brand { display: block; }
.header#cabecera { height: 100px; }
.header .header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
}
.header .brand { grid-column: 1; grid-row: 1; justify-self: start; }
.header .desktop-navigation { grid-column: 3; grid-row: 1; justify-self: end; }
.header .mobile-navigation { grid-column: 3; grid-row: 1; justify-self: end; }
.practice-switch {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #bbc5cb;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
}
.practice-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 8px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.practice-switch a:hover { color: #fff; border-bottom-color: #d3d8d960; }
.practice-switch a[aria-current="page"] { color: #f1f0e9; border-bottom-color: #d3d8d9; }
.practice-switch a:focus-visible { outline: 2px solid #d3d8d9; outline-offset: 2px; }
.practice-switch > span { color: #d1d6d850; font-size: 13px; }
html[lang="ar"] .practice-switch { font-family: Tahoma, Arial, sans-serif; font-size: 14px; }

@media (max-width: 900px) {
  html { scroll-padding-top: 136px; }
  .header#cabecera { height: 118px; }
  .header .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: minmax(0, 1fr) 44px;
    gap: 0 20px;
  }
  .header .desktop-navigation,
  .header .mobile-navigation { grid-column: 2; }
  .practice-switch {
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: stretch;
    border-top: 1px solid #d1d6d81f;
    gap: 16px;
  }
  .practice-switch a { min-width: 94px; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 128px; }
  .header#cabecera { height: 110px; }
  .header .header-inner { column-gap: 12px; }
  .header .brand { width: 100%; min-width: 0; max-width: 240px; }
  .header .brand img { width: 100%; }
  .legal-page .footer-brand img { width: 190px; margin-inline: auto; }
  .practice-switch { font-size: 12px; }
}
