/* Keep the existing font names while using installed Chinese fonts without a remote import. */
@font-face {
  font-family: 'Noto Sans SC';
  src: local('Microsoft YaHei'), local('PingFang SC'), local('Noto Sans CJK SC');
  font-display: swap;
}
@font-face {
  font-family: 'Noto Serif SC';
  src: local('Source Han Serif SC'), local('Noto Serif CJK SC'), local('Songti SC'), local('SimSun');
  font-display: swap;
}

:root {
  --bg: #f9f9f7;
  --bg-section: #f3f3f0;
  --bg-card: #ffffff;
  --bg-dark: #111111;
  --bg-warm: #f3f3f0;
  --bg-card2: #f9f9f7;
  --text-primary: #111111;
  --text-secondary: #555550;
  --text-muted: #999990;
  --gold: #b8860b;
  --gold-light: #d4a017;
  --gold-dark: #8b6508;
  --border: rgba(0, 0, 0, 0.12);
  --border-light: rgba(0, 0, 0, 0.06);
  --shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 4px 24px rgba(0, 0, 0, 0.1);
  --radius: 2px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.8;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

h1, h2, h3, h4,
.section-title,
.post-title,
.article-hero h1,
.page-hero h1 {
  font-family: 'Noto Serif SC', serif !important;
  color: var(--text-primary) !important;
  font-weight: 700;
  letter-spacing: 0;
}
h1, .hero h1, .article-hero h1 { font-weight: 900 !important; }
p, li {
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 2;
  color: var(--text-secondary);
}
strong { color: var(--text-primary); font-weight: 600; }

.gold { color: var(--gold); }
.gold-line {
  width: 32px !important;
  height: 2px !important;
  background: var(--text-primary) !important;
  margin: 14px 0 24px;
  border-radius: 0 !important;
}
.gold-line.center { margin: 14px auto 24px; }

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 68px !important;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(249, 249, 247, 0.97) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1.5px solid #111 !important;
  box-shadow: none !important;
  transition: border-color 0.5s ease, background 0.5s ease;
}
nav.scrolled {
  border-bottom-color: #111 !important;
  box-shadow: none !important;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo svg ellipse { fill: #111 !important; }
.nav-logo-text {
  font-family: 'Noto Serif SC', serif !important;
  font-size: 1.08rem;
  font-weight: 700;
  color: #111 !important;
  letter-spacing: 2px;
}
.nav-logo-sub {
  display: block;
  margin-top: -2px;
  font-size: 0.58rem;
  color: var(--text-muted);
  letter-spacing: 4px;
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 68px;
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--text-muted) !important;
  transition: color 0.25s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: #111 !important;
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 2px;
  bottom: 0;
  height: 1.5px;
  background: #111;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111 !important;
  color: #f9f9f7 !important;
  padding: 10px 20px !important;
  border-radius: 2px !important;
  border: 1px solid #111 !important;
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 2px;
  box-shadow: none !important;
  transition: background 0.25s ease, transform 0.25s ease;
}
.nav-cta:hover {
  background: #333 !important;
  transform: translateY(-1px);
}
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; border: 0; background: transparent; padding: 10px; }
.nav-toggle:focus-visible, .wechat-copy:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.mobile-menu[hidden] { display: none !important; }
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #111 !important;
  border-radius: 0;
  transition: all 0.3s ease;
}
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: 68px;
  z-index: 99;
  flex-direction: column;
  padding: 28px 5%;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 2px;
}
.mobile-menu a:hover { color: #111; }

/* Buttons */
.btn-primary,
.calc-btn,
.calc-run,
button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #111 !important;
  color: #f9f9f7 !important;
  border: 1px solid #111 !important;
  border-radius: 2px !important;
  padding: 13px 28px !important;
  font-family: 'Noto Sans SC', sans-serif !important;
  font-size: 0.92rem;
  font-weight: 500 !important;
  letter-spacing: 1px;
  box-shadow: none !important;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.btn-primary:hover,
.calc-btn:hover,
.calc-run:hover,
button[type="submit"]:hover {
  background: #333 !important;
  transform: translateY(-1px);
}
.btn-secondary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px !important;
  border: 1.5px solid #111 !important;
  border-radius: 2px !important;
  background: transparent !important;
  color: #111 !important;
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 1px;
  box-shadow: none !important;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.btn-secondary:hover,
.btn-outline:hover {
  background: #111 !important;
  color: #f9f9f7 !important;
  transform: translateY(-1px);
}

/* Sections */
section { padding: 84px 5%; }
section[style*="background:var(--bg-section)"] { background: var(--bg-section) !important; }
section[style*="background:var(--bg)"] { background: var(--bg) !important; }
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-label {
  display: block;
  margin-bottom: 12px;
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 0.7rem !important;
  font-weight: 500;
  letter-spacing: 4px !important;
  text-transform: uppercase;
  color: var(--text-muted) !important;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem) !important;
  font-weight: 700 !important;
  line-height: 1.32;
}
.section-sub {
  max-width: 560px;
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 2;
}
.section-header.center .section-sub { margin: 12px auto 0; }

