/* 首页专用样式 - 不影响内页 */
.page-home {
  --hp-primary: #2563EB;
  --hp-primary-dark: #1D4ED8;
  --hp-primary-light: #EFF6FF;
  --hp-text: #0F172A;
  --hp-muted: #64748B;
  --hp-bg: #F8FAFC;
  --hp-border: #E2E8F0;
  --hp-radius: 12px;
  --hp-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}

/* ===== 首页导航：白底深字，轮播从导航下方开始 ===== */
.page-home .header {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
  padding: 12px 0;
  transition: background 0.3s, box-shadow 0.3s;
}

.page-home .header.header--fixed,
.page-home .header.hp-header--fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.12);
}

.page-home .header .nav li a {
  color: #334155 !important;
}

.page-home .header .nav li.active a,
.page-home .header .nav li.open a,
.page-home .header .nav li a:hover {
  color: var(--hp-primary) !important;
}

.page-home .header .nav li.active a span,
.page-home .header .nav li.open a span,
.page-home .header .nav li a:hover span {
  color: var(--hp-primary) !important;
  opacity: 1;
}

.page-home .header .nav li .arr:after {
  border-top-color: #334155;
  border-left-color: #334155;
}

.page-home .header.hp-header--solid {
  background: #fff;
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.1);
}

.page-home .sp_nav span {
  background: #334155;
}

.page-home .menu-btn:before,
.page-home .menu-btn:after,
.page-home .menu-btn span {
  background-color: #334155;
}

/* ===== Hero ===== */
.page-home .banner.hp-hero {
  height: auto;
}

.hp-hero {
  position: relative;
  background: transparent;
}

.hp-hero .swiper-slide {
  height: 650px;
  line-height: normal;
}

.hp-hero__slide {
  position: relative;
  height: 650px;
  overflow: hidden;
}

.hp-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #E8EEF5;
}

.hp-hero__bg img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  object-position: center center;
  display: block;
}

.hp-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
}

.hp-hero__copy {
  max-width: 620px;
  padding: 40px 0;
}

.hp-hero__title {
  margin: 0 0 16px;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.3;
  color: #1A3A6B;
  letter-spacing: 1px;
}

.hp-hero__subtitle {
  margin: 0 0 0;
  font-size: 17px;
  line-height: 1.8;
  color: #2E5280;
  font-weight: 400;
}

.hp-hero__actions {
  margin-top: 64px;
}

.hp-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.hp-hero__pill {
  display: inline-block;
  padding: 11px 28px;
  border-radius: 50px;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 50%, #1D4ED8 100%);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: all 0.3s;
}

.hp-hero__pill:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.45);
}

.hp-hero__tel {
  margin: 0;
  font-size: 15px;
  color: #475569;
}

.hp-hero__tel span {
  font-size: 20px;
  font-weight: 700;
  color: #1A3A6B;
  font-family: Impact, 'Arial Black', sans-serif;
  letter-spacing: 1px;
}

.hp-hero .swiper-pagination {
  display: block;
  bottom: 20px;
  z-index: 5;
}

.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.hp-btn--primary {
  background: var(--hp-primary);
  color: #fff;
  border-color: var(--hp-primary);
}

.hp-btn--primary:hover {
  background: var(--hp-primary-dark);
  border-color: var(--hp-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.hp-btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.hp-btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}

.hp-hero .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.hp-hero .swiper-pagination-bullet-active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}

/* ===== Stats（半叠在轮播底部） ===== */
.hp-hero-wrap {
  position: relative;
  margin-bottom: 0;
  padding-bottom: 60px;
  background: linear-gradient(180deg, #E8EEF5 0%, #EFF6FF 100%);
}

.hp-stats {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  /* transform: translateY(50%); */
  z-index: 10;
  padding: 0;
}

.hp-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border-radius: var(--hp-radius);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.hp-stats__item {
  text-align: center;
  padding: 32px 20px;
  border-right: 1px solid var(--hp-border);
}

.hp-hero-wrap + .hp-section--services {
  padding-top: 50px;
  margin-top: 0;
}

.hp-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hp-stats__item:last-child {
  border-right: none;
}

.hp-stats__num {
  font-size: 42px;
  font-weight: 700;
  color: var(--hp-primary);
  line-height: 1;
  font-family: Impact, 'Arial Black', sans-serif;
}

.hp-stats__num small {
  font-size: 18px;
  font-weight: 400;
  margin-left: 4px;
}

.hp-stats__label {
  margin: 10px 0 0;
  color: var(--hp-muted);
  font-size: 14px;
}

/* ===== Section common ===== */
.hp-section {
  padding: 80px 0;
}

.hp-section--gray {
  background: var(--hp-bg);
}

.hp-section__head {
  text-align: center;
  margin-bottom: 48px;
}

.hp-section__head h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--hp-text);
  margin: 0 0 12px;
}

