:root {
  --ink: #14202b;
  --text: #344252;
  --muted: #6b7785;
  --line: #dfe7e5;
  --paper: #ffffff;
  --mist: #f4f7f6;
  --sea: #0e6a62;
  --sea-dark: #0a4d48;
  --coral: #d76f5f;
  --coral-soft: #fff0ec;
  --shadow: 0 18px 48px rgba(20, 32, 43, 0.1);
  --card-radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  background: #f7fbfa;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

button,
input {
  font: inherit;
}

.wrap {
  width: 1180px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(223, 231, 229, 0.88);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.site-header .wrap {
  width: 1240px;
}

.nav {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  width: auto;
  height: 80px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  color: #394656;
  font-size: 14px;
  font-weight: 400;
}

.nav-item {
  position: relative;
}

.nav-link-main {
  display: inline-flex;
  align-items: center;
}

.nav-item.has-dropdown .nav-link-main {
  gap: 6px;
}

.nav-bubble {
  position: absolute;
  top: 18px;
  right: -13px;
  z-index: 2;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  border-radius: 2px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: var(--coral);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.nav-bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 0;
  border-top: 4px solid var(--coral);
  border-right: 4px solid transparent;
  transform: translateX(-50%);
}

.nav-bubble.is-hot,
.nav-bubble.is-new {
  transform-origin: 50% 100%;
  animation: hotBubbleFloat 1.8s ease-in-out infinite;
}

.nav-bubble.is-new {
  animation-delay: 0.35s;
}

@keyframes hotBubbleFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 rgba(221, 111, 93, 0);
  }

  45% {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 8px 16px rgba(221, 111, 93, 0.22);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-bubble.is-hot,
  .nav-bubble.is-new {
    animation: none;
  }
}

.nav-item.has-dropdown .nav-link-main::after {
  content: "";
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  opacity: 0.78;
  transform: translateY(-1px) rotate(45deg);
  transform-origin: center;
  transition: transform 0.18s ease;
}

.nav-item.has-dropdown::before {
  content: "";
  position: absolute;
  top: 100%;
  left: -18px;
  right: -18px;
  height: 18px;
  display: none;
}

.nav-item.has-dropdown:hover .nav-link-main::after,
.nav-item.has-dropdown:focus-within .nav-link-main::after,
.nav-item.has-dropdown.open .nav-link-main::after {
  transform: translateY(1px) rotate(225deg);
}

.nav-item.has-dropdown:hover::before,
.nav-item.has-dropdown:focus-within::before,
.nav-item.has-dropdown.open::before {
  display: block;
}

.nav-links a {
  padding: 36px 0 14px;
  border-bottom: 2px solid transparent;
}

.nav-link-main:hover,
.nav-item:hover > .nav-link-main,
.nav-link-main[aria-current="page"] {
  color: var(--sea);
  border-color: var(--sea);
}

.dropdown-menu {
  position: fixed;
  top: 96px;
  left: 50%;
  z-index: 80;
  width: min(1180px, calc(100vw - 40px));
  padding: 26px 28px 28px;
  border: 1px solid rgba(223, 231, 229, 0.95);
  border-radius: 0 0 8px 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 24px 48px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 34px rgba(20, 32, 43, 0.1);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu,
.nav-item.open .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.dropdown-menu a {
  width: 220px;
  min-height: 54px;
  padding: 0 18px 0 0;
  border: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 8px;
  row-gap: 8px;
  color: #344252;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 400;
}

.dropdown-menu a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  opacity: 0.72;
  transform: rotate(-45deg);
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}

.dropdown-menu a span {
  grid-column: 1;
  grid-row: 1;
}

.dropdown-menu a small {
  grid-column: 1 / -1;
  grid-row: 2;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.dropdown-menu a:hover {
  color: var(--sea);
}

.dropdown-menu.case-dropdown {
  width: min(774px, calc(100vw - 40px));
  min-height: 138px;
  padding: 22px 28px 24px;
  align-content: start;
  gap: 18px 84px;
}

.dropdown-menu.case-dropdown a {
  width: auto;
  min-width: 132px;
  min-height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
}

.dropdown-menu.case-dropdown a::after {
  flex: 0 0 auto;
}

.phone-link {
  min-height: 34px;
  padding: 0;
  border: 0;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transform: translateY(8px);
  color: var(--ink);
  background: transparent;
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
}

.phone-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--sea);
}

