/* One navigation system for the homepage, internal pages and detail pages. */
html body .site-topbar { position: sticky; top: 0; z-index: 40; background: #0e1012; border-bottom: 1px solid #ffffff0f; color: #fff; font-family: var(--font-system); }
html body .site-topbar.scrolled { background: #0e1012f5; backdrop-filter: blur(16px); }
html body .site-topbar-inner { width: min(1304px, calc(100% - 88px)); min-height: 64px; margin: 0 auto; display: flex; align-items: center; gap: 32px; }
html body .site-topbar-brand { display: inline-flex; align-items: center; gap: 9px; color: #fff; flex-shrink: 0; }
html body .site-topbar-brand img { display: block; width: 43px; height: 37px; object-fit: contain; }
html body .site-topbar-brand > span { display: flex; flex-direction: column; gap: 4px; }
html body .site-topbar-brand strong { font-size: 18px; font-weight: 600; line-height: 1.2; letter-spacing: .02em; }
html body .site-topbar-brand small { font-size: 12px; font-weight: 600; line-height: 1.3; letter-spacing: .035em; color: #c1c3c7; }
html body .site-topbar-nav { display: flex; align-items: stretch; align-self: stretch; gap: 32px; margin-left: auto; }
html body .site-topbar-nav a { position: relative; display: flex; align-items: center; font-size: 14px; font-weight: 500; line-height: 1.4; color: #e9e9ea; padding: 0; }
html body .site-topbar-nav a::after { content: ''; position: absolute; bottom: -1px; left: 50%; width: 22px; height: 2px; background: #edab7e; transform: translateX(-50%) scaleX(0); transition: transform .18s; }
html body .site-topbar-nav a[aria-current="page"], html body .site-topbar-nav a:hover { color: #ffd0ad; }
html body .site-topbar-nav a[aria-current="page"]::after, html body .site-topbar-nav a:hover::after { transform: translateX(-50%) scaleX(1); }
html body .site-topbar-cta { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 40px; padding: 9px 20px; flex-shrink: 0; border: 0; cursor: pointer; border-radius: 999px; background: linear-gradient(90deg, #ffbd91, #ffd2ad); color: #241812; font-size: 14px; font-weight: 600; line-height: 1.4; }
html body .site-topbar-cta:hover { filter: brightness(1.06); }
html body .site-topbar-toggle, html body .site-topbar-mobile { display: none; }
html body .site-topbar :is(a, button):focus-visible { outline: 2px solid #ffc59d; outline-offset: 4px; }
@media (max-width: 1024px) {
  html body .site-topbar-inner { width: calc(100% - 62px); }
  html body .site-topbar-nav, html body .site-topbar-cta { display: none; }
  html body .site-topbar-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; width: 44px; height: 44px; padding: 8px; margin-left: auto; border: 0; border-radius: 5px; background: transparent; cursor: pointer; }
  html body .site-topbar-toggle span { display: block; width: 25px; height: 1.5px; background: #fff; transition: transform .18s; }
  html body .site-topbar-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  html body .site-topbar-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  html body .site-topbar-mobile.open:not([hidden]) { display: flex; flex-direction: column; max-height: calc(100dvh - 64px); overflow-y: auto; border-top: 1px solid #ffffff10; padding: 12px 31px 22px; background: #101214; }
  html body .site-topbar-mobile a { display: flex; align-items: center; min-height: 44px; padding: 10px 0; color: #e2e2e4; font-size: 14px; line-height: 1.6; }
  html body .site-topbar-mobile a[aria-current="page"] { color: #ffc59d; }
  html body .site-topbar-mobile .site-topbar-mobile-cta { display: flex; align-items: center; justify-content: space-between; min-height: 44px; margin-top: 10px; padding: 10px 18px; border: 0; cursor: pointer; border-radius: 6px; background: #f4c39e; color: #241812; font-size: 14px; line-height: 1.6; font-weight: 500; }
}
@media (max-width: 760px) {
  html body .site-topbar-inner { width: calc(100% - 40px); min-height: 58px; gap: 16px; }
  html body .site-topbar-brand img { width: 38px; height: 33px; }
  html body .site-topbar-brand strong { font-size: 17px; }
  html body .site-topbar-mobile.open:not([hidden]) { max-height: calc(100dvh - 58px); padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) { html body .site-topbar-nav a::after, html body .site-topbar-toggle span { transition: none; } }

/* Native modal keeps focus inside and supports Escape to dismiss. */
html body .consultation-dialog { width: min(720px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 32px; border: 1px solid #e5cfbb; border-radius: 16px; background: #fffaf4; color: #27292b; box-shadow: 0 28px 90px #0005; font-family: var(--font-system); }
.consultation-dialog::backdrop { background: #080a0cbb; backdrop-filter: blur(6px); }
.consultation-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.consultation-eyebrow { margin: 0 0 10px; color: #a36c44; font-size: 13px; letter-spacing: .035em; }
.consultation-heading h2 { margin: 0; font-size: 28px; line-height: 1.4; }
.consultation-close { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border: 1px solid #dcc3ab; border-radius: 50%; background: transparent; color: #825d3d; font-size: 28px; line-height: 1; cursor: pointer; }
#consultation-description { color: #807368; font-size: 14px; line-height: 1.8; margin: 16px 0 26px; }
.consultation-grid { display: grid; grid-template-columns: minmax(0, 1fr) 224px; gap: 28px; align-items: center; }
.consultation-channels { min-width: 0; }
.consultation-person { margin: 0 0 16px; color: #5b4736; font-size: 16px; line-height: 1.7; }
.consultation-person strong { font-weight: 500; }
.consultation-channel { position: relative; border: 1px solid #e4d5c6; border-radius: 8px; padding: 18px; margin-bottom: 14px; background: #f4ede4; }
.consultation-channel > span { display: block; font-size: 13px; line-height: 1.6; color: #99816c; margin-bottom: 12px; }
.consultation-channel > a { display: block; font-size: 18px; line-height: 1.6; color: #4d3e32; font-weight: 500; overflow-wrap: anywhere; }
.consultation-channel > button { position: absolute; top: 10px; right: 10px; padding: 7px 10px; border: 0; border-radius: 4px; background: transparent; font-size: 13px; line-height: 1.5; color: #986039; cursor: pointer; }
.consultation-channel > button:hover { background: #e9d9c8; }
.consultation-note { color: #9a8776; font-size: 13px; line-height: 1.75; margin: 20px 0 0; }
.consultation-wechat { display: flex; flex-direction: column; align-items: center; gap: 10px; }
html body .consultation-wechat img { display: block; width: 224px; height: 224px; max-width: 100%; object-fit: contain; background: white; border: 1px solid #ebdfd3; border-radius: 8px; }
.consultation-wechat strong { font-size: 14px; font-weight: 500; line-height: 1.6; color: #6f5844; }
.consultation-wechat a { color: #a06a41; font-size: 13px; line-height: 1.6; padding: 4px 10px; }
.consultation-status { color: #8d5b36; min-height: 21px; font-size: 13px; line-height: 1.6; margin: 18px 0 0; }
.consultation-dialog :is(a, button):focus-visible { outline: 2px solid #ac744b; outline-offset: 3px; }
@media (max-width: 600px) {
  html body .consultation-dialog { padding: 22px; }
  .consultation-heading h2 { font-size: 25px; }
  #consultation-description { margin: 12px 0 18px; }
  .consultation-grid { grid-template-columns: 1fr; gap: 18px; }
  .consultation-channel { padding: 12px 14px; margin-bottom: 10px; }
  .consultation-channel > span { margin-bottom: 5px; }
  .consultation-channel > button { top: 7px; right: 7px; }
  .consultation-note { display: none; }
  html body .consultation-wechat img { width: 200px; height: 200px; }
  .consultation-wechat { gap: 7px; }
  .consultation-status { margin-top: 10px; }
}
