:root {
  --background: #f6f8fb;
  --foreground: #162033;
  --muted: #657086;
  --line: #dfe5ee;
  --blue: #1555b8;
  --blue-dark: #0c3475;
  --yellow: #f2b705;
  --yellow-soft: #fff3c4;
  --card: #ffffff;
  --btn-blue: #0876f9;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

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

button, input, select, textarea { font: inherit; }

main { min-height: 60vh; }

img { max-width: 100%; }

/* ===== Utility ===== */
.eyebrow {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.btn {
  border-radius: 6px;
  cursor: pointer;
  display: inline-block;
  font-weight: 700;
  min-height: 44px;
  padding: 10px 28px;
  text-align: center;
  transition: opacity .2s;
}
.btn:hover { opacity: .88; }
.btn.light { background: #fff; color: var(--blue); }
.btn.blue { background: var(--btn-blue); color: #fff; }
.btn.yellow { background: var(--yellow); color: var(--blue-dark); }

.section {
  margin: 0 auto;
  max-width: 1180px;
  padding: 52px 18px 0;
  width: calc(100% - 36px);
}

.section-heading { margin-bottom: 32px; }
.section-heading.center { text-align: center; }
.section-heading.inner { margin-bottom: 20px; margin-top: 36px; }

.section-heading h2 {
  color: var(--foreground);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.25;
  margin: 10px 0 12px;
}

.section-heading p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
  max-width: 760px;
}

.section-heading.center p { margin: 0 auto; }

.back-link {
  color: var(--blue);
  font-weight: 800;
  font-size: 14px;
}

/* ===== Consultation Form ===== */
.consult-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--foreground);
  padding: 22px;
}
.consult-form.compact-form { padding: 18px; }

.consult-form h2 {
  color: var(--blue-dark);
  font-size: 20px;
  margin: 0 0 16px;
}

.consult-form label {
  color: #354156;
  display: grid;
  font-size: 14px;
  gap: 7px;
  margin-bottom: 12px;
}

.consult-form input,
.consult-form select,
.consult-form textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--foreground);
  min-height: 42px;
  padding: 0 12px;
}

.consult-form textarea {
  min-height: 92px;
  padding-top: 10px;
  resize: vertical;
}

.consult-form button {
  background: var(--btn-blue);
  border: 0;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  min-height: 44px;
  width: 100%;
}

.consult-form p {
  color: var(--muted);
  font-size: 12px;
  margin: 10px 0 0;
  text-align: center;
}

/* ===== Page Hero (shared) ===== */
.page-hero {
  background: linear-gradient(90deg, rgba(0,68,165,0.94), rgba(29,117,228,0.78)),
              linear-gradient(135deg, #0a3b88, #dceaff);
  color: #fff;
  padding: 58px max(18px, calc((100vw - 1180px) / 2)) 48px;
}

.page-hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.1;
  margin: 10px 0 14px;
}

.page-hero p { color: rgba(255,255,255,.85); line-height: 1.75; max-width: 720px; }

/* ===== Side Panel ===== */
.side-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 18px;
}
.side-panel h3 {
  color: var(--blue-dark);
  font-size: 18px;
  margin: 0 0 6px;
}
.side-panel a {
  color: #3f4c63;
  font-size: 14px;
  line-height: 1.6;
}
.side-panel a:hover { color: var(--blue); }

/* ===== Bottom Consult ===== */
.bottom-consult {
  align-items: center;
  background: var(--blue-dark);
  border-radius: 8px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin: 60px auto 40px;
  max-width: 1180px;
  padding: 34px;
  width: calc(100% - 36px);
}
.bottom-consult h2 { font-size: 24px; margin: 0 0 8px; }
.bottom-consult > div p { color: rgba(255,255,255,.75); margin: 0; }
.bottom-consult form {
  display: flex;
  gap: 12px;
  flex: 0 0 auto;
}
.bottom-consult input,
.bottom-consult select {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 6px;
  color: #fff;
  min-height: 42px;
  padding: 0 14px;
  width: 160px;
}
.bottom-consult input::placeholder { color: rgba(255,255,255,.5); }
.bottom-consult select { appearance: none; }
.bottom-consult select option { background: var(--blue-dark); color: #fff; }
.bottom-consult button {
  background: var(--yellow);
  border: 0;
  border-radius: 6px;
  color: var(--blue-dark);
  cursor: pointer;
  font-weight: 800;
  min-height: 42px;
  padding: 0 24px;
  white-space: nowrap;
}

/* ===== Floating Consult ===== */
.float-consult {
  bottom: 60px;
  display: grid;
  gap: 8px;
  position: fixed;
  right: 18px;
  z-index: 18;
}
.float-consult a {
  background: var(--blue);
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 16px;
  text-align: center;
  white-space: nowrap;
}
.float-consult a:hover { background: var(--blue-dark); }

/* ===== Tabs Row ===== */
.tabs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.tabs-row span,
.tabs-row a {
  background: #edf3fb;
  border: 1px solid #d9e5f5;
  border-radius: 999px;
  color: var(--blue-dark);
  cursor: pointer;
  font-size: 13px;
  padding: 7px 14px;
  transition: background .2s;
}
.tabs-row span.active,
.tabs-row span:hover,
.tabs-row a:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.tabs-row.align-left { justify-content: flex-start; }

/* ===== Check List ===== */
.check-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}
.check-list span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  color: #3f4c63;
}
.check-list span::before {
  content: "✓";
  color: #16a085;
  font-weight: 900;
  font-size: 16px;
}

/* ===== Process Line ===== */
.process-line {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, 1fr);
}
.process-line span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  text-align: center;
}
.process-line b {
  background: var(--yellow);
  border-radius: 50%;
  color: var(--blue-dark);
  display: inline-block;
  font-size: 14px;
  height: 28px;
  line-height: 28px;
  margin-bottom: 8px;
  width: 28px;
}

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .section { padding-top: 36px; }
  .float-consult { display: none; }
}

/* WellCMS 分页基础样式 */
.my-3{text-align:center; margin:40px 0;}
.pagination {
    display: flex;
    gap: 8px;
    align-items: center;
    /* 关键：水平居中 */
    justify-content: center;
}
.pagination a,
.pagination span {
    min-width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    padding: 0 10px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    box-sizing: border-box;
}


/* 省略号 */
.pagination .ellipsis {
    border: none;
    color: #999;
} 
/* 当前激活页码 */
.pagination .active a{ background-color: #0066cc;
    border-color: #0066cc;
    color: #fff;}
/* 悬浮效果 */
.pagination a:hover {
    background-color: #f2f7ff;
    border-color: #0066cc;
    color: #0066cc;
}
/* 首尾页禁用（无链接span） */
.pagination span:not(.current):not(.ellipsis) {
    background: #f5f5f5;
    color: #aaa;
    cursor: not-allowed;
}
/* 移动端自适应 */
@media (max-width: 640px) {
    .pagination {
        flex-wrap: wrap;
    }
    .pagination a,
    .pagination span {
        min-width: 34px;
        height: 34px;
        line-height: 34px;
    }
}
