/* 领梵家具 - 首页视觉增强（配色 / 排版 / 动画） */
.page-home {
  --dark: #1a1714;
  --dark-soft: #252019;
  --dark-card: #2e2720;
  --gold: #c9a962;
  --gold-deep: #a8863f;
  --gold-glow: rgba(201, 169, 98, 0.35);
  --beige: #ffffff;
  --beige-deep: #ffffff;
  --cream: #ffffff;
  --gray-bg: #ffffff;
  --text: #2c2c2c;
  --text-muted: #7a7570;
  --radius-lg: 12px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  background: #ffffff;
}
.page-home .home-about,
.page-home .home-products,
.page-home .home-faq,
.page-home .home-partners {
  background: #ffffff;
}

.page-home .site-header {
  background: rgba(26, 23, 20, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 169, 98, 0.12);
  transition: background 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.page-home .site-header.is-scrolled {
  background: rgba(26, 23, 20, 0.96);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}
.page-home .logo-mark {
  border-radius: 6px;
  background: linear-gradient(145deg, rgba(201, 169, 98, 0.15), transparent);
}
.page-home .main-nav > li > a {
  position: relative;
  font-weight: 400;
  letter-spacing: 0.5px;
}
.page-home .main-nav > li > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: width 0.35s var(--ease-out), left 0.35s var(--ease-out);
}
.page-home .main-nav > li > a:hover::after,
.page-home .main-nav > li > a.active::after {
  width: 70%;
  left: 15%;
}
.page-home .search-box {
  border-color: rgba(201, 169, 98, 0.25);
  background: rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.page-home .search-box:focus-within {
  border-color: rgba(201, 169, 98, 0.5);
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.12);
}

/* ========== Hero ========== */
.page-home .hero-banner {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
}
.page-home .hero-slides {
  position: relative;
  aspect-ratio: 21 / 7;
  min-height: 320px;
  overflow: hidden;
}
.page-home .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s var(--ease-out), visibility 1s;
}
.page-home .hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.page-home .hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 8s linear;
}
.page-home .hero-slide.is-active img {
  transform: scale(1);
}
.page-home .hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 23, 20, 0.15) 0%,
    rgba(26, 23, 20, 0.05) 40%,
    rgba(26, 23, 20, 0.35) 100%
  );
  pointer-events: none;
}
.page-home .hero-caption {
  background: none;
  align-items: flex-end;
  padding-bottom: clamp(48px, 8vw, 80px);
}
.page-home .hero-caption .wrap {
  animation: heroTextIn 1s var(--ease-out) 0.2s both;
}
.page-home .hero-caption h1 {
  font-weight: 500;
  letter-spacing: 1px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
  margin-bottom: 16px;
}
.page-home .hero-caption p {
  font-size: clamp(13px, 1.8vw, 16px);
  opacity: 0.92;
  max-width: 560px;
  line-height: 1.8;
}
.page-home .hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  margin-bottom: 16px;
  border: 1px solid rgba(201, 169, 98, 0.45);
  border-radius: 20px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 2px;
  background: rgba(26, 23, 20, 0.35);
  backdrop-filter: blur(6px);
}
.page-home .hero-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold-glow);
}
.page-home .hero-dots {
  bottom: 28px;
  gap: 10px;
}
.page-home .hero-dots button {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  transition: width 0.4s var(--ease-out), background 0.3s;
}
.page-home .hero-dots button.is-active {
  width: 48px;
  background: var(--gold);
}

@keyframes heroTextIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== 区块标题 ========== */
.page-home .section-head--center h2 {
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--text);
}
.page-home .section-head--center h2::before,
.page-home .section-head--center h2::after {
  content: "—";
  margin: 0 14px;
  color: var(--gold);
  font-weight: 300;
  opacity: 0.7;
}
.page-home .section-head--left h2 {
  font-weight: 500;
  letter-spacing: 2px;
}
.page-home .section-head .en {
  letter-spacing: 5px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}
.page-home .section-head .deco {
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-deep));
}

