:root {
  --bg: #f3f7fc;
  --surface: #ffffff;
  --surface-soft: #eef4fb;
  --text: #1b2430;
  --muted: #546173;
  --line: #d8e1ed;
  --brand: #0b5ed7;
  --brand-dark: #0a4db0;
  --accent: #123052;
  --ok: #1f8b4c;
  --shadow: 0 14px 30px rgba(8, 31, 61, 0.08);
}

html[data-current-lang="zh"] [data-lang="en"],
html[data-current-lang="en"] [data-lang="zh"] {
  display: none !important;
}

html[data-current-lang="zh"] [data-lang="zh"],
html[data-current-lang="en"] [data-lang="en"] {
  display: revert !important;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 0% 0%, #e5efff 0, transparent 34%),
    radial-gradient(circle at 100% 100%, #e7f7f0 0, transparent 28%),
    var(--bg);
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 24px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  background: linear-gradient(140deg, var(--brand), var(--accent));
}

.brand-copy strong {
  display: block;
  font-size: 15px;
  line-height: 1.1;
}

.brand-copy small {
  color: var(--muted);
  font-size: 12px;
  display: none;
}

.menu-toggle {
  order: 3;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  padding: 9px 10px;
  font-weight: 600;
  color: var(--accent);
}

.main-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 64px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  gap: 10px;
  flex-direction: column;
}

.main-nav.show {
  display: flex;
}

.main-nav a {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--muted);
}

.phone-link {
  order: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}

.hero {
  padding: 20px 0 8px;
}

.hero-wrap {
  display: grid;
  gap: 14px;
}

.eyebrow {
  display: inline-block;
  background: #dceaff;
  color: var(--brand-dark);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

h1 {
  margin: 10px 0 8px;
  font-size: clamp(29px, 8.4vw, 54px);
  line-height: 1.08;
}

h2 {
  margin: 0 0 10px;
  font-size: clamp(23px, 6vw, 38px);
  line-height: 1.12;
}

h3 {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.7vw, 24px);
}

p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.62;
}

.lead {
  font-size: clamp(16px, 4.4vw, 19px);
  max-width: 46rem;
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  min-height: 50px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 15px;
  transition: 0.2s ease;
  width: 100%;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  color: #fff;
  box-shadow: 0 12px 26px rgba(11, 94, 215, 0.24);
}

.btn-secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--accent);
}

.btn-lite {
  border-color: #b9d4ff;
  background: #eaf2ff;
  color: var(--brand-dark);
}

.hero-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-list li {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.45;
}

.hero-cards {
  display: grid;
  gap: 10px;
}

.hero-card,
.card,
.step,
.faq-item,
.panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 14px;
}

.hero-card p {
  margin-bottom: 0;
}

section {
  padding: 16px 0;
}

.section-head {
  margin-bottom: 14px;
}

.muted-section {
  background: linear-gradient(180deg, rgba(238, 244, 251, 0.6), rgba(238, 244, 251, 0));
}

.grid {
  display: grid;
  gap: 12px;
}

.card {
  padding: 16px;
}

.card-meta,
.hero-note {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--brand-dark);
  font-weight: 700;
}

.card .badge {
  display: inline-block;
  font-size: 12px;
  color: var(--brand-dark);
  background: #e4efff;
  border-radius: 999px;
  padding: 5px 10px;
  margin-bottom: 10px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0;
}

.tag {
  display: inline-block;
  border: 1px dashed #b5c8e0;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.stats .panel {
  padding: 12px;
}

.stats strong {
  display: block;
  font-size: 20px;
}

.scene-list,
.check-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.74;
}

.steps {
  display: grid;
  gap: 10px;
}

.step {
  padding: 14px;
}

.step .num {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #dfeeff;
  color: var(--brand-dark);
  font-weight: 800;
  margin-bottom: 10px;
}

.seo-copy {
  border: 1px solid #bed2f0;
  background: linear-gradient(180deg, #eef4ff 0%, #f9fbff 100%);
  border-radius: 16px;
  padding: 16px;
}

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

.faq-item {
  padding: 14px;
}

.cta-band {
  border: 1px solid #b6cdf2;
  background: linear-gradient(145deg, #0e4ba1, #0b2f5f);
  color: #fff;
  border-radius: 20px;
  padding: 18px;
}

.cta-band p {
  color: #e4eeff;
}

.cta-band .hero-actions,
.form-card .hero-actions {
  grid-template-columns: 1fr;
}

.form-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 16px;
}

.service-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.service-highlights li {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fbff;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 12px;
}

.form-grid {
  display: grid;
  gap: 10px;
}

label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--accent);
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c9d5e6;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.form-note {
  font-size: 13px;
  color: var(--muted);
}

