@charset "UTF-8";
/* ==========================================================================
   Boer Tech · home.css
   首页：轮播 / 业务入口 / 热购商品 / 租赁专区 / 工程服务专区 /
         数字人直播 / 工程案例 / 服务优势 / 询价表单
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 首屏：轮播 + 右侧业务导航
   -------------------------------------------------------------------------- */
.hero { background: #fff; padding: 20px 0 8px; }
.hero__grid { display: grid; grid-template-columns: 220px 1fr 236px; gap: 16px; align-items: stretch; }

/* 左侧业务导航 */
.hero-cats { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.hero-cats__title {
  height: 44px; background: var(--c-primary); color: #fff; font-size: 15px; font-weight: 700;
  display: flex; align-items: center; padding: 0 16px; gap: 8px;
}
.hero-cats__list { padding: 4px 0; }
.hero-cats__item { position: relative; }
.hero-cats__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 16px; font-size: 14px; color: var(--c-title); gap: 8px;
}
.hero-cats__link .left { display: flex; align-items: center; gap: 8px; min-width: 0; }
.hero-cats__link .ico { font-size: 15px; flex: none; }
.hero-cats__link .sign { color: var(--c-muted); font-size: 12px; flex: none; }
.hero-cats__item:hover .hero-cats__link { background: var(--c-primary-soft); color: var(--c-primary-dark); font-weight: 600; }
.hero-cats__sub {
  position: absolute; left: 100%; top: 0; min-width: 260px; background: #fff;
  border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--sh-3);
  padding: 14px 16px; display: none; z-index: 70;
}
.hero-cats__item:hover .hero-cats__sub { display: block; }
.hero-cats__sub a { display: inline-block; font-size: 13px; color: var(--c-text); margin: 0 12px 10px 0; }
.hero-cats__sub a:hover { color: var(--c-primary); }