/* ========== 关于我们 ========== */
.page-home .home-about,
.page-home .home-products,
.page-home .home-faq,
.page-home .home-partners {
  background: #ffffff !important;
}
.page-home .home-about {
  position: relative;
  overflow: hidden;
}
.page-home .about-decor {
  position: absolute;
  left: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: min(560px, 52vw);
  height: min(560px, 52vw);
  pointer-events: none;
  z-index: 0;
}
.page-home .about-ring {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 98, 0.16);
}
.page-home .about-ring--1 {
  inset: 0;
  border-color: rgba(201, 169, 98, 0.18);
}
.page-home .about-ring--2 {
  inset: 12%;
  border-color: rgba(201, 169, 98, 0.14);
}
.page-home .about-ring--3 {
  inset: 24%;
  border-color: rgba(201, 169, 98, 0.1);
  background: transparent;
}
.page-home .about-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.45;
  box-shadow: 0 0 0 12px rgba(201, 169, 98, 0.06);
}
.page-home .home-about .wrap {
  position: relative;
  z-index: 1;
}
.page-home .home-about .about-split {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, 4.5vw, 56px);
  align-items: center;
}
.page-home .home-about .section-head--left {
  text-align: left;
  margin-bottom: 22px;
}
.page-home .home-about .section-head--left .deco {
  margin-left: 0;
}
.page-home .about-text p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.85;
  margin: 0 0 12px;
  text-align: justify;
}
.page-home .about-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}
.page-home .about-highlights li {
  padding: 12px 10px;
  background: #fff;
  border: 1px solid rgba(201, 169, 98, 0.22);
  border-radius: 10px;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out);
}
.page-home .about-highlights li:hover {
  border-color: rgba(201, 169, 98, 0.4);
  box-shadow: 0 8px 24px rgba(26, 23, 20, 0.06);
  transform: translateY(-2px);
}
.page-home .about-highlights strong {
  display: block;
  margin-bottom: 4px;
  color: var(--dark);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.page-home .about-highlights span {
  font-size: 12px;
  color: var(--text-muted);
}
.page-home .about-media {
  position: relative;
}
.page-home .about-media-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(26, 23, 20, 0.12);
}
.page-home .about-media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  pointer-events: none;
  z-index: 2;
}
.page-home .about-media-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background: linear-gradient(0deg, rgba(26, 23, 20, 0.42), transparent);
  pointer-events: none;
  z-index: 1;
}
.page-home .about-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease-out);
}
.page-home .about-media:hover img {
  transform: scale(1.04);
}
.page-home .about-media-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(26, 23, 20, 0.72);
  border: 1px solid rgba(201, 169, 98, 0.35);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
}
.page-home .about-media-badge-num {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}
.page-home .about-media-badge-txt {
  font-size: 13px;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.92);
}

/* ========== 核心优势 ========== */
.page-home .home-advantages {
  position: relative;
  background-color: #f5f5f5;
  background-image: url("/static/lingfan/images/advantagebg.jpg");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  overflow: hidden;
}
.page-home .home-advantages .wrap {
  position: relative;
  z-index: 1;
}
.page-home .adv-grid {
  gap: 28px;
}
.page-home .adv-card {
  position: relative;
  padding: 36px 24px 32px;
  border: 1px solid rgba(35, 31, 28, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 24px rgba(35, 31, 28, 0.04);
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.35s;
}
.page-home .adv-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.page-home .adv-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(26, 23, 20, 0.1);
}
.page-home .adv-card:hover::before {
  transform: scaleX(1);
}
.page-home .adv-icon {
  width: 72px;
  height: 72px;
  border-width: 1.5px;
  font-size: 26px;
  font-weight: 500;
  background: linear-gradient(145deg, rgba(201, 169, 98, 0.08), transparent);
  transition: transform 0.45s var(--ease-spring), box-shadow 0.45s;
}
.page-home .adv-card:hover .adv-icon {
  transform: scale(1.08);
  box-shadow: 0 8px 24px var(--gold-glow);
}
.page-home .adv-card h3 {
  color: var(--dark);
  font-weight: 500;
  letter-spacing: 1px;
}
.page-home .adv-card p {
  font-size: 13px;
  line-height: 1.75;
}

