/**
 * ============================================================
 *  page.css · 业务区块 / 案例 / 新闻 / 询盘 / 联系
 * ============================================================
 */

/* ---------- Hero（旧版结构保留） ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: #050a1e url("../images/hero-bg.png") no-repeat center center / cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 10, 30, 0.82) 0%, rgba(5, 10, 30, 0.55) 48%, rgba(5, 10, 30, 0.35) 100%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 40%, rgba(30, 82, 255, 0.18) 0%, transparent 45%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 140px 0 100px;
  width: 92%;
  max-width: var(--jpy-wrapper);
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  max-width: 960px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #fff 30%, #a5c3ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  margin-top: 24px;
  max-width: 680px;
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stats strong {
  display: block;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero-stats span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.scroll-tip {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.4);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

/* ---------- 业务矩阵 ---------- */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.biz-card {
  position: relative;
  padding: 40px 32px;
  border-radius: var(--jpy-radius);
  background: #fff;
  border: 1px solid var(--jpy-line);
  box-shadow: var(--jpy-shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.biz-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--jpy-radius);
  border: 2px solid transparent;
  pointer-events: none;
  transition: border-color 0.4s;
}

.biz-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--jpy-shadow-hover);
}

.biz-card:hover::after {
  border-color: var(--jpy-primary);
}

.biz-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  overflow: hidden;
  background: #0a0f26;
}

.biz-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.biz-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--jpy-dark);
  margin-bottom: 12px;
}

.biz-card p {
  font-size: 14px;
  color: var(--jpy-muted);
  line-height: 1.8;
  min-height: 72px;
}

.biz-card .more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-size: 14px;
  color: var(--jpy-primary);
  font-weight: 700;
}

.biz-card .more-link:hover {
  color: var(--jpy-primary-dark);
}

/* ---------- 案例网格 ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.case-card {
  border-radius: var(--jpy-radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--jpy-line);
  box-shadow: var(--jpy-shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--jpy-shadow-hover);
}

.case-cover {
  height: 280px;
  background: #0a0f26 url("../images/case-cover.png") no-repeat center center / cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  overflow: hidden;
}

.case-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 10, 30, 0.75) 100%);
  pointer-events: none;
}

.case-cover span {
  position: absolute;
  left: 24px;
  bottom: 20px;
  z-index: 2;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  padding: 4px 12px;
  border-radius: 4px;
}

.case-body {
  padding: 28px;
}

.case-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--jpy-dark);
  margin-bottom: 10px;
}

.case-body p {
  font-size: 14px;
  color: var(--jpy-muted);
}

/* ---------- 优势指标 ---------- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.adv-item {
  padding: 40px 24px;
  border-radius: var(--jpy-radius);
  background: #fff;
  border: 1px solid var(--jpy-line);
  box-shadow: var(--jpy-shadow);
  text-align: center;
}

.adv-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 16px;
  border-radius: 20px;
  overflow: hidden;
  background: #f8fafc;
}

.adv-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.adv-num {
  font-size: 48px;
  font-weight: 800;
  background-image: var(--jpy-grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.adv-item h3 {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--jpy-dark);
}

.adv-item p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--jpy-muted);
}

/* ---------- 新闻列表 ---------- */
.news-list {
  display: grid;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.news-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 32px 40px;
  border-radius: var(--jpy-radius);
  background: #fff;
  border: 1px solid var(--jpy-line);
  box-shadow: var(--jpy-shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-item:hover {
  transform: translateX(4px);
  border-color: transparent;
  box-shadow: var(--jpy-shadow-hover);
}

.news-date {
  text-align: center;
  border-right: 1px solid var(--jpy-line);
  padding-right: 32px;
}

.news-date strong {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--jpy-primary);
  line-height: 1;
}

.news-date span {
  font-size: 13px;
  color: var(--jpy-light);
  margin-top: 4px;
  display: block;
}

.news-item h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--jpy-dark);
  margin-bottom: 8px;
}

.news-item p {
  font-size: 14px;
  color: var(--jpy-muted);
}

.news-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--jpy-primary);
  background: rgba(30, 82, 255, 0.06);
  padding: 6px 14px;
  border-radius: 6px;
  white-space: nowrap;
}

/* ---------- CTA 转化带 ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 64px 60px;
  color: #fff;
  background: #050a1e url("../images/hero-bg.png") no-repeat center center / cover;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 10, 30, 0.82) 0%, rgba(5, 10, 30, 0.55) 100%);
  pointer-events: none;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  font-size: 32px;
  font-weight: 800;
}

.cta-band p {
  margin-top: 10px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- 内容图文板 ---------- */