.hp-section__head h2 em {
  font-style: normal;
  color: var(--hp-primary);
}

.hp-section__head p {
  font-size: 16px;
  color: var(--hp-muted);
  margin: 0;
}

.hp-section__subhead {
  text-align: center;
  margin: 56px 0 40px;
  position: relative;
  z-index: 1;
}

.hp-section__subhead h3 {
  font-size: 26px;
  font-weight: 700;
  color: var(--hp-text);
  margin: 0 0 10px;
}

.hp-section__subhead h3 em {
  font-style: normal;
  color: var(--hp-primary);
}

.hp-section__subhead p {
  font-size: 15px;
  color: var(--hp-muted);
  margin: 0;
}

.hp-services__grid--products {
  margin-top: 0;
}

.hp-services__grid--products .hp-service-card h3 {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  line-height: 1.35;
  min-height: 46px;
}

.hp-section__more {
  display: block;
  width: 160px;
  margin: 40px auto 0;
  text-align: center;
  line-height: 44px;
  border: 1px solid var(--hp-border);
  border-radius: 8px;
  color: var(--hp-text);
  transition: all 0.3s;
}

.hp-section__more:hover {
  background: var(--hp-primary);
  border-color: var(--hp-primary);
  color: #fff;
}

/* ===== Services ===== */
.hp-section--services {
  background: linear-gradient(180deg, #EFF6FF 0%, #F8FAFC 40%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}

.hp-section--services::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hp-section--services::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hp-services__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px 16px;
  position: relative;
  z-index: 1;
}

.hp-service-card {
  background: #fff;
  border: 1px solid #E8EDF5;
  border-radius: var(--hp-radius);
  text-align: center;
  transition: all 0.35s;
  display: flex;
  flex-direction: column;
  color: inherit;
  overflow: hidden;
  height: 100%;
}

.hp-service-card:hover {
  border-color: var(--hp-primary);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.12);
  transform: translateY(-6px);
  color: inherit;
}

.hp-service-card__body {
  padding: 28px 16px 20px;
  flex: 1;
}

.hp-service-card__icon {
  height: 64px;
  line-height: 64px;
  margin-bottom: 16px;
}

.hp-service-card__icon img {
  max-height: 56px;
  vertical-align: middle;
  transition: transform 0.35s;
}

.hp-service-card__icon svg {
  width: 56px;
  height: 56px;
  vertical-align: middle;
  transition: transform 0.35s;
}

.hp-service-card__icon svg .ico-stroke {
  fill: none;
  stroke: #94A3B8;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.35s;
}

.hp-service-card:hover .hp-service-card__icon img,
.hp-service-card:hover .hp-service-card__icon svg {
  transform: scale(1.08);
}

.hp-service-card:hover .hp-service-card__icon svg .ico-stroke {
  stroke: var(--hp-primary);
}

.hp-service-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--hp-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hp-service-card p {
  font-size: 13px;
  color: var(--hp-muted);
  line-height: 1.65;
  margin: 0;
  min-height: 64px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hp-service-card__main {
  display: block;
  flex: 1;
  color: inherit;
  text-decoration: none;
}

.hp-service-card__main:hover {
  color: inherit;
}

.hp-service-card__tag {
  display: block;
  width: 100%;
  line-height: 48px;
  background: #F1F5F9;
  color: #64748B;
  border-top: 1px solid #E8EDF5;
  border-radius: 0;
  font-size: 14px;
  text-decoration: none;
  text-align: center;
  transition: all 0.35s;
}

.hp-service-card:hover .hp-service-card__tag,
.hp-service-card__tag:hover {
  background: var(--hp-primary);
  color: #fff;
  border-top-color: var(--hp-primary);
}

/* ===== About ===== */
.hp-about {
  background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 100%);
  color: #fff;
}

.hp-about__inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hp-about__logo {
  flex: 0 0 320px;
  text-align: center;
}

.hp-about__logo img {
  max-width: 100%;
}

.hp-about__body h2 {
  font-size: 28px;
  margin: 0 0 8px;
}

.hp-about__subtitle {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 20px;
}