/* ========== 解决方案轮播 ========== */
.page-home .home-solutions {
  background: #ffffff;
  overflow: hidden;
}
.page-home .home-solutions .section-sub {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  letter-spacing: 0.5px;
}
.page-home .sol-carousel {
  position: relative;
  margin-top: 8px;
  padding: 0 52px;
}
.page-home .sol-track-wrap {
  overflow: hidden;
}
.page-home .sol-track {
  display: flex;
  gap: 24px;
  transition: transform 0.55s var(--ease-out);
  will-change: transform;
}
.page-home .sol-panel {
  flex: 0 0 calc(50% - 12px);
  min-width: 0;
}
.page-home .sol-panel-link {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 220px;
  background: #fff;
  border: 1px solid rgba(201, 169, 98, 0.16);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(26, 23, 20, 0.06);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.35s;
  color: inherit;
  height: 100%;
}
.page-home .sol-panel-link:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 169, 98, 0.35);
  box-shadow: 0 16px 40px rgba(26, 23, 20, 0.1);
}
.page-home .sol-panel-media {
  overflow: hidden;
  min-height: 100%;
}
.page-home .sol-panel-media img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.page-home .sol-panel-link:hover .sol-panel-media img {
  transform: scale(1.05);
}
.page-home .sol-panel-body {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 18px;
  background: #fff;
}
.page-home .sol-panel-body h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.5px;
}
.page-home .sol-panel-body > p {
  margin: 0;
  flex: 1;
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.page-home .sol-panel-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(201, 169, 98, 0.18);
}
.page-home .sol-panel-tag span {
  display: block;
  font-size: 11px;
  color: #aaa;
  margin-bottom: 4px;
}
.page-home .sol-panel-tag strong {
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
}
.page-home .sol-panel-cta {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--gold-deep);
  letter-spacing: 0.5px;
  transition: transform 0.3s var(--ease-out);
}
.page-home .sol-panel-link:hover .sol-panel-cta {
  transform: translateX(4px);
}
.page-home .sol-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-70%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 98, 0.28);
  background: #fff;
  color: var(--dark);
  font-size: 26px;
  line-height: 1;
  display: grid;
  place-items: center;
  z-index: 2;
  box-shadow: 0 6px 18px rgba(26, 23, 20, 0.08);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.page-home .sol-nav:hover {
  background: var(--dark);
  color: var(--gold);
  border-color: var(--dark);
}
.page-home .sol-nav--prev { left: 0; }
.page-home .sol-nav--next { right: 0; }
.page-home .sol-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.page-home .sol-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(26, 23, 20, 0.18);
  padding: 0;
  transition: width 0.3s, background 0.3s;
}
.page-home .sol-dots button.is-active {
  width: 22px;
  border-radius: 4px;
  background: var(--gold);
}

@media (max-width: 1024px) {
  .page-home .sol-carousel {
    padding: 0 40px;
  }
  .page-home .sol-panel-body {
    padding: 18px 16px 14px;
  }
  .page-home .sol-panel-body h3 {
    font-size: 17px;
  }
  .page-home .sol-panel-body > p {
    font-size: 12px;
    -webkit-line-clamp: 2;
  }
}

/* ========== 工程案例 ========== */
.page-home .home-cases {
  background: linear-gradient(165deg, #2a2622 0%, #322e29 48%, #272420 100%);
  position: relative;
  padding-top: clamp(40px, 5.5vw, 64px);
  padding-bottom: clamp(40px, 5.5vw, 64px);
  overflow: hidden;
}
.page-home .home-cases::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 45% at 50% 0%, rgba(255, 255, 255, 0.04), transparent 60%);
  pointer-events: none;
}
.page-home .home-cases .wrap {
  position: relative;
  z-index: 1;
}
.page-home .home-cases .section-head {
  margin-bottom: clamp(24px, 3.5vw, 36px);
}
.page-home .home-cases .section-head h2 {
  color: rgba(255, 255, 255, 0.95);
}
.page-home .home-cases .section-head .en {
  color: rgba(255, 255, 255, 0.4);
}
.page-home .home-cases .section-head .deco {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
}
.page-home .case-slider {
  width: 100%;
}
.page-home .case-track-wrap {
  overflow: hidden;
}
.page-home .case-track {
  display: flex;
  gap: 20px;
  transition: transform 0.55s var(--ease-out);
  will-change: transform;
}
.page-home .case-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  transition: box-shadow 0.35s;
}
.page-home .case-card:hover {
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}
.page-home .case-card img {
  transition: transform 0.6s var(--ease-out);
}
.page-home .case-card:hover img {
  transform: scale(1.04);
}
.page-home .case-label {
  font-size: 13px;
  letter-spacing: 0.5px;
  padding: 14px 16px;
}
.page-home .case-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 32px;
}
.page-home .case-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-size: 24px;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}
.page-home .case-nav:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  transform: scale(1.05);
}
.page-home .case-more {
  font-size: 15px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.25s;
}
.page-home .case-more:hover {
  color: #fff;
}