.phone-link span {
  line-height: 1;
}

.faq-hero {
  padding: 46px 0 22px;
}

.crumb {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
}

.crumb a:hover {
  color: var(--sea);
}

.faq-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.25;
  font-weight: 600;
}

.faq-detail-hero h1 {
  max-width: 920px;
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 42px;
  line-height: 1.22;
  font-weight: 700;
}

.faq-hero p,
.faq-detail-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.faq-search {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 156px;
  gap: 14px;
}

.search-field {
  position: relative;
  min-height: 64px;
  padding: 0 22px 0 62px;
  border: 1px solid rgba(14, 106, 98, 0.2);
  border-radius: var(--card-radius);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
}

.search-field::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 50%;
  width: 14px;
  height: 14px;
  border: 3px solid var(--sea);
  border-radius: 50%;
  transform: translateY(-50%);
}

.search-field::after {
  content: "";
  position: absolute;
  left: 39px;
  top: 36px;
  width: 12px;
  height: 3px;
  border-radius: 999px;
  background: var(--sea);
  transform: rotate(45deg);
}

.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 18px;
}

.search-field input::placeholder {
  color: #8a96a6;
}

.search-button,
.contact-button,
.back-button {
  min-height: 64px;
  border: 0;
  border-radius: var(--card-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  cursor: pointer;
}

.search-button {
  color: #fff;
  background: var(--sea-dark);
}

.faq-layout {
  padding: 28px 0 82px;
}

.faq-workspace {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  column-gap: 36px;
  row-gap: 10px;
  align-items: start;
}

.faq-panel,
.answer-card,
.related-card,
.detail-cta {
  border: 1px solid rgba(14, 106, 98, 0.18);
  border-radius: var(--card-radius);
  background: #fff;
  box-shadow: 0 12px 28px rgba(20, 32, 43, 0.055);
}

.faq-cats {
  padding: 22px;
}

.faq-tags {
  display: grid;
  gap: 10px;
}

.faq-cats,
.faq-list {
  height: 100%;
}

.faq-cats h2,
.faq-list h2,
.answer-card h2,
.related-card h2 {
  margin: 0 0 18px;
  color: var(--sea-dark);
  font-size: 24px;
  line-height: 1.3;
}

.cat-button {
  width: 100%;
  min-height: 38px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid rgba(14, 106, 98, 0.18);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--sea-dark);
  background: #eaf5f3;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.cat-button.is-active {
  color: #fff;
  background: var(--sea-dark);
}

.faq-list {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.question-list {
  display: grid;
  gap: 0;
  border-top: 1px solid #dfe7e5;
}

.question-row {
  min-height: 52.222px;
  padding: 0 0;
  border: 0;
  border-bottom: 1px solid #dfe7e5;
  border-radius: 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  background: transparent;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}

.question-row:hover,
.question-row:focus {
  background: #f8fcfb;
}

.question-row[hidden] {
  display: none;
}

.question-row strong {
  overflow: hidden;
  color: #526274;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
  grid-column: 2;
}

.faq-list .question-row strong {
  color: #526274 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
}

.question-row::before {
  content: attr(data-row-number);
  color: var(--sea);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  grid-column: 1;
}

.question-row::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--sea);
  border-bottom: 1.5px solid var(--sea);
  transform: rotate(-45deg);
  grid-column: 3;
}

.pager {
  grid-column: 1 / -1;
  margin-top: 0;
  min-height: 34px;
  border: 0;
  border-radius: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  color: var(--muted);
  background: transparent;
  font-size: 15px;
}

.pager.is-hidden {
  display: none;
}

