/* 首页区块样式 · 服务页复用（服务城市 / 选择理由 / 案例评价 / 悬浮工具） */

@keyframes galleryMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-1 * var(--gallery-loop-width))); }
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* —— 服务城市 —— */
#city.home-wide-section {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 4vw, 52px) 0 clamp(32px, 3.5vw, 48px);
  --city-bg: #f6f7f9;
  --city-bg-deep: #eef1f5;
  background:
    radial-gradient(ellipse 72% 88% at 78% 52%, rgba(238, 242, 247, .72) 0%, transparent 68%),
    linear-gradient(105deg, var(--city-bg) 0%, #f5f7fa 46%, var(--city-bg-deep) 100%);
}

.home-city-panel {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
}

.home-city-copy {
  display: grid;
  gap: 12px;
  min-width: 0;
  pointer-events: auto;
}

.home-city-copy h2 {
  margin: 0;
  color: var(--color-text-strong);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.18;
}

.home-city-copy > p:not(.home-section-kicker) {
  margin: 0;
  max-width: 420px;
  color: var(--color-text-muted);
  font-size: var(--font-size-md);
  line-height: 1.65;
}

.home-city-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.home-city-map-col {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: clamp(280px, 26vw, 360px);
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-city-map-col > .home-city-detail-card {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.home-city-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.home-city-bg__map {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 50%;
  display: block;
}

.home-city-bg__fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--city-bg) 0%, rgba(246, 247, 249, .94) 14%, rgba(246, 247, 249, .72) 26%, rgba(246, 247, 249, .28) 42%, transparent 58%),
    linear-gradient(180deg, rgba(246, 247, 249, .08) 0%, transparent 28%, transparent 76%, rgba(238, 241, 245, .12) 100%);
}

.home-city-markers {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.home-city-detail-card {
  position: relative;
  z-index: 10;
  display: grid;
  gap: 10px;
  width: min(360px, 32vw);
  max-width: 360px;
  padding: 22px 24px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 52px rgba(17, 24, 39, .16);
  color: var(--color-text-strong);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.home-city-detail-card:hover {
  box-shadow: 0 24px 58px rgba(17, 24, 39, .2);
  transform: translateY(-3px);
}

.home-city-detail-card strong {
  color: var(--color-brand);
  font-size: 24px;
  line-height: 1.25;
}

.home-city-detail-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  line-height: 1.65;
}

.home-city-detail-card__phone {
  margin: 4px 0 0;
  color: var(--color-text-strong);
  font-size: 22px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.home-city-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  color: var(--color-text-strong);
  font-family: inherit;
  background: transparent;
  cursor: pointer;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}

.home-city-pin::before {
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(107, 114, 128, .42);
  box-shadow: 0 1px 4px rgba(17, 24, 39, .12);
  content: "";
  flex: 0 0 auto;
  transition: width .16s ease, height .16s ease, background .16s ease, box-shadow .16s ease;
}

.home-city-pin__label {
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 2px 8px rgba(17, 24, 39, .08);
  color: rgba(17, 24, 39, .55);
  font-size: 11px;
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  white-space: nowrap;
  opacity: .72;
  transition: opacity .16s ease, color .16s ease, background .16s ease, box-shadow .16s ease, font-size .16s ease;
}

.home-city-pin:hover::before,
.home-city-pin:focus::before,
.home-city-pin--active::before {
  width: 12px;
  height: 12px;
  background: var(--color-brand);
  box-shadow: 0 2px 10px rgba(255, 59, 48, .34);
}

.home-city-pin:hover .home-city-pin__label,
.home-city-pin:focus .home-city-pin__label,
.home-city-pin--active .home-city-pin__label {
  padding: 5px 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 4px 14px rgba(17, 24, 39, .12);
  color: var(--color-text-strong);
  font-size: 12px;
  font-weight: var(--font-weight-bold);
  opacity: 1;
}

.home-city-pin--active::before {
  box-shadow: 0 0 0 6px rgba(255, 59, 48, .14), 0 4px 16px rgba(255, 59, 48, .34);
}

.home-city-pin__tip { display: none; }

.home-city-pin:hover,
.home-city-pin:focus {
  z-index: 9;
  outline: none;
}

/* —— 选择易丰的理由 · 图库横滑 —— */
.home-gallery {
  position: relative;
  overflow: hidden;
  padding: 92px 0 104px;
  background:
    linear-gradient(90deg, rgba(7, 11, 18, .92) 0%, rgba(7, 11, 18, .82) 46%, rgba(7, 11, 18, .9) 100%),
    url("assets/yf/services/cross-city.jpg") center / cover no-repeat;
  color: #fff;
}

.home-gallery::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .26), rgba(0, 0, 0, .18) 34%, rgba(0, 0, 0, .48)),
    radial-gradient(circle at 18% 24%, rgba(255, 59, 48, .16), transparent 28%);
  content: "";
  pointer-events: none;
}