@media (max-width: 960px) {
  .page-home .case-card {
    flex: 0 0 calc((100% - 16px) / 2);
  }
  .page-home .case-track {
    gap: 16px;
  }
}
@media (max-width: 580px) {
  .page-home .case-card {
    flex: 0 0 88%;
  }
  .page-home .case-controls {
    gap: 18px;
    margin-top: 24px;
  }
  .page-home .case-nav {
    width: 40px;
    height: 40px;
  }
  .page-home .case-more {
    font-size: 14px;
    letter-spacing: 1px;
  }
}

/* ========== 产品系列 ========== */
.page-home .home-products {
  background: #fff;
  position: relative;
  overflow: hidden;
}
.page-home .home-products::before {
  display: none;
}
.page-home .home-products .section-head h2 {
  color: var(--dark);
}
.page-home .home-products .prod-slider-wrap {
  position: relative;
  padding: 0 8px;
}
.page-home .home-products .prod-slider-viewport {
  overflow: hidden;
}
.page-home .home-products .prod-slider {
  display: flex;
  gap: 20px;
  overflow: visible;
  scroll-snap-type: none;
  transition: transform 0.55s var(--ease-out);
  will-change: transform;
}
.page-home .home-products .prod-slider .prod-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
  scroll-snap-align: unset;
}
.page-home .home-products .prod-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 28px rgba(26, 23, 20, 0.1);
  transition: box-shadow 0.45s;
}
.page-home .home-products .prod-card:hover {
  box-shadow: 0 16px 40px rgba(26, 23, 20, 0.14);
}
.page-home .home-products .prod-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.page-home .home-products .prod-card:hover img {
  transform: scale(1.04);
}
.page-home .home-products .prod-card figcaption {
  padding: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--dark);
  border-top: 1px solid rgba(35, 31, 28, 0.08);
  background: #fff;
  text-align: center;
}
.page-home .home-products .slider-btn {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(35, 31, 28, 0.12);
  color: #5c564f;
  width: 44px;
  height: 44px;
  z-index: 3;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease-spring);
}
.page-home .home-products .slider-btn:hover {
  background: #2e2a26;
  border-color: #2e2a26;
  color: #fff;
  transform: translateY(-50%) scale(1.06);
}
.page-home .home-products .slider-btn.prev { left: -6px; }
.page-home .home-products .slider-btn.next { right: -6px; }

@media (max-width: 960px) {
  .page-home .home-products .prod-slider .prod-card {
    flex: 0 0 calc((100% - 16px) / 2);
  }
  .page-home .home-products .prod-slider {
    gap: 16px;
  }
}

/* ========== FAQ ========== */
.page-home .home-faq {
  background: #fff;
}
.page-home .faq-list {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 8px 28px;
  box-shadow: 0 4px 24px rgba(26, 23, 20, 0.05);
}
.page-home .faq-item {
  border-color: rgba(201, 169, 98, 0.15);
}
.page-home .faq-q {
  font-size: 15px;
  transition: color 0.3s;
}
.page-home .faq-item.is-open .faq-q {
  color: var(--gold-deep);
}
.page-home .faq-a {
  padding-left: 4px;
  line-height: 1.8;
}