.hp-about__body p {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 28px;
}

.hp-about__body p a {
  color: #93C5FD;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hp-about__body p a:hover {
  color: #fff;
}

.hp-about__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hp-about__actions a {
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s;
}

.hp-about__actions a:first-child {
  background: var(--hp-primary);
  color: #fff;
}

.hp-about__actions a:first-child:hover {
  background: var(--hp-primary-dark);
  color: #fff;
}

.hp-about__actions a:last-child {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.hp-about__actions a:last-child:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* ===== Cases ===== */
.hp-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hp-tabs li a {
  display: block;
  padding: 10px 24px;
  border: 1px solid var(--hp-border);
  border-radius: 8px;
  font-size: 15px;
  color: var(--hp-muted);
  transition: all 0.3s;
}

.hp-tabs li.active a,
.hp-tabs li a:hover {
  background: var(--hp-primary);
  border-color: var(--hp-primary);
  color: #fff;
}

.hp-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hp-case-card {
  border-radius: var(--hp-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--hp-shadow);
  transition: transform 0.35s;
  display: block;
  color: inherit;
}

.hp-case-card:hover {
  transform: translateY(-4px);
  color: inherit;
}

.hp-case-card__img {
  height: 200px;
  background: center/cover no-repeat;
  position: relative;
}

.hp-case-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.hp-case-card:hover .hp-case-card__img::after {
  opacity: 1;
}

.hp-case-card__body {
  padding: 20px;
}

.hp-case-card__body h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--hp-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hp-case-card__body p {
  font-size: 13px;
  color: var(--hp-muted);
  margin: 0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== News ===== */
.hp-news-wrap {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.hp-news-side {
  flex: 0 0 280px;
}

.hp-news-side img {
  width: 100%;
  border-radius: var(--hp-radius);
}

.hp-news-main {
  flex: 1;
  min-width: 0;
}

.hp-news-list li {
  border-bottom: 1px solid var(--hp-border);
}

.hp-news-list li:last-child {
  border-bottom: none;
}

.hp-news-list li a {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  align-items: flex-start;
  transition: all 0.3s;
  color: inherit;
}

.hp-news-list li a:hover {
  color: var(--hp-primary);
}

.hp-news-list .date {
  flex: 0 0 60px;
  text-align: center;
  background: var(--hp-bg);
  border-radius: 8px;
  padding: 8px 0;
  transition: all 0.3s;
}

.hp-news-list .date strong {
  display: block;
  font-size: 24px;
  color: var(--hp-primary);
  line-height: 1;
}

.hp-news-list .date span {
  display: block;
  font-size: 12px;
  color: var(--hp-muted);
  margin-top: 4px;
}

.hp-news-list li a:hover .date {
  background: var(--hp-primary);
}

.hp-news-list li a:hover .date strong,
.hp-news-list li a:hover .date span {
  color: #fff;
}

.hp-news-list .text h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--hp-text);
}

.hp-news-list .text p {
  font-size: 13px;
  color: var(--hp-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== Process ===== */
.hp-process__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  counter-reset: step;
}

.hp-process__item {
  text-align: center;
  padding: 28px 12px;
  background: #fff;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  position: relative;
  counter-increment: step;
}

.hp-process__item::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  background: var(--hp-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 600;
  margin: 0 auto 16px;
}

.hp-process__item img {
  height: 40px;
  margin-bottom: 12px;
}

.hp-process__item h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--hp-text);
}

.hp-process__item p {
  font-size: 12px;
  color: var(--hp-muted);
  margin: 0;
}

/* ===== FAQ ===== */
.hp-faq__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.hp-faq-card {
  background: #fff;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  padding: 24px;
  transition: all 0.3s;
  display: block;
  color: inherit;
}

.hp-faq-card:hover {
  border-color: var(--hp-primary);
  box-shadow: var(--hp-shadow);
  color: inherit;
}

.hp-faq-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--hp-text);
}

.hp-faq-card p {
  font-size: 13px;
  color: var(--hp-muted);
  margin: 0;
  line-height: 1.6;
}

/* ===== Partners ===== */
.hp-partners__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.hp-partners__grid li {
  background: #fff;
  border: 1px solid var(--hp-border);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  transition: all 0.3s;
}

.hp-partners__grid li:hover {
  border-color: var(--hp-primary);
  box-shadow: var(--hp-shadow);
}

.hp-partners__grid img {
  max-height: 48px;
  vertical-align: middle;
}

