/* Dark gold site header — Михайлов и К */
:root {
  --sh-bg: #141414;
  --sh-bg-2: #1a1a1a;
  --sh-gold: #c9a46a;
  --sh-gold-2: #d4b483;
  --sh-gold-btn: linear-gradient(180deg, #e8d0a0 0%, #c9a46a 100%);
  --sh-text: #f2f2f2;
  --sh-muted: rgba(255, 255, 255, 0.86);
  --sh-line: rgba(201, 164, 106, 0.55);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10050;
  background: var(--sh-bg);
  color: var(--sh-text);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  font-family: Inter, system-ui, sans-serif;
  overflow: visible;
}

.site-header a {
  text-decoration: none;
  color: inherit;
}

.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 20px;
  padding: 12px 0;
  flex-wrap: wrap;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1 1 260px;
}

.site-header__name {
  display: block;
  color: var(--sh-gold-2);
  font-family: Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  line-height: 1.15;
  white-space: nowrap;
}

.site-header__divider {
  width: 1px;
  height: 34px;
  background: var(--sh-gold);
  opacity: 0.75;
  flex-shrink: 0;
}

.site-header__tag {
  color: var(--sh-muted);
  font-size: 0.78rem;
  line-height: 1.35;
  max-width: 180px;
}

.site-header__meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-header__loc,
.site-header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sh-text);
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
}

.site-header__phone {
  font-weight: 700;
  font-size: 1rem;
}

.site-header__phone:hover,
.site-header__loc:hover {
  color: var(--sh-gold-2);
}

.site-header__ico {
  width: 16px;
  height: 16px;
  fill: var(--sh-gold);
  flex-shrink: 0;
}

.site-header__messengers {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-header__msg {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 0;
  overflow: hidden;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.site-header__msg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.site-header__msg:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--sh-gold-btn);
  color: #1a140c !important;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(201, 164, 106, 0.35);
  transition: filter 0.15s ease, transform 0.15s ease;
}

.site-header__cta:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.site-header__cta svg {
  width: 15px;
  height: 15px;
  fill: #1a140c;
}

.site-header__line {
  height: 1px;
  background: var(--sh-line);
}

.site-header__nav-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 0 12px;
  position: relative;
}

.site-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header__nav > li {
  position: relative;
}

.site-header__nav > li > a,
.site-header__drop-btn {
  color: var(--sh-gold);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 2px;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.site-header__nav > li > a:hover,
.site-header__drop-btn:hover,
.site-header__nav > li.is-drop-open > .site-header__drop-btn,
.site-header__nav > li > a.is-active {
  color: var(--sh-gold-2);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.site-header__chev {
  width: 10px;
  height: 10px;
  fill: currentColor;
  opacity: 0.85;
}

.site-header__drop {
  position: absolute;
  top: calc(100% - 2px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 230px;
  background: #1f1f1f;
  border: 1px solid var(--sh-line);
  border-radius: 10px;
  padding: 8px 0;
  margin: 0;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  z-index: 10060;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.12s ease, visibility 0.12s ease;
}

.site-header__nav > li.is-drop-open > .site-header__drop,
.site-header__nav > li:focus-within > .site-header__drop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-header__drop a {
  display: block;
  padding: 10px 16px;
  color: var(--sh-text);
  font-size: 0.9rem;
}

.site-header__drop a:hover {
  background: rgba(201, 164, 106, 0.12);
  color: var(--sh-gold-2);
}

.site-header__burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--sh-line);
  border-radius: 10px;
  background: transparent;
  color: var(--sh-gold);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: auto;
}

.site-header__burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.site-header__burger span::before,
.site-header__burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.site-header__burger span::before {
  top: -6px;
}

.site-header__burger span::after {
  top: 6px;
}

.site-header__mobile {
  display: none;
  border-top: 1px solid var(--sh-line);
  background: var(--sh-bg-2);
  padding: 12px 20px 18px;
}

.site-header.is-open .site-header__mobile {
  display: block;
}

.site-header__mobile a,
.site-header__mobile button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 0;
  color: var(--sh-gold);
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: none;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
}

.site-header__mobile .site-header__cta {
  margin-top: 14px;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1100px) {
  .site-header__tag,
  .site-header__divider {
    display: none;
  }
  .site-header__loc {
    display: none;
  }
}

@media (max-width: 900px) {
  .site-header__nav-row,
  .site-header__line {
    display: none;
  }
  .site-header__burger {
    display: inline-flex;
    margin-left: 0;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }
  .site-header__cta {
    display: none;
  }
  .site-header__top {
    flex-wrap: nowrap;
    gap: 10px;
    padding: 10px 0;
    align-items: center;
  }
  .site-header__brand {
    flex: 1 1 auto;
    min-width: 0;
  }
  .site-header__meta {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
  }
  .site-header__phone {
    font-size: 0.82rem;
  }
  .site-header__phone span:last-child {
    white-space: nowrap;
  }
  .site-header__name {
    font-size: 0.98rem;
  }
  .site-header__msg {
    width: 32px;
    height: 32px;
  }
  .site-header.is-open .site-header__mobile {
    display: block;
  }
}

@media (max-width: 420px) {
  .site-header__phone span:last-child {
    font-size: 0.75rem;
  }
  .site-header__name {
    font-size: 0.9rem;
  }
  .site-header__ico {
    width: 14px;
    height: 14px;
  }
}
