/* Footer 9 (vanilla port): sitemap + QR/TG/WA + MPSTARS — компактно, ровно */

.footer.footer-pro {
  position: relative;
  overflow: hidden;
  background: #080C16;
  color: rgba(255, 255, 255, .72);
  border-top: 0;
  padding: 0;
}
.footer.footer-pro::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 135, 79, .45), transparent);
}

/* Перебиваем инлайн .footer .wrap (flex + padding 28px) */
.footer.footer-pro .wrap {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px !important;
  gap: 0 !important;
  justify-content: unset !important;
  flex-wrap: unset !important;
  align-items: unset !important;
}

.footer.footer-pro .footer-pro-top {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 36px;
  align-items: start;
  padding-top: 36px !important;
  padding-bottom: 8px !important;
}

.footer-pro-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 24px;
  align-self: start;
}
.footer-pro-col h3 {
  margin: 0 0 10px;
  font-family: "Unbounded", "Onest", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #E2CFA6;
}
.footer-pro-col a,
.footer-pro-col button {
  display: block;
  width: fit-content;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
  font: inherit;
  font-size: 15px;
  line-height: 1.35;
  cursor: pointer;
  transition: color .2s;
}
.footer-pro-col a:last-child,
.footer-pro-col button:last-child { margin-bottom: 0; }
.footer-pro-col a:hover,
.footer-pro-col button:hover {
  color: #fff;
}

.footer-pro-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  min-width: 128px;
  align-self: start;
  margin: 0;
  padding: 0;
}
.footer-pro-qr {
  display: block;
  width: 128px;
  height: 128px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .55);
  transition: transform .25s ease;
}
.footer-pro-qr:hover { transform: translateY(-2px); }
.footer-pro-qr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.footer-pro-msg {
  display: flex;
  gap: 10px;
}
.footer-pro-msg a {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(226, 207, 166, .35);
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.footer-pro-msg a:hover {
  background: rgba(255, 255, 255, .08);
  transform: translateY(-2px);
  color: #fff;
}
.footer-pro-msg .brand-ic {
  font-size: 20px;
  line-height: 1;
}

.footer.footer-pro .footer-pro-mark {
  padding-top: 2px !important;
  padding-bottom: 0 !important;
  overflow: hidden;
  line-height: .78;
  user-select: none;
  pointer-events: none;
}
.footer-pro-mark span {
  display: block;
  width: 100%;
  max-width: 100%;
  font-family: "Unbounded", "Onest", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(44px, 11.5vw, 120px);
  letter-spacing: -.045em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  background: linear-gradient(180deg, rgba(255, 255, 255, .2) 0%, rgba(227, 230, 235, .09) 60%, rgba(180, 186, 196, .03) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: rgba(255, 255, 255, .14);
}

.footer.footer-pro .footer-pro-bar {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding-top: 4px !important;
  padding-bottom: 20px !important;
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
}
.footer-pro-bar a {
  color: rgba(255, 255, 255, .55);
  text-decoration: none;
}
.footer-pro-bar a:hover { color: #E2CFA6; }

@media (max-width: 900px) {
  .footer.footer-pro .footer-pro-top {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px 16px;
    align-items: start;
  }
  .footer-pro-aside {
    align-self: start;
    align-items: flex-end;
    flex-direction: column;
    gap: 12px;
    margin-left: 0;
    margin-right: 4px;
    padding-right: 2px;
  }
  .footer-pro-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-pro-mark span {
    font-size: clamp(34px, 10.5vw, 72px);
  }
  .footer.footer-pro .footer-pro-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

@media (max-width: 560px) {
  .footer.footer-pro .footer-pro-top {
    padding-top: 28px !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px 12px;
    align-items: start;
  }
  .footer-pro-cols { grid-template-columns: 1fr 1fr; gap: 16px 10px; }
  .footer-pro-aside {
    align-self: start;
    margin-left: 0;
    margin-right: 0;
    padding-right: 4px;
  }
  .footer-pro-qr { width: 100px; height: 100px; border-radius: 12px; }
  /* 7 букв Unbounded: ширина ≈ (100vw - паддинги) / 7.4 */
  .footer-pro-mark span {
    font-size: calc((100vw - 48px) / 7.4);
    letter-spacing: -.055em;
  }
  .footer.footer-pro .wrap { padding-left: 18px !important; padding-right: 22px !important; }
  .footer.footer-pro .footer-pro-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-bottom: 16px !important;
    font-size: 12px;
    line-height: 1.4;
  }
  .footer-pro-bar a {
    max-width: 100%;
    white-space: normal;
  }
}