/* ========== 资讯（左大图 + 右列表 + newsbg） ========== */
.page-home .home-news {
  position: relative;
  background-color: #f7f7f7;
  background-image: url("/static/lingfan/images/newsbg.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  overflow: hidden;
}
.page-home .home-news .wrap {
  position: relative;
  z-index: 1;
}
.page-home .news-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(20px, 2.5vw, 36px);
  align-items: stretch;
}
.page-home .news-feature {
  background: #fff;
  border: 1px solid rgba(35, 31, 28, 0.06);
  box-shadow: 0 8px 28px rgba(35, 31, 28, 0.05);
  overflow: hidden;
  height: 100%;
}
.page-home .news-feature-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}
.page-home .news-feature-media {
  overflow: hidden;
}
.page-home .news-feature-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.page-home .news-feature:hover .news-feature-media img {
  transform: scale(1.04);
}
.page-home .news-feature-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 20px;
  background: #fff;
}
.page-home .news-feature-body h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--dark, #231f1c);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s;
}
.page-home .news-feature:hover .news-feature-body h3 {
  color: #5c564f;
}
.page-home .news-feature-body > p {
  margin: 0;
  flex: 1;
  font-size: 13px;
  line-height: 1.75;
  color: #8a857e;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.page-home .news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(35, 31, 28, 0.08);
  font-size: 12px;
  color: #9a9590;
}
.page-home .news-views {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.3px;
}
.page-home .news-views i {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  position: relative;
  opacity: 0.7;
}
.page-home .news-views i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  border-radius: 50%;
  background: currentColor;
}
.page-home .news-side {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(35, 31, 28, 0.06);
  box-shadow: 0 8px 28px rgba(35, 31, 28, 0.05);
  min-height: 100%;
}
.page-home .news-row-item {
  flex: 1;
  border-bottom: 1px solid rgba(35, 31, 28, 0.08);
}
.page-home .news-row-item:last-child {
  border-bottom: none;
}
.page-home .news-row-item a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 22px 26px;
  color: inherit;
  transition: background 0.3s;
}
.page-home .news-row-item a:hover {
  background: #fafafa;
}
.page-home .news-row-item h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--dark, #231f1c);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s;
}
.page-home .news-row-item a:hover h3 {
  color: #5c564f;
}
.page-home .news-row-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #8a857e;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.page-home .news-row-item .news-meta {
  margin-top: 12px;
  padding-top: 0;
  border-top: none;
}
.page-home .home-news .section-foot {
  margin-top: 40px;
}

@media (max-width: 960px) {
  .page-home .news-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .page-home .news-row-item a {
    padding: 18px 18px;
  }
}

@media (max-width: 580px) {
  .page-home .home-news {
    background-position: center center;
  }
  .page-home .news-feature-body {
    padding: 16px 16px 14px;
  }
  .page-home .news-feature-body h3 {
    font-size: 16px;
  }
  .page-home .news-row-item h3 {
    font-size: 15px;
    -webkit-line-clamp: 2;
  }
  .page-home .news-row-item p {
    -webkit-line-clamp: 2;
  }
}

