.site-header {
  --header-paper: #fbfaf5;
  --header-ink: #1f2c14;
  --header-green: #4e6a27;
  --header-line: #e3decf;
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  column-gap: 10px;
  width: min(1240px, calc(100% - 32px));
  min-height: 72px;
  margin-inline: auto;
  background: var(--header-paper);
  color: var(--header-ink);
  font: 600 14px/1.3 Dubrava, sans-serif;
}

.site-header-logo {
  display: block;
  grid-column: 1;
  grid-row: 1;
  width: 76px;
}

.site-header-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.site-header-phone {
  display: flex;
  grid-column: 4;
  grid-row: 1;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.site-header .site-header-toggle {
  display: none;
  grid-column: 3;
  grid-row: 1;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding-inline: 10px;
  border: 1px solid var(--header-line);
  border-radius: 8px;
  background: var(--header-paper);
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.site-header-icon {
  width: 14px;
  height: 11px;
  border-block: 1px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat;
}

.site-header-nav {
  display: flex;
  grid-column: 1 / -1;
  grid-row: 2;
  flex-direction: column;
}

.site-header-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.site-header a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 5px;
}

.site-header a:hover,
.site-header a[aria-current] {
  color: var(--header-green);
  text-decoration: underline;
}

.site-header :is(a, button):focus-visible {
  outline: 2px solid var(--header-green);
  outline-offset: 3px;
}

@media (width < 1180px) {
  .menu-js .site-header-toggle { display: flex; }

  .menu-js .site-header-nav {
    position: absolute;
    inset: 100% 0 auto auto;
    width: min(100%, 320px);
    max-height: calc(100dvh - 84px);
    overflow-y: auto;
    padding: 4px 14px;
    border: 1px solid var(--header-line);
    border-radius: 8px;
    background: var(--header-paper);
    box-shadow: 0 12px 28px rgb(31 44 20 / 14%);
  }

  .menu-js .site-header-toggle[aria-expanded="false"] + .site-header-nav { display: none; }
  .site-header-nav a + a { border-top: 1px solid var(--header-line); }
}

@media (max-width: 360px) {
  .site-header { column-gap: 6px; }
  .site-header-logo { width: 70px; }
}

@media (min-width: 1180px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: 18px;
    min-height: 88px;
  }

  .site-header-logo { width: 92px; }
  .site-header-phone { grid-column: 3; font-size: 14px; }
  .site-header .site-header-home { display: none; }

  .site-header-nav {
    grid-column: 2;
    grid-row: 1;
    flex-direction: row;
    justify-content: center;
    gap: clamp(10px, calc(2vw - 13px), 14px);
    white-space: nowrap;
  }
}

.page-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
  margin-bottom: 14px;
  color: var(--deep);
  font-size: 14px;
  font-weight: 600;
}

.page-jump-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-contact-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 16px;
  font-size: 14px;
}

.page-contact-group a {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 44px;
  font-weight: 700;
  white-space: nowrap;
}

.page-contact-group small { font-size: 13px; font-weight: 400; }

.bath-contact-phones { display: inline-grid; gap: 8px; }
.bath-contact-phones small { display: block; font-size: 13px; font-weight: 400; line-height: 1.3; }
.bath-contact-phones:hover { text-decoration: none; }
.bath-contact-phones > a { display: flex; flex-direction: column; justify-content: center; min-height: 44px; }
.bath-contact-phones > a:hover { text-decoration: underline; }