.content-block {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.content-block.reverse {
  grid-template-columns: 1fr 1.2fr;
}

.content-block .visual {
  min-height: 420px;
  border-radius: 20px;
  background: #0a0f26;
  border: 1px solid rgba(30, 82, 255, 0.12);
  box-shadow: var(--jpy-shadow-hover);
  position: relative;
  overflow: hidden;
}

.content-block .visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.content-block h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--jpy-dark);
  margin-bottom: 24px;
}

.content-block p {
  color: var(--jpy-muted);
  font-size: 16px;
  margin-bottom: 16px;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  margin-top: 14px;
  color: var(--jpy-text);
  font-size: 15px;
  font-weight: 500;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-image: var(--jpy-grad-primary);
}

/* ---------- 联系页 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info {
  padding: 48px;
  border-radius: var(--jpy-radius);
  color: #fff;
  background: #050a1e url("../images/hero-bg.png") no-repeat center center / cover;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 30, 0.72);
  pointer-events: none;
}

.contact-info > * {
  position: relative;
  z-index: 1;
}

.contact-info h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 24px;
}

.contact-info li {
  margin-top: 18px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
}

.contact-form {
  padding: 48px;
  border-radius: var(--jpy-radius);
  background: #fff;
  border: 1px solid var(--jpy-line);
  box-shadow: var(--jpy-shadow);
}

.form-row {
  margin-bottom: 20px;
}

.form-row label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--jpy-muted);
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--jpy-line);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 15px;
  line-height: 1.45;
  font-family: inherit;
  color: var(--jpy-text);
  background-color: #f8fafc;
  transition: all 0.3s;
}

.form-row select {
  min-height: 52px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 44px;
  background-color: #f8fafc;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364708b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  cursor: pointer;
}

.form-row select:invalid,
.form-row select option[value=""] {
  color: #94a3b8;
}

.form-row select option {
  color: var(--jpy-text);
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: var(--jpy-primary);
  box-shadow: 0 0 0 4px rgba(30, 82, 255, 0.08);
  background-color: #fff;
}

.form-msg {
  display: none;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: #155eef;
}

.form-msg.is-error {
  color: #ef4444;
}

.form-msg.is-success {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--jpy-text);
  background: #f8fafc;
  border: 1px solid var(--jpy-line);
  border-radius: 12px;
  padding: 14px 16px;
}

.form-msg.is-success img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}

@media (max-width: 1200px) {
  .biz-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .content-block,
  .content-block.reverse,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .news-item {
    grid-template-columns: 90px 1fr;
  }
  .news-tag {
    display: none;
  }
}

@media (max-width: 640px) {
  .biz-grid,
  .case-grid,
  .adv-grid {
    grid-template-columns: 1fr;
  }
  .hero-inner {
    padding-top: 120px;
  }
  .cta-band {
    padding: 40px 32px;
  }
  .contact-info,
  .contact-form {
    padding: 32px;
  }
}

/* ============================================================
   易百讯风格增强：滚动显现 / 轮播 / 询盘 / Tabs
   ============================================================ */

/* ---------- 滚动显现 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Hero 轮播 */
.hero-slider {
  position: relative;
  min-height: 720px;
  color: #fff;
  overflow: hidden;
  background: #050a1e;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s;
  background: #050a1e center/cover no-repeat;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
  min-height: 720px;
}
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(5,10,30,.88) 0%, rgba(5,10,30,.55) 50%, rgba(5,10,30,.25) 100%);
}
.hero-slide-inner {
  position: relative;
  z-index: 2;
  width: 92%;
  max-width: var(--jpy-wrapper);
  margin: 0 auto;
  padding: 160px 0 100px;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-slide .hero-title {
  max-width: 720px;
  margin: 0;
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
}
.hero-slide .hero-title em {
  font-style: normal;
  background: linear-gradient(90deg, #fff 30%, #a5c3ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-slide .hero-desc {
  max-width: 560px;
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
}
.hero-slide .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 28px;
}
.hero-slide .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}
.hero-pager {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}
.hero-pager button {
  width: 36px;
  height: 4px;
  border: 0;
  border-radius: 99px;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  padding: 0;
  transition: all .3s;
}
.hero-pager button.is-active {
  width: 56px;
  background: #fff;
}
.hero-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.25);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  transition: all .25s;
}
.hero-nav:hover { background: var(--jpy-primary); border-color: var(--jpy-primary); }
.hero-nav.prev { left: 24px; }
.hero-nav.next { right: 24px; }

/* 区块标题：英文大字 + 中文 */
.sec-head {
  margin-bottom: 48px;
}
.sec-head.center { text-align: center; }
.sec-en {
  display: block;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  color: rgba(30, 82, 255, 0.08);
  text-transform: uppercase;
  margin-bottom: -18px;
}
.sec-dark .sec-en { color: rgba(255,255,255,.08); }
.sec-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.sec-title-row h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.sec-title-row p {
  margin: 8px 0 0;
  color: var(--jpy-muted);
  font-size: 15px;
}
.sec-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--jpy-primary);
  white-space: nowrap;
}
.sec-more:hover { gap: 10px; }

