:root {
  --bc-footer-bg: #f7f7f7;
  --bc-footer-text: #111111;
  --bc-footer-muted: rgba(17, 17, 17, 0.78);
  --bc-footer-border: rgba(0, 0, 0, 0.06);
}

.bc-footer {
  background: var(--bc-footer-bg);
  color: var(--bc-footer-text);
  border-top: 1px solid var(--bc-footer-border);
}

.bc-footer__inner {
  max-width: var(--container-width, 1200px);
  margin: 0 auto;
  padding: 44px 24px 20px;
}

.bc-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 44px;
}

.bc-footer h4 {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--bc-footer-text);
}

.bc-footer a {
  color: var(--bc-footer-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.bc-footer a:hover,
.bc-footer a:focus-visible {
  color: #bfa14a;
}

.bc-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.bc-footer__pill {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--bc-footer-border);
  border-radius: 8px;
  color: var(--bc-footer-text);
  font-weight: 600;
}

.bc-footer__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  color: var(--bc-footer-muted);
}

.bc-footer__contacts {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.bc-footer__contacts .bc-footer__phone {
  margin-top: 0;
}

.bc-footer__phone svg {
  width: 18px;
  height: 18px;
}

.bc-footer__social {
  margin-top: 34px;
}

.bc-footer__social-title {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 600;
}

.bc-footer__social-links {
  display: flex;
  gap: 14px;
}

.bc-social {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--bc-footer-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bc-footer-text);
  transition: all 0.3s ease;
}

.bc-social:hover,
.bc-social:focus-visible {
  color: #bfa14a;
  border-color: rgba(191, 161, 74, 0.35);
}

.bc-social svg {
  width: 20px;
  height: 20px;
}

.bc-payments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
}

.bc-payment {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bc-payment img {
  height: 34px;
  width: auto;
  display: block;
}

.bc-payment__fallback {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--bc-footer-muted);
}

.bc-footer__bottom {
  border-top: 1px solid var(--bc-footer-border);
  margin-top: 34px;
  padding-top: 16px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

@media (max-width: 1024px) {
  .bc-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .bc-footer__inner {
    padding: 34px 18px 18px;
  }

  .bc-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
