/* ===== Footer：神坛暗化背景，与首屏首尾呼应 ===== */
.footer {
  position: relative;
  padding: 88px 24px calc(96px + env(safe-area-inset-bottom));
  overflow: hidden;
  text-align: center;
}

.footer__bg {
  position: absolute;
  inset: 0;
}
.footer__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.4) saturate(0.85);
}

/* 顶部全黑与上一区融合，往下渐露神坛 */
.footer__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--ink) 0%,
    rgba(20, 14, 8, 0.82) 38%,
    rgba(20, 14, 8, 0.68) 70%,
    rgba(20, 14, 8, 0.85) 100%
  );
}

.footer__inner {
  position: relative;
  z-index: 1;
}

/* ─◆─ 装饰分隔 */
.footer__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 30px;
}
.footer__ornament::before,
.footer__ornament::after {
  content: "";
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.footer__ornament::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.footer__seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  font-family: var(--brush);
  font-size: 32px;
  color: var(--gold);
  background: rgba(20, 14, 8, 0.55);
  box-shadow: 0 0 28px rgba(217, 168, 78, 0.25);
  backdrop-filter: blur(3px);
  margin-bottom: 18px;
}

.footer__brand {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.3em;
  text-indent: 0.3em; /* 抵消字距造成的偏移 */
  margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.footer__tag {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  color: var(--paper-dim);
  margin-bottom: 28px;
}

.footer__wa {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  text-decoration: none;
  border: 1px solid var(--gold-dim);
  border-radius: 99px;
  padding: 11px 22px;
  background: rgba(20, 14, 8, 0.6);
  backdrop-filter: blur(3px);
  margin-bottom: 36px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.footer__wa .wa-ico {
  width: 17px;
  height: 17px;
}
@media (hover: hover) {
  .footer__wa:hover {
    border-color: var(--gold);
    box-shadow: 0 0 22px rgba(217, 168, 78, 0.3);
  }
}

.footer__disclaimer {
  font-size: 12px;
  line-height: 1.9;
  color: rgba(244, 232, 211, 0.46);
  max-width: 420px;
  margin: 0 auto 10px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

.footer__copy {
  font-size: 12px;
  color: rgba(244, 232, 211, 0.36);
  letter-spacing: 0.08em;
}

@media (min-width: 768px) {
  .footer {
    padding-block: 110px 120px;
  }
  .footer__bg img {
    object-position: center 22%;
  }
}