/* 深色区块 */
.sec-dark {
  background: linear-gradient(180deg, #0a0f26 0%, #121a38 100%);
  color: #fff;
}
.sec-dark .sec-title-row p,
.sec-dark .muted { color: rgba(255,255,255,.65); }
.sec-dark .sec-more { color: var(--jpy-secondary); }
.sec-light { background: #fff; }
.sec-gray { background: var(--jpy-bg); }

/* ABOUT 左右分栏 */
.about-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.about-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #0a0f26;
}
.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-visual-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 16px 22px;
  border-radius: 14px;
  background: rgba(10, 15, 38, 0.82);
  backdrop-filter: blur(10px);
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
}
.about-visual-badge strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--jpy-secondary);
  line-height: 1.2;
}
.about-visual-badge span { font-size: 13px; opacity: .8; }
.about-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
}
.about-copy > p {
  color: var(--jpy-muted);
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.9;
}
.about-points {
  display: grid;
  gap: 14px;
  margin-bottom: 32px;
}
.about-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--jpy-bg);
  border: 1px solid var(--jpy-line);
}
.about-point img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}
.about-point strong {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}
.about-point span {
  font-size: 13px;
  color: var(--jpy-muted);
  line-height: 1.5;
}

/* 服务轮播 SERVE */
.serve-track-wrap {
  position: relative;
  overflow: hidden;
  margin: 0 -8px;
}
.serve-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(.22,1,.36,1);
  padding: 8px;
}
.serve-card {
  flex: 0 0 calc(25% - 15px);
  min-width: 260px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 32px 28px;
  transition: all .35s;
  color: #fff;
}
.serve-card:hover {
  background: rgba(30, 82, 255, 0.18);
  border-color: rgba(0, 194, 255, 0.35);
  transform: translateY(-6px);
}
.serve-card .ico {
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  object-fit: contain;
}
.serve-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
}
.serve-card p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,.62);
  min-height: 72px;
}
.serve-card a {
  font-size: 14px;
  font-weight: 600;
  color: var(--jpy-secondary);
}
.serve-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}
.serve-controls button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: transparent;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: all .25s;
}
.serve-controls button:hover {
  background: var(--jpy-primary);
  border-color: var(--jpy-primary);
}

/* 案例瀑布流 */
.case-masonry {
  column-count: 3;
  column-gap: 20px;
}
.case-tile {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #0a0f26;
  display: block;
}
.case-tile img {
  width: 100%;
  display: block;
  transition: transform .6s ease;
}
.case-tile:hover img { transform: scale(1.06); }
.case-tile-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5,10,30,.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  color: #fff;
  opacity: 0.95;
}
.case-tile-mask em {
  font-style: normal;
  font-size: 12px;
  color: var(--jpy-secondary);
  margin-bottom: 6px;
}
.case-tile-mask strong {
  font-size: 18px;
  font-weight: 700;
}
.case-tile.tall img { min-height: 320px; object-fit: cover; }
.case-tile.short img { min-height: 220px; object-fit: cover; }

/* 中部询盘带 */
.quote-band {
  position: relative;
  padding: 72px 0;
  background: linear-gradient(135deg, #0a0f26 0%, #152a6b 50%, #1e52ff 100%);
  color: #fff;
  overflow: hidden;
}
.quote-band::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(0, 194, 255, 0.15);
}
.quote-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.quote-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
}
.quote-copy p {
  margin: 0 0 28px;
  color: rgba(255,255,255,.72);
  font-size: 15px;
  line-height: 1.8;
}
.quote-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.quote-phones a {
  display: flex;
  flex-direction: column;
  padding: 16px 22px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  min-width: 200px;
}
.quote-phones a span { font-size: 12px; opacity: .7; }
.quote-phones a strong { font-size: 22px; font-weight: 800; letter-spacing: 0.02em; }
.quote-form {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  color: var(--jpy-text);
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
}
.quote-form h3 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
}
.quote-form .sub {
  margin: 0 0 22px;
  font-size: 13px;
  color: var(--jpy-muted);
}
.quote-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.quote-form .field {
  margin-bottom: 12px;
}
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.45;
  font-family: inherit;
  color: var(--jpy-text);
  background-color: #f8fafc;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.quote-form select {
  min-height: 48px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
  background-color: #f8fafc;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364708b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  cursor: pointer;
}
.quote-form select option {
  color: var(--jpy-text);
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--jpy-primary);
  box-shadow: 0 0 0 3px rgba(30,82,255,.12);
  background-color: #fff;
}
.quote-form textarea { min-height: 88px; resize: vertical; }
.quote-form .btn-submit {
  width: 100%;
  margin-top: 8px;
  border: 0;
  border-radius: 10px;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--jpy-grad-primary);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.quote-form .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(30,82,255,.35);
}

