/* Shared brand navigation: Figma PC 878:3583 / 872:4378 and H5 886:7747. */
/* impeccable-disable overused-font, design-system-font-size -- Inter and the 22px/10px type sizes are measured Figma values. */
body[data-brand-page-key] {
  background-color: #0a0a0a;
  background-image: none;
}

.brand-top-wash {
  position: absolute;
  z-index: 1;
  inset: 0 0 auto;
  width: 100%;
  height: 583px;
  background: linear-gradient(
    180deg,
    rgba(228, 155, 175, .2) 0%,
    rgba(228, 155, 174, 0) 100%
  );
  pointer-events: none;
}

.brand-site-header {
  position: relative;
  inset: auto;
  z-index: 100;
  width: 100%;
  height: 80px;
  border: 0;
  color: #fff;
  background: transparent;
}

.brand-nav {
  width: min(calc(100% - 48px), 1440px);
  height: 80px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 124px minmax(0, 796px) 254px;
  align-items: center;
  justify-content: space-between;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.brand-nav-logo {
  width: 124px;
  height: 52px;
  display: inline-flex;
  align-items: center;
}

.brand-nav-logo img {
  display: block;
  width: 124px;
  height: 52px;
  object-fit: contain;
}

.brand-nav-links {
  width: 100%;
  height: 36px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(20px, 2.5vw, 48px);
}

.brand-nav-links li { height: 36px; }

.brand-nav-links a {
  position: relative;
  height: 36px;
  display: flex;
  align-items: flex-start;
  color: #aaa;
  font-size: clamp(18px, 1.15vw, 22px);
  font-weight: 400;
  line-height: 29px;
  white-space: nowrap;
  transition: color .2s ease;
}

.brand-nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 13px;
  height: 3px;
  border-radius: 1.5px;
  background: #e49bae;
  transform: translateX(-50%) scaleX(0);
  transition: transform .2s ease;
}

.brand-nav-links a:hover,
.brand-nav-links a.active { color: #fff; }

.brand-nav-links a.active { font-weight: 600; }
.brand-nav-links a:hover::after,
.brand-nav-links a.active::after { transform: translateX(-50%) scaleX(1); }

.brand-nav-actions {
  width: 254px;
  height: 42px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.brand-nav-action {
  width: 41px;
  height: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  line-height: 14px;
  white-space: nowrap;
  transition: color .2s ease;
}

.brand-nav-action:hover { color: #e49bae; }

.brand-nav-action svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-nav-toggle,
.brand-nav-drawer { display: none; }

.brand-nav :focus-visible,
.brand-nav-drawer :focus-visible {
  outline: 2px solid #e49bae;
  outline-offset: 3px;
}

@media (max-width: 1280px) {
  .brand-top-wash { height: 326px; }

  .brand-site-header { height: 55px; }

  .brand-nav {
    position: relative;
    width: 100%;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
  }

  .brand-nav-logo { width: 71px; height: 30px; }
  .brand-nav-logo img { width: 71px; height: 30px; }
  .brand-nav-links,
  .brand-nav-actions { display: none; }

  .brand-nav-toggle {
    position: absolute;
    top: 5.5px;
    z-index: 110;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #fff;
    background: transparent;
  }

  .brand-nav-toggle-start { left: 10px; }
  .brand-nav-toggle span {
    width: 14px;
    height: 2px;
    border-radius: 0;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
  }

  .brand-nav-toggle.on span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .brand-nav-toggle.on span:nth-child(2) { opacity: 0; }
  .brand-nav-toggle.on span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

  body.nav-drawer-open .brand-site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 110;
  }

  .brand-nav-drawer {
    position: fixed;
    inset: 0;
    z-index: 120;
    min-height: 100dvh;
    padding: 84px 32px 36px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    overflow-y: auto;
    color: #fff;
    background: #121212;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
  }

  .brand-nav-drawer.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .brand-nav-drawer-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: #fff;
  }

  .brand-nav-drawer-close svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
  }

  .brand-nav-drawer-logo {
    width: 142px;
    margin: 0 auto 18px;
    display: block;
  }

  .brand-nav-drawer-logo img { display: block; width: 100%; height: auto; }

  .brand-nav-drawer-links {
    width: min(100%, 420px);
    margin: 0 auto;
    display: grid;
    gap: 12px;
  }

  .brand-nav-drawer-links a {
    position: relative;
    min-height: 58px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 12px;
    background: #303030;
    color: #fff;
    font: 400 17px/1.4 Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  }

  .brand-nav-drawer-links a.active {
    color: #e49bae;
    font-weight: 500;
  }

  .brand-nav-drawer-actions {
    width: min(100%, 420px);
    margin: 6px auto 0;
    padding-top: 24px;
    display: flex;
    justify-content: flex-start;
    gap: 28px;
  }
}

@media (min-width: 1281px) {
  .business-page-body .business-hero { margin-top: 24px; }
  .about-page-body .about-document { padding-top: 24px; }
  .faq-page-body .faq-document { padding-top: 104px; }
  .cms-page-body .cms-page-shell { padding-top: 80px; }
  .business-detail-page-body .business-detail,
  .business-article-page-body .business-article { padding-top: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .brand-nav-links a,
  .brand-nav-links a::after,
  .brand-nav-toggle span,
  .brand-nav-drawer { transition: none; }
}