/* ========== 合作伙伴（多行左右滚动） ========== */
.page-home .home-partners {
  background: #f7f6f4 !important;
  overflow: hidden;
}
.page-home .home-partners .section-sub {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  letter-spacing: 0.5px;
}
.page-home .partner-marquee {
  position: relative;
  margin-top: 8px;
  padding: 8px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* 左右渐隐，像参考站一样自然出入 */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.page-home .partner-marquee-row {
  overflow: hidden;
  width: 100%;
}
.page-home .partner-marquee-track {
  display: flex;
  width: max-content;
  gap: 16px;
  will-change: transform;
}
.page-home .partner-marquee-row.is-left .partner-marquee-track {
  animation: partnerScrollLeft 42s linear infinite;
}
.page-home .partner-marquee-row.is-right .partner-marquee-track {
  animation: partnerScrollRight 48s linear infinite;
}
.page-home .partner-marquee-row.is-slow .partner-marquee-track {
  animation-duration: 56s;
}
.page-home .partner-marquee-row.is-slower .partner-marquee-track {
  animation-duration: 62s;
}
.page-home .partner-marquee:hover .partner-marquee-track {
  animation-play-state: paused;
}
.page-home .partner-card {
  flex: 0 0 auto;
  min-width: 168px;
  height: 72px;
  padding: 0 22px;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid rgba(35, 31, 28, 0.06);
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(35, 31, 28, 0.05);
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
}
.page-home .partner-card span {
  font-size: 13px;
  color: #6b6560;
  letter-spacing: 0.5px;
  white-space: nowrap;
  text-align: center;
}
.page-home .partner-card:hover {
  border-color: rgba(35, 31, 28, 0.14);
  box-shadow: 0 10px 24px rgba(35, 31, 28, 0.08);
  transform: translateY(-2px);
}
.page-home .partner-card:hover span {
  color: #2c2824;
}

@keyframes partnerScrollLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes partnerScrollRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@media (max-width: 768px) {
  .page-home .partner-marquee {
    gap: 12px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
  }
  .page-home .partner-card {
    min-width: 140px;
    height: 60px;
    padding: 0 14px;
    border-radius: 8px;
  }
  .page-home .partner-card span {
    font-size: 12px;
  }
  .page-home .partner-marquee-row.is-left .partner-marquee-track {
    animation-duration: 32s;
  }
  .page-home .partner-marquee-row.is-right .partner-marquee-track {
    animation-duration: 36s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .partner-marquee-track {
    animation: none !important;
    flex-wrap: wrap;
    width: 100%;
    max-width: var(--container, 1560px);
    margin: 0 auto;
    justify-content: center;
    padding: 0 4vw;
  }
}

/* ========== 询盘栏 ========== */
.page-home .inquiry-bar {
  background: linear-gradient(135deg, var(--dark) 0%, #2a231c 100%);
  position: relative;
  overflow: hidden;
}
.page-home .inquiry-bar::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 98, 0.12), transparent 70%);
  pointer-events: none;
}
.page-home .inquiry-bar p {
  font-size: 16px;
  letter-spacing: 0.5px;
}
.page-home .inquiry-bar strong {
  color: var(--gold);
  font-weight: 500;
}
.page-home .inquiry-mini input {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 8px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.page-home .inquiry-mini input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.page-home .inquiry-mini input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}
.page-home .inquiry-captcha input {
  min-width: 96px;
  width: 96px;
}
.page-home .captcha-code {
  border-color: rgba(201, 169, 98, 0.45);
  background: rgba(255, 255, 255, 0.1);
  color: #e8d9b0;
}
.page-home .inquiry-mini button[type="submit"] {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--dark);
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}
.page-home .inquiry-mini button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--gold-glow);
}

/* ========== 按钮 ========== */
.page-home .btn-primary {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%);
  border-radius: 28px;
  letter-spacing: 1px;
  box-shadow: 0 4px 16px rgba(26, 23, 20, 0.2);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s, background 0.35s;
}
.page-home .btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-deep), var(--gold));
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--gold-glow);
}
.page-home .btn-outline {
  border-radius: 28px;
  letter-spacing: 1px;
  transition: all 0.35s var(--ease-out);
}
.page-home .btn-outline:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}
.page-home .btn-outline-dark {
  border-radius: 28px;
  transition: all 0.35s var(--ease-out);
}
.page-home .btn-outline-dark:hover {
  background: var(--dark);
  color: #fff;
}

