/* BestDoors Core — Footer */

.bdc-site-footer {
  --bdc-ft-bg: #ffffff;
  --bdc-ft-text: #3a3a3a;
  --bdc-ft-heading: #1a1a1a;
  --bdc-ft-tagline: #b08d57;
  --bdc-ft-border: #e6e6e6;
  --bdc-ft-logo-h: 40px;
  background: var(--bdc-ft-bg);
  color: var(--bdc-ft-text);
  padding: 3.5rem 0 1.5rem;
  margin-top: auto;
  font-family: var(--bdc-font-family, system-ui, -apple-system, "Segoe UI", sans-serif);
}

.bdc-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.bdc-footer-grid {
  display: grid;
  gap: 2.5rem 2rem;
  align-items: start;
}

.bdc-footer-grid-4 {
  grid-template-columns: 1.2fr 1fr 1fr 1.1fr;
}

.bdc-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.bdc-footer-brand-link {
  text-decoration: none;
  color: inherit;
  line-height: 1;
}

.bdc-footer-brand-title {
  font-size: clamp(1.75rem, 2.4vw, 2.25rem);
  font-weight: 700;
  color: var(--bdc-ft-heading);
  letter-spacing: -0.02em;
}

.bdc-footer-logo {
  display: block;
  height: var(--bdc-ft-logo-h);
  max-height: var(--bdc-ft-logo-h);
  width: auto;
}

.bdc-footer-tagline {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bdc-ft-tagline);
  font-weight: 500;
}

.bdc-footer-heading {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--bdc-ft-heading);
}

.bdc-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.bdc-footer-menu a {
  color: var(--bdc-ft-text);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 400;
  transition: opacity 0.2s ease;
}

.bdc-footer-menu a:hover,
.bdc-footer-menu a:focus {
  opacity: 0.65;
}

.bdc-footer-aside {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.bdc-footer-social-list,
.bdc-footer-payments-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.bdc-footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bdc-ft-heading);
  text-decoration: none;
}

.bdc-footer-social-link:hover {
  opacity: 0.65;
}

.bdc-footer-pay {
  display: inline-flex;
  align-items: center;
  color: var(--bdc-ft-heading);
  line-height: 1;
}

.bdc-footer-bottom {
  margin-top: 2.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--bdc-ft-border);
}

.bdc-footer-copyright {
  margin: 0;
  font-size: 0.8125rem;
  color: #8a8a8a;
}

/* Centered */
.bdc-footer-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.bdc-footer-centered .bdc-footer-brand,
.bdc-footer-centered .bdc-footer-social,
.bdc-footer-centered .bdc-footer-payments {
  align-items: center;
}

.bdc-footer-inline-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
}

.bdc-footer-inline-menu a {
  color: var(--bdc-ft-text);
  text-decoration: none;
  font-size: 0.9375rem;
}

.bdc-footer-centered .bdc-footer-bottom,
.bdc-footer-minimal .bdc-footer-bottom {
  text-align: center;
}

/* Minimal */
.bdc-footer-minimal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.bdc-footer-minimal + .bdc-footer-bottom,
.bdc-footer-minimal ~ .bdc-footer-bottom {
  /* handled by structure */
}

@media (max-width: 900px) {
  .bdc-footer-grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .bdc-footer-grid-4 {
    grid-template-columns: 1fr;
  }

  .bdc-site-footer {
    padding-top: 2.5rem;
  }
}
