.site-header {
  background: #ffffff;
  color: #0f2332;
  font-family: Inter, Arial, sans-serif;
  left: 0;
  position: fixed;
  top: 0;
  transition: transform .24s ease;
  width: 100%;
  z-index: 50;
}

body {
  padding-top: 104px;
}

html {
  scroll-padding-top: 104px;
}

.site-header--hidden {
  transform: translateY(-110%);
}

.site-header--visible {
  transform: translateY(0);
}

.site-header__container {
  align-items: center;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1440px;
  min-height: 104px;
  padding: 0 48px;
}

.brand,
.site-header__phone,
.site-header__nav {
  align-items: center;
  display: flex;
}

.brand {
  color: inherit;
  flex: 0 0 auto;
  gap: 8px;
  text-decoration: none;
}

.brand__mark,
.brand__mark img {
  display: block;
  height: auto;
  width: 47px;
}

.brand__wordmark {
  align-items: center;
  display: flex;
  height: 36px;
  justify-content: flex-end;
  overflow: hidden;
  width: 116px;
}

.brand__wordmark picture,
.brand__wordmark img {
  display: block;
  flex: 0 0 auto;
  height: 40px;
  max-width: none;
  object-fit: cover;
  width: 116px;
}

.site-header__nav {
  gap: 28px;
  justify-content: center;
}

.site-header__link,
.site-header__phone {
  color: #0f2332;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.site-header__link {
  border-radius: 999px;
  padding: 8px 12px;
}

.site-header__link:hover,
.site-header__link:focus-visible {
  background: #fff0e6;
}

.site-header__link--active,
.site-header__link--active:hover,
.site-header__link--active:focus-visible,
.site-header__link--active:active {
  background: #92dce5 !important;
}

.site-header__phone {
  border-left: 1px solid #d1d5db;
  gap: 12px;
  padding-left: 28px;
  white-space: nowrap;
}

.site-header__phone img {
  display: block;
}

.site-header__quick-actions {
  display: none;
}

@media (max-width: 767px) {
  .site-header__container {
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    min-height: 73px;
    padding: 16px 24px 17px;
  }

  .site-header {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, .95);
    border-bottom: 1px solid #f3f4f6;
    position: fixed;
    z-index: 10;
  }

  .site-header .brand {
    gap: 0;
    height: 42px;
    width: 172px;
  }

  .site-header .brand__mark {
    height: 26px;
    margin: 0 8px 0 0;
    width: 47px;
  }

  .site-header .brand__wordmark {
    align-items: center;
    display: flex;
    height: 42px;
    width: 115px;
  }

  .site-header .brand__wordmark img {
    height: 40px;
    width: 116px;
  }

  .site-header__nav,
  .site-header__phone {
    display: none;
  }

  .site-header__quick-actions {
    align-items: center;
    display: flex;
    gap: 12px;
    margin-left: auto;
  }

  .site-header__mobile-phone {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    display: flex;
    height: 36px;
    justify-content: center;
    width: 36px;
  }

  .site-header__mobile-phone img {
    display: block;
  }

  .site-header__mobile-menu {
    position: relative;
  }

  .site-header__mobile-menu summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    height: 40px;
    justify-content: center;
    list-style: none;
    padding: 8px 4px 8px 8px;
    width: 36px;
  }

  .site-header__mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .site-header__mobile-menu summary img {
    display: block;
  }

  .site-header__mobile-nav {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(15, 35, 50, .12);
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: min(280px, calc(100vw - 48px));
    z-index: 11;
  }

  .site-header__mobile-nav a {
    border-radius: 8px;
    color: #0f2332;
    font-size: 14px;
    font-weight: 700;
    padding: 12px;
    text-decoration: none;
  }

  .site-header__mobile-nav a:hover,
  .site-header__mobile-nav a:focus-visible {
    background: #fff0e6;
  }

  .site-header__visually-hidden {
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    clip: rect(0, 0, 0, 0);
  }

  body {
    padding-top: 73px;
  }

  html {
    scroll-padding-top: 73px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header {
    transition: none;
  }
}
