.site-footer-anchor {
  display: block;
  height: 0;
  visibility: hidden;
  scroll-margin-top: 132px;
}

.site-footer-shell {
  background: #fcc92c;
  color: #6e3d2f;
}

.site-footer-frame {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 28px;
}

.site-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(180px, 0.72fr) auto;
  gap: 36px 54px;
  align-items: center;
  min-height: clamp(220px, 24vw, 248px);
  padding: 38px 0 34px;
}

.site-footer-brand {
  display: grid;
  justify-items: start;
  gap: 16px;
}

.site-footer-logo-link {
  display: inline-flex;
  width: fit-content;
}

.site-footer-logo {
  display: block;
  width: auto;
  height: 56px;
}

.site-footer-brand-desc {
  max-width: 540px;
  margin: 0;
  font-size: 17px;
  line-height: 1.76;
  color: rgba(110, 61, 47, 0.9);
}

.site-footer-meta-list,
.site-footer-nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer-meta-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.site-footer-meta-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(110, 61, 47, 0.92);
}

.site-footer-meta-label {
  font-weight: 600;
}

.site-footer-meta-link,
.site-footer-meta-text {
  color: inherit;
}

.site-footer-meta-link {
  transition: opacity 0.2s ease;
}

.site-footer-meta-link:hover {
  opacity: 0.68;
}

.site-footer-nav {
  justify-self: center;
  align-self: center;
  margin-top: 18px;
}

.site-footer-nav-list {
  display: grid;
  gap: 2px;
}

.site-footer-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 2px 2px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: #6e3d2f;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-footer-nav-link::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 4px;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.72);
  transform-origin: left center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-footer-nav-link:hover {
  opacity: 0.84;
}

.site-footer-nav-link:hover::after,
.site-footer-nav-link:focus-visible::after {
  opacity: 0.72;
  transform: scaleX(1);
}

.site-footer-qr-group {
  display: grid;
  grid-auto-flow: column;
  gap: 14px;
  align-items: start;
  justify-self: end;
  align-self: center;
  margin-top: 18px;
}

.site-footer-qr-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin: 0;
  text-align: center;
}

.site-footer-qr-image {
  display: block;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 26px rgba(110, 61, 47, 0.08);
}

.site-footer-qr-caption {
  font-size: 14px;
  line-height: 1.4;
  color: rgba(110, 61, 47, 0.9);
}

.site-footer-record-bar {
  background: #fed75e;
}

.site-footer-record-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  min-height: 42px;
  padding-top: 0;
  padding-bottom: 0;
  font-size: 13px;
  color: rgba(110, 61, 47, 0.78);
}

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

  .site-footer-main {
    justify-items: start;
    gap: 28px;
    min-height: 0;
    padding: 34px 0 30px;
  }

  .site-footer-nav,
  .site-footer-qr-group {
    justify-self: start;
    margin-top: 0;
  }

  .site-footer-qr-group {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 120px));
  }
}

@media (max-width: 720px) {
  .site-footer-brand-desc,
  .site-footer-nav-link {
    font-size: 14px;
  }

  .site-footer-frame {
    padding: 0 16px;
  }

  .site-footer-main {
    gap: 24px;
    padding: 30px 0 26px;
  }

  .site-footer-logo {
    height: 50px;
  }

  .site-footer-brand-desc,
  .site-footer-nav-link,
  .site-footer-meta-item,
  .site-footer-qr-caption {
    font-size: 14px;
  }

  .site-footer-nav-link {
    min-height: 24px;
  }

  .site-footer-qr-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 14px 12px;
  }

  .site-footer-qr-image {
    width: min(100%, 124px);
    height: auto;
    aspect-ratio: 1;
  }

  .site-footer-record-inner {
    min-height: 40px;
    font-size: 12px;
  }
}
