.zp-footer {
  margin-top: var(--space-8);
  border-top: 1px solid rgba(47, 16, 21, 0.1);
  background: #ffffff;
}

.zp-footer__inner {
  display: grid;
  gap: var(--space-8);
  padding: var(--space-8) var(--space-6) var(--space-6);
  border-bottom: 1px solid rgba(47, 16, 21, 0.08);
}

.zp-footer__brand {
  display: flex;
  gap: 18px;
  align-items: center;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.zp-footer__mark {
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  background: #fff;
}

.zp-footer__name {
  font-weight: 820;
  letter-spacing: -0.02em;
  font-size: 1.35rem;
  color: #18070a;
}

.zp-footer__tag {
  color: #6b454a;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.zp-footer__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 6vw, 48px);
}

.zp-footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.zp-footer__h {
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #5f1a22;
  position: relative;
  padding-bottom: 6px;
}

.zp-footer__h::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: #8a121d;
}

.zp-footer__a {
  text-decoration: none;
  color: #45252a;
  padding: 6px 0;
  border-bottom: 1px solid rgba(47, 16, 21, 0.08);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.zp-footer__a:hover {
  color: #8a121d;
  border-color: #8a121d;
}

.zp-footer__top {
  border: 2px solid #8a121d;
  background: #ffffff;
  color: #8a121d;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 780;
  align-self: flex-start;
}

.zp-footer__top:hover {
  background: #8a121d;
  color: #ffffff;
}

.zp-footer__bar {
  border-top: 1px solid rgba(47, 16, 21, 0.08);
  padding: 14px 0;
  background: #faf6f7;
}

.zp-footer__barInner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.zp-footer__fine {
  color: #6b454a;
  font-size: 0.9rem;
}

.zp-footer__scrollTop {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid #8a121d;
  background: #ffffff;
  color: #8a121d;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  z-index: 200;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.zp-footer__scrollTop:hover {
  background: #8a121d;
  color: #ffffff;
  transform: translateY(-2px);
}

.zp-footer__scrollIcon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid currentColor;
  position: relative;
}

.zp-footer__scrollIcon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 45%;
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.zp-footer__scrollIcon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 2px;
  height: 8px;
  background: currentColor;
  transform: translateX(-50%);
}

@media (max-width:992px){
  .zp-footer__inner{
    grid-template-columns:1fr;
    gap:40px;
    padding: var(--space-6) var(--space-4);
  }
  .zp-footer__cols{
    grid-template-columns:repeat(2,minmax(0,1fr));
    border-left:none;
    padding-left:0;
  }
}
@media (max-width:680px){
  .zp-footer__cols{grid-template-columns:1fr;gap:32px}
  .zp-footer__brand{flex-direction:column;gap:12px}
  .zp-footer__barInner{flex-direction:column;align-items:center;text-align:center;gap:12px}
}