/* Home hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 5% 70px;
  background: #f9f9f7 !important;
  overflow: hidden;
}
.hero::after,
.hero-dots {
  content: "";
  position: absolute;
  top: 68px;
  right: 0;
  width: 46%;
  height: calc(100% - 68px);
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.06) 1px, transparent 1px) !important;
  background-size: 24px 24px !important;
  opacity: 1 !important;
  pointer-events: none;
}
.hero-bg { display: none !important; }
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 64px;
  align-items: center;
}
.hero-content { max-width: 760px; }
.hero-badge {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 7px 12px;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  border-radius: 2px !important;
  background: transparent !important;
  color: #666 !important;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 2px;
}
.hero h1 {
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 5vw, 4rem) !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  color: #111 !important;
}
.hero h1 em {
  color: var(--gold) !important;
  font-style: normal;
}
.hero-desc {
  max-width: 620px;
  color: #666 !important;
  font-size: 1rem !important;
  line-height: 2 !important;
  letter-spacing: 0.5px;
}
.hero-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 32px;
}
.hero-cities span {
  padding: 6px 14px;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  border-radius: 2px !important;
  background: transparent !important;
  color: #666 !important;
  font-size: 0.82rem;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-panel {
  background: #fff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 2px !important;
  box-shadow: var(--shadow) !important;
  padding: 28px !important;
}
.hero-panel-title {
  margin-bottom: 20px;
  color: var(--text-muted) !important;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 4px;
}
.hero-svc-list { display: flex; flex-direction: column; gap: 10px; }
.hero-svc-item {
  display: grid;
  grid-template-columns: 42px 1fr 20px;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--border-light);
  background: #fff;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.hero-svc-item:hover { border-color: #111; transform: translateX(2px); }
.hero-svc-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.04) !important;
  border-radius: 2px !important;
}
.hero-svc-name {
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  color: #111;
  font-size: 0.95rem;
}
.hero-svc-desc {
  margin-top: 2px;
  color: var(--text-secondary);
  font-size: 0.78rem;
  line-height: 1.7;
}
.hero-svc-arrow { color: #111; }
.hero-panel-stats {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light) !important;
}
.hero-panel-stats strong,
.stat-card strong,
.trust-num {
  font-family: 'Noto Serif SC', serif !important;
  font-weight: 900 !important;
}
.hero-panel-stats strong { display: block; font-size: 1.45rem; color: #111; }
.hero-panel-stats span { color: var(--text-muted); font-size: 0.75rem; letter-spacing: 1px; }

/* Inner page hero */
.page-hero,
.tools-hero,
.article-shell .article-hero {
  padding: 124px 5% 70px !important;
  background: #f9f9f7 !important;
  border-bottom: 1px solid var(--border-light) !important;
}
.page-hero {
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.045) 1px, transparent 1px) !important;
  background-size: 24px 24px !important;
  background-position: right top !important;
}
.page-hero h1,
.tools-hero h1 {
  margin-top: 8px;
  font-size: clamp(2rem, 4vw, 3.2rem) !important;
  font-weight: 900 !important;
  line-height: 1.18 !important;
}
.page-hero p,
.tools-hero p {
  max-width: 620px;
  margin-top: 14px;
  color: #666 !important;
  font-size: 1rem !important;
  line-height: 2 !important;
}