.pager button {
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.pager-pages {
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.pager-ellipsis {
  min-width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.pager-edge {
  width: 100%;
  min-width: 0;
  height: 34px;
  border-radius: 0;
}

.pager-prev {
  border-right: 0;
}

.pager-next {
  border-left: 0;
}

.pager button:hover,
.pager button.is-active {
  color: #fff;
  background: var(--sea-dark);
}

.pager-edge:hover,
.pager-edge:focus {
  color: var(--sea);
  background: transparent;
}

.pager button:disabled {
  color: #a9b3bd;
  background: transparent;
  cursor: default;
}

.empty-state {
  display: none;
  margin-top: 14px;
  padding: 18px;
  border-radius: var(--card-radius);
  color: var(--muted);
  background: #f7fbfa;
  font-size: 15px;
  line-height: 1.7;
}

.empty-state.is-visible {
  display: block;
}

.faq-detail-hero {
  padding: 46px 0 22px;
}

.detail-tag {
  width: max-content;
  min-height: 28px;
  margin-bottom: 18px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: var(--coral);
  background: var(--coral-soft);
  font-size: 14px;
  font-weight: 800;
}

.detail-grid {
  padding: 28px 0 82px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.detail-main {
  display: grid;
  gap: 18px;
}

.answer-card {
  padding: 26px 28px;
}

.answer-card.lead {
  border-left: 4px solid var(--sea);
  background:
    linear-gradient(135deg, rgba(14, 106, 98, 0.07), rgba(255, 240, 236, 0.48)),
    #fff;
}

.answer-card h2 {
  margin-bottom: 12px;
}

.answer-card p {
  margin: 0;
  color: #506171;
  font-size: 16px;
  line-height: 1.85;
}

.answer-card ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.answer-card li {
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 12px;
  color: #506171;
  font-size: 16px;
  line-height: 1.75;
}

.answer-card li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 11px;
  border-radius: 50%;
  background: var(--sea);
}

.related-card {
  padding: 22px;
}

.related-card a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid #dfe7e5;
  color: #526274;
  font-size: 15px;
  line-height: 1.5;
}

.related-card a:hover {
  color: var(--sea);
}

.detail-cta {
  margin-top: 18px;
  padding: 22px;
  display: grid;
  gap: 12px;
}

.contact-button {
  color: #fff;
  background: var(--sea-dark);
}

.back-button {
  min-height: 48px;
  color: var(--sea-dark);
  border: 1px solid rgba(14, 106, 98, 0.22);
  background: #fff;
}

.qa-article-page {
  padding: 34px 0 82px;
}

.qa-article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}

.qa-article-main,
.qa-article-side-card {
  border: 1px solid rgba(14, 106, 98, 0.16);
  border-radius: var(--card-radius);
  background: #fff;
  box-shadow: 0 12px 28px rgba(20, 32, 43, 0.055);
}

.qa-article-main {
  padding: 28px 32px 32px;
}

.qa-article-meta {
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.qa-article-meta span {
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: var(--sea-dark);
  background: #eaf5f3;
  font-size: 13px;
  font-weight: 600;
}

.qa-article-main h1 {
  max-width: 820px;
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.32;
  font-weight: 600;
}

.qa-article-summary {
  max-width: 800px;
  margin: 0 0 22px;
  color: #526274;
  font-size: 16px;
  line-height: 1.75;
}

.qa-answer-panel {
  position: relative;
  padding: 22px 24px 24px 26px;
  border: 1px solid rgba(14, 106, 98, 0.16);
  border-left: 4px solid var(--sea);
  border-radius: var(--card-radius);
  background:
    linear-gradient(135deg, rgba(14, 106, 98, 0.055), rgba(255, 240, 236, 0.34)),
    #fff;
}

.qa-answer-label {
  margin: 0 0 12px;
  color: var(--sea-dark);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
}

.qa-answer-body {
  color: #344252;
  font-size: 15px;
  line-height: 1.9;
  font-weight: 400;
}

.qa-answer-body p {
  margin: 0 0 14px;
}

.qa-answer-body p:last-child {
  margin-bottom: 0;
}

.qa-keywords {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #dfe7e5;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.qa-keywords span {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #526274;
  background: #f4f7f6;
  font-size: 13px;
}

.qa-article-actions {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.qa-article-actions a {
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(14, 106, 98, 0.18);
  border-radius: var(--card-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sea-dark);
  background: #fff;
  font-size: 15px;
  font-weight: 600;
}

.qa-article-actions a.primary {
  color: #fff;
  background: var(--sea-dark);
}

.qa-article-side {
  min-height: 0;
  display: flex;
}

.qa-article-side-card {
  padding: 20px;
  width: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.qa-article-side-card h2 {
  margin: 0 0 12px;
  color: var(--sea-dark);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
}

.qa-side-links {
  min-height: 0;
  display: block;
  flex: 1 1 auto;
  overflow: hidden;
}

.qa-side-links a {
  display: block;
  min-height: 44px;
  overflow: hidden;
  padding: 10px 0;
  border-bottom: 1px solid #dfe7e5;
  color: #526274;
  font-size: 15px;
  line-height: 24px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qa-side-links a:last-child {
  border-bottom: 0;
}

.qa-side-links a:hover {
  color: var(--sea);
}

.qa-side-more {
  min-height: 42px;
  margin-top: 14px;
  border: 1px solid rgba(14, 106, 98, 0.18);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sea-dark);
  background: #fff;
  font-size: 15px;
  font-weight: 600;
}

.qa-side-more:hover {
  color: #fff;
  background: var(--sea-dark);
}

.qa-contact-note {
  margin: 0;
  color: #526274;
  font-size: 15px;
  line-height: 1.7;
}

footer {
  color: rgba(255, 255, 255, 0.72);
  background: #0c171c;
}

.footer-main {
  padding: 44px 0 26px;
  display: grid;
  grid-template-columns: 0.78fr 0.7fr 1.5fr;
  gap: 34px;
}

.footer-col h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 17px;
}

.footer-col p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.7;
}

.footer-address-line {
  padding-left: 70px;
  white-space: nowrap;
}

.footer-contact-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 18px;
  align-items: start;
}

.footer-qr {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

.footer-qr img {
  width: 112px;
  height: auto;
  border-radius: 8px;
  display: block;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-menu {
  position: relative;
}

.footer-menu summary {
  width: max-content;
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.footer-menu summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.18s ease;
}

.footer-menu[open] summary::after {
  transform: translateY(1px) rotate(225deg);
}

.footer-menu summary:hover,
.footer-submenu a:hover {
  color: #fff;
}

.footer-submenu {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.footer-submenu a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.footer-bottom {
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 13px;
}

@media (max-width: 1180px) {
  .nav-links {
    gap: 24px;
  }

  .nav-action {
    display: none;
  }

  .faq-workspace,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .faq-cats {
    position: static;
  }
}

@media (max-width: 760px) {
  .wrap {
    max-width: calc(100% - 28px);
  }

  .nav {
    height: auto;
    padding: 10px 0 12px;
    align-items: flex-start;
    gap: 8px;
  }

  .brand-logo {
    height: 58px;
  }

  .nav-links {
    overflow-x: auto;
    max-width: 100%;
    gap: 18px;
    font-size: 13px;
  }

  .nav-links a {
    padding: 24px 0 10px;
    white-space: nowrap;
  }

  .nav-bubble,
  .dropdown-menu {
    display: none;
  }

  .faq-hero,
  .faq-detail-hero {
    padding-top: 46px;
  }

  .faq-hero h1,
  .faq-detail-hero h1 {
    font-size: 42px;
  }

  .faq-search {
    grid-template-columns: 1fr;
  }

  .faq-workspace {
    grid-template-columns: 1fr;
  }

  .question-row {
    grid-template-columns: 1fr 14px;
    gap: 8px;
    padding: 13px 14px;
  }

  .question-row strong {
    font-size: 15px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-contact-body {
    grid-template-columns: 1fr;
  }

  .footer-address-line {
    padding-left: 0;
    white-space: normal;
  }

  .footer-bottom {
    display: grid;
  }
}
