header .brand img:first-child {
  width: 34px;
  height: 42px;
}

.text-arrow {
  font-family: Arial, Helvetica, sans-serif;
  font-variant-emoji: text;
}

header .brand .word {
  width: auto;
  height: 28px;
}

.header-actions { justify-self: end; display: flex; align-items: center; gap: 22px; }
.language-switch { display: flex; align-items: center; gap: 7px; color: #f3eee7; font-size: 12px; letter-spacing: .08em; }
.language-switch a { opacity: .72; }
.language-switch a:hover, .language-switch a:focus-visible, .language-switch a[aria-current="page"] { color: #e0a674; opacity: 1; }
.language-switch span { opacity: .4; }

header nav a {
  color: #f3eee7;
  opacity: .82;
  transition: color .2s, opacity .2s;
}

header nav a:hover,
header nav a:focus-visible {
  color: #ffffff;
  opacity: 1;
}

header nav a.active {
  color: #e0a674;
  opacity: 1;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid rgba(224, 164, 111, .55);
  background: rgba(13, 16, 19, .35);
  color: #f3eee7;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform .2s, opacity .2s;
}

@media (max-width: 1120px) {
  header {
    grid-template-columns: 1fr auto auto;
    gap: 10px;
  }

  .header-actions { grid-column: 2; grid-row: 1; gap: 14px; }

  header nav {
    display: none;
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    padding: 12px clamp(24px, 5vw, 84px) 20px;
    flex-direction: column;
    gap: 0;
    background: rgba(13, 16, 19, .98);
    border-bottom: 1px solid rgba(224, 164, 111, .35);
    box-shadow: 0 18px 35px rgba(0, 0, 0, .28);
  }

  header.menu-open nav {
    display: flex;
  }

  header nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
  }

  header nav a:last-child {
    border-bottom: 0;
  }

  .menu-toggle {
    display: flex;
    grid-column: 3;
    grid-row: 1;
  }

  header.menu-open .menu-toggle span:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  header.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  header.menu-open .menu-toggle span:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }

  header .brand img:first-child {
    width: 28px;
    height: 34px;
  }

  header .brand .word {
    width: auto;
    height: 20px;
  }
}

@media (max-width: 850px) {
  header nav { top: 74px; }
}

@media (max-width: 520px) {
  header {
    grid-template-columns: 1fr auto auto;
  }

  .header-actions .contact {
    display: none;
  }

  .menu-toggle {
    grid-column: 3;
  }

  header .brand .word {
    height: 15px;
  }
}