.home-gallery .container {
  position: relative;
  z-index: 1;
}

.home-gallery .home-section-head {
  max-width: 980px;
}

.home-gallery .home-section-kicker {
  color: #ff7a72;
}

.home-gallery .home-section-title {
  color: #fff;
}

.home-gallery .home-section-desc {
  color: rgba(255, 255, 255, .72);
}

/* —— 服务特色等区块 · 同款暗色图库背景 —— */
.section--gallery-bg {
  position: relative;
  overflow: hidden;
  padding: 92px 0 104px;
  background:
    linear-gradient(90deg, rgba(7, 11, 18, .92) 0%, rgba(7, 11, 18, .82) 46%, rgba(7, 11, 18, .9) 100%),
    url("assets/yf/services/cross-city.jpg") center / cover no-repeat;
  color: #fff;
}

.section--gallery-bg::before {
  position: absolute;
  inset: 0;
  display: block;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .26), rgba(0, 0, 0, .18) 34%, rgba(0, 0, 0, .48)),
    radial-gradient(circle at 18% 24%, rgba(255, 59, 48, .16), transparent 28%);
  content: "";
  pointer-events: none;
}

.section--gallery-bg > .container {
  position: relative;
  z-index: 1;
}

.section--gallery-bg .home-section-kicker {
  color: #ff7a72;
}

.section--gallery-bg .home-section-title {
  color: #fff;
}

.section--gallery-bg .home-section-desc {
  color: rgba(255, 255, 255, .72);
}

/* 同城搬家 · 服务特色区块背景 */
.home-wide-section.section--gallery-bg {
  background:
    linear-gradient(90deg, rgba(7, 11, 18, .88) 0%, rgba(7, 11, 18, .76) 46%, rgba(7, 11, 18, .86) 100%),
    url("assets/yf/services/cross-city.jpg") center / cover no-repeat;
}

.section--gallery-bg--same-city {
  background:
    linear-gradient(90deg, rgba(7, 11, 18, .84) 0%, rgba(7, 11, 18, .72) 46%, rgba(7, 11, 18, .82) 100%),
    url("https://images.unsplash.com/photo-1758523670969-dd1b1254062d?auto=format&fit=crop&w=2400&q=80") center / cover no-repeat;
}

.section--gallery-bg--same-city::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .2), rgba(0, 0, 0, .12) 34%, rgba(0, 0, 0, .38)),
    radial-gradient(circle at 78% 22%, rgba(255, 59, 48, .14), transparent 30%);
}

.home-gallery .story-rail {
  position: relative;
  z-index: 1;
  width: 100vw;
  margin-top: 12px;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.home-gallery .story-track {
  --gallery-card-width: clamp(430px, 38vw, 620px);
  --gallery-gap: 24px;
  --gallery-loop-width: calc((var(--gallery-card-width) + var(--gallery-gap)) * 6);
  display: flex;
  gap: var(--gallery-gap);
  width: max-content;
  padding: 4px 0 10px;
  overflow: visible;
  animation: galleryMarquee 58s linear infinite;
  scrollbar-width: none;
}

.home-gallery .story-track:hover {
  animation-play-state: paused;
}

.home-gallery .story-card {
  position: relative;
  flex: 0 0 var(--gallery-card-width);
  min-height: 340px;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.home-gallery .story-card img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  transition: transform .45s ease;
}

.home-gallery .story-card:hover img {
  transform: scale(1.06);
}

.home-gallery .story-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 11, 18, .08) 0%, rgba(7, 11, 18, .18) 35%, rgba(7, 11, 18, .86) 100%);
  content: "";
}

