/* ============================================================
   home.css · 首页
   结构：开场 / 名册横滑 / 价目 / 流程 / 保障 / 入驻 / 问答 / 收尾
   ============================================================ */

/* ==================== 开场 ==================== */
.hero {
  position: relative;
  min-height: min(94svh, 1000px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 57%;
  overflow: hidden;
  background: var(--ink-3);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: saturate(.86) contrast(1.04) brightness(.92);
  transform: scale(1.02);
  animation: hero-drift 18s var(--ease-slow) forwards;
}

@keyframes hero-drift {
  to {
    transform: scale(1.08);
  }
}
/* 手机端：首页“服务城市”文字向右移动 */
@media (max-width: 600px) {
  .hero-figures > div:last-child > dt {
    position: relative;
    left: 8px;
  }
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(11, 11, 12, .92) 24%, rgba(11, 11, 12, .35) 58%, rgba(11, 11, 12, .18) 100%),
    linear-gradient(180deg, rgba(11, 11, 12, .35) 0%, transparent 30%, transparent 68%, rgba(11, 11, 12, .5) 100%);
  pointer-events: none;
}

.hero-frame {
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(242, 237, 227, .22);
  pointer-events: none;
  z-index: 2;
}

.hero-media-caption {
  position: absolute;
  right: 96px;
  bottom: 30px;
  z-index: 3;
  display: grid;
  justify-items: end;
  gap: 3px;
  text-align: right;
  color: var(--bone);
  text-shadow: 0 1px 20px rgba(0, 0, 0, .55);
}

.hero-media-caption span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .26em;
  color: rgba(242, 237, 227, .72);
}

.hero-media-caption b {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .12em;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 100%;
  padding-top: clamp(40px, 7vh, 90px);
  padding-bottom: clamp(40px, 7vh, 80px);
}

.hero-copy {
  width: min(660px, 52%);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--brass);
}

.hero-eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: var(--brass);
  flex: none;
}

.hero-title {
  margin: 30px 0 26px;
  font-family: var(--font-display);
  font-size: clamp(48px, 6.2vw, 90px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .07em;
  text-wrap: balance;
}

.hero-title .line {
  display: block;
}

.hero-title .line-2 {
  color: var(--brass-hi);
}

.hero-lede {
  max-width: 35ch;
  font-size: 14px;
  line-height: 2;
  letter-spacing: .04em;
  color: var(--txt-mid);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 38px;
}

.hero-actions .link-arrow {
  color: var(--txt-mid);
  border-color: var(--line-strong);
}

.hero-actions .link-arrow:hover {
  color: var(--brass-hi);
  border-color: var(--brass);
}

.hero-figures {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 580px;
  margin-top: clamp(42px, 7vh, 78px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.hero-figures div {
  min-width: 0;
}

.hero-figures dd {
  font-family: var(--font-latin);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1;
  letter-spacing: .04em;
  color: var(--txt);
}

.hero-figures dd .cn {
  font-family: var(--font-display);
  font-size: .74em;
  font-weight: 900;
  letter-spacing: .08em;
}

.hero-figures dt {
  margin-top: 8px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--txt-low);
  white-space: nowrap;
}

/* ==================== 章节头 ==================== */
.section-head-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 300px;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  margin-bottom: clamp(34px, 4.5vw, 54px);
}

.section-head-row .section-title {
  margin-top: 14px;
}

.section-tail {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  padding-top: 6px;
  text-align: right;
}

/* ==================== 名册横滑 ==================== */
.section-roster {
  overflow: hidden;
}

.rail {
  display: flex;
  gap: clamp(12px, 1.4vw, 20px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  padding-bottom: 4px;
}

.rail::-webkit-scrollbar {
  display: none;
}

.rail .tcard {
  flex: 0 0 clamp(236px, 21vw, 316px);
  scroll-snap-align: start;
}

.rail-foot {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
}

.rail-progress {
  flex: 1;
  height: 1px;
  background: var(--line);
  max-width: 420px;
}

.rail-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--brass);
  transition: width .15s linear;
}

.rail-nav {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.rail-nav button {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--txt-mid);
  border: 1px solid var(--line);
  transition: color var(--dur-base), border-color var(--dur-base), background var(--dur-base);
}

