.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06), 0 6px 16px rgba(0, 0, 0, 0.04);
}

main {
  padding-top: 92px;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  height: 92px;
  padding: 0 24px;
  gap: 16px;
}

.site-header__logo {
  flex-shrink: 0;
}

.site-header__logo img {
  display: block;
  height: 45px;
  width: auto;
}

.site-header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.site-header__nav-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 25px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  color: #7a7a7a;
}

.site-header__nav-item {
  flex-shrink: 0;
  position: relative;
}

.site-header__subnav {
  display: none;
}

@media (min-width: 1101px) {
  .site-header__nav-item--has-menu:hover .site-header__subnav,
  .site-header__nav-item--has-menu:focus-within .site-header__subnav {
    display: block;
  }

  .site-header__nav-item--has-menu::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 20px;
  }

  .site-header__subnav {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    margin: 0;
    padding: 10px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    z-index: 300;
  }

  .site-header__subnav-link {
    display: block;
    padding: 10px 18px;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #7a7a7a;
    text-decoration: none;
    white-space: nowrap;
  }

  .site-header__subnav-link:hover {
    background: #faf7ef;
    color: #1c1c1c;
  }
}

.site-header__subnav-item {
  margin: 0;
}

.site-header__nav-link {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}

.site-header__nav-item--active .site-header__nav-link,
.site-header__nav-item:hover .site-header__nav-link {
  color: #1c1c1c;
}

.site-header__nav-item--active .site-header__nav-link::after,
.site-header__nav-item:hover .site-header__nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: calc(100% + 13px);
  height: 5px;
  background-color: #1c1c1c;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.site-header__quote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 155px;
  height: 40px;
  padding: 0 16px;
  border: none;
  border-radius: 5px;
  background-color: #d3b574;
  color: #16163f;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  text-transform: capitalize;
  cursor: pointer;
}

.site-header__quote-icon {
  width: 16px;
  height: 16px;
  fill: #16163f;
  flex-shrink: 0;
}

.site-header__menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.site-header__menu-icon,
.site-header__menu-icon::before,
.site-header__menu-icon::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #1c1c1c;
  border-radius: 1px;
  position: relative;
}

.site-header__menu-icon::before,
.site-header__menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.site-header__menu-icon::before {
  top: -7px;
}

.site-header__menu-icon::after {
  top: 7px;
}

@media (max-width: 1100px) {
  .site-header__inner {
    height: 64px;
    padding: 0 16px;
  }

  main {
    padding-top: 64px;
  }

  .site-header__logo img {
    height: 36px;
  }

  .site-header__menu-btn {
    display: inline-flex;
  }

  .site-header__quote-btn {
    min-width: auto;
    width: 40px;
    height: 40px;
    padding: 0;
  }

  .site-header__quote-btn span {
    display: none;
  }

  .site-header__nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    justify-content: stretch;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }

  .site-header__nav.is-open {
    display: block;
  }

  .site-header__nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
  }

  .site-header__nav-item {
    border-bottom: 1px solid #f2f2f2;
  }

  .site-header__nav-item--has-menu::after {
    display: none;
  }

  .site-header__nav-link {
    display: block;
    padding: 14px 20px;
    white-space: normal;
  }

  .site-header__nav-item--has-menu:hover .site-header__subnav,
  .site-header__nav-item--has-menu:focus-within .site-header__subnav,
  .site-header__subnav {
    display: none;
  }

  .site-header__nav-item--active .site-header__nav-link,
  .site-header__nav-item:hover .site-header__nav-link {
    background: #faf7ef;
  }

  .site-header__nav-item--active .site-header__nav-link::after,
  .site-header__nav-item:hover .site-header__nav-link::after {
    display: none;
  }
}
