@charset "utf-8";
/* ==========================================================================
   pages.css —— 各页面专属样式（区块节奏按设计稿实测还原）
   ========================================================================== */

/* =======================  区块节奏  ======================= */
.sec-about        { padding: 132px 0 128px; }
.sec-about .sec-head { margin-bottom: 72px; }
.sec-about-intro  { padding: 129px 0 107px; }
.sec-about-intro .sec-head { margin-bottom: 47px; }
.sec-blue         { padding: 142px 0 92px; }
.sec-blue .sec-head { margin-bottom: 60px; }
.sec-news         { padding: 73px 0 103px; }
.sec-news .tabs   { margin-bottom: 63px; }
.sec-news .pager  { padding-top: 77px; }
.sec-news .sec-head { margin-bottom: 46px; }
.sec-prod-list    { padding: 60px 0 83px; background: var(--bg-soft); }
.sec-download     { padding: 180px 0 60px; background: #fff; }
.sec-jobs         { padding: 120px 0 130px; background: #fff; }
.sec-contact      { padding: 110px 0 140px; }
.sec-news-detail  { padding: 20px 0 130px; }

/* =======================  首页：关于区块  ======================= */
.about-split {
  display: grid;
  grid-template-columns: 802px 1fr;
  gap: 62px;
  align-items: center;
}
.about-split .as-pic { overflow: hidden; }
.about-split .as-pic img { width: 100%; display: block; }
.about-split .as-text p { font-size: 18px; line-height: 2.05; color: var(--text); margin-bottom: 24px; }
.about-split .as-text p:last-of-type { margin-bottom: 38px; }

.about-body p { font-size: 18px; line-height: 2.1; color: var(--text); margin-bottom: 26px; }
.about-body p:last-child { margin-bottom: 0; }

/* =======================  首页：在线咨询  ======================= */
.cta {
  /* 背景：PSD 原图底部（手套/器械）按设计稿透明度混入品牌蓝 */
  background: var(--blue) url("../img/bg-cta.jpg") center / cover no-repeat;
  position: relative;
  overflow: hidden;
  padding: 110px 0 80px;
}
.cta-in {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.22fr;
  gap: 90px;
  align-items: center;
}
.cta-left { position: relative; }
.cta-wm {
  position: absolute;
  left: 0; top: -67px;              /* 设计实测：水印字顶在标题字顶上方 60px */
  font-size: 111px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, .07);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.cta-left h2 { position: relative; color: #fff; margin-bottom: 30px; }
.cta-left .cta-desc { position: relative; font-size: 18px; line-height: 2; color: rgba(255, 255, 255, .92); margin-bottom: 56px; }
.cta-phone { position: relative; display: flex; align-items: center; gap: 22px; }
.cta-phone .ring {
  width: 68px; height: 68px;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid rgba(255, 255, 255, .85);
  border-radius: 50%;
  color: #fff;
  flex: 0 0 auto;
}
.cta-phone .pl { display: block; font-size: 18px; color: rgba(255, 255, 255, .92); }
.cta-phone .pn { display: block; font-size: 40px; line-height: 1.25; font-weight: 700; color: var(--green); letter-spacing: 1px; }
.cta-form .btn { margin-top: 8px; }

/* =======================  产品列表页  ======================= */
.sec-prod-list .tabs { margin-bottom: 52px; }
.sec-prod-list .pager { padding-top: 85px; }

/* =======================  产品内页  ======================= */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; padding: 10px 0 40px; }
.pd-stage {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr 54px;  /* 显式三列：左箭头/主图/右箭头，让圆点 1/-1 能正确跨整行 */
  grid-template-rows: 1fr auto;
  height: 100%;
}
.pd-view {
  grid-row: 1 / 2;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 470px;
  padding: 34px;
  overflow: hidden;   /* 轮播滑动图层限定在主图框架内，不外溢到右侧文字区 */
}
.pd-view img { max-width: 100%; max-height: 440px; width: auto; object-fit: contain; display: block; }

/* 主图轮播：由右向左滑动过渡（prev 时反向） */
.pd-slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.pd-slide-in { animation: pdSlideIn .5s ease both; }
.pd-slide-out { animation: pdSlideOut .5s ease both; pointer-events: none; }
.pd-slide-in.rev { animation-name: pdSlideInRev; }
.pd-slide-out.rev { animation-name: pdSlideOutRev; }
@keyframes pdSlideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes pdSlideOut { from { transform: translateX(0); opacity: 1; } to { transform: translateX(-100%); opacity: .2; } }
@keyframes pdSlideInRev { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@keyframes pdSlideOutRev { from { transform: translateX(0); opacity: 1; } to { transform: translateX(100%); opacity: .2; } }
.pd-arrow {
  grid-row: 1 / 2;
  align-self: center;
  position: static;
  transform: none;
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  cursor: pointer;
  transition: background var(--trans);
  z-index: 2;
}
.pd-arrow:hover { background: var(--green-d); }
.pd-arrow.prev { justify-self: start; }
.pd-arrow.next { justify-self: end; background: #EDEDED; color: #9A9A9A; }
.pd-arrow.next:hover { background: #E0E0E0; }
.pd-dots {
  grid-row: 2 / 3;
  grid-column: 1 / -1;   /* 横跨整行，让圆点居中在产品图下方（否则被隐式列挤到左下角） */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 0 0;
  flex-shrink: 0;
}
.pd-dots button { width: 11px; height: 11px; border-radius: 50%; background: #D8D8D8; transition: background var(--trans); }
.pd-dots button.on { background: var(--green); }

.pd-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* 高度锁定为左列（产品图区）的高度：
     height:0 让本列不参与行高计算，min-height:100% 再撑满行高（= 左列高度） */
  height: 0;
  min-height: 100%;
  min-width: 0;
}
.pd-info h1 { font-size: 40px; line-height: 1.45; margin-bottom: 30px; flex-shrink: 0; }
.pd-spec {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  margin-bottom: 42px;
  padding-right: 12px;
  scrollbar-width: thin;
  scrollbar-color: #C9C9C9 transparent;
}
.pd-spec::-webkit-scrollbar { width: 5px; }
.pd-spec::-webkit-scrollbar-track { background: transparent; }
.pd-spec::-webkit-scrollbar-thumb { background: #C9C9C9; border-radius: 3px; }
.pd-spec::-webkit-scrollbar-thumb:hover { background: #ADADAD; }
.pd-spec li { position: relative; font-size: 18px; line-height: 1.95; color: var(--text-2); padding-left: 18px; }
.pd-spec li::before {
  content: "";
  position: absolute;
  left: 0; top: 18px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-2);
}
.pd-spec li b { color: var(--ink); font-weight: 700; }
.pd-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: auto; padding-top: 20px; flex-shrink: 0; }
.pd-actions .btn { min-width: 190px; }

.pd-body-wrap { padding: 20px 0 10px; }
.pd-body-wrap .rich-text { font-size: 18px; line-height: 2; color: var(--text); }
.pd-body-wrap .rich-text h3 { font-size: 28px; margin: 0 0 14px; }
.pd-body-wrap .rich-text ul { padding-left: 1.5em; margin-bottom: .9em; }
.pd-body-wrap .rich-text li { margin-bottom: 4px; }

.rec-sec { padding: 30px 0 130px; }
.rec-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.rec-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* 推荐产品：标题顶部对齐（贴着图片下方），不沉底 */
  justify-content: flex-start;
  min-height: 300px;
  padding: 28px 20px 30px;
  background: var(--bg-card);
  text-align: center;
  transition: box-shadow var(--trans), transform var(--trans), background var(--trans);
}
.rec-card:hover { background: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, .1); transform: translateY(-4px); }
.rec-card .rc-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 200px;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.rec-card .rc-img img { max-height: 180px; max-width: 100%; width: auto; object-fit: contain; }
.rec-card .rc-name {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--ink);
  min-height: calc(var(--fs-sm) * 1.6 * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =======================  联系我们页  ======================= */
/* 左右两栏等高：stretch 后右侧表单撑满，提交按钮贴底与左侧地图底边齐平 */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 95px; align-items: stretch; }
.cbox { position: relative; overflow: hidden; display: flex; flex-direction: column; }
.cbox .cinfo { flex: 1 1 auto; }
.cbox form { display: block; }
.cbox form .btn { margin-top: 0; }
.cbox h2 {
  position: relative;
  font-size: 40px;
  line-height: 1.2;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}
.cbox h2 .cwt { position: relative; display: inline-block; z-index: 2; }
.cbox h2 .cwm {
  position: absolute;
  left: 0;
  /* 不设 translateY：原先按行高 50% 上移，导致英文上下被 .cbox 裁掉 */
  top: 0;
  line-height: 1.15;
  font-size: 78px;
  letter-spacing: 0;
  color: #F0F0F0;
  z-index: 1;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.cinfo { position: relative; }
.cinfo .cname { font-size: 28px; line-height: 1.2; font-weight: 700; color: var(--ink); margin-bottom: 18px; }
.cinfo dl { margin-bottom: 14px; }
.cinfo dt { font-size: 18px; color: var(--muted); margin-bottom: 2px; }
.cinfo dd { font-size: 18px; color: var(--ink); line-height: 1.5; }
.cinfo dd.tel, .cinfo dd .tel { font-size: 32px; font-weight: 700; color: var(--green); letter-spacing: .5px; line-height: 1.25; }
.cinfo .cmap { margin-top: 20px; border: 1px solid var(--line); overflow: hidden; }
.cinfo .cmap-link { display: block; position: relative; }
.cinfo .cmap img { width: 100%; height: 260px; object-fit: cover; display: block; transition: transform .35s ease; }
.cinfo .cmap-link:hover img { transform: scale(1.04); }
.cinfo .cmap-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(0,74,158,.5); color: #fff; font-size: 20px;
  opacity: 0; transition: opacity .35s; pointer-events: none;
}
.cinfo .cmap-link:hover .cmap-overlay { opacity: 1; }
.cinfo .cmap-pin { width: 22px; height: 22px; }

/* =======================  新闻详情  ======================= */
.nd-head { padding: 10px 0 32px; border-bottom: 1px solid var(--line); margin-bottom: 42px; text-align: center; }
.nd-head h1 { font-size: 40px; line-height: 1.55; margin-bottom: 22px; }
.nd-meta { display: flex; align-items: center; justify-content: center; gap: 32px; font-size: 20px; color: var(--gray); flex-wrap: wrap; }
.nd-content { font-size: 18px; line-height: 2.1; color: var(--text); }
.nd-content img { max-width: 100%; height: auto; margin: 22px 0; }
.nd-content p { margin-bottom: 1em; }
.nd-content h2 { font-size: 34px; margin: 1em 0 .6em; }
.nd-content h3 { font-size: 28px; margin: 1em 0 .6em; }
.nd-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  font-size: 18px;
  color: var(--muted);
}
.nd-nav a:hover { color: var(--green); }

/* =======================  响应式  ======================= */
@media (max-width: 1700px) {
  .sec-about { padding: 110px 0 108px; }
  .sec-blue { padding: 118px 0 78px; }
  .sec-news { padding: 108px 0 100px; }
  .sec-download { padding: 116px 0 108px; }
  .sec-jobs { padding: 100px 0 108px; }
  .sec-contact { padding: 92px 0 116px; }
  .about-split { grid-template-columns: 1.05fr 1fr; gap: 48px; }
  .about-split .as-text p, .about-body p { font-size: 19px; }
  .cta { padding: 92px 0 68px; }
  .cta-wm { font-size: 92px; top: -56px; }
  .cta-left .cta-desc { font-size: 19px; margin-bottom: 46px; }
  .cta-phone .pl { font-size: 19px; }
  .cta-phone .pn { font-size: 34px; }
  .cta-phone .ring { width: 58px; height: 58px; }
  .pd-spec li { font-size: 19px; }
  .cinfo .cname { font-size: 24px; }
  .cinfo dt { font-size: 19px; }
  .cinfo dd { font-size: 20px; }
  .cinfo dd.tel, .cinfo dd .tel { font-size: 30px; }
  .cbox h2 .cwm { font-size: 54px; }
  .nd-content { font-size: 19px; }
  .nd-head h1 { font-size: 34px; }
  .nd-nav { font-size: 19px; }
}
@media (max-width: 1400px) {
  .sec-about { padding: 88px 0 86px; }
  .sec-about .sec-head { margin-bottom: 52px; }
  .sec-blue { padding: 94px 0 62px; }
  .sec-blue .sec-head { margin-bottom: 44px; }
  .sec-news { padding: 86px 0 80px; }
  .sec-download { padding: 92px 0 86px; }
  .sec-jobs { padding: 80px 0 86px; }
  .sec-contact { padding: 74px 0 92px; }
  .about-split { grid-template-columns: 1fr 1fr; gap: 34px; }
  .about-split .as-text p, .about-body p { font-size: 17px; line-height: 2; }
  .about-split .as-text p:last-of-type { margin-bottom: 26px; }
  .cta { padding: 74px 0 56px; }
  .cta-in { gap: 60px; }
  .cta-wm { font-size: 74px; top: -46px; }
  .cta-left h2 { margin-bottom: 20px; }
  .cta-left .cta-desc { font-size: 17px; margin-bottom: 34px; }
  .cta-phone .pl { font-size: 17px; }
  .cta-phone .pn { font-size: 28px; }
  .cta-phone .ring { width: 50px; height: 50px; }
  .pd { gap: 48px; padding: 10px 0 50px; }
  .pd-view { min-height: 360px; }
  .pd-view img { max-height: 340px; }
  .pd-info h1 { font-size: 32px; margin-bottom: 22px; }
  .pd-spec li { font-size: 17px; }
  .pd-spec li::before { top: 13px; width: 5px; height: 5px; }
  .pd-actions .btn { min-width: 160px; }
  .rec-sec { padding: 20px 0 96px; }
.rec-card { min-height: 260px; padding: 22px 16px 24px; }
.rec-card .rc-img { height: 160px; }
.rec-card .rc-img img { max-height: 150px; }
.rec-card .rc-name { font-size: var(--fs-sm); }
  .contact-grid { gap: 56px; }
  .cinfo .cname { font-size: 21px; margin-bottom: 20px; }
  .cinfo dt { font-size: 17px; }
  .cinfo dd { font-size: 18px; }
  .cinfo dd.tel, .cinfo dd .tel { font-size: 26px; }
  .cbox h2 { margin-bottom: 32px; }
  .cbox h2 .cwm { font-size: 43px; }
  .nd-content { font-size: 17px; }
  .nd-head h1 { font-size: 28px; }
  .nd-meta { font-size: 16px; gap: 22px; }
  .nd-nav { font-size: 17px; }
}
@media (max-width: 1180px) {
  .cta-in { grid-template-columns: 1fr; gap: 44px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .cbox h2 .cwm { display: none; }
  .rec-grid { grid-template-columns: repeat(3, 1fr); }
  .pd { grid-template-columns: 1fr; gap: 34px; }
  .pd-stage { display: block; height: auto; }
  .pd-view { min-height: 360px; }
  .pd-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }
  .pd-arrow.prev { left: 0; justify-self: auto; }
  .pd-arrow.next { right: 0; justify-self: auto; }
  .pd-info { display: block; height: auto; min-height: 0; }
  .pd-spec { overflow: visible; padding-right: 0; scrollbar-width: auto; }
  .pd-actions { margin-top: 0; padding-top: 0; }
}
@media (max-width: 900px) {
  .sec-about, .sec-about-intro, .sec-blue, .sec-news, .sec-download, .sec-jobs, .sec-contact {
    padding: 48px 0 46px;
  }
  .sec-about .sec-head, .sec-about-intro .sec-head, .sec-blue .sec-head, .sec-news .sec-head { margin-bottom: 30px; }
  .about-split { grid-template-columns: 1fr; gap: 24px; }
  .about-split .as-text p, .about-body p { font-size: 15px; line-height: 1.9; margin-bottom: 14px; }
  .cta { padding: 40px 0 36px; }
  .cta-wm { display: none; }
  .cta-left h2 { margin-bottom: 14px; }
  .cta-left .cta-desc { font-size: 14px; margin-bottom: 22px; }
  .cta-phone .pl { font-size: 14px; }
  .cta-phone .pn { font-size: 24px; }
  .cta-phone .ring { width: 44px; height: 44px; border-width: 2px; }
  .cta-phone .ring .ico { width: 20px; height: 20px; }
  .pd { padding: 6px 0 30px; }
  .pd-view { min-height: 240px; padding: 20px; }
  .pd-view img { max-height: 220px; }
  .pd-arrow { width: 40px; height: 40px; position: absolute; top: 50%; transform: translateY(-50%); }
  .pd-arrow.prev { left: 0; }
  .pd-arrow.next { right: 0; }
  .pd-info h1 { font-size: 21px; margin-bottom: 16px; }
  .pd-spec li { font-size: 14px; line-height: 1.8; padding-left: 13px; }
  .pd-spec li::before { top: 11px; width: 4px; height: 4px; }
  .pd-actions .btn { min-width: 0; flex: 1 1 auto; }
  .rec-sec { padding: 12px 0 50px; }
  .rec-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
.rec-card { min-height: 200px; padding: 16px 12px 18px; }
.rec-card .rc-img { height: 120px; }
.rec-card .rc-img img { max-height: 110px; }
.rec-card .rc-name { font-size: 13px; }
  .contact-grid { gap: 34px; }
  .cinfo .cname { font-size: 18px; margin-bottom: 16px; }
  .cinfo dt { font-size: 14px; }
  .cinfo dd { font-size: 15px; }
  .cinfo dd.tel, .cinfo dd .tel { font-size: 22px; }
  .cbox h2 { margin-bottom: 22px; }
  .nd-head h1 { font-size: 20px; margin-bottom: 14px; }
  .nd-meta { font-size: 13px; gap: 14px; }
  .nd-content { font-size: 15px; line-height: 1.95; }
  .nd-nav { font-size: 15px; margin-top: 36px; padding-top: 20px; }
}
