.utility {
  background: var(--bg-grey);
  min-height: var(--utility-h);
  display: flex;
  align-items: center;
  font-size: 14px;
}

.utility__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  width: min(100% - 2 * var(--space-3), var(--wrap));
  margin-inline: auto;
  padding: 10px 0;
  flex-wrap: wrap;
}

.utility__contacts {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.utility__social {
  display: flex;
  gap: 8px;
}

.utility__social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}

.site-header {
  background: var(--navy);
  color: #fff;
  min-height: var(--header-h);
}

.site-header--light {
  background: #fff;
  color: var(--navy);
  border-bottom: 1px solid #e5e5e5;
}

.site-header--light .nav a,
.site-header--light .nav > li > button {
  color: var(--navy);
}

.site-header--light .logo {
  color: var(--navy);
}

.site-header--light .nav-toggle {
  border-color: rgba(12, 36, 50, 0.35);
  color: var(--navy);
}

.site-header--light .city-chip {
  color: var(--navy);
}

.header__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: var(--space-2);
  width: min(100% - 2 * var(--space-3), var(--wrap));
  margin-inline: auto;
  min-height: var(--header-h);
  padding: 12px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  flex-shrink: 0;
}

.logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo__name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.logo__tag {
  font-size: 11px;
  opacity: 0.75;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav > li {
  position: relative;
  display: flex;
  align-items: center;
  flex: none;
}

.nav > li > a,
.nav > li > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 8px 0;
  min-height: 40px;
  line-height: 1.2;
  white-space: nowrap;
}

.nav > li > a:hover,
.nav > li > button:hover {
  color: var(--accent);
}

.mega {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: var(--space-2);
  z-index: 40;
}

.nav > li:hover > .mega,
.nav > li:focus-within > .mega,
.nav > li.is-open > .mega {
  display: grid;
  gap: 6px;
}

.mega a {
  display: block;
  padding: 6px 8px;
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--navy);
}

.mega a:hover {
  background: var(--bg-grey);
  color: var(--accent);
}

.header__actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
  flex-shrink: 0;
}

.city-chip {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
}

@media (max-width: 1200px) {
  .header__inner {
    display: flex;
    justify-content: space-between;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: var(--space-3);
    z-index: 50;
  }

  .nav.is-open {
    display: flex;
  }

  .nav > li {
    display: block;
  }

  .mega {
    position: static;
    box-shadow: none;
    background: #132a38;
    color: #fff;
  }

  .mega a {
    color: #fff;
  }

  .header__inner {
    position: relative;
  }
}

@media (max-width: 640px) {
  .header__inner {
    flex-wrap: wrap;
  }

  .header__actions {
    width: 100%;
  }

  .header__actions .btn {
    width: 100%;
  }

  .city-chip {
    display: none;
  }

}