.home-gallery .story-card__text {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  color: #fff;
}

.home-gallery .story-card__text strong {
  display: block;
  font-size: 24px;
  line-height: 1.24;
}

.home-gallery .story-card__text span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  line-height: 1.7;
}

/* —— 疑难解答 · 全屏横滑（复用选择易丰理由轨道） —— */
.home-gallery--faq {
  background:
    linear-gradient(90deg, rgba(7, 11, 18, .86) 0%, rgba(7, 11, 18, .74) 46%, rgba(7, 11, 18, .84) 100%),
    url("assets/yf/review/home-4.jpg") center / cover no-repeat;
}

.home-gallery--faq::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .22), rgba(0, 0, 0, .14) 34%, rgba(0, 0, 0, .42)),
    radial-gradient(circle at 82% 18%, rgba(255, 59, 48, .14), transparent 32%);
}

.home-gallery--faq .same-faq-head {
  margin-bottom: 0;
}

.home-gallery--faq .same-faq-head__link {
  color: #ff7a72;
}

.home-gallery--faq .story-track {
  --gallery-gap: 20px;
  --gallery-card-width: calc((100vw - 4 * var(--gallery-gap)) / 5);
  --gallery-loop-width: calc((var(--gallery-card-width) + var(--gallery-gap)) * 7);
  animation-duration: 64s;
}

.home-gallery--faq .story-card {
  min-height: 360px;
  color: inherit;
  text-decoration: none;
}

.home-gallery--faq .story-card img {
  min-height: 360px;
}

.home-gallery--faq .story-card__text strong {
  font-size: clamp(16px, 1.15vw, 22px);
  line-height: 1.3;
}

.home-gallery--faq .story-card__text span:not(.story-card__tag):not(.story-card__more) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.55;
}

.home-gallery--faq .story-card__tag {
  display: inline-flex;
  width: fit-content;
  margin-top: 0;
  margin-bottom: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 59, 48, .28);
  color: #ffb4af;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.home-gallery--faq .story-card__more {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  color: #ff7a72;
  font-size: 13px;
  font-weight: 700;
}

.home-gallery--faq .story-card__more::after {
  margin-left: 4px;
  content: "→";
}

@media (max-width: 1100px) {
  .home-gallery--faq .story-track {
    --gallery-card-width: clamp(260px, 38vw, 340px);
  }
}

@media (max-width: 760px) {
  .home-gallery--faq .story-track {
    --gallery-card-width: clamp(240px, 78vw, 320px);
  }

  .home-gallery--faq .story-card {
    min-height: 300px;
  }

  .home-gallery--faq .story-card img {
    min-height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-gallery .story-track {
    animation: none;
    overflow-x: auto;
  }
}

/* —— 案例与评价 —— */
.home-trust-layout {
  display: grid;
  gap: 24px;
  align-items: stretch;
}

.home-trust-main {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.home-case-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.home-case-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--color-text);
  font: inherit;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  box-shadow: 0 10px 28px rgba(17, 24, 39, .06);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .22s ease, color .22s ease, box-shadow .22s ease, transform .18s ease;
}

.home-case-tab:hover:not(.is-active):not(.home-case-tab--link) {
  background: #fff7f6;
  color: var(--color-brand);
  box-shadow: 0 12px 32px rgba(169, 31, 26, .1);
  transform: translateY(-1px);
}

.home-case-tab.is-active {
  background: var(--color-brand);
  color: #fff;
  box-shadow: 0 14px 36px rgba(169, 31, 26, .28);
}

.home-case-tab--link:hover {
  color: var(--color-brand);
  box-shadow: 0 12px 32px rgba(169, 31, 26, .1);
  transform: translateY(-1px);
}

.home-case-card.is-hidden {
  display: none;
}

.home-case-grid.is-switching .home-case-card:not(.is-hidden) {
  animation: homeCaseFadeIn .34s ease both;
}