/* 轮播 */
.hero-slider { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--c-bg-img); min-height: 320px; }
.hero-slider__track { display: flex; height: 100%; transition: transform .5s var(--ease); }
.hero-slider__slide { flex: 0 0 100%; position: relative; }
.hero-slider__slide img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 940 / 320; }
.hero-slider__link { position: absolute; inset: 0; }
.hero-slider__caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 46px 30px 24px;
  background: linear-gradient(transparent, rgba(10, 16, 26, .78)); color: #fff;
  pointer-events: none;
}
.hero-slider__t { font-size: 25px; font-weight: 800; color: #fff; margin-bottom: 5px; text-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
.hero-slider__d { font-size: 14px; opacity: .93; }
.hero-slider__dots { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 14px; padding: 6px 8px; z-index: 3; }
.hero-slider__dot {
  position: relative; width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .5);
  transition: all var(--dur) var(--ease);
}
/* 触屏热区：视觉仍是 10px 圆点，命中区撑到 24×38（相邻伪元素按 24px 节距无缝平铺，不互相遮挡） */
.hero-slider__dot::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 24px; height: 38px;
}
.hero-slider__dot.is-on { background: #fff; width: 24px; border-radius: var(--radius-pill); }
.hero-slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 38px; height: 38px; border-radius: 50%; background: rgba(0, 0, 0, .3); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.hero-slider:hover .hero-slider__arrow { opacity: 1; }
.hero-slider__arrow:hover { background: var(--c-primary); }
.hero-slider__arrow--prev { left: 14px; }
.hero-slider__arrow--next { right: 14px; }

/* 右侧服务卡 */
.hero-side { display: flex; flex-direction: column; gap: 12px; }
.hero-side__card {
  flex: 1; border-radius: var(--radius); padding: 16px 18px; color: #fff;
  display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden;
}
.hero-side__card::after {
  content: ""; position: absolute; right: -22px; bottom: -22px; width: 92px; height: 92px;
  border-radius: 50%; background: rgba(255, 255, 255, .12);
}
.hero-side__card--lease { background: linear-gradient(135deg, #2f7bff 0%, #1b5fd9 100%); }
.hero-side__card--weak { background: linear-gradient(135deg, #7b5cff 0%, #5b3fd6 100%); }
.hero-side__t { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.hero-side__d { font-size: 12.5px; opacity: .9; line-height: 1.55; position: relative; z-index: 2; }
.hero-side__go { font-size: 12.5px; margin-top: 8px; font-weight: 600; position: relative; z-index: 2; }

/* --------------------------------------------------------------------------
   2. 业务快捷分类入口
   -------------------------------------------------------------------------- */
.quick-entry { background: #fff; padding: 22px 0 6px; }
.quick-entry__grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.quick-entry__item {
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  padding: 16px 6px; border-radius: var(--radius); transition: all var(--dur) var(--ease);
  border: 1px solid transparent;
}
.quick-entry__item:hover { background: var(--c-primary-soft); border-color: var(--c-primary-line); transform: translateY(-2px); }
.quick-entry__icon {
  width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center;
  justify-content: center; font-size: 22px; background: var(--c-primary-soft);
}
.quick-entry__item:nth-child(4n+1) .quick-entry__icon { background: #eaf1ff; }
.quick-entry__item:nth-child(4n+2) .quick-entry__icon { background: #f0ecff; }
.quick-entry__item:nth-child(4n+3) .quick-entry__icon { background: #e6f8f0; }
.quick-entry__item:nth-child(4n+4) .quick-entry__icon { background: #fff4e6; }
.quick-entry__label { font-size: 13.5px; color: var(--c-title); font-weight: 500; text-align: center; }

/* --------------------------------------------------------------------------
   3. 服务承诺条
   -------------------------------------------------------------------------- */
.promise-bar { background: #fff; padding: 18px 0 26px; }
.promise-bar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.promise-bar__item {
  display: flex; align-items: center; gap: 12px; padding: 15px 18px;
  background: var(--c-bg); border-radius: var(--radius);
}
.promise-bar__icon {
  width: 42px; height: 42px; border-radius: 12px; background: #fff; flex: none;
  display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: var(--sh-1);
}
.promise-bar__t { font-size: 14.5px; font-weight: 700; color: var(--c-ink); margin-bottom: 2px; }
.promise-bar__d { font-size: 12.5px; color: var(--c-muted); }

/* --------------------------------------------------------------------------
   4. 商品卡片（全站统一，对标参考站：自营标 + 标题 + 价格）
   -------------------------------------------------------------------------- */
.p-card { background: #fff; border-radius: var(--radius); overflow: hidden; transition: all var(--dur) var(--ease); position: relative; border: 1px solid var(--c-line); display: flex; flex-direction: column; height: 100%; }
.p-card:hover { box-shadow: var(--sh-3); transform: translateY(-3px); border-color: var(--c-primary-line); }
.p-card__media { position: relative; background: var(--c-bg-img); display: flex; align-items: center; justify-content: center; padding: 18px; aspect-ratio: 1 / 1; overflow: hidden; }
.p-card__media img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .45s var(--ease); }
.p-card:hover .p-card__media img { transform: scale(1.07); }
.p-card__badges { position: absolute; left: 10px; top: 10px; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; z-index: 2; }
.p-card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.p-card__name { font-size: 14px; line-height: 1.55; color: var(--c-name); height: 43px; overflow: hidden; margin-bottom: 8px; }
.p-card__name .ziying { display: inline-block; height: 16px; line-height: 16px; padding: 0 5px; border-radius: 3px; background: #e23a3a; color: #fff; font-size: 12px; margin-right: 6px; vertical-align: 1px; }
.p-card__tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 8px; min-height: 20px; }
.p-card__price { margin-top: auto; display: flex; align-items: baseline; gap: 7px; min-height: 26px; }
.p-card__price .now { font-size: 19px; font-weight: 800; color: var(--c-price); font-family: "DIN Alternate", "Helvetica Neue", Arial, sans-serif; }
.p-card__price .now .unit { font-size: 12px; font-weight: 500; margin-left: 1px; }
.p-card__price .was { font-size: 12.5px; color: var(--c-muted); text-decoration: line-through; }
.p-card__price .ask { font-size: 14px; font-weight: 700; color: var(--c-primary); }
.p-card__fbtn {
  margin-top: 11px; width: 100%; height: 36px; border-radius: var(--radius);
  background: var(--c-price); color: #fff; font-size: 13.5px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  transition: all var(--dur) var(--ease);
}
.p-card__fbtn:hover { background: var(--c-price-dark); }
.p-card__fbtn--lease { background: var(--c-primary); }
.p-card__fbtn--lease:hover { background: var(--c-primary-dark); }
.p-card__fbtn--survey { background: var(--c-weak); }
.p-card__fbtn--survey:hover { background: #5b3fd6; }
.p-card__fbtn--plain { background: var(--c-primary-soft); color: var(--c-primary-dark); }
.p-card__fbtn--plain:hover { background: var(--c-primary-line); }

/* 网格容器 */
.p-grid { display: grid; gap: 14px; }
.p-grid--5 { grid-template-columns: repeat(5, 1fr); }
.p-grid--4 { grid-template-columns: repeat(4, 1fr); }
.p-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* 横滑容器（秒杀 / 推荐） */
.p-scroller { position: relative; }
.p-scroller__track { display: grid; grid-auto-flow: column; grid-auto-columns: 232px; gap: 14px; overflow-x: auto; padding-bottom: 6px; scroll-behavior: smooth; scrollbar-width: none; }
.p-scroller__track::-webkit-scrollbar { display: none; }
.p-scroller__nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px;
  border-radius: 50%; background: #fff; box-shadow: var(--sh-2); color: var(--c-text);
  display: flex; align-items: center; justify-content: center; z-index: 5; font-size: 15px;
}
.p-scroller__nav:hover { background: var(--c-primary); color: #fff; }
.p-scroller__nav--prev { left: -14px; }
.p-scroller__nav--next { right: -14px; }

/* 分区标题（带标签页） */
.tab-head { display: flex; align-items: center; gap: 26px; border-bottom: 1px solid var(--c-line); margin-bottom: 22px; }
.tab-head__item {
  position: relative; padding: 0 0 13px; font-size: 17px; font-weight: 600; color: var(--c-text);
  background: none; transition: color var(--dur) var(--ease);
}
.tab-head__item.is-on { color: var(--c-primary); }
.tab-head__item.is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--c-primary); border-radius: 2px; }
.tab-head__more { margin-left: auto; font-size: 13px; color: var(--c-muted); position: relative; }
.tab-head__more:hover { color: var(--c-primary); }

/* --------------------------------------------------------------------------
   5. 租赁专区
   -------------------------------------------------------------------------- */
.lease-zone { background: linear-gradient(180deg, #f2f7ff 0%, #ffffff 62%); }
.lease-zone__banner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px;
}
.lease-zone__b { border-radius: var(--radius); padding: 22px 24px; color: #fff; position: relative; overflow: hidden; }
.lease-zone__b--1 { background: linear-gradient(120deg, #2f7bff 0%, #14459f 100%); }
.lease-zone__b--2 { background: linear-gradient(120deg, #4d8cff 0%, #2f7bff 100%); }
.lease-zone__b-t { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.lease-zone__b-d { font-size: 13px; opacity: .9; margin-bottom: 12px; }
.lease-zone__b-btn { display: inline-flex; align-items: center; gap: 5px; background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .45); color: #fff; height: 32px; padding: 0 15px; border-radius: var(--radius-pill); font-size: 13px; }
.lease-zone__b-btn:hover { background: #fff; color: var(--c-primary-dark); }

/* --------------------------------------------------------------------------
   6. 工程服务专区（弱电 + 充电桩）—— 差异化板块
   -------------------------------------------------------------------------- */
.eng-zone { background: #161d2b; color: #fff; }
.eng-zone .sec-head__title { color: #fff; }
.eng-zone .sec-head__sub { color: #8b96a5; }
.eng-zone .sec-head__more { color: #8b96a5; }
.eng-zone .sec-head__more:hover { color: #fff; }
.eng-zone__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.eng-card {
  border-radius: var(--radius-lg); padding: 26px 26px 24px; position: relative; overflow: hidden;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  transition: all var(--dur) var(--ease);
}
.eng-card:hover { background: rgba(255, 255, 255, .09); transform: translateY(-3px); }
.eng-card__glow { position: absolute; right: -60px; top: -60px; width: 190px; height: 190px; border-radius: 50%; filter: blur(46px); opacity: .5; }
.eng-card--weak .eng-card__glow { background: #7b5cff; }
.eng-card--charge .eng-card__glow { background: #00b96b; }
.eng-card__head { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; position: relative; z-index: 2; }
.eng-card__icon { width: 50px; height: 50px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 25px; flex: none; }
.eng-card--weak .eng-card__icon { background: rgba(123, 92, 255, .22); }
.eng-card--charge .eng-card__icon { background: rgba(0, 185, 107, .2); }
.eng-card__t { font-size: 21px; font-weight: 800; color: #fff; }
.eng-card__sub { font-size: 12.5px; color: #8b96a5; letter-spacing: .4px; }
.eng-card__desc { font-size: 13.5px; color: #a9b3c1; line-height: 1.8; margin-bottom: 16px; position: relative; z-index: 2; }
.eng-card__list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 16px; margin-bottom: 20px; position: relative; z-index: 2; }
.eng-card__list a { font-size: 13.5px; color: #d3dae4; display: flex; align-items: center; gap: 7px; }
.eng-card__list a::before { content: "▸"; color: #6b7a8d; font-size: 12px; }
.eng-card__list a:hover { color: #fff; }
.eng-card__btn { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 24px; border-radius: var(--radius); font-size: 14.5px; font-weight: 600; color: #fff; position: relative; z-index: 2; }
.eng-card--weak .eng-card__btn { background: #7b5cff; }
.eng-card--weak .eng-card__btn:hover { background: #6746f0; }
.eng-card--charge .eng-card__btn { background: #00b96b; }
.eng-card--charge .eng-card__btn:hover { background: #00a05c; }

/* 工程流程 */
.eng-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.eng-flow__item { text-align: center; padding: 18px 12px; background: rgba(255, 255, 255, .04); border-radius: var(--radius); border: 1px dashed rgba(255, 255, 255, .13); }
.eng-flow__n { width: 30px; height: 30px; border-radius: 50%; background: var(--c-primary); color: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 9px; }
.eng-flow__t { font-size: 14px; color: #fff; font-weight: 600; margin-bottom: 4px; }
.eng-flow__d { font-size: 12px; color: #8b96a5; }

/* --------------------------------------------------------------------------
   7. 数字人直播区
   -------------------------------------------------------------------------- */
.live-zone { background: #fff; }
.live-frame { border-radius: var(--radius-lg); overflow: hidden; background: #0f1520; min-height: 380px; position: relative; }
.live-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.live-frame__placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 30px;
  background: linear-gradient(135deg, #1a2333 0%, #0f1520 100%); color: #8b96a5;
}
.live-frame__ph-icon { font-size: 46px; opacity: .5; }
.live-frame__ph-t { font-size: 16px; color: #fff; font-weight: 600; }
.live-frame__ph-d { font-size: 13px; max-width: 420px; line-height: 1.7; }
.live-zone__side { display: flex; flex-direction: column; gap: 14px; }
.live-zone__grid { display: grid; grid-template-columns: 1fr 320px; gap: 20px; }

/* --------------------------------------------------------------------------
   8. 工程案例
   -------------------------------------------------------------------------- */
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.case-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line); transition: all var(--dur) var(--ease); display: flex; flex-direction: column; }
.case-card:hover { box-shadow: var(--sh-3); transform: translateY(-3px); }
.case-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-bg-img); }
.case-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.case-card:hover .case-card__media img { transform: scale(1.06); }
.case-card__body { padding: 13px 15px 16px; flex: 1; display: flex; flex-direction: column; }
.case-card__cat { font-size: 12px; color: var(--c-primary); background: var(--c-primary-soft); display: inline-block; padding: 2px 9px; border-radius: var(--radius-pill); margin-bottom: 9px; align-self: flex-start; }
.case-card__t { font-size: 15px; color: var(--c-ink); font-weight: 600; margin-bottom: 7px; line-height: 1.5; }
.case-card__d { font-size: 13px; color: var(--c-muted); line-height: 1.65; margin-bottom: 10px; }
.case-card__meta { margin-top: auto; font-size: 12px; color: var(--c-muted); display: flex; align-items: center; gap: 12px; }

/* --------------------------------------------------------------------------
   9. 服务优势
   -------------------------------------------------------------------------- */
.adv-zone { background: #fff; }
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.adv-card { padding: 26px 24px; border-radius: var(--radius-lg); background: var(--c-bg); border: 1px solid transparent; transition: all var(--dur) var(--ease); }
.adv-card:hover { background: #fff; border-color: var(--c-primary-line); box-shadow: var(--sh-2); }
.adv-card__icon { width: 52px; height: 52px; border-radius: 16px; background: var(--c-primary-soft); color: var(--c-primary); display: flex; align-items: center; justify-content: center; font-size: 25px; margin-bottom: 15px; }
.adv-card__t { font-size: 17px; color: var(--c-ink); font-weight: 700; margin-bottom: 8px; }
.adv-card__d { font-size: 13.5px; color: var(--c-text); line-height: 1.8; }

/* 数字指标条 */
.stat-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--c-line); border-radius: var(--radius); overflow: hidden; margin-top: 26px; }
.stat-bar__item { background: #fff; padding: 24px 16px; text-align: center; }
.stat-bar__n { font-size: 32px; font-weight: 800; color: var(--c-primary); font-family: "DIN Alternate", Arial, sans-serif; line-height: 1.1; }
.stat-bar__n .u { font-size: 15px; margin-left: 2px; }
.stat-bar__l { font-size: 13px; color: var(--c-muted); margin-top: 6px; }

/* --------------------------------------------------------------------------
   10. 询价表单区
   -------------------------------------------------------------------------- */
.inquiry-zone { background: linear-gradient(135deg, #1b5fd9 0%, #14459f 100%); color: #fff; position: relative; overflow: hidden; }
.inquiry-zone::before { content: ""; position: absolute; right: -110px; top: -110px; width: 340px; height: 340px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.inquiry-zone::after { content: ""; position: absolute; left: -70px; bottom: -130px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255, 255, 255, .05); }
.inquiry-zone__grid { display: grid; grid-template-columns: 1fr 520px; gap: 48px; align-items: center; position: relative; z-index: 2; }
.inquiry-zone__t { font-size: 30px; font-weight: 800; color: #fff; margin-bottom: 12px; line-height: 1.3; }
.inquiry-zone__d { font-size: 14.5px; color: rgba(255, 255, 255, .84); line-height: 1.85; margin-bottom: 22px; }
.inquiry-zone__points { display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; }
.inquiry-zone__point { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, .92); }
.inquiry-zone__point .ck { width: 19px; height: 19px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: flex; align-items: center; justify-content: center; font-size: 12px; flex: none; }
.inquiry-zone__form { background: #fff; border-radius: var(--radius-lg); padding: 26px 26px 22px; box-shadow: var(--sh-3); }
.inquiry-zone__form-title { font-size: 19px; color: var(--c-ink); font-weight: 700; margin-bottom: 5px; }
.inquiry-zone__form-sub { font-size: 13px; color: var(--c-muted); margin-bottom: 18px; }

/* 通用表单块（独立页面内复用的版本） */
.inquiry-block { background: #fff; border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--c-line); }
.inquiry-block__head { margin-bottom: 20px; }
.inquiry-block__t { font-size: 20px; color: var(--c-ink); font-weight: 700; margin-bottom: 6px; }
.inquiry-block__d { font-size: 13.5px; color: var(--c-muted); }

/* 首屏首个轮播标题作为页面 H1，重置 h1 默认外边距以贴合版式 */
h1.hero-slider__t { margin: 0 0 5px; }
