/* Footer (partials/v2/footer) — nạp ở mọi trang công khai.
   Selector 2 class để thắng rule nền `footer`/`.site-footer` của landing.css và chrome.css (nạp sau file này). */
.site-footer.footer-compact {
  padding: 0 0 env(safe-area-inset-bottom);
  background: var(--ink, #1a2129);
  color: #fff;
}
.site-footer.footer-compact a { color: #c7d0d8; text-decoration: none; }
.site-footer.footer-compact a:hover { color: #8fb8ef; }
.site-footer.footer-compact a:focus-visible { outline: 3px solid #1c69d4; outline-offset: 3px; }
/* landing.css tô mọi p màu muted, chìm trên nền tối. :where giữ độ ưu tiên thấp để màu riêng từng đoạn bên dưới thắng. */
.site-footer.footer-compact :where(p) { margin: 0; color: inherit; }

/* Hai cột: thương hiệu co giãn bên trái, liên hệ ôm nội dung bên phải (menu đã có ở header). */
.footer-compact .footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 56px;
  padding-block: 20px 16px;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
}
.footer-compact .footer-top .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 750; /* như chữ logo ở header */
  letter-spacing: -.04em;
}
.footer-compact .footer-brand img { display: block; width: 36px; height: auto; }
.footer-compact .footer-slogan { max-width: 24em; margin-top: 6px; color: #c7d0d8; font-size: 1.0625rem; line-height: 1.5; }
.footer-compact .footer-social { display: flex; flex-wrap: wrap; column-gap: 20px; margin-top: 8px; }

/* Tiêu đề cột chỉ dành cho trình đọc màn hình — số điện thoại / Zalo / email tự nói lên nội dung. */
.footer-compact .footer-heading { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.footer-compact .footer-channels a,
.footer-compact .footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  font-size: 1rem;
}
.footer-compact .footer-channels { display: flex; flex-wrap: wrap; align-items: center; column-gap: 22px; }
.footer-compact .footer-channels .footer-phone { color: #fff; font-size: 1.25rem; font-weight: 700; }
.footer-compact .footer-address { max-width: 26em; margin-top: 2px; color: #aebbc6; font-size: .9375rem; line-height: 1.5; }

/* Dải cuối: bản quyền trái, "Về đầu trang" phải. */
.footer-compact .footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 24px;
  padding-block: 0;
  color: #aebbc6;
  font-size: .875rem;
  line-height: 1.5;
}
.footer-compact .footer-meta .footer-top-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #aebbc6;
}

/* Màn cảm ứng: đủ chỗ bấm 44px. */
@media (pointer: coarse) {
  .footer-compact :is(.footer-channels, .footer-social) a { min-height: 44px; }
}

/* Máy tính bảng hẹp / điện thoại: một cột, thương hiệu trên, liên hệ dưới. */
@media (max-width: 760px) {
  .footer-compact .footer-top { grid-template-columns: minmax(0, 1fr); row-gap: 6px; padding-block: 16px 12px; }
  .footer-compact .footer-top .footer-brand { font-size: 1.375rem; }
  .footer-compact .footer-slogan { margin-top: 0; font-size: 1rem; }
  .footer-compact .footer-channels { column-gap: 20px; }
  .footer-compact .footer-channels .footer-phone { font-size: 1.125rem; }
}