.home-case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.home-case-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 44px rgba(17, 24, 39, .08);
  text-decoration: none;
  color: inherit;
  transition: transform .28s ease, box-shadow .28s ease;
}

.home-case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 58px rgba(17, 24, 39, .12);
}

.home-case-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.home-case-card__body {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.home-case-card h3 {
  margin: 0;
  color: var(--color-text-strong);
  font-size: 20px;
}

.home-case-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  line-height: 1.7;
}

.home-case-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
}

.home-case-card__quote {
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #f7f8fa;
  color: var(--color-text);
  font-size: 13px;
  line-height: 1.7;
}

.home-case-card__quote strong {
  color: var(--color-brand);
  font-weight: var(--font-weight-heavy);
}

.home-case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.home-case-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #f6f7f9;
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
}

/* —— 右侧悬浮工具（首页版） —— */
.floating-tools {
  position: fixed;
  right: 20px;
  top: 50%;
  z-index: 55;
  width: 72px;
  padding: 6px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.14);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity .2s ease;
}

.floating-tools.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.floating-tools__head {
  display: none;
}

.floating-tools__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}

.floating-tool-item {
  position: relative;
}

.floating-tool {
  display: flex;
  width: 100%;
  min-height: 64px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 9px 4px 8px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--color-gray-700);
  font: inherit;
  font-size: 11px;
  font-weight: var(--font-weight-medium);
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.floating-tool:hover,
.floating-tool-item.is-open .floating-tool {
  background: var(--color-brand);
  color: #fff;
  transform: translateY(-1px);
}

.floating-tool--hotline {
  background: var(--color-brand);
  color: #fff;
}

.floating-tool--hotline:hover,
.floating-tool-item.is-open .floating-tool--hotline {
  background: var(--color-brand-dark);
  color: #fff;
}

.floating-tool__icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  line-height: 1;
}

.floating-tool__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.floating-tool-popover {
  position: absolute;
  top: 50%;
  right: calc(100% + 14px);
  z-index: 2;
  width: 248px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 10px 32px rgba(17, 24, 39, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(8px);
  transition: opacity .18s ease, transform .18s ease;
}

.floating-tool-popover::after {
  position: absolute;
  top: 50%;
  right: -7px;
  width: 14px;
  height: 14px;
  background: #fff;
  box-shadow: 2px -2px 4px rgba(17, 24, 39, 0.06);
  transform: translateY(-50%) rotate(45deg);
  content: "";
}

.floating-tool-item:hover .floating-tool-popover,
.floating-tool-item:focus-within .floating-tool-popover,
.floating-tool-item.is-open .floating-tool-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.floating-tool-popover__block + .floating-tool-popover__block {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #eef0f3;
}

.floating-tool-popover__title {
  margin: 0 0 8px;
  color: #222;
  font-size: 15px;
  font-weight: var(--font-weight-bold);
  line-height: 1.4;
}

.floating-tool-popover__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  color: #888;
  font-size: 12px;
}

.floating-tool-popover__meta svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #aaa;
}

.floating-tool-popover__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-brand);
  font-family: var(--font-family-number);
  font-size: 24px;
  font-weight: var(--font-weight-heavy);
  line-height: 1.1;
  text-decoration: none;
}

.floating-tool-popover__phone svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.floating-tool-popover--wechat {
  width: 220px;
  padding: 16px 18px 18px;
  text-align: center;
}

.floating-tool-popover--wechat .floating-tool-popover__title {
  margin-bottom: 12px;
  font-size: 18px;
}

.floating-tool-popover__qr {
  display: grid;
  width: 156px;
  height: 156px;
  margin: 0 auto;
  place-items: center;
  border: 1px solid #eceff3;
  background:
    linear-gradient(90deg, #111 2px, transparent 2px) 0 0 / 16px 16px,
    linear-gradient(#111 2px, transparent 2px) 0 0 / 16px 16px;
  background-color: #fff;
  opacity: 0.92;
}

.floating-tool-popover__qr-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-brand);
  color: #fff;
  font-size: 16px;
  font-weight: var(--font-weight-heavy);
}

