

.ba-hero {
  padding: 148px 0 72px;
  background: var(--ivory-2);
  border-bottom: 1px solid var(--line);
}
.ba-quaylai {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .88rem; color: var(--muted);
  margin-bottom: 1.6rem;
  transition: color .2s;
}
.ba-quaylai::before { content: "←"; }
.ba-quaylai:hover { color: var(--gold-dark); }

.ba-hero h1 { font-size: clamp(2.6rem, 5.6vw, 4rem); font-weight: 400; letter-spacing: -.012em; margin-bottom: 1.15rem; }
.ba-mota { font-size: 1.05rem; color: var(--muted); max-width: 62ch; }

.ba-so {
  display: flex; flex-wrap: wrap; gap: 40px;
  margin-top: 2.4rem; padding-top: 2rem;
  border-top: 1px solid var(--line);
  list-style: none;
}
.ba-so li { display: flex; flex-direction: column; }
.ba-so strong { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; line-height: 1.1; }
.ba-so span { font-size: .82rem; color: var(--muted-2); }

.ba-chon {
  padding: 34px 0 30px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 40;
}
.ba-chon .eyebrow { margin-bottom: .9rem; }
.ba-chon-luoi {
  display: flex; gap: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  scrollbar-width: thin;
}
.ba-chon-luoi a {
  flex: 0 0 auto;
  display: flex; align-items: center; gap: 11px;
  padding: 7px 16px 7px 7px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--ivory);
  transition: border-color .22s, background .22s, transform .22s;
}

.ba-chon-luoi a:hover { border-color: var(--gold); background: #2E3D37; transform: translateY(-2px); }
.ba-chon-luoi img {
  width: 42px; height: 42px; flex: none;
  border-radius: 50%; object-fit: cover;
}
.ba-chon-luoi span { display: flex; flex-direction: column; line-height: 1.25; white-space: nowrap; }
.ba-chon-luoi strong { font-size: .92rem; font-weight: 500; color: var(--ink); }
.ba-chon-luoi em { font-style: normal; font-size: .78rem; color: var(--muted-2); }

.ba-lentren { text-align: center; margin: 28px 0 0; }
.ba-lentren a {
  font-size: .86rem; color: var(--muted);
  padding: 8px 18px; border: 1px solid var(--line); border-radius: 100px;
  display: inline-block; transition: border-color .2s, color .2s;
}
.ba-lentren a:hover { color: var(--gold-dark); border-color: var(--gold); }

.ba-chon ~ .section { scroll-margin-top: 96px; }

.ba-luoi {
  columns: 4;
  column-gap: 14px;
  padding-block: 52px 4px;
  --rong-that: calc(100vw - var(--sb, 0px));
  width: var(--rong-that);
  max-width: none;
  margin-inline: calc(50% - var(--rong-that) / 2);
  padding-inline: clamp(10px, 2.2vw, 30px);
}

@media (max-width: 1100px) { .ba-luoi { columns: 3; } }
.ba-luoi figure {
  margin: 0 0 14px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--ivory-2);
  cursor: zoom-in;
  position: relative;
  
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.15s cubic-bezier(.22,.61,.36,1),
              transform 1.15s cubic-bezier(.22,.61,.36,1);
}
.ba-luoi figure.hien { opacity: 1; transform: none; }

.ba-luoi img {
  width: 100%;
  height: auto;          
  display: block;
  transition: transform .5s;
}
.ba-luoi figure:hover img { transform: scale(1.03); }
.ba-luoi figure::after {
  content: "⤢";
  position: absolute; top: 12px; right: 12px;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(28,25,23,.6); color: #fff; font-size: .85rem;
  opacity: 0; transition: opacity .25s;
}
.ba-luoi figure:hover::after { opacity: 1; }

.ba-luoi.cat-trang {
  columns: 2;
  column-gap: 20px;
  width: auto;
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
  padding-block: 34px 4px;
}

.ba-luoi.cat-trang figure {
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid var(--line);
}
@media (max-width: 900px) {
  .ba-luoi.cat-trang { columns: 1; column-gap: 0; padding-block: 24px 4px; }
  .ba-luoi.cat-trang figure { margin-bottom: 14px; }
}

.ba-xem {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(18,16,15,.96);
  display: none;
  align-items: center; justify-content: center;
}
.ba-xem.mo { display: flex; }
.ba-xem img {
  max-width: 92vw; max-height: 88vh;
  object-fit: contain;
  border-radius: 2px;
  animation: baHien .3s ease;
}
@keyframes baHien { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }

.ba-nut {
  position: absolute;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%;
  font-size: 1.3rem; line-height: 1;
  display: grid; place-items: center;
  transition: background .2s;
}
.ba-nut:hover { background: rgba(255,255,255,.22); }
.ba-dong { top: 24px; right: 24px; }
.ba-truoc { left: 24px; top: 50%; transform: translateY(-50%); }
.ba-sau { right: 24px; top: 50%; transform: translateY(-50%); }

.ba-dem {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.7); font-size: .88rem;
  background: rgba(0,0,0,.4); padding: 7px 16px; border-radius: 100px;
}

.ba-cta {
  text-align: center;
  padding: 64px 0 88px;
  border-top: 1px solid var(--line);
}
.ba-cta h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: .9rem; }
.ba-cta p { color: var(--muted); max-width: 52ch; margin-inline: auto; }
.ba-cta .hero-actions { justify-content: center; margin-top: 1.8rem; }

@media (max-width: 900px) {
  .ba-hero { padding: 100px 0 38px; }

  .ba-chon { padding: 12px 0 10px; }
  .ba-chon .eyebrow { display: none; }
  .ba-chon-luoi { gap: 8px; }
  .ba-chon-luoi a { padding: 5px 13px 5px 5px; gap: 8px; }
  .ba-chon-luoi img { width: 32px; height: 32px; }
  .ba-chon-luoi strong { font-size: .84rem; }
  .ba-chon-luoi em { font-size: .72rem; }
  .ba-chon ~ .section { scroll-margin-top: 72px; }
  .ba-luoi { columns: 2; column-gap: 10px; padding-block: 30px 4px; }
  .ba-luoi figure { margin-bottom: 10px; }
  .ba-so { gap: 24px; }
  .ba-so strong { font-size: 1.6rem; }

  .ba-nut { width: 52px; height: 52px; font-size: 1.5rem; }
  .ba-dong { top: 14px; right: 14px; }
  .ba-truoc, .ba-sau { top: auto; bottom: 26px; transform: none; }
  .ba-truoc { left: 20px; } .ba-sau { right: 20px; }
  .ba-dem { bottom: 40px; }
  .ba-xem img { max-width: 100vw; max-height: 78vh; }
}
@media (max-width: 330px) {
  .ba-luoi { columns: 1; }
}

.ba-luoi.ba-luoi--tk { columns: 3; }
@media (max-width: 900px) { .ba-luoi.ba-luoi--tk { columns: 2; } }
@media (max-width: 330px) { .ba-luoi.ba-luoi--tk { columns: 1; } }
.ba-usp {
  margin-top: 1rem; padding-left: 14px;
  border-left: 2px solid var(--gold);
  color: var(--ink-2); font-size: .98rem;
}
.ba-lentren a + a { margin-left: 8px; }
.ba-ket {
  font-family: var(--serif); font-style: italic;
  font-size: 1.35rem; color: var(--gold-dark) !important;
  margin-top: 1rem;
}
