/* ==========================================================================
   宠物邦首页 — 品牌色见 /static/css/cwb-theme.css
   ========================================================================== */
.home { color: #444; }
.home img { max-width: 100%; }
.home .cwb-wechat-qr-block img {
  width: 200px;
  height: 200px;
  max-width: 200px;
  object-fit: contain;
  aspect-ratio: 1 / 1;
}

/* ---------- Hero（暖橙品牌渐变 + 网格） ---------- */
.home .hero {
	color: #fff; padding: 92px 20px 84px; text-align: center; position: relative; overflow: hidden;
	background:
		radial-gradient(900px 500px at 16% 6%, rgba(var(--cwb-primary-rgb), .45), transparent 60%),
		radial-gradient(840px 540px at 86% 20%, rgba(var(--cwb-primary-rgb), .35), transparent 60%),
		radial-gradient(820px 560px at 50% 122%, rgba(var(--cwb-primary-rgb), .25), transparent 62%),
		linear-gradient(135deg, var(--cwb-primary-dark) 0%, var(--cwb-primary) 100%);
}
.home .hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image:
		linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
	background-size: 46px 46px;
	-webkit-mask-image: radial-gradient(circle at 50% 36%, #000 24%, transparent 72%);
	mask-image: radial-gradient(circle at 50% 36%, #000 24%, transparent 72%);
}
.home .hero-inner { max-width: 880px; margin: 0 auto; position: relative; z-index: 1; }
.home .hero-badge {
	display: inline-block; padding: 7px 18px; margin-bottom: 24px; font-size: 13px; letter-spacing: 1px;
	border-radius: 30px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.home .hero-title { font-size: 48px; font-weight: 800; margin: 0 0 20px; letter-spacing: 2px; line-height: 1.22; text-shadow: 0 6px 34px rgba(0,0,0,.28); }
.home .hero-sub { font-size: 17px; line-height: 1.95; opacity: .9; margin: 0 auto 34px; max-width: 730px; }
.home .hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.home .hbtn { display: inline-block; padding: 14px 38px; border-radius: 30px; text-decoration: none; font-size: 16px; font-weight: 600; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .2s ease; }
.home .hbtn-fill { background: linear-gradient(135deg, var(--cwb-gradient-start) 0%, var(--cwb-primary) 100%); color: #fff; box-shadow: 0 10px 30px rgba(var(--cwb-primary-rgb), .4); }
.home .hbtn-fill:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(var(--cwb-primary-rgb), .5); }
.home .hbtn-outline { border: 1.5px solid rgba(255,255,255,.6); color: #fff; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.home .hbtn-outline:hover { background: rgba(255,255,255,.14); transform: translateY(-3px); }
.home .hbtn-light { background: #fff; color: var(--cwb-primary); }
.home .hbtn-light:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.25); }

.home .hero-stats { display: flex; gap: 22px; justify-content: center; margin-top: 50px; flex-wrap: wrap; }
.home .hero-stats div {
	display: flex; flex-direction: column; min-width: 140px; padding: 18px 26px;
	background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 16px;
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.home .hero-stats strong { font-size: 28px; font-weight: 800; background: linear-gradient(135deg, #fff, #f0d6fb); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.home .hero-stats span { font-size: 14px; opacity: .82; margin-top: 6px; }

/* ---------- 通用 section ---------- */
.home .hsec { padding: 64px 20px; }
.home .hsec-alt { background: var(--cwb-bg); }
.home .wrap { max-width: 1080px; margin: 0 auto; }
.home .sec-title { text-align: center; font-size: 30px; color: #584f60; margin: 0 0 10px; font-weight: 700; }
.home .sec-desc { text-align: center; color: #9b93a3; font-size: 16px; margin: 0 0 46px; }

/* ---------- 服务模式卡片 ---------- */
.home .mode-grid { display: flex; gap: 26px; flex-wrap: wrap; }
.home .mode-card { flex: 1 1 280px; background: #fff; border: 1px solid #efe9f1; border-radius: 14px; padding: 38px 28px; text-align: center; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.home .mode-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(var(--cwb-primary-rgb), .15); border-color: var(--cwb-primary-soft); }
.home .mode-card img { width: 78px; height: 78px; object-fit: contain; }
.home .mode-card h3 { font-size: 22px; color: var(--cwb-primary); margin: 18px 0 12px; }
.home .mode-card p { color: #7c7c7c; font-size: 15px; line-height: 1.85; margin: 0; }

/* ---------- 服务流程 ---------- */
.home .flow-grid { display: flex; gap: 22px; flex-wrap: wrap; }
.home .flow-step { flex: 1 1 200px; text-align: center; position: relative; }
.home .flow-icon { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: 0 8px 20px rgba(var(--cwb-primary-rgb), .2); transition: transform .25s ease, box-shadow .25s ease; }
.home .flow-step:hover .flow-icon { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(var(--cwb-primary-rgb), .28); }
.home .flow-step h3 { font-size: 18px; color: #584f60; margin: 18px 0 8px; }
.home .flow-step p { color: #8a8a8a; font-size: 14px; margin: 0; line-height: 1.7; }
@media (min-width: 769px) {
	.home .flow-step:not(:last-child)::after { content: "→"; position: absolute; top: 48px; right: -14px; transform: translateY(-50%); font-size: 26px; line-height: 1; font-weight: 700; color: #c4b3d2; }
}

/* ---------- 服务范围 地图 + 城市 ---------- */
.home .region-img { text-align: center; margin: 0 auto 36px; }
.home .region-img img { max-width: 720px; width: 100%; }
.home .cities-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.home .cities-row a { display: inline-block; padding: 9px 22px; border-radius: 22px; background: var(--cwb-primary-light); border: 1px solid var(--cwb-primary-soft); color: var(--cwb-primary); text-decoration: none; font-size: 15px; transition: all .2s ease; }
.home .cities-row a:hover { background: var(--cwb-primary); color: #fff; border-color: var(--cwb-primary); box-shadow: 0 4px 12px rgba(var(--cwb-primary-rgb), .28); }
.home .cities-row a.more { background: transparent; border-color: transparent; font-weight: bold; }
.home .cities-row a.more:hover { background: transparent; color: var(--cwb-primary-dark); box-shadow: none; }

/* ---------- CTA ---------- */
.home .cta-band {
	color: #fff; text-align: center; padding: 64px 20px; position: relative; overflow: hidden;
	background:
		radial-gradient(680px 360px at 82% 16%, rgba(var(--cwb-primary-rgb), .4), transparent 60%),
		radial-gradient(600px 320px at 12% 92%, rgba(var(--cwb-primary-rgb), .35), transparent 60%),
		linear-gradient(135deg, var(--cwb-primary-dark) 0%, var(--cwb-primary) 100%);
}
.home .cta-band h2 { font-size: 28px; margin: 0 0 12px; font-weight: 700; }
.home .cta-band p { opacity: .85; margin: 0 0 28px; font-size: 16px; }

/* ---------- 响应式 ---------- */
@media screen and (max-width: 768px) {
	.home .hero { padding: 50px 18px 46px; }
	.home .hero-title { font-size: 27px; letter-spacing: 1px; }
	.home .hero-sub { font-size: 15px; line-height: 1.85; }
	.home .hero-cta { gap: 12px; }
	.home .hbtn { padding: 12px 28px; font-size: 15px; }
	.home .hero-badge { font-size: 12px; margin-bottom: 18px; }
	.home .hero-stats { gap: 10px; margin-top: 32px; }
	.home .hero-stats div { min-width: 0; flex: 1 1 0; padding: 14px 6px; }
	.home .hero-stats strong { font-size: 21px; }
	.home .hero-stats span { font-size: 12px; }
	.home .region-img { margin-bottom: 28px; }
	.home .hsec { padding: 46px 16px; }
	.home .sec-title { font-size: 24px; }
	.home .sec-desc { font-size: 15px; margin-bottom: 32px; }
	.home .mode-grid { gap: 16px; }
	.home .mode-card { flex: 1 1 100%; padding: 30px 24px; }
	.home .flow-grid { gap: 26px 10px; }
	.home .flow-step { flex: 1 1 42%; }
	.home .cta-band { padding: 44px 18px; }
	.home .cta-band h2 { font-size: 22px; }
}
