/* Copied from wangjunxi.com.cn/home and scoped to the copied footer. */
@import url("/assets/fonts/bouquet-ink/bouquet-ink.css?v=20260810-bouquet-ink-4");

.site-footer {
  --font-body: "Bouquet Ink";
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  width: 100%;
  padding: 86px 28px 34px;
  border-top: 1px solid rgba(15, 15, 15, 0.1);
  background:
    linear-gradient(180deg, rgba(245, 245, 242, 0.44), rgba(225, 225, 220, 0.74)),
    rgba(242, 242, 240, 0.72);
  font-family: var(--font-body);
}

.site-footer .footer-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 34px;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  padding-bottom: 0;
}

.site-footer .footer-column {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.site-footer .footer-column h2 {
  margin: 0 0 22px;
  color: rgba(15, 15, 15, 0.88);
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
}

.site-footer .footer-column a,
.site-footer .footer-contact-row {
  position: relative;
  width: fit-content;
  max-width: 100%;
  min-height: 34px;
  margin: 0;
  padding: 3px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: visible;
  isolation: isolate;
  color: rgba(15, 15, 15, 0.68);
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
  transition:
    color 360ms var(--ease),
    transform 440ms var(--ease),
    filter 360ms ease;
}

.site-footer .footer-contact-row.phone-row {
  overflow: visible;
  align-items: flex-start;
  border-radius: 0;
}

.site-footer .footer-column a::before,
.site-footer .footer-contact-row:not(.phone-row)::before,
.site-footer .footer-column a::after,
.site-footer .footer-contact-row:not(.phone-row)::after {
  display: none;
}

.site-footer .footer-contact-row.address-row {
  align-items: flex-start;
  font-family: var(--font-body);
}

.site-footer .footer-contact-row.address-row .address-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
}

.site-footer .footer-contact-row.address-row .address-stack span {
  margin: 0;
  padding: 0;
  font-family: inherit;
}

.site-footer .footer-column img,
.site-footer .footer-contact-row img,
.site-footer .address-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.site-footer .footer-column img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  transition: filter 220ms ease, transform 220ms var(--ease);
}

.site-footer .footer-contact-row.phone-row > img,
.site-footer .footer-contact-row.address-row > .address-icon {
  align-self: flex-start;
  margin-top: calc(0.5em - 10px);
}

.site-footer .footer-contact-row.phone-row .phone-stack {
  margin: 0;
  padding: 0;
}

.site-footer .phone-stack {
  display: grid;
  gap: 4px;
  justify-items: start;
  line-height: 1.38;
  font-family: var(--font-body);
}

.site-footer .phone-stack a {
  min-height: 0;
  margin: 0;
  padding: 0;
  display: block;
}

.site-footer .footer-column a + a,
.site-footer .footer-contact-row + .footer-contact-row {
  margin-top: 8px;
}

.site-footer .social-column a {
  width: max-content;
}

.site-footer .footer-column a:hover,
.site-footer .footer-contact-row:not(.phone-row):hover {
  color: #111;
  filter: brightness(1.02);
  transform: translateX(5px);
}

.site-footer .footer-column a:hover img,
.site-footer .footer-contact-row:not(.phone-row):hover img {
  transform: translateZ(12px) scale(1.08);
}

.site-footer .footer-bottom {
  --footer-rule-scale: 1;
  padding-top: 18px;
  border-top: 1px solid rgba(15, 15, 15, 0.12);
  text-align: center;
  font-family: var(--font-body);
}

.site-footer .footer-bottom p {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(15, 15, 15, 0.54);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
}

.site-footer .footer-bottom span {
  display: inline-flex;
  align-items: center;
  font-family: inherit;
  transition:
    color 420ms var(--ease),
    opacity 420ms var(--ease),
    transform 520ms var(--ease);
}

.site-footer .footer-bottom a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: 1.45;
  text-decoration: none;
  transition:
    color 420ms var(--ease),
    transform 520ms var(--ease);
}

.site-footer .footer-bottom a::after {
  display: none;
}

.site-footer .footer-bottom p:hover > span:not(:hover) {
  opacity: 0.48;
}

.site-footer .footer-bottom span:hover,
.site-footer .footer-bottom a:hover {
  color: #111;
  transform: translateY(-1px);
}

.site-footer .footer-bottom span + span::before {
  content: "|";
  margin-right: 10px;
  color: rgba(15, 15, 15, 0.24);
}

.site-footer .beian-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.site-footer .beian-link img {
  width: 1em;
  height: 1em;
  object-fit: contain;
}

@media (max-width: 900px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 620px) {
  .site-footer {
    padding: 64px 16px 34px;
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-footer .footer-bottom {
    padding-top: 24px;
  }

  .site-footer .footer-bottom p {
    display: grid;
    justify-items: center;
    gap: 12px;
    row-gap: 12px;
    text-align: center;
    line-height: 1.85;
  }

  .site-footer .footer-bottom span {
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    min-height: 1.85em;
  }

.site-footer .footer-bottom span + span::before {
  content: "";
  margin: 0;
}
}

/* 仅适配银龄e护首页配色；页尾结构、尺寸和排版保持不变。 */
.site-footer {
  background: #f3f6fa;
}