.rail-nav button:hover {
  color: var(--paper-ink);
  background: var(--bone);
  border-color: var(--bone);
}

.rail-nav svg {
  width: 16px;
  height: 16px;
}

/* ==================== 价目 ==================== */
.section-ledger {
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
}

.ledger-grid {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
}

.ledger-aside {
  position: sticky;
  top: calc(var(--nav-h) + 36px);
  align-self: start;
}

.ledger-aside .section-title {
  margin: 18px 0 16px;
}

.ledger-facts {
  margin: 32px 0;
  border-top: 1px solid var(--ink-line);
}

.ledger-facts div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--ink-line);
  font-size: 11px;
  letter-spacing: .1em;
}

.ledger-facts dt {
  color: var(--paper-low);
}

.ledger-facts dd {
  color: var(--paper-ink);
  font-weight: 600;
}

.ledger-fine {
  margin-top: 16px;
  font-size: 9.5px;
  letter-spacing: .12em;
  color: var(--paper-low);
}

.ledger {
  border-top: 1px solid var(--paper-ink);
}

.ledger-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--ink-line);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--paper-low);
}

.ledger-row {
  display: grid;
  grid-template-columns: 26px auto minmax(24px, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 0;
  border-bottom: 1px solid var(--ink-line);
  text-align: left;
  transition: padding-left var(--dur-base) var(--ease), color var(--dur-base);
}

.ledger-row:hover {
  padding-left: 10px;
}

.ledger-row .ico {
  font-size: 17px;
  color: var(--paper-ink);
  transition: color var(--dur-base);
}

.ledger-row:hover .ico,
.ledger-row:hover .l-price {
  color: var(--wine-2);
}

.l-name {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--paper-ink);
  white-space: nowrap;
}

.l-leader {
  height: 1px;
  margin: 0 4px 5px;
  border-bottom: 1px dotted rgba(21, 19, 14, .3);
}

.l-price {
  font-family: var(--font-latin);
  font-size: 18px;
  letter-spacing: .04em;
  color: var(--paper-ink);
  white-space: nowrap;
}

.l-price em {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: .1em;
  color: var(--paper-low);
  margin-left: 3px;
}

.ledger-more {
  margin-top: 22px;
  padding-bottom: 4px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--wine-2);
  border-bottom: 1px solid currentColor;
}

/* ==================== 流程 ==================== */
.section-process {
  border-top: 1px solid var(--line);
}

.process-grid {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
}

.process-aside {
  position: sticky;
  top: calc(var(--nav-h) + 36px);
  align-self: start;
}

.process-aside .section-title {
  margin: 18px 0 18px;
}

.process-list {
  border-top: 1px solid var(--line);
}

.process-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 24px;
  gap: 26px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.process-no {
  font-family: var(--font-latin);
  font-size: 42px;
  line-height: .9;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
  transition: -webkit-text-stroke-color var(--dur-base);
}

.process-item:hover .process-no {
  -webkit-text-stroke-color: var(--brass);
}

.process-body h3 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 900;
  letter-spacing: .06em;
}

.process-body p {
  max-width: 42ch;
  font-size: 12.5px;
  line-height: 1.95;
  letter-spacing: .04em;
  color: var(--txt-mid);
}

.process-ico {
  justify-self: end;
  margin-top: 6px;
  font-size: 20px;
  color: var(--txt-faint);
}

/* ==================== 保障 ==================== */
.section-promise {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.promise-head {
  margin-bottom: clamp(40px, 5vw, 64px);
  text-align: center;
}

.promise-head .section-title {
  margin-top: 18px;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-left: 1px solid var(--line);
}

.promise-item {
  padding: 6px 30px 4px;
  border-right: 1px solid var(--line);
}

.promise-no {
  font-family: var(--font-latin);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--brass);
}

.promise-ico {
  display: block;
  margin: 24px 0 20px;
  font-size: 26px;
  color: var(--brass);
}

.promise-item h3 {
  margin-bottom: 9px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: .06em;
}