/* ========== 滚动入场动画 ========== */
.page-home [data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.page-home [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
.page-home [data-reveal="left"] {
  transform: translateX(-36px);
}
.page-home [data-reveal="left"].is-visible {
  transform: translateX(0);
}
.page-home [data-reveal="right"] {
  transform: translateX(36px);
}
.page-home [data-reveal="right"].is-visible {
  transform: translateX(0);
}
.page-home [data-reveal="scale"] {
  transform: scale(0.94);
}
.page-home [data-reveal="scale"].is-visible {
  transform: scale(1);
}
.page-home [data-delay="1"] { transition-delay: 0.1s; }
.page-home [data-delay="2"] { transition-delay: 0.2s; }
.page-home [data-delay="3"] { transition-delay: 0.3s; }
.page-home [data-delay="4"] { transition-delay: 0.4s; }


@media (max-width: 768px) {
  /* 解决方案：单卡横滑 + 露出下一张 */
  .page-home .home-solutions {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .page-home .home-solutions .section-sub {
    font-size: 13px;
    margin-top: 10px;
  }
  .page-home .sol-carousel {
    padding: 0;
    margin-top: 4px;
  }
  .page-home .sol-track-wrap {
    overflow: hidden;
  }
  .page-home .sol-track {
    gap: 14px;
  }
  .page-home .sol-panel {
    flex: 0 0 88%;
  }
  .page-home .sol-panel-link {
    grid-template-columns: 0.95fr 1.05fr;
    min-height: 168px;
    border-radius: 12px;
  }
  .page-home .sol-panel-media img {
    min-height: 168px;
  }
  .page-home .sol-panel-body {
    padding: 14px 12px 12px;
  }
  .page-home .sol-panel-body h3 {
    font-size: 15px;
    margin-bottom: 6px;
  }
  .page-home .sol-panel-body > p {
    font-size: 12px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
  }
  .page-home .sol-panel-foot {
    margin-top: 10px;
    padding-top: 10px;
  }
  .page-home .sol-panel-tag span {
    font-size: 10px;
  }
  .page-home .sol-panel-tag strong {
    font-size: 12px;
  }
  .page-home .sol-panel-cta {
    font-size: 12px;
  }
  .page-home .sol-nav {
    display: none;
  }
  .page-home .sol-dots {
    margin-top: 16px;
  }

  /* 轮播图手机：容器加高，文案只贴底（禁止 top:0 + height:auto） */
  .page-home .hero-slides {
    aspect-ratio: auto;
    width: 100%;
    height: 72vh;
    min-height: 480px;
    max-height: 620px;
  }
  .page-home .hero-slide {
    position: absolute !important;
    inset: 0 !important;
    aspect-ratio: auto !important;
    min-height: 0 !important;
    width: auto !important;
    height: auto !important;
  }
  .page-home .hero-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
  .page-home .hero-slide::after {
    background: linear-gradient(
      180deg,
      rgba(26, 23, 20, 0.15) 0%,
      rgba(26, 23, 20, 0.2) 45%,
      rgba(26, 23, 20, 0.78) 100%
    );
  }
  .page-home .hero-caption {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    inset: auto 0 0 0 !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    padding: 40px 20px 96px !important;
    box-sizing: border-box;
    text-align: center;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(26, 23, 20, 0.5) 38%,
      rgba(26, 23, 20, 0.9) 100%
    ) !important;
  }
  .page-home .hero-caption .wrap {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    display: block;
    text-align: center;
  }
  .page-home .hero-tag {
    display: inline-flex;
    margin-bottom: 10px;
    font-size: 11px;
    letter-spacing: 1.5px;
    padding: 5px 12px;
  }
  .page-home .hero-caption h1 {
    font-size: 22px;
    line-height: 1.35;
    margin: 0 0 10px;
    letter-spacing: 0.5px;
    max-width: 100%;
  }
  .page-home .hero-caption p {
    margin: 0 auto 16px;
    font-size: 13px;
    line-height: 1.6;
    max-width: 20em;
    opacity: 0.9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .page-home .hero-caption .btn {
    display: inline-flex;
    padding: 10px 28px;
    font-size: 13px;
  }
  .page-home .hero-dots {
    bottom: 12px;
    z-index: 3;
  }
  .page-home .hero-dots button {
    width: 18px;
    height: 3px;
  }
  .page-home .hero-dots button.is-active {
    width: 28px;
  }

  .page-home .section-head--center h2::before,
  .page-home .section-head--center h2::after {
    margin: 0 8px;
  }

  /* 关于我们：强制单列，避免 desktop 双列样式覆盖 */
  .page-home .home-about {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .page-home .home-about .about-split {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }
  .page-home .about-media {
    order: -1;
    width: 100%;
  }
  .page-home .about-text {
    width: 100%;
    text-align: center;
  }
  .page-home .home-about .section-head--left {
    text-align: center;
    margin-bottom: 16px;
  }
  .page-home .home-about .section-head--left .deco {
    margin-left: auto;
    margin-right: auto;
  }
  .page-home .about-text p {
    text-align: left;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 12px;
  }
  .page-home .about-decor {
    left: 50%;
    top: 8%;
    transform: translateX(-50%);
    width: 240px;
    height: 240px;
    opacity: 0.28;
  }
  .page-home .about-highlights {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 16px 0 20px;
  }
  .page-home .about-highlights li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    padding: 12px 14px;
  }
  .page-home .about-highlights strong {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .page-home .about-highlights span {
    text-align: right;
  }
  .page-home .about-text .btn {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    display: inline-flex;
  }
  .page-home .about-media-frame {
    border-radius: 12px;
    max-width: 100%;
    margin: 0;
  }
  .page-home .about-media img {
    aspect-ratio: 16 / 10;
  }
  .page-home .about-media-badge {
    left: 12px;
    bottom: 12px;
    padding: 6px 10px;
    gap: 8px;
  }
  .page-home .about-media-badge-txt {
    font-size: 12px;
  }

  /* 手机取消左右滑入，避免半边错位 */
  .page-home .home-about [data-reveal="left"],
  .page-home .home-about [data-reveal="right"] {
    transform: translateY(24px);
  }
  .page-home .home-about [data-reveal="left"].is-visible,
  .page-home .home-about [data-reveal="right"].is-visible {
    transform: translateY(0);
  }

  /* 四大核心：横排紧凑，减少占高与单调感 */
  .page-home .home-advantages {
    padding-top: 36px;
    padding-bottom: 36px;
  }
  .page-home .home-advantages .section-head {
    margin-bottom: 24px;
  }
  .page-home .adv-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .page-home .adv-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    grid-template-areas:
      "icon title"
      "icon desc";
    column-gap: 14px;
    row-gap: 4px;
    align-items: center;
    padding: 14px 16px;
    text-align: left;
    border-radius: 12px;
  }
  .page-home .adv-card::before {
    width: 3px;
    height: auto;
    left: 0;
    top: 12px;
    bottom: 12px;
    right: auto;
    transform: scaleY(0);
    transform-origin: top;
    border-radius: 2px;
  }
  .page-home .adv-card:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(201, 169, 98, 0.35);
  }
  .page-home .adv-card:hover::before {
    transform: scaleY(1);
  }
  .page-home .adv-icon {
    grid-area: icon;
    width: 48px;
    height: 48px;
    margin: 0;
    font-size: 18px;
    align-self: center;
  }
  .page-home .adv-card:hover .adv-icon {
    transform: none;
    box-shadow: none;
  }
  .page-home .adv-card h3 {
    grid-area: title;
    margin: 0;
    font-size: 15px;
    letter-spacing: 0.5px;
    line-height: 1.35;
  }
  .page-home .adv-card p {
    grid-area: desc;
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* 核心产品：手机保留横向滑动 + 箭头 */
  .page-home .home-products {
    padding-top: 36px;
    padding-bottom: 36px;
  }
  .page-home .home-products .section-head {
    margin-bottom: 24px;
  }
  .page-home .home-products .prod-slider-wrap {
    margin: 0;
    padding: 0 4px;
  }
  .page-home .home-products .slider-btn {
    display: grid !important;
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
  .page-home .home-products .slider-btn.prev { left: 0; }
  .page-home .home-products .slider-btn.next { right: 0; }
  .page-home .home-products .prod-slider {
    display: flex;
    gap: 12px;
    overflow: visible;
    scroll-snap-type: none;
  }
  .page-home .home-products .prod-slider .prod-card {
    flex: 0 0 78%;
    min-width: 0;
    width: auto;
    margin: 0;
    box-shadow: 0 4px 16px rgba(26, 23, 20, 0.08);
  }
  .page-home .home-products .prod-card:hover {
    transform: none;
  }
  .page-home .home-products .prod-card img {
    aspect-ratio: 4 / 3;
  }
  .page-home .home-products .prod-card figcaption {
    padding: 10px 8px;
    font-size: 13px;
    letter-spacing: 0;
  }
  .page-home .home-products .section-foot {
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home [data-reveal],
  .page-home .hero-slide,
  .page-home .hero-slide img {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .page-home .sol-track {
    transition: none !important;
  }
}