/* Trust bar */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
  padding: 20px 5%;
  background: #111 !important;
}
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-num {
  font-size: 1.6rem !important;
  color: #f0e8d0 !important;
}
.trust-label {
  color: #666 !important;
  font-size: 0.75rem !important;
  letter-spacing: 2px !important;
}
.trust-divider {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.08) !important;
}

/* Cards and services */
.card,
.service-card,
.svc-card,
.why-card,
.blog-card,
.blog-full-card,
.city-card,
.contact-card,
.post-main,
.post-sidebar-card,
.article-main,
.side-card,
.calc-container,
.calc-form,
.calc-result,
.tool-result,
.subscribe-box {
  background: #fff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 2px !important;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05) !important;
}
.card,
.service-card,
.svc-card,
.why-card,
.blog-card,
.blog-full-card,
.city-card,
.contact-card {
  transition: border-color 0.5s ease, transform 0.5s ease, box-shadow 0.5s ease;
}
.card:hover,
.service-card:hover,
.svc-card:hover,
.why-card:hover,
.blog-card:hover,
.blog-full-card:hover,
.city-card:hover,
.contact-card:hover {
  border-color: #111 !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.09) !important;
}
.service-card,
.svc-card,
.blog-full-card {
  position: relative;
  overflow: hidden;
}
.service-card::before,
.svc-card::before,
.blog-full-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: #111;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.service-card:hover::before,
.svc-card:hover::before,
.blog-full-card:hover::before { transform: scaleX(1); }
.service-card::after { display: none !important; }
.card-icon,
.service-icon,
.svc-icon,
.why-icon,
.contact-icon,
.blog-img,
.blog-card-img,
.calc-nav-icon {
  background: rgba(0, 0, 0, 0.04) !important;
  border-radius: 2px !important;
  color: #111 !important;
}
.service-card h3,
.svc-card h3,
.why-card h3,
.blog-card h3,
.blog-full-card h3,
.contact-card h3 {
  font-family: 'Noto Serif SC', serif !important;
  font-size: 1.05rem !important;
  color: #111 !important;
}
.service-card p,
.svc-card p,
.why-card p,
.blog-card p,
.blog-full-card p,
.contact-card p {
  color: #666 !important;
  font-size: 0.87rem !important;
  line-height: 1.9 !important;
}
.service-more,
.svc-price,
.blog-tag,
.blog-cat,
.blog-read,
.contact-text a {
  color: var(--gold) !important;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Grids */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.services-full { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-grid,
.blog-full-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.city-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }

/* Blog listing */
.blog-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.filter-btn {
  padding: 7px 18px !important;
  border: 1px solid var(--border) !important;
  border-radius: 2px !important;
  background: transparent !important;
  color: var(--text-secondary) !important;
  font-family: 'Noto Sans SC', sans-serif !important;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
}
.filter-btn:hover,
.filter-btn.active {
  background: #111 !important;
  border-color: #111 !important;
  color: #f9f9f7 !important;
}
.blog-img,
.blog-card-img {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-light) !important;
  background: #f3f3f0 !important;
  font-size: 2.2rem !important;
}
.blog-body,
.blog-card-body { padding: 24px !important; }
.blog-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.blog-date,
.blog-date-sm { color: var(--text-muted) !important; font-size: 0.72rem; }