.promise-item p {
  font-size: 11.5px;
  line-height: 1.95;
  letter-spacing: .03em;
  color: var(--txt-mid);
}

/* ==================== 入驻 ==================== */
.section-join {
  position: relative;
  overflow: hidden;
  background: var(--wine-deep);
  border-bottom: 1px solid rgba(242, 237, 227, .12);
}

.join-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 54%;
  overflow: hidden;
}

.join-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: grayscale(1) contrast(1.05) brightness(.62);
  opacity: .5;
}

.join-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--wine-deep) 0%, rgba(61, 16, 23, .82) 28%, rgba(61, 16, 23, .18) 72%, rgba(61, 16, 23, .35) 100%);
}

.join-inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(76px, 10vw, 130px);
  padding-bottom: clamp(76px, 10vw, 130px);
}

.join-copy {
  max-width: 640px;
}

.section-join .section-mark {
  color: var(--brass-hi);
}

.join-title {
  margin: 20px 0 22px;
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .07em;
  color: var(--bone);
}

.join-title em {
  font-style: normal;
  color: var(--brass-hi);
}

.join-desc {
  max-width: 44ch;
  font-size: 13px;
  line-height: 2;
  letter-spacing: .04em;
  color: rgba(242, 237, 227, .74);
}

.join-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 28px;
  margin: 30px 0 36px;
}

.join-tags li {
  position: relative;
  padding-left: 15px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--bone-2);
}

.join-tags li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 6px;
  height: 1px;
  background: var(--brass-hi);
}

/* ==================== 问答 ==================== */
.section-faq {
  border-top: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
}

.faq-aside {
  position: sticky;
  top: calc(var(--nav-h) + 36px);
  align-self: start;
}

.faq-aside .section-title {
  margin: 18px 0 16px;
}

.faq-aside .link-arrow {
  margin-top: 26px;
  color: var(--brass);
  border-color: var(--brass);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 18px;
  gap: 16px;
  align-items: center;
  padding: 23px 0;
  cursor: pointer;
  list-style: none;
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-idx {
  font-family: var(--font-latin);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--brass);
}

.faq-text {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .05em;
  transition: color var(--dur-base);
}

.faq-item[open] .faq-text {
  color: var(--brass-hi);
}

.faq-plus {
  position: relative;
  width: 13px;
  height: 13px;
  justify-self: end;
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 13px;
  height: 1px;
  background: var(--txt-mid);
  transition: transform var(--dur-base) var(--ease), background var(--dur-base);
}

.faq-plus::after {
  transform: rotate(90deg);
}

.faq-item[open] .faq-plus::after {
  transform: rotate(0deg);
}

.faq-item[open] .faq-plus::before,
.faq-item[open] .faq-plus::after {
  background: var(--brass);
}

.faq-a {
  padding: 0 30px 26px 60px;
  max-width: 62ch;
  font-size: 12.5px;
  line-height: 2;
  letter-spacing: .03em;
  color: var(--txt-mid);
}

/* ==================== 收尾 ==================== */
.closing {
  background: var(--bone);
  color: var(--paper-ink);
  padding: clamp(80px, 10vw, 140px) 0;
}

.closing ::selection {
  background: var(--paper-ink);
  color: var(--bone);
}

.closing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}

.closing .section-mark {
  color: var(--wine-2);
}

.closing-title {
  margin: 20px 0 24px;
  font-family: var(--font-display);
  font-size: clamp(54px, 8.4vw, 108px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: .07em;
}

.closing-title em {
  font-style: normal;
  color: var(--wine-2);
}

.closing-desc {
  max-width: 40ch;
  font-size: 13px;
  line-height: 2;
  letter-spacing: .04em;
  color: var(--paper-mid);
}

.closing-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.closing-actions .link-arrow {
  color: var(--paper-mid);
  border-color: var(--ink-line-strong);
}

.closing-actions .link-arrow:hover {
  color: var(--wine-2);
  border-color: var(--wine-2);
}

.closing-qr {
  padding: 18px 18px 14px;
  background: #fff;
  border: 1px solid var(--ink-line);
}

.closing-qr img {
  width: 100%;
  height: auto;
}

.closing-qr-cap {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--ink-line);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .22em;
  text-align: center;
  color: var(--paper-mid);
}