.site-footer {
  margin-top: 24px;
  background: linear-gradient(180deg, #071633 0%, #081b3e 100%);
  color: #cbd9f2;
  border-top: 1px solid rgba(141, 173, 225, 0.22);
  padding: 0 0 90px;
}

.footer-hotline {
  background:
    radial-gradient(circle at 25% 30%, rgba(255, 196, 120, 0.35), transparent 34%),
    linear-gradient(135deg, #ff7f11 0%, #ff5c00 55%, #ff4d00 100%);
  color: #fff;
}

.footer-hotline-inner {
  padding: 34px 0 32px;
  display: grid;
  gap: 18px;
  text-align: center;
}

.footer-hotline-copy h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(30px, 8vw, 58px);
  line-height: 1.05;
}

.footer-hotline-copy p {
  margin: 0;
  color: rgba(255, 248, 240, 0.95);
  font-size: clamp(17px, 4.6vw, 26px);
  font-weight: 600;
}

.footer-hotline-actions {
  display: grid;
  gap: 12px;
}

.footer-hotline-phone,
.footer-hotline-post {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  border-radius: 20px;
  padding: 14px 22px;
  font-size: 19px;
  font-weight: 800;
  box-shadow: 0 18px 34px rgba(130, 44, 0, 0.22);
}

.footer-hotline-phone {
  background: #fff;
  color: #ff5d00;
}

.footer-hotline-post {
  border: 2px solid rgba(255, 255, 255, 0.95);
  color: #fff;
  background: transparent;
}

.footer-dark-wrap {
  padding-top: 40px;
}

.footer-grid {
  display: grid;
  gap: 18px;
  padding-bottom: 22px;
}

.footer-col h3,
.footer-col h4 {
  margin: 0 0 12px;
  color: #f0f6ff;
}

.footer-brand h3 {
  font-size: 26px;
  letter-spacing: 0.02em;
  color: #59b8ff;
}

.footer-brand-mark {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: linear-gradient(160deg, #0d2b62 0%, #0a64c7 100%);
  color: #63c6ff;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.08em;
  box-shadow: inset 0 0 0 1px rgba(140, 184, 248, 0.18);
}

.footer-col p {
  color: #b4c7e8;
  margin-bottom: 10px;
}

.footer-col a {
  display: block;
  color: #d4e2f8;
  margin-bottom: 8px;
  font-size: 15px;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-phone {
  font-size: 34px;
  font-weight: 800;
  color: #ff9f2f !important;
  line-height: 1.15;
  margin-top: 12px;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-contact .pin {
  display: inline-block;
  min-width: 20px;
}

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

.footer-lang button {
  border-radius: 8px;
  border: 1px solid #5070a4;
  background: transparent;
  color: #c9d9f3;
  font-weight: 700;
  padding: 8px 12px;
  cursor: pointer;
}

.footer-lang button.active {
  background: #ff9f2f;
  border-color: #ff9f2f;
  color: #081a38;
}

.footer-bottom {
  border-top: 1px solid rgba(141, 173, 225, 0.2);
  padding-top: 14px;
  display: grid;
  gap: 8px;
}

.footer-bottom p {
  margin: 0;
  color: #9db4dc;
  font-size: 14px;
}

.footer-bottom a {
  display: inline;
  color: #d5e4fb;
}

.footer-bottom a:hover {
  color: #fff;
}

.mobile-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  border-top: 1px solid #8db3ef;
  background: rgba(255, 255, 255, 0.98);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mobile-sticky-cta a {
  text-align: center;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  min-height: 52px;
  padding: 12px;
}

.mobile-sticky-cta .call {
  border: 1px solid #b4caec;
  color: var(--accent);
  background: #fff;
}

.mobile-sticky-cta .post {
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  color: #fff;
}

.lang-switcher {
  display: none;
}

.lang-switcher button {
  border: none;
  background: transparent;
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 12px;
  cursor: pointer;
}

.lang-switcher button.active {
  background: var(--brand);
  color: #fff;
}

.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 18px 0 8px;
}

.breadcrumb a {
  color: var(--brand-dark);
}

.content-layout {
  display: grid;
  gap: 14px;
}

.side-nav {
  display: none;
}

.side-nav strong {
  display: block;
  margin-bottom: 8px;
}

.side-nav a {
  display: block;
  color: var(--muted);
  padding: 7px 0;
  border-bottom: 1px dashed #dde7f4;
  font-size: 14px;
}

.side-nav a:last-child {
  border-bottom: none;
}

.blog-list {
  display: grid;
  gap: 10px;
}

.blog-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 14px;
}

.blog-item small {
  color: var(--muted);
}

.pagination {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.pagination-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.pagination-link.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.pagination-link.disabled {
  opacity: 0.45;
}

.schema-note {
  font-size: 13px;
  color: var(--ok);
}

@media (min-width: 860px) {
  .menu-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    display: flex;
    flex-direction: row;
    border: none;
    padding: 0;
    background: transparent;
    gap: 8px;
  }

  .main-nav a {
    border: none;
    padding: 8px 10px;
  }

  .phone-link {
    display: inline-flex;
    border-radius: 999px;
    padding: 10px 15px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
  }

  .hero-wrap {
    grid-template-columns: 1.15fr 0.9fr;
  }

  .brand-copy small {
    display: block;
  }

  .hero-actions,
  .cta-band .hero-actions,
  .form-card .hero-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .btn {
    width: auto;
  }

  .hero-list {
    grid-template-columns: 1fr;
  }

  .grid.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .content-layout {
    grid-template-columns: 1.5fr 0.7fr;
    align-items: start;
  }

  .side-nav {
    display: block;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    padding: 14px;
  }

  .mobile-sticky-cta {
    display: none;
  }

  .site-footer {
    padding-bottom: 34px;
  }

  .footer-grid {
    grid-template-columns: 1.15fr 1fr 1fr 1fr;
    gap: 26px;
  }

  .footer-hotline-inner {
    grid-template-columns: 1.05fr auto;
    align-items: center;
    text-align: center;
    min-height: 310px;
  }

  .footer-hotline-actions {
    grid-template-columns: minmax(320px, 410px) minmax(200px, 240px);
    align-items: center;
  }

  .footer-hotline-phone,
  .footer-hotline-post {
    min-height: 96px;
    border-radius: 22px;
    font-size: 24px;
    padding: 18px 28px;
  }

  .footer-phone {
    font-size: 40px;
  }

  .lang-switcher {
    position: fixed;
    left: 14px;
    bottom: 20px;
    z-index: 110;
    display: inline-flex;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid #9fbde9;
    box-shadow: 0 10px 22px rgba(11, 25, 46, 0.18);
    background: rgba(255, 255, 255, 0.96);
  }
}
