/**
 * LabelStarWeb — HP 视觉主题
 * 设计令牌来源：design-md/hp/DESIGN.md
 * 字体：Inter 替代 Forma DJR Micro
 */

:root {
  --hp-primary: #024ad8;
  --hp-primary-deep: #0e3191;
  --hp-primary-bright: #296ef9;
  --hp-primary-soft: #c9e0fc;
  --hp-ink: #1a1a1a;
  --hp-ink-deep: #000000;
  --hp-on-ink: #ffffff;
  --hp-canvas: #ffffff;
  --hp-cloud: #f7f7f7;
  --hp-fog: #e8e8e8;
  --hp-charcoal: #3d3d3d;
  --hp-graphite: #636363;
  --hp-hairline: #e8e8e8;
  --hp-shadow-soft: 0 2px 8px rgba(26, 26, 26, 0.08);
  --hp-radius-btn: 4px;
  --hp-radius-card: 16px;
  --brand: var(--hp-primary);
}

/*  typography — Inter，HP 正文/标题字重 */
html body,
.header,
.footer,
.btn,
input,
textarea,
select {
  font-family: "Inter", "Segoe UI", "Microsoft YaHei", sans-serif !important;
}

body {
  color: var(--hp-ink);
  background: var(--hp-canvas);
}

/* 顶栏：HP nav-bar-top 64px 高、ink 文字、hairline 底边 */
.header {
  height: 6.4rem !important;
  border-bottom-color: var(--hp-hairline) !important;
}

.header .menu .one .first {
  color: var(--hp-ink) !important;
  font-weight: 500;
  font-size: 1.6rem !important;
}

.header .menu .one:hover .first {
  color: var(--hp-primary) !important;
}

.header .menu .one .first::after {
  background: var(--hp-primary) !important;
  height: 2px !important;
  width: 100% !important;
  bottom: 0 !important;
}

.header .menu .one .twoBox {
  border-radius: var(--hp-radius-btn) !important;
  box-shadow: var(--hp-shadow-soft) !important;
}

/* 主 CTA：4px 圆角、大写感（中文站点保持原文，仅字重） */
.index .banner .swiper .textBox .btn,
.index .floor1 .left .btn,
.index .floor2 .contentBox .textBox .btnBox .btn,
.detail .formBox .btn,
.lianxi .formBox .btn,
.hezuo .floor1 .search .inputBox .btn,
.hezuo .floor5 .btn,
.lvse .floor3 .btn {
  border-radius: var(--hp-radius-btn) !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em;
}

.index .floor2 .contentBox .textBox .btnBox .btn.view {
  border-radius: var(--hp-radius-btn) !important;
}

/* 区块背景：cloud / fog 交替 */
.index .floor1 {
  background: var(--hp-cloud) !important;
}

.index .floor2 {
  background: var(--hp-fog) !important;
}

.index .floor2 .contentBox .box {
  border-radius: var(--hp-radius-card) !important;
  box-shadow: var(--hp-shadow-soft);
}

.index .floor2 .menuBox .one {
  border-radius: var(--hp-radius-pill) !important;
  padding: 0.8rem 2rem !important;
  border: 1px solid var(--hp-hairline) !important;
  transition: all 0.2s;
}

.index .floor2 .menuBox .one.active {
  background: var(--hp-ink) !important;
  color: var(--hp-on-ink) !important;
  border-color: var(--hp-ink) !important;
}

.index .floor2 .menuBox .one:hover:not(.active) {
  color: var(--hp-primary) !important;
  border-color: var(--hp-primary) !important;
}

/* 页脚：HP footer-dark ink 底 */
.footer {
  background: var(--hp-ink) !important;
}

.footer .top .right .line .one:hover,
.footer .top .right .line .title:hover {
  color: var(--hp-primary-bright) !important;
}

.footer .bot {
  border-top-color: rgba(255, 255, 255, 0.12) !important;
}

/* 浮动客服：HP primary 纯色，去掉渐变 */
.pageRight .contact {
  background: var(--hp-primary) !important;
  border-radius: var(--hp-radius-btn) !important;
}

.pageRight .box {
  border-radius: var(--hp-radius-btn) !important;
  box-shadow: var(--hp-shadow-soft) !important;
}

.pageRight .box .one:hover .normal .text {
  color: var(--hp-primary) !important;
}

.pageRight .box .one.backTop {
  border: none;
  background: transparent;
  padding: 0;
  font: inherit;
  appearance: none;
}

.pageRight .box .one.backTop .backTopIcon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pageRight .box .one.backTop .backTopIcon svg {
  width: 2.4rem;
  height: 2.4rem;
  fill: none;
  stroke: #666;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s;
}

.pageRight .box .one.backTop:hover .backTopIcon svg {
  stroke: var(--hp-primary) !important;
}

/* 标签/分页：active 用 ink pill */
.biaoqian .menuBox .one.active {
  background: var(--hp-ink) !important;
  color: var(--hp-on-ink) !important;
  border-radius: var(--hp-radius-pill) !important;
}

.pageList .one.active {
  border-color: var(--hp-primary) !important;
  color: var(--hp-primary) !important;
  border-radius: var(--hp-radius-btn) !important;
}

/* 联系条 */
.contactFloor .btn {
  border-radius: var(--hp-radius-btn) !important;
  font-weight: 600 !important;
}

.contactFloor .btn:hover {
  background: var(--hp-primary) !important;
  color: var(--hp-on-ink) !important;
}

/* 表单输入：HP text-input */
.detail .formBox .line input,
.lianxi .formBox .line input,
.detail .formBox .line textarea,
.lianxi .formBox .line textarea {
  border: 1px solid #c2c2c2 !important;
  border-radius: var(--hp-radius-btn) !important;
}

.detail .formBox .line input:focus,
.lianxi .formBox .line input:focus {
  border-color: var(--hp-ink) !important;
}