/* ==================== 响应式 ==================== */
@media (max-width: 1180px) {
  .hero-copy {
    width: min(600px, 56%);
  }

  .hero-media {
    width: 60%;
  }

  .ledger-grid,
  .process-grid,
  .faq-grid {
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 48px;
  }

  .section-head-row {
    grid-template-columns: 150px minmax(0, 1fr) 260px;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 0;
    padding-top: 18px;
  }

  .hero-media {
    width: 100%;
    opacity: .9;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(11, 11, 12, .72) 0%, rgba(11, 11, 12, .32) 28%, rgba(11, 11, 12, .78) 66%, var(--ink) 100%);
  }

  .hero-frame {
    inset: 14px;
    border-color: rgba(242, 237, 227, .18);
  }

  .hero-media-caption {
    display: none;
  }

  .hero-inner {
    min-height: calc(100svh - var(--nav-h) - 24px);
    align-items: flex-end;
    padding-top: 30vh;
    padding-bottom: calc(var(--tabbar-h) + 20px + env(safe-area-inset-bottom, 0px));
  }

  .hero-copy {
    width: 100%;
  }

  .hero-title {
    margin: 20px 0 18px;
    font-size: clamp(42px, 11.5vw, 66px);
  }

  .hero-lede {
    max-width: 32ch;
    font-size: 13px;
  }

  .hero-actions {
    margin-top: 28px;
    gap: 20px;
  }

  .hero-figures {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 28px;
    max-width: none;
    padding-top: 14px;
  }

  .hero-figures dd {
    font-size: 20px;
  }

  .hero-figures dt {
    margin-top: 6px;
    font-size: 8px;
    letter-spacing: .12em;
  }

  .section-head-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-tail {
    justify-self: start;
    align-items: flex-start;
    text-align: left;
  }

  .ledger-grid,
  .process-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .ledger-aside,
  .process-aside,
  .faq-aside {
    position: static;
  }

  .ledger-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
  }

  .promise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line);
  }

  .promise-item {
    padding: 24px 22px 22px;
    border-bottom: 1px solid var(--line);
  }

  .promise-item:nth-child(odd) {
    border-left: 1px solid var(--line);
  }

  .join-media {
    width: 100%;
    opacity: .34;
  }

  .closing-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .closing-qr {
    width: min(280px, 100%);
  }
}

@media (max-width: 767px) {
  .section-head-row {
    margin-bottom: 28px;
  }

  .rail {
    gap: 12px;
  }

  .rail .tcard {
    flex: 0 0 72vw;
  }

  .rail-foot {
    margin-top: 22px;
    gap: 18px;
  }

  .rail-nav button {
    width: 38px;
    height: 38px;
  }

  .ledger-row {
    grid-template-columns: 20px auto minmax(16px, 1fr) auto;
    gap: 10px;
    padding: 14px 0;
  }

  .ledger-facts {
    grid-template-columns: 1fr;
  }

  .l-name {
    font-size: 13.5px;
    white-space: normal;
  }

  .l-price {
    font-size: 16px;
  }

  .ledger-row .ico {
    font-size: 15px;
  }

  .process-item {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
    padding: 26px 0;
  }

  .process-no {
    font-size: 30px;
  }

  .process-ico {
    display: none;
  }

  .process-body h3 {
    font-size: 20px;
  }

  .promise-item {
    padding: 20px 16px 18px;
  }

  .promise-ico {
    margin: 16px 0 14px;
    font-size: 22px;
  }

  .promise-item h3 {
    font-size: 17px;
  }

  .promise-item p {
    font-size: 11px;
  }

  .join-media {
    opacity: .26;
  }

  .join-tags {
    gap: 10px 20px;
  }

  .faq-q {
    grid-template-columns: 32px minmax(0, 1fr) 16px;
    gap: 12px;
    padding: 20px 0;
  }

  .faq-text {
    font-size: 15px;
  }

  .faq-a {
    padding: 0 8px 22px 44px;
    font-size: 12px;
  }

  .closing-title {
    font-size: clamp(50px, 15vw, 80px);
  }
}