/* ===== CTA ===== */
.hp-cta {
  background: linear-gradient(135deg, var(--hp-primary) 0%, #1E40AF 100%);
  color: #fff;
  text-align: center;
  padding: 72px 0;
}

.hp-cta h2 {
  font-size: 32px;
  margin: 0 0 12px;
}

.hp-cta p {
  font-size: 16px;
  opacity: 0.85;
  margin: 0 0 32px;
}

.hp-cta__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hp-cta__tel {
  font-size: 28px;
  font-weight: 700;
  font-family: Impact, sans-serif;
  letter-spacing: 1px;
}

.hp-btn--white {
  background: #fff;
  color: var(--hp-primary);
  border-color: #fff;
}

.hp-btn--white:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--hp-primary-dark);
}

/* ===== Links ===== */
.hp-links h2 {
  font-size: 16px;
  color: var(--hp-primary);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hp-border);
}

.hp-links h2 small {
  font-size: 13px;
  color: var(--hp-muted);
  font-weight: 400;
  text-transform: uppercase;
}

.hp-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.hp-links li a {
  font-size: 13px;
  color: var(--hp-muted);
  transition: color 0.3s;
}

.hp-links li a:hover {
  color: var(--hp-primary);
}

.hp-links + .hp-links {
  margin-top: 32px;
}