/* 新闻 Tab */
.news-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.news-tabs button {
  border: 1px solid var(--jpy-line);
  background: #fff;
  padding: 10px 22px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  color: var(--jpy-muted);
  cursor: pointer;
  transition: all .25s;
}
.news-tabs button.is-active,
.news-tabs button:hover {
  background: var(--jpy-primary);
  border-color: var(--jpy-primary);
  color: #fff;
}
.news-panel { display: none; }
.news-panel.is-active { display: block; }
.news-list-y {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--jpy-line);
}
.news-row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 8px;
  border-bottom: 1px solid var(--jpy-line);
  transition: background .2s;
}
.news-row:hover { background: var(--jpy-bg); }
.news-row .date {
  font-size: 13px;
  color: var(--jpy-light);
  font-weight: 600;
}
.news-row .date strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--jpy-primary);
  line-height: 1.1;
}
.news-row h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
}
.news-row p {
  margin: 0;
  font-size: 13px;
  color: var(--jpy-muted);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-row .arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--jpy-line);
  display: grid;
  place-items: center;
  color: var(--jpy-primary);
  transition: all .25s;
}
.news-row:hover .arrow {
  background: var(--jpy-primary);
  border-color: var(--jpy-primary);
  color: #fff;
}

/* 合作伙伴条 */
.partner-strip {
  padding: 40px 0;
  border-top: 1px solid var(--jpy-line);
  background: #fff;
}
.partner-strip .label {
  text-align: center;
  font-size: 13px;
  color: var(--jpy-light);
  margin-bottom: 20px;
  letter-spacing: 0.08em;
}
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 28px;
}
.partner-logos span {
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--jpy-bg);
  color: var(--jpy-muted);
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .about-split,
  .quote-grid { grid-template-columns: 1fr; gap: 36px; }
  .serve-card { flex: 0 0 calc(50% - 10px); }
  .case-masonry { column-count: 2; }
  .hero-nav { display: none; }
  .hero-slider,
  .hero-slide.is-active,
  .hero-slide-inner { min-height: 560px; }
}
@media (max-width: 640px) {
  .serve-card { flex: 0 0 86%; }
  .case-masonry { column-count: 1; }
  .quote-form .row { grid-template-columns: 1fr; }
  .news-row { grid-template-columns: 72px 1fr; }
  .news-row .arrow { display: none; }
  .hero-slide-inner { padding: 120px 0 80px; min-height: 520px; }
}

/* ---------- 分页 jpy-pager ---------- */
.jpy-pager {
  --pager-size: 42px;
  display: flex;
  justify-content: center;
  margin-top: 56px;
  font-size: 14px;
  line-height: 1;
}

.jpy-pager:empty {
  display: none;
}

.jpy-pager__bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(21, 94, 239, 0.08);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 255, 0.94));
  box-shadow:
    0 18px 40px -28px rgba(21, 94, 239, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
  backdrop-filter: blur(8px);
}

.jpy-pager__side,
.jpy-pager__nums {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.jpy-pager a,
.jpy-pager span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: var(--pager-size);
  height: var(--pager-size);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #5b6b86;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  transition:
    color .22s ease,
    background .22s ease,
    box-shadow .22s ease,
    transform .22s ease;
}

.jpy-pager__side a {
  background: #fff;
  color: #64748b;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.jpy-pager a:hover {
  color: #155eef;
  background: #fff;
  box-shadow: 0 8px 18px -10px rgba(21, 94, 239, 0.55);
  transform: translateY(-1px);
}

.jpy-pager__nums a:hover {
  background: rgba(21, 94, 239, 0.08);
  box-shadow: none;
}

.jpy-pager .current,
.jpy-pager__nums .current {
  color: #fff;
  background: linear-gradient(135deg, #1e52ff 0%, #00b7ff 100%);
  box-shadow:
    0 10px 22px -8px rgba(30, 82, 255, 0.7),
    0 0 0 4px rgba(21, 94, 239, 0.1);
  font-weight: 650;
  pointer-events: none;
  transform: none;
}

.jpy-pager .current::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), transparent 42%);
  pointer-events: none;
}

/* 未增强前的兜底 */
.jpy-pager > a,
.jpy-pager > span {
  margin: 0 3px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.jpy-pager > .pageselect {
  display: none !important;
}

@media (max-width: 640px) {
  .jpy-pager {
    margin-top: 40px;
  }

  .jpy-pager__bar {
    gap: 8px;
    padding: 8px 10px;
    max-width: 100%;
  }

  .jpy-pager {
    --pager-size: 38px;
  }

  .jpy-pager__side a.firstPage,
  .jpy-pager__side a.lastPage {
    display: none;
  }
}
