/* =========================================
   Footer（共享组件）
   ========================================= */

.footer {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.footer__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 64px 64px 32px;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  width: 100%;
}

.footer__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}

.footer__studio {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__company {
  font-family: var(--font-inter-tight);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-black);
}

.footer__address {
  font-family: var(--font-inter-tight);
  font-size: 14px;
  line-height: 20px;
  color: var(--color-black);
}

.footer__legal {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  font-weight: 500;
  font-size: 16px;
  color: var(--color-black);
  white-space: nowrap;
}

.footer__legal-link:hover {
  opacity: 0.7;
}

.footer__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-grey-secondary);
  font-weight: 300;
  white-space: nowrap;
}

.footer__tagline,
.footer__copy {
  font-size: 13px;
  line-height: normal;
}

.footer__brand {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
}

.footer__brand-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.footer__brand-text {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  font-family: var(--font-inter-tight);
  font-weight: 700;
  font-size: 450px;
  line-height: normal;
  color: var(--color-white);
  white-space: nowrap;
  pointer-events: none;
}

@media (max-width: 1440px) {
  .footer__brand {
    height: 280px;
  }

  .footer__brand-text {
    font-size: 320px;
  }
}

/* =========================================
   H5 Footer
   Figma Footer 387:8574（390×360）
   仅影响移动端，不改 PC 样式
   ========================================= */

@media (max-width: 768px) {
  .footer__info {
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.24rem;
    min-height: 2.4rem;
    height: auto;
    padding: 0.31rem 0.2rem 0.25rem;
    border-top: 1px solid var(--color-border);
  }

  .footer__row {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.32rem;
    width: 100%;
  }

  .footer__studio {
    gap: 0.1rem;
    width: 100%;
  }

  .footer__company {
    width: 2.6rem;
    max-width: 100%;
    font-family: var(--font-inter-tight);
    font-size: 0.16rem;
    font-weight: 700;
    line-height: 0.22rem;
    color: var(--color-black);
  }

  .footer__address {
    width: 2.2rem;
    max-width: 100%;
    font-family: var(--font-inter-tight);
    font-size: 0.13rem;
    font-weight: 400;
    line-height: 0.2rem;
    color: var(--color-grey-secondary);
  }

  .footer__legal {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    min-height: 0.18rem;
    gap: 0;
    overflow: hidden;
    font-family: var(--font-sans);
    font-size: 0.14rem;
    font-weight: 500;
    line-height: normal;
    color: var(--color-black);
    white-space: nowrap;
  }

  .footer__legal-link {
    flex-shrink: 0;
  }

  .footer__meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.04rem;
    width: 100%;
    color: var(--color-grey-secondary);
    font-family: var(--font-sans);
    font-weight: 400;
    white-space: normal;
    text-align: center;
  }

  .footer__tagline {
    width: 100%;
    font-size: 0.13rem;
    line-height: 0.18rem;
    white-space: normal;
    text-align: center;
  }

  .footer__copy {
    width: 100%;
    font-size: 0.13rem;
    line-height: 0.16rem;
    white-space: normal;
    text-align: center;
  }

  .footer__brand {
    height: 1.2rem;
    min-height: 1.2rem;
    background: none;
    overflow: hidden;
  }

  .footer__brand-bg {
    background: none;
    box-shadow: none;
    filter: none;
    mix-blend-mode: normal;
    opacity: 1;
    object-fit: cover;
    object-position: center bottom;
  }

  .footer__brand-text {
    top: 0.48rem;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    font-family: var(--font-inter-tight);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 0.92rem;
    color: var(--color-white);
    text-align: center;
    white-space: nowrap;
  }
}