/* Forms */
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.form-group label,
.field label {
  font-size: 0.8rem !important;
  color: var(--text-secondary) !important;
  font-weight: 500;
  letter-spacing: 1px;
}
.form-group input,
.form-group textarea,
.form-group select,
.field input,
.field select,
.field textarea,
.subscribe-form input {
  width: 100%;
  background: #fff !important;
  border: 1px solid var(--border) !important;
  border-radius: 2px !important;
  color: #111 !important;
  padding: 12px 14px !important;
  font-family: 'Noto Sans SC', sans-serif !important;
  font-size: 0.9rem !important;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.field input:focus,
.field select:focus,
.field textarea:focus,
.subscribe-form input:focus { border-color: #111 !important; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Tools */
.tools-hero { text-align: left !important; }
.disclaimer,
.formula-box,
.info-box,
.warn-box {
  background: #f3f3f0 !important;
  border: 0 !important;
  border-left: 3px solid #111 !important;
  border-radius: 0 !important;
  color: #333 !important;
  box-shadow: none !important;
}
.calc-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.calc-nav-btn,
.tool-tab {
  background: #fff !important;
  border: 1px solid var(--border-light) !important;
  border-radius: 2px !important;
  color: var(--text-secondary) !important;
  padding: 14px !important;
  font-family: 'Noto Sans SC', sans-serif !important;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.calc-nav-btn:hover,
.calc-nav-btn.active,
.tool-tab:hover,
.tool-tab.active {
  border-color: #111 !important;
  background: #111 !important;
  color: #f9f9f7 !important;
}
.calc-nav-label { font-weight: 500; letter-spacing: 1px; }
.calc-nav-sub,
.field-hint { color: var(--text-muted); font-size: 0.76rem; }
.calc-container,
.tool-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.calc-container:not(.active),
.tool-panel:not(.active) { display: none; }
.calc-form,
.calc-result { padding: 28px; }
.result-value,
.result-total .result-value {
  font-family: 'Noto Serif SC', serif !important;
  font-weight: 900 !important;
  color: #111 !important;
}
.rate-table,
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 26px;
  background: #fff;
}
.rate-table th,
.compare-table th {
  background: #111 !important;
  color: #f9f9f7 !important;
  font-weight: 500;
  letter-spacing: 1px;
}
.rate-table th,
.rate-table td,
.compare-table th,
.compare-table td {
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  padding: 13px 12px !important;
  text-align: left;
  vertical-align: top;
  line-height: 1.8;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.rate-table tr:nth-child(even) td,
.compare-table tr:nth-child(even) td { background: #f9f9f7 !important; }

/* FAQ */
.faq-item,
.faq details {
  border: 0 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.faq-q,
.faq summary {
  position: relative;
  width: 100%;
  padding: 18px 34px 18px 0 !important;
  background: transparent !important;
  border: 0 !important;
  color: #111 !important;
  font-family: 'Noto Serif SC', serif !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  text-align: left;
  cursor: pointer;
}
.faq-q::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: #111;
  font-family: 'Noto Sans SC', sans-serif;
}
.faq-item.open .faq-q::after { content: "-"; }
.faq details summary::marker { content: ""; }
.faq details summary::after {
  content: "+";
  position: absolute;
  right: 4px;
}
.faq details[open] summary::after { content: "-"; }
.faq-a,
.faq details p {
  padding: 0 0 18px !important;
  color: var(--text-secondary) !important;
  line-height: 2 !important;
}

/* Article pages */
.post-wrap,
.article-shell {
  padding-top: 68px !important;
  background: var(--bg-section) !important;
}
.post-layout,
.article-layout {
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 0 20px 72px !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 30px !important;
}
.post-main,
.article-main {
  flex: 1 !important;
  min-width: 0 !important;
  padding: 46px !important;
}
.post-sidebar,
.article-sidebar {
  width: 300px !important;
  position: sticky !important;
  top: 88px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
}
.breadcrumb {
  margin-bottom: 18px !important;
  color: var(--text-muted) !important;
  font-size: 0.82rem !important;
}
.breadcrumb a { color: var(--text-secondary) !important; }
.breadcrumb a:hover { color: #111 !important; }
.post-tag,
.article-label,
.tag-cloud span {
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  border-radius: 2px !important;
  background: transparent !important;
  color: #666 !important;
  font-size: 0.78rem !important;
  letter-spacing: 1px !important;
}
.post-title,
.article-hero h1 {
  font-size: clamp(2.1rem, 4.3vw, 3.55rem) !important;
  font-weight: 900 !important;
  line-height: 1.18 !important;
}
.post-meta,
.article-meta {
  display: flex !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
  margin-bottom: 30px !important;
  color: var(--text-muted) !important;
  font-size: 0.86rem !important;
}
.post-content h2,
.article-main h2,
.post-body h2 {
  margin: 2.5rem 0 1rem !important;
  padding-bottom: 10px !important;
  border-bottom: 1.5px solid #111 !important;
  color: #111 !important;
  font-family: 'Noto Serif SC', serif !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}
.post-content h3,
.article-main h3,
.post-body h3 {
  margin: 1.8rem 0 0.6rem !important;
  color: #333 !important;
  font-family: 'Noto Serif SC', serif !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
}
.post-content p,
.article-main p,
.post-body p {
  margin-bottom: 1.2rem !important;
  color: #444 !important;
  font-family: 'Noto Sans SC', sans-serif !important;
  font-size: 0.95rem !important;
  line-height: 2.1 !important;
}
.post-content li,
.article-main li,
.post-body li {
  margin-bottom: 6px !important;
  color: #555 !important;
  line-height: 2 !important;
}
.platform-grid { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 14px !important; }
.platform-card,
.step-item,
.flow-step {
  background: #fff !important;
  border: 1px solid var(--border-light) !important;
  border-radius: 2px !important;
  box-shadow: none !important;
}
.step-item::before { background: #111 !important; color: #f9f9f7 !important; }
.flow-line { display: grid !important; grid-template-columns: repeat(5, 1fr) !important; gap: 10px !important; }
.cta-box {
  background: #111 !important;
  color: #fff !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  padding: 24px !important;
}
.cta-box h3,
.cta-box p { color: #fff !important; }
.cta-phone {
  background: #f9f9f7 !important;
  color: #111 !important;
  border-radius: 2px !important;
  font-weight: 700 !important;
}
.consult-card,
.consult-gold {
  background: #111 !important;
  color: #fff !important;
  border: 1px solid #111 !important;
}
.consult-card h3,
.consult-card p,
.consult-gold h3,
.consult-gold p { color: #fff !important; }
.consult-phone,
.consult-gold .big-phone {
  display: block;
  color: #fff !important;
  font-family: 'Noto Serif SC', serif !important;
  font-size: 1.55rem !important;
  font-weight: 900 !important;
  margin: 12px 0 16px !important;
}
.consult-card .btn-primary,
.consult-gold a:last-child {
  background: #f9f9f7 !important;
  color: #111 !important;
  border-color: #f9f9f7 !important;
  border-radius: 2px !important;
  font-weight: 700 !important;
}
.toc a,
.related-list a {
  display: block;
  padding: 9px 0 !important;
  border-bottom: 1px solid var(--border-light) !important;
  color: var(--text-secondary) !important;
  font-size: 0.9rem !important;
  line-height: 1.7 !important;
}
.toc a:hover,
.related-list a:hover { color: #111 !important; }

/* Footer */
footer {
  padding: 52px 5% 24px;
  background: #111 !important;
  color: #555 !important;
  border-top: 2px solid #333 !important;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 36px;
}
footer .nav-logo svg ellipse { fill: #f0e8d0 !important; }
footer .nav-logo-text {
  color: #f0e8d0 !important;
  font-family: 'Noto Serif SC', serif !important;
}
footer .nav-logo-sub { color: #555 !important; }
.footer-brand p {
  max-width: 280px;
  margin-top: 14px;
  color: #555 !important;
  font-size: 0.82rem !important;
  line-height: 1.95 !important;
}
.footer-col h4 {
  margin-bottom: 16px;
  color: var(--gold) !important;
  font-size: 0.7rem !important;
  font-weight: 500;
  letter-spacing: 3px !important;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; list-style: none; }
.footer-col ul a {
  color: #555 !important;
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 0.82rem !important;
  line-height: 1.8;
  transition: color 0.25s ease;
}
.footer-col ul a:hover { color: #f0e8d0 !important; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid #222 !important;
}
.footer-bottom p,
.footer-bottom a {
  color: #444 !important;
  font-size: 0.76rem !important;
}
.footer-bottom a:hover { color: #f0e8d0 !important; }

/* Floating buttons */
.float-cta {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  border-radius: 2px !important;
  background: #fff !important;
  color: #111 !important;
  box-shadow: var(--shadow) !important;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.float-btn[href^="tel:"]::before {
  content: "电";
}
.float-btn[href="contact.html"]::before {
  content: "微";
}
.float-btn:hover {
  background: #111 !important;
  color: #fff !important;
  border-color: #111 !important;
  transform: translateY(-2px);
}
.float-btn .tip {
  position: absolute;
  right: 58px;
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 11px;
  border-radius: 2px;
  background: #111;
  color: #f9f9f7;
  font-size: 0.76rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.float-btn:hover .tip { opacity: 1; }

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-full { grid-template-columns: 1fr; }
  .city-cards { grid-template-columns: repeat(2, 1fr); }
  .blog-grid, .blog-full-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .calc-nav { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  nav { height: 66px !important; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu { top: 66px; }
  section { padding: 58px 5%; }
  .hero { min-height: auto; padding: 108px 5% 62px; }
  .hero::after, .hero-dots { width: 100%; opacity: 0.45 !important; }
  .hero h1 { font-size: clamp(2.15rem, 12vw, 3.2rem) !important; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; }
  .page-hero, .tools-hero, .article-shell .article-hero {
    padding: 104px 5% 52px !important;
  }
  .services-grid,
  .why-grid,
  .blog-grid,
  .blog-full-grid,
  .city-cards,
  .platform-grid,
  .flow-line {
    grid-template-columns: 1fr !important;
  }
  .contact-wrap,
  .calc-container,
  .tool-panel.active,
  .form-row {
    grid-template-columns: 1fr !important;
  }
  .calc-nav { grid-template-columns: 1fr 1fr; }
  .post-layout,
  .article-layout {
    flex-direction: column !important;
    padding: 0 5% 56px !important;
  }
  .post-main,
  .article-main {
    width: 100% !important;
    padding: 30px 22px !important;
  }
  .post-sidebar,
  .article-sidebar {
    width: 100% !important;
    position: static !important;
  }
  .compare-table,
  .rate-table {
    display: block;
    overflow-x: auto;
  }
  .trust-bar { gap: 24px; }
  .trust-divider { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 22px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-cities { gap: 8px; }
  .calc-nav { grid-template-columns: 1fr; }
  .float-cta { right: 12px; bottom: 14px; }
  .float-btn { width: 44px; height: 44px; }
}

/* ICP filing link */
.footer-bottom { flex-wrap: wrap; gap: 8px 24px; }
.footer-bottom a.icp-filing { color: #b8b8b8 !important; white-space: nowrap; }
.footer-bottom a.icp-filing:hover { color: #f0e8d0 !important; }

/* Keep mobile consultation actions in a bottom dock, outside the reading column. */
@media (max-width: 768px) {
  body { padding-bottom: 76px; }
  .float-cta {
    inset: auto 0 0;
    width: 100%;
    min-height: 64px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 16px max(8px, env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--border);
  }
  .float-btn { width: auto; max-width: 200px; flex: 1; height: 44px; }
  .float-btn[href^="#"] { display: none; }
  .float-btn[href^="tel:"]::before, .float-btn[href="contact.html"]::before { content: none; }
  .float-btn .tip {
    position: static;
    transform: none;
    padding: 0;
    background: transparent;
    color: inherit;
    opacity: 1;
    font-size: .88rem;
  }
}
