/**
 * 花更好® 首页专属美化
 */
.home-page {
  --home-radius: 18px;
  --home-shadow: 0 12px 40px rgba(10, 38, 28, 0.1);
}

/* ═══ 轮播舞台 ═══ */
.home-page .home-hero-stage {
  position: relative;
}
.home-page .hero-carousel {
  border-bottom: none;
  box-shadow: 0 20px 60px rgba(10, 38, 28, 0.18);
}
.home-page .hero-carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 38, 28, 0.55) 0%, transparent 35%, transparent 65%, rgba(10, 38, 28, 0.45) 100%),
    linear-gradient(180deg, transparent 50%, rgba(10, 38, 28, 0.65) 100%);
}
.home-page .carousel-btn {
  width: 52px;
  height: 52px;
  font-size: 2rem;
  background: rgba(10, 38, 28, 0.45);
  border: 1px solid rgba(212, 168, 67, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.home-page .carousel-btn:hover {
  background: rgba(212, 168, 67, 0.85);
  transform: translateY(-50%) scale(1.08);
}
.home-page .carousel-dots button.is-active {
  width: 28px;
  border-radius: 999px;
  background: var(--gold, #d4a843);
  border-color: var(--gold, #d4a843);
}

/* ═══ Hero 主视觉 ═══ */
.home-page .home-hero {
  margin-top: -2px;
  padding: 72px 24px 64px;
  border-bottom: 4px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--gold, #d4a843), var(--green-light, #4a9b72), transparent) 1;
}
.home-page .home-hero .container {
  max-width: 920px;
  text-align: center;
}
.home-page .home-hero .intro {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.home-page .hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}
.home-page .hero-actions .btn {
  min-width: 160px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
}
.home-page .btn-hero-outline {
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.65) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(8px);
}
.home-page .btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: var(--gold, #d4a843) !important;
  box-shadow: 0 0 24px rgba(212, 168, 67, 0.35);
}
.home-page .hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 32px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.home-page .hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
}
.home-page .hero-trust-item strong {
  font-family: var(--font-serif, 'Noto Serif SC', serif);
  font-size: 1.35rem;
  color: var(--gold-light, #ecd9a0);
  font-weight: 700;
}

/* ═══ 快捷入口条 ═══ */
.home-quick-bar {
  position: relative;
  z-index: 2;
  margin-top: -28px;
  padding: 0 16px 8px;
}
.home-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--home-radius);
  box-shadow: var(--home-shadow);
}
.home-quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 10px;
  text-decoration: none;
  color: var(--green-dark, #0a261c);
  border-radius: 14px;
  transition: transform 0.25s, background 0.25s, box-shadow 0.25s;
}
.home-quick-item:hover {
  background: rgba(26, 86, 50, 0.06);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(26, 86, 50, 0.1);
}
.home-quick-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(26, 86, 50, 0.1), rgba(212, 168, 67, 0.15));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.home-quick-item strong {
  font-size: 0.92rem;
  font-weight: 600;
}
.home-quick-item span {
  font-size: 0.78rem;
  color: var(--text-muted, #5a6b62);
}

/* ═══ 公告条 ═══ */
.home-page .notice-bar {
  background: linear-gradient(90deg, rgba(26, 86, 50, 0.08), rgba(212, 168, 67, 0.06));
  border-top: 1px solid rgba(26, 86, 50, 0.1);
  border-bottom: 1px solid rgba(26, 86, 50, 0.1);
}
.home-page .notice-label {
  background: linear-gradient(135deg, var(--green-mid, #1a5632), #2d8a5c);
  color: #fff;
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.8rem;
  animation: noticePulse 2s ease-in-out infinite;
}
@keyframes noticePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45, 138, 92, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(45, 138, 92, 0); }
}

/* ═══ 数据看板 ═══ */
.home-page .home-stats-band {
  padding: 56px 0;
}
.home-page .home-stats-band .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}
.home-page .home-stats-band .stat-item {
  padding: 24px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s, background 0.3s;
}
.home-page .home-stats-band .stat-item:hover {
  transform: translateY(-6px) scale(1.03);
  background: rgba(255, 255, 255, 0.1);
}
.home-page .stats-section-alt {
  background:
    linear-gradient(180deg, #fff 0%, rgba(240, 247, 243, 0.9) 100%);
  padding: 64px 0;
}
.home-page .stats-section-alt .stat-item {
  padding: 28px 20px;
  border-radius: var(--home-radius);
  background: #fff;
  border: 1px solid rgba(26, 86, 50, 0.08);
  box-shadow: 0 8px 32px rgba(12, 46, 34, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.home-page .stats-section-alt .stat-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(12, 46, 34, 0.12);
}

/* ═══ 区块标题 ═══ */
.home-page .section-title .section-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-mid, #1a5632);
  background: rgba(26, 86, 50, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
  border: 1px solid rgba(26, 86, 50, 0.12);
}
.home-page .section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 48px;
}
.home-page .section-head-row .section-title {
  margin-bottom: 0;
  text-align: left;
}
.home-page .section-head-row .section-title h2::before {
  margin-left: 0;
}
.home-page .section-head-row .section-title p {
  margin-left: 0;
}
.home-page .section-more-link {
  font-weight: 600;
  color: var(--green-mid, #1a5632);
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(26, 86, 50, 0.15);
  background: rgba(255, 255, 255, 0.8);
  transition: all 0.25s;
  white-space: nowrap;
}
.home-page .section-more-link:hover {
  background: var(--green-mid, #1a5632);
  color: #fff;
  border-color: var(--green-mid, #1a5632);
  box-shadow: 0 8px 24px rgba(26, 86, 50, 0.2);
}

/* ═══ 专项服务 ═══ */
.home-page .home-feature-section {
  padding-top: 72px;
}
.home-page .feature-hub-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.home-page .feature-hub-card {
  padding: 22px 20px;
  border-radius: var(--home-radius);
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.home-page .feature-hub-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(26, 86, 50, 0.12), rgba(212, 168, 67, 0.15));
  margin-bottom: 4px;
}
.home-page .feature-hub-card strong {
  font-size: 1.05rem;
}
.home-page .feature-hub-card::after {
  content: "→";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--gold, #d4a843);
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
}
.home-page .feature-hub-card:hover::after {
  opacity: 1;
  transform: translate(4px, -50%);
}

/* ═══ 痛点对比 ═══ */
.home-page .pain-column {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-radius: var(--home-radius);
  border: 1px solid rgba(26, 86, 50, 0.1);
  position: relative;
  overflow: hidden;
}
.home-page .pain-column::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-mid, #1a5632), var(--gold, #d4a843));
}
.home-page .pain-num {
  background: linear-gradient(135deg, var(--green-mid, #1a5632), #2d8a5c);
  box-shadow: 0 4px 12px rgba(26, 86, 50, 0.25);
}

/* ═══ 流程时间线 ═══ */
.home-page .home-process .process-grid {
  position: relative;
  gap: 0;
}
.home-page .home-process .process-grid::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 8%;
  right: 8%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold, #d4a843), var(--green-light, #4a9b72), var(--gold, #d4a843));
  background-size: 200% 100%;
  animation: processLine 4s linear infinite;
  border-radius: 3px;
  z-index: 0;
}
@keyframes processLine {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.home-page .home-process .process-item {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 16px 12px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.home-page .home-process .process-step {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-mid, #1a5632), #2d8a5c);
  color: var(--gold-light, #ecd9a0);
  box-shadow: 0 8px 24px rgba(26, 86, 50, 0.3), 0 0 0 4px rgba(255, 255, 255, 0.9);
  transition: transform 0.3s;
}
.home-page .home-process .process-item:hover .process-step {
  transform: scale(1.12) rotate(8deg);
}

/* ═══ 套餐卡片 ═══ */
.home-page .package-grid-compact {
  gap: 20px;
}
.home-page .package-card {
  text-align: center;
  border-radius: var(--home-radius);
  padding: 28px 20px;
}
.home-page .package-card-icon {
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(12, 46, 34, 0.1);
}
.home-page .package-price strong {
  font-size: 1.75rem;
  color: var(--gold-deep, #b8922e);
  font-family: var(--font-serif, 'Noto Serif SC', serif);
}

/* ═══ 服务卡片 ═══ */
.home-page .home-services .card {
  border-radius: var(--home-radius);
  overflow: hidden;
}
.home-page .home-services .card-body {
  padding: 20px 22px 12px;
}
.home-page .home-services .card-link {
  display: block;
  padding: 0 22px 20px;
  font-weight: 600;
  color: var(--green-mid, #1a5632);
}

/* ═══ 双城布局 ═══ */
.home-page .home-dual-city .city-box {
  border-radius: var(--home-radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}
.home-page .home-dual-city .city-box:first-child::before {
  content: "华南总部";
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(26, 86, 50, 0.1);
  color: var(--green-mid, #1a5632);
  font-weight: 600;
}
.home-page .home-dual-city .city-box:last-child::before {
  content: "西南直营";
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(184, 98, 62, 0.12);
  color: #b8623e;
  font-weight: 600;
}

/* ═══ 案例网格 ═══ */
.home-page .home-cases .card {
  border-radius: var(--home-radius);
}
.home-page .home-cases .card-body h3 {
  font-size: 1.05rem;
  line-height: 1.5;
}

/* ═══ 客户 Logo 滚动 ═══ */
.home-client-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.home-client-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: clientScroll 40s linear infinite;
}
.home-client-track:hover {
  animation-play-state: paused;
}
@keyframes clientScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.home-page .client-logo-item {
  flex-shrink: 0;
  min-width: 140px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(26, 86, 50, 0.08);
  box-shadow: 0 4px 16px rgba(12, 46, 34, 0.05);
  text-align: center;
  transition: transform 0.25s;
}
.home-page .client-logo-item:hover {
  transform: scale(1.05);
}
.home-page .client-logo-item img {
  filter: grayscale(0.3);
  opacity: 0.85;
  transition: filter 0.3s, opacity 0.3s;
}
.home-page .client-logo-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* ═══ 优势 Tab ═══ */
.home-page .advantage-tab {
  border-radius: 12px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}
.home-page .advantage-tab.is-active {
  box-shadow: 0 8px 24px rgba(26, 86, 50, 0.25);
  transform: translateY(-2px);
}
.home-page .advantage-panel {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--home-radius);
  padding: 32px;
  border: 1px solid rgba(26, 86, 50, 0.08);
  box-shadow: var(--home-shadow);
}
@keyframes homePanelIn {
  0% { opacity: 0; transform: translateY(16px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.home-page .advantage-img {
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(12, 46, 34, 0.12);
}

/* ═══ 公司简介 ═══ */
.home-page .home-intro-media {
  position: relative;
}
.home-page .home-intro-media::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--gold, #d4a843), var(--green-light, #4a9b72));
  z-index: -1;
  opacity: 0.35;
}
.home-page .home-intro-media img {
  border-radius: 16px;
  box-shadow: var(--home-shadow);
}

/* ═══ 设计师卡片 ═══ */
.home-page .designer-card {
  border-radius: var(--home-radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(26, 86, 50, 0.08);
  box-shadow: 0 8px 32px rgba(12, 46, 34, 0.06);
  transition: transform 0.3s;
}
.home-page .designer-card:hover {
  transform: translateY(-8px);
}
.home-page .designer-photo {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

/* ═══ 资讯列表 ═══ */
.home-page .home-news-section .news-list {
  max-width: 800px;
  margin: 0 auto;
}

/* ═══ 区块间距节奏 ═══ */
.home-page .section:nth-of-type(even) {
  position: relative;
}

/* ═══ 响应式 ═══ */
@media (max-width: 900px) {
  .home-quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-page .home-process .process-grid::before {
    display: none;
  }
  .home-page .home-process .process-item {
    background: rgba(255, 255, 255, 0.85) !important;
    border-radius: 14px !important;
    margin-bottom: 12px;
    border: 1px solid rgba(26, 86, 50, 0.08) !important;
  }
}
@media (max-width: 600px) {
  .home-page .home-hero {
    padding: 48px 16px 40px;
  }
  .home-quick-bar {
    margin-top: 0;
    padding: 16px;
  }
  .home-quick-grid {
    grid-template-columns: 1fr 1fr;
    padding: 14px;
  }
  .home-page .section-head-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .home-page .hero-trust {
    gap: 12px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-client-track { animation: none; }
}