/* ===== Responsive ===== */
@media screen and (max-width: 991px) {
  .hp-hero .swiper-slide,
  .hp-hero__slide {
    height: 480px;
  }

  .hp-hero__title {
    font-size: 32px;
  }

  .hp-hero__subtitle {
    font-size: 15px;
  }

  .hp-hero__actions {
    margin-top: 48px;
  }

  .hp-hero__copy {
    max-width: 100%;
    padding: 32px 0;
  }

  .hp-hero-wrap {
    padding-bottom: 45px;
  }

  .hp-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hp-stats__item {
    padding: 24px 12px;
  }

  .hp-stats__num {
    font-size: 32px;
  }

  .hp-stats__item:nth-child(2) {
    border-right: none;
  }

  .hp-stats__item {
    border-bottom: 1px solid var(--hp-border);
  }

  .hp-stats__item:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .hp-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hp-about__inner {
    flex-direction: column;
    gap: 32px;
  }

  .hp-about__logo {
    flex: none;
  }

  .hp-cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hp-news-wrap {
    flex-direction: column;
  }

  .hp-news-side {
    flex: none;
    width: 100%;
  }

  .hp-process__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hp-faq__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hp-partners__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .page-home {
    overflow-x: hidden;
    padding-bottom: 54px;
  }

  .page-home .header {
    position: fixed;
    top: 0;
    left: 0;
    padding: 10px 0;
  }

  .page-home .header .logo img {
    max-height: 36px;
    width: auto;
  }

  .hp-section {
    padding: 48px 0;
  }

  .hp-hero .swiper-slide,
  .hp-hero__slide {
    height: 260px;
  }

  .hp-hero__bg img {
    object-fit: cover;
  }

  .hp-hero__copy {
    max-width: 100%;
    padding: 16px 0;
  }

  .hp-hero__title {
    font-size: 22px;
    line-height: 1.35;
    margin-bottom: 0;
  }

  .hp-hero__subtitle {
    display: none;
  }

  .hp-hero__actions {
    display: none;
  }

  .hp-hero .swiper-pagination {
    display: block;
    bottom: 10px;
  }

  .hp-hero__overlay {
    align-items: flex-start;
    padding-top: 8px;
  }

  .hp-hero-wrap {
    padding-bottom: 34px;
    background: linear-gradient(180deg, #E8EEF5 0%, #EFF6FF 70%, #fff 100%);
  }

  .hp-stats {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    transform: translateY(50%);
    margin-top: 0;
    z-index: 10;
  }

  .hp-stats__grid {
    grid-template-columns: repeat(4, 1fr);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
    border-radius: 8px;
  }

  .hp-stats__item {
    padding: 10px 4px;
    border-right: 1px solid var(--hp-border);
    border-bottom: none;
  }

  .hp-stats__item:last-child {
    border-right: none;
  }

  .hp-stats__num {
    font-size: 18px;
    font-family: inherit;
    font-weight: 700;
  }

  .hp-stats__num small {
    font-size: 11px;
    margin-left: 1px;
  }

  .hp-stats__label {
    font-size: 10px;
    line-height: 1.3;
    margin-top: 4px;
    padding: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hp-hero-wrap + .hp-section--services {
    padding-top: 38px;
  }

  .hp-section__head {
    margin-bottom: 28px;
  }

  .hp-section__head h2 {
    font-size: 22px;
  }

  .hp-section__head p {
    font-size: 14px;
    line-height: 1.6;
    padding: 0 4px;
  }

  .hp-section__subhead {
    margin: 36px 0 24px;
  }

  .hp-section__subhead h3 {
    font-size: 20px;
  }

  .hp-section__subhead p {
    font-size: 13px;
    padding: 0 4px;
  }

  .hp-services__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
  }

  .hp-services__grid .hp-service-card {
    border-radius: 6px;
  }

  .hp-services__grid .hp-service-card__body {
    padding: 8px 2px 6px;
  }

  .hp-services__grid .hp-service-card__icon {
    height: 32px;
    line-height: 32px;
    margin-bottom: 4px;
  }

  .hp-services__grid .hp-service-card__icon img {
    max-height: 28px;
  }

  .hp-services__grid .hp-service-card__icon svg {
    width: 28px;
    height: 28px;
  }

  .hp-services__grid .hp-service-card h3 {
    font-size: 10px;
    line-height: 1.25;
    margin-bottom: 0;
    min-height: auto;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hp-services__grid .hp-service-card p {
    display: none;
  }

  .hp-services__grid .hp-service-card__tag {
    line-height: 26px;
    font-size: 9px;
  }

  .hp-service-card:hover {
    transform: none;
  }

  .hp-about__logo {
    max-width: 240px;
    margin: 0 auto;
  }

  .hp-about__body h2 {
    font-size: 20px;
  }

  .hp-about__subtitle {
    font-size: 14px;
  }

  .hp-about__body p {
    font-size: 14px;
  }

  .hp-about__actions {
    flex-direction: column;
  }

  .hp-about__actions a {
    text-align: center;
  }

  .hp-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 4px;
  }

  .hp-tabs li {
    flex-shrink: 0;
  }

  .hp-tabs li a {
    padding: 8px 14px;
    font-size: 13px;
    white-space: nowrap;
  }

  .hp-cases-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hp-process__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .hp-process__item img {
    max-width: 48px;
  }

  .hp-process__item h3 {
    font-size: 14px;
  }

  .hp-process__item p {
    font-size: 12px;
  }

  .hp-faq__grid {
    grid-template-columns: 1fr;
  }

  .hp-partners__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .hp-cta {
    padding: 40px 0;
  }

  .hp-cta h2 {
    font-size: 20px;
  }

  .hp-cta p {
    font-size: 14px;
  }

  .hp-btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .hp-links {
    gap: 8px 16px;
  }

  .hp-links li a {
    font-size: 12px;
  }
}

@media screen and (max-width: 480px) {
  .hp-hero .swiper-slide,
  .hp-hero__slide {
    height: 200px;
  }

  .hp-hero__title {
    font-size: 18px;
  }

  .hp-stats {
    transform: translateY(50%);
  }

  .hp-hero-wrap {
    padding-bottom: 30px;
  }

  .hp-hero-wrap + .hp-section--services {
    padding-top: 34px;
  }

  .hp-stats__item {
    padding: 8px 2px;
  }

  .hp-stats__num {
    font-size: 16px;
  }

  .hp-stats__num small {
    font-size: 10px;
  }

  .hp-stats__label {
    font-size: 9px;
    -webkit-line-clamp: 2;
  }

  .hp-partners__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hp-process__grid {
    gap: 12px;
  }
}

/* ===== 在线留言弹窗（首页蓝色主题） ===== */
.page-home .oneform .mask {
  background-color: rgba(15, 23, 42, 0.65);
}

.page-home .onebox {
  background: linear-gradient(145deg, var(--hp-primary) 0%, var(--hp-primary-dark) 100%);
  box-shadow: 0 24px 64px rgba(37, 99, 235, 0.35);
  border-radius: var(--hp-radius);
  overflow: hidden;
}

.page-home .onebox-wrap {
  border-color: rgba(255, 255, 255, 0.4);
}

.page-home .onebox li .wrap {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  transition: border-color 0.3s, background 0.3s;
}

.page-home .onebox li .wrap:focus-within {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.14);
}

.page-home .onebox .submit {
  color: var(--hp-primary);
  background: #fff;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.3s, color 0.3s;
}

.page-home .onebox .submit:hover {
  background: var(--hp-primary-light);
  color: var(--hp-primary-dark);
}
