:root {
  --red: #0B7A5E;
  --red-dark: #008A56;
  --navy: #1c2b3a;
  --ink: #1f2a33;
  --muted: #5b6873;
  --line: #e6dccf;
  --paper: #f6f3ee;
  --white: #fff;
  --gold: #c9a227;
  --shadow: 0 18px 40px rgba(28, 43, 58, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: sans-serif;
  color: var(--ink);
  background: #f4f5f7;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }

.breadcrumb {
  /* background: #fff; */
  border-bottom: 1px solid #eee7dc;
}
.breadcrumb__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 46px;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb a:hover { color: var(--red); }
.breadcrumb strong { color: var(--ink); font-weight: 600; }

.topbar {
  background: var(--navy);
  color: #d7dee6;
  font-size: 12px;
}
.topbar__inner, .header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar__inner { min-height: 36px; }
.topbar__notice { display: flex; align-items: center; gap: 8px; }
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #3dd68c; box-shadow: 0 0 0 4px rgba(61, 214, 140, 0.15);
}
.topbar__actions { display: flex; align-items: center; gap: 10px; }
.topbar__actions a:hover { color: #fff; }
.divider { width: 1px; height: 12px; background: #4a5b6a; }

.header-spacer {
  display: block;
  width: 100%;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #eee7dc;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  transition: box-shadow .28s ease, background-color .28s ease;
}
.header.is-pinned {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
}
.header.is-compact {
  box-shadow: 0 8px 18px rgba(28, 43, 58, 0.08);
}
.header__inner {
  min-height: 96px;
  gap: 24px;
  transition: min-height .28s ease;
}
.header.is-compact .header__inner {
  min-height: 58px;
}
.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex: 0 0 220px;
  width: 220px;
  max-width: 220px;
  min-width: 220px;
  overflow: hidden;
}
.logo__img {
  display: block;
  width: auto !important;
  height: 58px !important;
  max-width: 220px !important;
  max-height: 58px !important;
  object-fit: contain;
  transition:
    height .28s ease,
    max-width .28s ease,
    max-height .28s ease;
}
.header.is-compact .logo__img {
  height: 34px !important;
  max-width: 140px !important;
  max-height: 34px !important;
}
.logo__mark {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, var(--red), #7a1218);
  color: #fff; font-weight: 700; font-size: 22px;
  box-shadow: 0 8px 16px rgba(180, 35, 44, 0.28);
}
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__text strong { font-size: 22px; letter-spacing: 1px; }
.logo__text small { color: var(--muted); font-size: 11px; letter-spacing: 1.4px; }
.header__search-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  max-width: 540px;
}
.search {
  display: flex;
  flex: 1;
  max-width: 420px;
  height: 42px;
  border: 1px solid var(--red);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}
.search:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(61, 214, 140, 0.15); }
.search input {
  flex: 1; border: 0; background: transparent; padding: 0 12px; outline: none; font-size: 13px;
}
.search button {
  flex: none;
  min-width: 64px;
  height: 100%;
  padding: 0 14px;
  border: 0;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}
.search button:hover { background: var(--red-dark); }
.header__ask {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: background .2s ease, opacity .2s ease;
}
.header__ask:hover {
  background: var(--red-dark);
  color: #fff;
}

.header__links {
  flex: none;
  display: flex;
  align-items: center;
  gap: 18px;
}
.header__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #454452;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
  transition: color .2s ease;
}
.header__link-icon {
  display: block;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 4px;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.header__link-icon.is-empty {
  background: #e8ebef;
}
.header__link span {
  color: #454452;
  font-size: 14px;
  font-weight: 500;
}
.header__link:hover,
.header__link:hover span {
  color:var(--red-dark);
}

.nav {
  background: #fff;
  border-bottom: 1px solid #eee7dc;
  box-shadow: 0 8px 18px rgba(28, 43, 58, 0.04);
}
.nav__inner {
  display: flex;
  align-items: stretch;
  min-height: 48px;
}
.nav__inner a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 4px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}
.nav__inner a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 16px;
  background: #eee7dc;
  transform: translateY(-50%);
}
.nav__inner a::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--red);
  opacity: 0;
  transform: scaleX(.4);
  transition: opacity .2s ease, transform .2s ease;
}
.nav__inner a:hover { color: var(--red); }
.nav__inner a:hover::after,
.nav__inner a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}
.nav__inner a.is-active { color: var(--red); }

