:root {
  --header-red: #f20d16;
  --header-red-dark: #cf0710;
  --header-ink: #111318;
  --header-muted: #6e747e;
  --header-line: rgba(17, 19, 24, .1);
}

.page-shell {
  overflow: clip !important;
}

.unified-site-header {
  position: sticky !important;
  top: 0;
  z-index: 1000 !important;
  width: 100%;
  min-height: 72px !important;
  padding: 0 !important;
  display: block !important;
  background: rgba(255, 255, 255, .94) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--header-line) !important;
  box-shadow: 0 10px 34px rgba(18, 22, 30, .08);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  isolation: isolate;
}

.unified-site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  z-index: 2;
  background:
    linear-gradient(90deg,
      var(--header-ink) 0 9%,
      var(--header-red) 9% 16%,
      var(--header-ink) 16% 22%,
      transparent 22% 78%,
      var(--header-ink) 78% 84%,
      var(--header-red) 84% 91%,
      var(--header-ink) 91% 100%);
}

.unified-site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 13, 22, .34), transparent);
}

.uh-inner {
  width: min(1420px, calc(100% - 48px));
  min-height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 190px minmax(430px, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 2.5vw, 40px);
}

.uh-logo {
  width: 172px;
  height: 58px;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.uh-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.uh-nav {
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: clamp(20px, 2.2vw, 38px);
}

.uh-nav a {
  position: relative;
  min-height: 72px;
  display: inline-flex;
  align-items: center;
  color: var(--header-ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: color .22s ease;
}

.uh-nav a::before {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 15px;
  height: 2px;
  border-radius: 10px;
  background: var(--header-red);
  box-shadow: 0 0 0 3px rgba(242, 13, 22, .08);
  transition: left .24s ease, right .24s ease;
}

.uh-nav a:hover,
.uh-nav a:focus-visible,
.uh-nav a.is-active {
  color: var(--header-red);
}

.uh-nav a:hover::before,
.uh-nav a:focus-visible::before,
.uh-nav a.is-active::before {
  left: 0;
  right: 0;
}

.uh-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.uh-phone {
  display: grid;
  grid-template-columns: 26px auto;
  align-items: center;
  column-gap: 8px;
  color: var(--header-ink);
  white-space: nowrap;
}

.uh-phone-icon {
  grid-row: 1 / 3;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17, 19, 24, .12);
  border-radius: 50%;
  color: var(--header-red);
  background: #fff;
}

.uh-phone-icon svg {
  width: 14px;
  height: 14px;
}

.uh-phone strong,
.uh-phone small {
  display: block;
}

.uh-phone strong {
  font-size: 14px;
  line-height: 1.15;
  letter-spacing: .01em;
}

.uh-phone small {
  margin-top: 3px;
  color: var(--header-muted);
  font-size: 10px;
  line-height: 1;
}

.uh-book {
  min-height: 40px !important;
  padding: 0 15px !important;
  gap: 8px !important;
  border: 1px solid rgba(255, 255, 255, .24) !important;
  border-radius: 9px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #ff2028, var(--header-red-dark)) !important;
  box-shadow: 0 8px 20px rgba(242, 13, 22, .22) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease !important;
}

.uh-book:hover,
.uh-book:focus-visible {
  transform: translateY(-1px) !important;
  box-shadow: 0 11px 24px rgba(242, 13, 22, .29) !important;
  filter: saturate(1.08);
}

.uh-book svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.uh-menu-toggle {
  width: 40px;
  height: 40px;
  padding: 9px;
  display: none;
  border: 1px solid rgba(17, 19, 24, .12);
  border-radius: 9px;
  color: var(--header-ink);
  background: #fff;
  cursor: pointer;
}

.uh-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  border-radius: 3px;
  background: currentColor;
  transition: transform .22s ease, opacity .22s ease;
}

.uh-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.uh-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.uh-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.unified-mobile-menu {
  position: fixed;
  inset: 72px 0 auto;
  z-index: 999;
  max-height: calc(100dvh - 72px);
  overflow: auto;
  padding: 12px 20px 22px;
  display: grid;
  gap: 4px;
  color: var(--header-ink);
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid var(--header-line);
  box-shadow: 0 22px 44px rgba(17, 19, 24, .14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.unified-mobile-menu[hidden] {
  display: none !important;
}

.unified-mobile-menu > a:not(.uh-book) {
  min-height: 44px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(17, 19, 24, .07);
  font-size: 15px;
  font-weight: 750;
}

.unified-mobile-menu > a.is-active {
  color: var(--header-red);
}

.unified-mobile-menu .uh-book {
  width: 100%;
  min-height: 46px !important;
  margin-top: 10px;
}

body.uh-menu-open {
  overflow: hidden;
}

@media (max-width: 1240px) {
  .uh-inner {
    width: min(100% - 32px, 1180px);
    grid-template-columns: 160px minmax(360px, 1fr) auto;
    gap: 18px;
  }

  .uh-logo {
    width: 156px;
  }

  .uh-nav {
    gap: 20px;
  }

  .uh-phone small {
    display: none;
  }

  .uh-phone {
    grid-template-columns: 24px auto;
  }

  .uh-phone-icon {
    grid-row: auto;
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 1020px) {
  .uh-inner {
    grid-template-columns: 164px 1fr auto;
  }

  .uh-nav {
    display: none;
  }

  .uh-actions {
    grid-column: 3;
  }

  .uh-menu-toggle {
    display: block;
  }
}

@media (max-width: 680px) {
  .unified-site-header,
  .uh-inner {
    min-height: 64px !important;
  }

  .uh-inner {
    width: calc(100% - 24px);
    grid-template-columns: minmax(118px, 1fr) auto;
    gap: 10px;
  }

  .uh-logo {
    width: 142px;
    height: 52px;
  }

  .uh-actions {
    grid-column: 2;
    gap: 8px;
  }

  .uh-phone {
    display: none;
  }

  .uh-book {
    width: 40px;
    min-width: 40px;
    padding: 0 !important;
    font-size: 0 !important;
  }

  .uh-book svg {
    width: 18px;
    height: 18px;
  }

  .unified-mobile-menu {
    inset: 64px 0 auto;
    max-height: calc(100dvh - 64px);
  }
}

@media (max-width: 390px) {
  .uh-logo {
    width: 126px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .uh-nav a::before,
  .uh-book,
  .uh-menu-toggle span {
    transition: none !important;
  }
}
