/* Footer chrome + the site-wide pre-footer band. Enqueued globally.

   The footer body sits on the page background (white), like the old one — only
   the legal bar takes the brand blue. */

.beechlynette-prefooter {
  background: var(--beechlynette-brand);
  color: var(--beechlynette-text-invert);
  padding-block: clamp(36px, 5vw, 64px);
}
.beechlynette-prefooter__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.beechlynette-prefooter h2 { margin: 0 0 .25em; color: inherit; }
.beechlynette-prefooter p { margin: 0; opacity: .9; }
.beechlynette-prefooter .beechlynette-btn { background: var(--beechlynette-brand-dark); color: var(--beechlynette-text-invert); }

.beechlynette-footer {
  background: var(--beechlynette-bg);
  color: var(--beechlynette-text);
  border-top: 2px solid var(--beechlynette-brand);
  padding-top: clamp(32px, 4vw, 56px);
}
.beechlynette-footer a:not(.beechlynette-btn) { color: inherit; text-decoration: none; }

.beechlynette-footer__inner {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-bottom: clamp(28px, 3.5vw, 48px);
}

/* Column 1 — the two pill buttons, stacked and centred, as before. */
.beechlynette-footer__contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.beechlynette-footer__contact .beechlynette-btn { text-align: center; }

/* Column 2 — logo. */
.beechlynette-footer__brand { text-align: center; }
.beechlynette-footer__brand img { max-height: 130px; width: auto; margin-inline: auto; }
.beechlynette-footer__name { font-size: 1.2rem; font-weight: 700; color: var(--beechlynette-text-heading); }
.beechlynette-footer__tagline { margin-top: 14px; max-width: 34ch; margin-inline: auto; }

/* Column 3 — vertical nav, underlined like the header's current item. */
.beechlynette-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.beechlynette-footer__list a {
  display: block;
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  color: var(--beechlynette-text-muted);
  font-size: 1.0625rem;
}
.beechlynette-footer__list a:hover { color: var(--beechlynette-accent); }
.beechlynette-footer__list .current-menu-item > a,
.beechlynette-footer__list .current_page_item > a {
  color: var(--beechlynette-accent);
  border-bottom-color: var(--beechlynette-accent);
}

.beechlynette-social { display: flex; justify-content: center; gap: 12px; margin-top: 8px; }
.beechlynette-social__link {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--beechlynette-border);
  color: var(--beechlynette-accent);
  transition: background .2s var(--beechlynette-ease), color .2s var(--beechlynette-ease);
}
.beechlynette-social__link:hover { background: var(--beechlynette-accent); color: var(--beechlynette-text-invert); }

.beechlynette-footer__legal {
  background: var(--beechlynette-brand-dark);
  color: var(--beechlynette-text-invert);
  padding-block: 16px;
  text-align: center;
  font-size: .95rem;
}
.beechlynette-footer__legal p { margin: 0; }
.beechlynette-footer__legal a { text-decoration: none; }
.beechlynette-footer__legal a:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .beechlynette-footer__inner { grid-template-columns: 1fr; justify-items: center; gap: 28px; }
  .beechlynette-footer__nav { width: 100%; max-width: 320px; }
  .beechlynette-footer__list { justify-items: center; }
  .beechlynette-footer__list a { text-align: center; }
}

.beechlynette-footer__brand .custom-logo-link { display: inline-block; }
.beechlynette-footer__brand .custom-logo { max-height: 130px; width: auto; }
