/* =====================================================================
   POG.VN – B12 CHÂN TRANG (mọi trang)
   Markup: template-parts/footer-main.php
   Phối màu: nền Navy đậm (#08163B – khối thương hiệu, khác Navy của khối B11 phía trên)
             · chữ trắng 70–90% · tiêu đề cột trắng có gạch Cam · link rê chuột Cam nhạt
             · dòng cuối nền tối hơn.
   Cập nhật: 2026-11-18 (B12). Chỉ dùng biến --pog-*.
   ===================================================================== */
.pog-ft {
  position: relative;
  background: var(--pog-navy-dark);
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--pog-font);
  font-size: 14px;
  line-height: 1.6;
}
.pog-ft::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pog-primary) 0%, var(--pog-primary) 30%, var(--pog-navy) 100%);
}
.pog-ft svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pog-ft a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  transition: color var(--pog-transition-fast);
}
.pog-ft a:hover {
  color: var(--pog-primary-light);
}
.pog-ft a:focus-visible {
  outline: 2px solid var(--pog-primary);
  outline-offset: 2px;
  border-radius: 4px;
}
.pog-ft ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.pog-ft__wrap {
  max-width: var(--pog-container);
  margin: 0 auto;
  padding: 0 var(--pog-gutter);
  box-sizing: border-box;
}
.pog-ft__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: var(--pog-space-6) var(--pog-space-7);
  padding: 56px 0 40px;
}

/* Cột 1 */
.pog-ft__logo img {
  display: block;
  width: auto;
  height: 32px;
  filter: brightness(0) invert(1); /* logo trắng trên nền tối */
}
.pog-ft__logo:hover img {
  filter: none;
}
.pog-ft__about {
  max-width: 380px;
  margin: 14px 0 18px;
  color: rgba(255, 255, 255, 0.72);
}
.pog-ft__legal {
  display: grid;
  gap: 6px;
  margin-bottom: 18px !important;
  font-size: 13.5px;
}
.pog-ft__legal span {
  color: rgba(255, 255, 255, 0.55);
}
.pog-ft__company {
  color: var(--pog-white);
  font-weight: var(--pog-fw-bold);
  font-size: 14.5px;
  letter-spacing: 0.01em;
}
.pog-ft__bct {
  display: inline-block;
  padding: 6px 10px;
  border-radius: var(--pog-radius-md);
  background: var(--pog-white);
}
.pog-ft__bct img {
  display: block;
  width: 132px;
  height: auto;
}

/* Cột liên kết */
.pog-ft__heading {
  position: relative;
  margin: 4px 0 18px;
  padding-bottom: 10px;
  color: var(--pog-white);
  font-size: 15px;
  font-weight: var(--pog-fw-bold);
}
.pog-ft__heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--pog-primary);
}
.pog-ft__col li + li {
  margin-top: 10px;
}
.pog-ft__col li a {
  display: inline-block;
}
.pog-ft__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.pog-ft .pog-ft__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--pog-radius-full);
  color: var(--pog-white);
  font-size: 13px;
  font-weight: var(--pog-fw-semibold);
}
.pog-ft .pog-ft__chip:hover {
  border-color: var(--pog-primary);
  background: var(--pog-primary);
  color: var(--pog-white);
}
.pog-ft .pog-ft__chip--call {
  border-color: var(--pog-primary);
  background: var(--pog-primary);
}
.pog-ft .pog-ft__chip--call:hover {
  background: var(--pog-primary-hover);
}
.pog-ft__chip svg {
  width: 15px;
  height: 15px;
  stroke-width: 2;
}

/* Dòng cuối */
.pog-ft__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.18);
}
.pog-ft__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
}
.pog-ft__bottom p {
  margin: 0;
}
.pog-ft__pay span {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--pog-radius-full);
  color: rgba(255, 255, 255, 0.85);
}

.pog-ft .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* =====================================================================
   KHỔ MÀN HÌNH
   ===================================================================== */
@media (max-width: 1100px) {
  .pog-ft__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .pog-ft__brand {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0 var(--pog-space-7);
    align-items: start;
  }
  .pog-ft__logo,
  .pog-ft__about {
    grid-column: 1;
  }
  .pog-ft__legal {
    grid-column: 2;
    grid-row: 1 / span 3;
  }
  .pog-ft__bct {
    grid-column: 1;
    justify-self: start;
  }
}
@media (max-width: 768px) {
  .pog-ft__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--pog-space-6) var(--pog-space-5);
    padding: 40px 0 28px;
  }
  .pog-ft__brand {
    display: block;
  }
  .pog-ft__col:last-child {
    grid-column: 1 / -1;
  }
  .pog-ft__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 400px) {
  .pog-ft__grid {
    grid-template-columns: 1fr;
  }
  .pog-ft__pay span {
    margin: 4px 6px 0 0;
  }
}
/* Chừa chỗ cho thanh điều hướng dưới trên điện thoại (09-bottom-nav) */
@media (max-width: 992px) {
  .pog-ft__bottom-inner {
    padding-bottom: 20px;
  }
}