.header__tools,
.m-menu { display: none; }

@media (max-width: 970px) {
  .topbar__actions { display: none; }
  .topbar__notice {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    /* background: #fafafa; */
  }
  .header__ask,
  .header__links,
  .nav { display: none; }
  .header__search-group { max-width: none; }
  .header__inner {
    flex-wrap: wrap;
    min-height: 56px;
    gap: 10px;
  }
  .logo {
    flex-basis: 140px;
    width: 140px;
    max-width: 140px;
    min-width: 140px;
    gap: 8px;
  }
  .logo__img {
    height: 34px !important;
    max-width: 140px !important;
    max-height: 34px !important;
  }
  .header.is-compact .header__inner {
    min-height: 46px;
  }
  .header.is-compact .logo__img {
    height: 24px !important;
    max-width: 100px !important;
    max-height: 24px !important;
  }
  .logo__mark {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(180, 35, 44, 0.22);
  }
  .logo__text strong { font-size: 15px; letter-spacing: 0; }
  .logo__text small { font-size: 9px; letter-spacing: .6px; }
  .header__tools {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
  }
  .header__icon {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 10px;
    background: #faf7f2;
    color: var(--ink);
    display: grid;
    place-items: center;
    cursor: pointer;
  }
  .header__icon svg { width: 20px; height: 20px; }
  .header__icon:hover,
  .header.is-search-open #searchToggle,
  body.is-menu-open #menuToggle {
    color: var(--red);
    background: #fff1ef;
  }
  .search {
    display: none;
    flex: 1;
    max-width: none;
    order: 5;
    width: 100%;
    flex-basis: 100%;
    margin: 0 0 10px;
  }
  .header.is-search-open .search { display: flex; }
  .m-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 40;
  }
  .m-menu:not([hidden]) { display: block; }
  .m-menu__mask {
    position: absolute;
    inset: 0;
    background: rgba(21, 31, 41, .55);
  }
  .m-menu__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(320px, 86vw);
    height: 100%;
    background: #fff;
    box-shadow: -12px 0 32px rgba(28, 43, 58, .18);
    display: flex;
    flex-direction: column;
  }
  .m-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px 12px;
    border-bottom: 1px solid #eee7dc;
  }
  .m-menu__list {
    overflow-y: auto;
    padding: 8px 0 24px;
  }
  .m-menu__list a {
    display: block;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid #f3eee6;
  }
  .m-menu__list a.is-active,
  .m-menu__list a:hover { color: var(--red); background: #fff7f4; }
  body.is-menu-open { overflow: hidden; }
}



.float-dock {
  position: fixed;
  right: 16px;
  top: 40%;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.float-dock__item {
  position: relative;
}
.float-dock__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 64px;
  min-height: 64px;
  padding: 8px 4px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--red);
  box-shadow: 0 8px 18px rgba(11, 122, 94, .18);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.float-dock__icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
}
.float-dock__icon svg {
  width: 20px;
  height: 20px;
}
.float-dock__text {
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  white-space: nowrap;
}
.float-dock__action:hover {
  transform: translateY(-2px);
  background: var(--red-dark);
  color: #fff;
  box-shadow: 0 12px 22px rgba(11, 122, 94, .24);
}
.float-dock__top[hidden] { display: none; }

.float-dock__panel {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  min-width: 168px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  white-space: nowrap;
}
.float-dock__panel::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: translateY(-50%) rotate(45deg);
  box-shadow: 2px -2px 6px rgba(28, 43, 58, .06);
}
.float-dock__panel strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 12px;
}
.float-dock__panel a {
  display: block;
  color: var(--red);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}
.float-dock__panel span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}
.float-dock__panel--qr {
  white-space: normal;
  text-align: center;
  min-width: 148px;
}
.float-dock__panel--qr img {
  width: 120px;
  height: 120px;
  margin: 8px auto 0;
  object-fit: contain;
}

@media (hover: hover) and (pointer: fine) {
  .float-dock__item:hover .float-dock__panel,
  .float-dock__item:focus-within .float-dock__panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(-50%) translateX(0);
  }
}



@media (max-width:1024px){
  .container{
    width: 96%;
    margin: auto;
  }
}
