/* Footer (2026-12-02 redesign) — one navy ocean band (red top line; its background is set in marine-theme.css
   .footer-band), two columns inside the page .container:
   left  = company block: legal name, tax code, "Đã thông báo Bộ Công Thương" badge (required, template §10);
   right = "Contact" heading + the five contact links in a tidy 2-column grid.
   Tablet: same two columns, closer. Phone: one centred column. */
.site-footer { padding: 0; }
.footer-band { border-top: 3px solid var(--hyperion-red, #e63720); color: #fff; }

.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 32px 64px; padding-block: 40px; }

/* Company block */
.footer-legal { display: grid; justify-items: start; gap: 16px; min-width: 0; }
.footer-company { margin: 0; display: grid; gap: 4px; }
.footer-company-name { color: #fff; font-size: 16px; line-height: 1.5; font-weight: 600; }
.footer-tax { color: rgb(255 255 255 / 72%); font-size: 14px; line-height: 1.5; white-space: nowrap; font-variant-numeric: tabular-nums; }
.footer-badge { display: inline-flex; border-radius: 6px; }
.footer-badge img { display: block; width: auto; height: 44px; }
.footer-badge:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

/* Contacts */
.footer-contact { display: grid; gap: 16px; }
.footer-title { margin: 0; color: #ff8a73; font-size: 14px; line-height: 1.5; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { display: grid; grid-template-columns: repeat(2, max-content); gap: 12px 40px; }
a.footer-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 0; padding: 0;
  color: #fff; font-size: 16px; line-height: 1.5; font-weight: 600; text-decoration: none; white-space: nowrap;
}
a.footer-link:hover { text-decoration: underline; text-underline-offset: 3px; }
a.footer-link:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 2px; }
.footer-link-icon { display: flex; flex: none; width: 20px; height: 20px; color: #ff8a73; }
.footer-link-icon svg { width: 100%; height: 100%; }
img.footer-link-icon { border-radius: 5px; }

@media (max-width: 1023.98px) {
  .footer-grid { gap: 24px 32px; }
  .footer-links { gap: 12px 24px; }
}
@media (max-width: 767.98px) {
  .footer-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 24px; padding-block: 32px; }
  .footer-legal { justify-items: center; }
  .footer-contact { justify-items: center; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 12%); width: 100%; }
  .footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; } /* wraps freely on narrow phones */
  a.footer-link { min-height: 32px; } /* comfortable tap target */
}
