/**
 * Harvest — Footer (C6).
 *
 * Surface footer: brand + link columns + newsletter, then a bordered bottom bar.
 * Desktop 4-column grid → tablet 2-col → mobile stacked. Token-driven.
 */

/* Core footer container — the same N-3 alignment case as `.header.content`; see the long
   note in _header.css. Magento's own container (ownership probe: `owner: null`), sized only
   by Blank at `max-width: 1280px`, and genuinely visible — 1280x262 with 24 visible
   descendants (the newsletter signup and the policy links). Its edges must land on the page
   body's, or the widened content column leaves the footer visibly inset. */
.page-footer .footer.content,
.page-wrapper .footer.content {
  max-width: var(--hrv-container);
  padding-left: var(--hrv-page-pad);
  padding-right: var(--hrv-page-pad);
}

.hrv-footer {
  background: var(--hrv-surface);
  border-top: 1px solid var(--hrv-border);
  margin-top: 64px;
}
.hrv-footer-inner {
  max-width: var(--hrv-container);
  margin-inline: auto;
  padding: 48px var(--hrv-page-pad);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 40px;
}

.hrv-footer-logo {
  font-family: var(--hrv-font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--hrv-text);
  margin-bottom: 12px;
}
.hrv-footer-tagline {
  font-size: 13px;
  line-height: 1.6;
  color: var(--hrv-text-muted);
  margin: 0 0 12px;
  max-width: 34ch;
}

.hrv-footer-col { display: flex; flex-direction: column; }
.hrv-footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hrv-text);
  margin-bottom: 14px;
}
.hrv-footer-col > a {
  font-size: 13.5px;
  color: var(--hrv-text-muted);
  text-decoration: none;
  padding: 5px 0;
}
.hrv-footer-col > a:hover { color: var(--hrv-accent); }

.hrv-footer-newsletter { margin-top: 4px; }

/* Bottom bar. */
.hrv-footer-bar {
  border-top: 1px solid var(--hrv-border);
}
.hrv-footer-bar-inner {
  max-width: var(--hrv-container);
  margin-inline: auto;
  padding: 20px var(--hrv-page-pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 12.5px;
  color: var(--hrv-text-muted);
}
.hrv-footer-bar-links { display: flex; gap: 22px; align-items: center; }
.hrv-footer-bar-links a { color: inherit; text-decoration: none; }
.hrv-footer-bar-links a:hover { color: var(--hrv-accent); }

/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
  .hrv-footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .hrv-footer { margin-top: 40px; }
  .hrv-footer-inner { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; padding-bottom: 36px; }
  .hrv-footer-bar-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
}