@media (max-width: 1080px) {
  .home-city-panel {
    grid-template-columns: 1fr;
  }

  .home-city-map-col {
    max-width: none;
    margin-left: 0;
    height: clamp(240px, 58vw, 320px);
  }

  .home-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .home-gallery {
    padding: 64px 0 72px;
  }

  .home-gallery .story-track {
    --gallery-card-width: min(84vw, 420px);
    --gallery-gap: 14px;
    animation-duration: 42s;
  }

  .home-gallery .story-card,
  .home-gallery .story-card img {
    min-height: 300px;
  }

  .home-case-grid {
    grid-template-columns: 1fr;
  }

  .home-case-card img {
    height: 260px;
  }

  .floating-tools {
    display: none;
  }

  .home-choose-section { padding: 58px 0; }
  .home-choose-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .home-choose-stats { flex-direction: column; align-items: center; gap: 16px; margin-top: 22px; }
  .home-choose-logo { min-height: 64px; }
  .home-choose-logo img { max-width: 112px; max-height: 34px; }
  .home-stats-banner__metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-stats-banner { padding: 34px 0 40px; }
  .home-stats-banner__inner { grid-template-columns: 1fr; gap: 24px; }
  .home-stats-banner__brand { text-align: center; padding-left: 0; }
  .site-footer__city-grid,
  .site-footer__service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__meta {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .site-footer__meta .site-footer__links,
  .site-footer__meta .site-footer__info,
  .site-footer__meta .site-footer__qr-group { grid-column: 1; grid-row: auto; }
  .site-footer__info { justify-items: center; }
  .site-footer__badges { justify-content: center; }
  .site-footer__legal-row { flex-wrap: wrap; justify-content: center; }
  .site-footer__qr-group { justify-content: center; }
}

/* —— 合作客户 —— */
.home-choose-section {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  background: #fff;
}

.home-choose-section::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 42% 58% at 18% 52%, rgba(255, 59, 48, 0.07), transparent 72%),
    radial-gradient(ellipse 42% 58% at 82% 48%, rgba(255, 183, 120, 0.10), transparent 72%);
  content: "";
  pointer-events: none;
}

.home-choose-section > .container {
  position: relative;
  z-index: 1;
}

.home-choose-head { text-align: center; }

.home-choose-title {
  margin: 0;
  color: var(--color-text-strong);
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.2;
  font-weight: var(--font-weight-heavy);
}

.home-choose-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 56px;
  margin-top: 28px;
}

.home-choose-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.home-choose-stat strong {
  color: var(--color-brand);
  font-family: var(--font-family-number);
  font-size: clamp(34px, 4.2vw, 44px);
  font-weight: var(--font-weight-heavy);
  line-height: 1;
}

.home-choose-stat span {
  color: var(--color-text-strong);
  font-size: var(--font-size-md);
  white-space: nowrap;
}

.home-choose-logos {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  margin: 44px 0 0;
}

.home-choose-logo {
  display: grid;
  place-items: center;
  min-height: 76px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(17, 24, 39, 0.06);
}

.home-choose-logo img {
  display: block;
  max-width: 132px;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* —— 数据横幅 —— */
.home-stats-banner {
  position: relative;
  overflow: hidden;
  padding: 38px 0 44px;
  background:
    linear-gradient(90deg, rgba(126, 14, 14, 0.96) 0%, rgba(190, 34, 30, 0.90) 48%, rgba(232, 62, 51, 0.76) 100%),
    url("assets/yf/services/cross-city.jpg") right center / cover no-repeat,
    linear-gradient(100deg, #971a19 0%, #c52925 44%, #ea463c 100%);
  color: #fff;
}

.home-stats-banner::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 22%, rgba(255, 221, 208, 0.22), transparent 28%),
    radial-gradient(circle at 86% 22%, rgba(255, 255, 255, 0.12), transparent 26%);
  content: "";
  opacity: 0.45;
  pointer-events: none;
}

.home-stats-banner__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
  gap: 28px 48px;
  align-items: center;
}

.home-stats-banner__brand {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding-left: 4px;
}

.home-stats-banner__slogan { display: grid; gap: 10px; }

.home-stats-banner__years {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: var(--font-weight-heavy);
  line-height: 1.18;
  white-space: nowrap;
}

.home-stats-banner__headline {
  margin: 0;
  font-size: clamp(14px, 1.6vw, 21px);
  font-weight: var(--font-weight-heavy);
  line-height: 1.18;
}

.home-stats-banner__years strong,
.home-stats-banner__headline strong {
  font-family: var(--font-family-number);
  font-size: 1.12em;
  font-weight: var(--font-weight-heavy);
}

.home-stats-banner__metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.home-stats-metric {
  display: grid;
  align-content: center;
  gap: 10px;
  justify-items: center;
  min-height: 120px;
  padding: 14px 8px;
  text-align: center;
}

.home-stats-metric__icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
}

.home-stats-metric__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.home-stats-metric strong {
  font-family: var(--font-family-number);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: var(--font-weight-heavy);
  line-height: 1;
}

.home-stats-metric span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.45;
}

/* —— 首页版页脚 —— */
.site-footer {
  padding: 28px 0 32px;
  background: linear-gradient(180deg, #202020 0%, #181818 100%);
  color: rgba(255, 255, 255, 0.70);
}

.site-footer__tabs {
  display: flex;
  gap: 30px;
  align-items: center;
}

.site-footer__tab {
  min-height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}

.site-footer__tab.is-active {
  color: #fff;
  font-weight: var(--font-weight-bold);
}

.site-footer__panel { padding: 22px 0 24px; }
.site-footer__panel.is-hidden { display: none; }

.site-footer__city-grid,
.site-footer__service-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px 18px;
}

.site-footer__city-grid a,
.site-footer__service-grid a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.5;
  white-space: nowrap;
  text-decoration: none;
}

.site-footer__city-grid a:hover,
.site-footer__service-grid a:hover,
.site-footer__links a:hover {
  color: #fff;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 0;
}

.site-footer__links a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.6;
  text-decoration: none;
}

.site-footer__meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 14px 40px;
  align-items: start;
  padding: 14px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__meta .site-footer__links { grid-column: 1; grid-row: 1; }
.site-footer__meta .site-footer__info { grid-column: 1; grid-row: 2; }
.site-footer__meta .site-footer__qr-group { grid-column: 2; grid-row: 1 / -1; align-self: start; }

.site-footer__info { display: grid; gap: 14px; }

.site-footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  opacity: 0.72;
}

.site-footer__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 3px;
  background: #fff;
  color: #444;
  font-size: 11px;
  line-height: 1.25;
  text-align: center;
}

.site-footer__badge--red { color: #c62828; }
.site-footer__badge--blue { color: #1565c0; }
.site-footer__badge--green { color: #2e7d32; }
.site-footer__badge--orange { color: #ef6c00; }

.site-footer__legal {
  color: rgba(255, 255, 255, 0.44);
  font-size: 12px;
  line-height: 1.65;
}

.site-footer__legal a { color: rgba(255, 255, 255, 0.56); text-decoration: none; }

.site-footer__legal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
}

.site-footer__qr-group {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: flex-end;
}

.site-footer__qr {
  display: grid;
  gap: 7px;
  justify-items: center;
  min-width: 92px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.66);
}

.site-footer__qr-box {
  position: relative;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: var(--radius-sm);
  background: #fff;
  overflow: hidden;
}

.site-footer__qr-box::before {
  position: absolute;
  inset: 7px;
  border: 1px dashed rgba(0, 0, 0, 0.12);
  border-radius: 2px;
  content: "";
}

.site-footer__qr-mark {
  position: relative;
  z-index: 1;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-brand);
  color: #fff;
  font-size: 14px;
  font-weight: var(--font-weight-heavy);
}

.site-footer__qr-mark--square { border-radius: 6px; }

@media (max-width: 1080px) {
  .home-choose-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-choose-stats { gap: 12px 36px; }
  .home-stats-banner__inner { grid-template-columns: 1fr; }
  .home-stats-banner__brand { text-align: center; padding-left: 0; }
  .home-stats-banner__metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
