/* T-134 Vòng 4, 4B, 4C & Vòng 5: Trang chủ 4 cửa, Hành trình CSMO và 3 trang Demo nhà tài trợ */
html.v4-page, body.v4-page {
  width: 100%; height: auto; min-height: 100%; overflow-x: hidden; overflow-y: auto;
  background: var(--night); color: var(--ink);
}
.v4-hero { position: relative; width: 100%; height: 100vh; min-height: 560px; overflow: hidden; background: var(--night); }
.csmo-stage.v4-hero .scrim-sides { display: none !important; background: none !important; }
@media (max-width: 820px), (orientation: portrait) {
  .csmo-stage.v4-hero > header, .csmo-stage.v4-hero > header span { color: rgba(255, 255, 255, 0.96); }
}

.v4-wrap { max-width: 1240px; margin: 0 auto; padding: clamp(36px, 6vw, 72px) clamp(18px, 4vw, 48px) 84px; }
.v4-nav {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px;
  padding-bottom: 22px; margin-bottom: clamp(28px, 4vw, 46px); border-bottom: 1px solid var(--hair);
}
.v4-nav a { color: var(--soft); text-decoration: none; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.v4-nav a.brand { color: var(--ink); font-weight: 500; letter-spacing: 0.22em; }
.v4-nav-links { display: flex; flex-wrap: wrap; gap: 16px; }
.v4-eyebrow { display: block; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; color: var(--soft); margin-bottom: 10px; }
.v4-h1 { font-family: var(--disp); font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; font-size: clamp(22px, 3vw, 38px); line-height: 1.18; color: var(--ink); }
.v4-h2 { font-family: var(--disp); font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; font-size: clamp(17px, 2vw, 24px); line-height: 1.24; color: var(--ink); margin-bottom: 16px; }
.v4-lead { font-size: clamp(15px, 1.35vw, 18px); color: var(--soft); line-height: 1.6; max-width: 66ch; margin-top: 10px; }

.v4-doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 959px) { .v4-doors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .v4-doors { grid-template-columns: 1fr; } }
.v4-door {
  position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: 10px; border: 1px solid var(--hair); background: #0C203E; color: var(--ink); text-decoration: none;
}
.v4-door img { position: absolute; left: 0; top: -4%; width: 100%; height: auto; min-height: 104%; object-fit: cover; object-position: 50% 18%; }
.v4-door::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 20, 40, 0) 0%, rgba(8, 20, 40, 0.06) 34%, rgba(8, 20, 40, 0.78) 52%, rgba(8, 20, 40, 0.92) 68%, rgba(8, 20, 40, 0.97) 100%);
}
.v4-door-txt { position: absolute; inset: auto 18px 18px 18px; z-index: 2; display: flex; flex-direction: column; gap: 5px; }
.v4-door-eb { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.92); }
.v4-door-t { font-family: var(--disp); font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; font-size: clamp(15px, 1.35vw, 18px); line-height: 1.24; }
.v4-door-p { font-size: 13.5px; color: rgba(255, 255, 255, 0.92); }
.v4-door-go { font-size: 12px; color: var(--ink); margin-top: 6px; font-weight: 400; }

.v4-sec { margin-top: clamp(38px, 5vw, 60px); }
.v4-pill {
  display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px;
  font-size: 11px; letter-spacing: 0.06em; white-space: nowrap; border: 1px solid var(--hair); color: var(--soft);
}
.v4-pill.live { border-color: rgba(255, 255, 255, 0.64); color: var(--ink); font-weight: 400; }

.v4-table-box { width: 100%; overflow-x: auto; }
.v4-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.v4-tbl th, .v4-tbl td { text-align: left; vertical-align: top; padding: 13px 12px; border-bottom: 1px solid var(--hair); }
.v4-tbl th { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--soft); font-weight: 500; }
.v4-tbl td strong { font-weight: 500; color: var(--ink); }
.v4-tbl .dot-cell { text-align: center; }

@media (max-width: 680px) {
  .v4-tbl-moments thead { display: none; }
  .v4-tbl-moments, .v4-tbl-moments tbody, .v4-tbl-moments tr, .v4-tbl-moments td { display: block; width: 100%; }
  .v4-tbl-moments tr { padding: 14px 0; border-bottom: 1px solid var(--hair); }
  .v4-tbl-moments td { border: 0; padding: 4px 0; }
}

.v4-strip-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.v4-strip-btns { display: flex; gap: 8px; }
.v4-icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--hair); background: transparent; color: var(--ink); cursor: pointer; font-size: 15px; }
.v4-g7-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-behavior: smooth; }
.v4-gcard { display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 1px solid var(--hair); border-radius: 10px; color: var(--ink); text-decoration: none; background: rgba(255, 255, 255, 0.02); }
.v4-gcard-fig { margin: 0; width: 100%; aspect-ratio: 9 / 19.5; border-radius: 8px; overflow: hidden; border: 1px solid var(--hair); background: #0C203E; }
.v4-gcard-fig img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
.v4-gcard h3 { font-family: var(--disp); font-size: 12.5px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }
.v4-gcard p { font-size: 13px; color: var(--soft); line-height: 1.48; }
.v4-gcard p em { font-style: normal; color: var(--ink); font-weight: 400; margin-right: 6px; }

.v4-demo-hero { border: 1px solid var(--hair); border-radius: 12px; overflow: hidden; background: #0A1931; margin-top: 20px; }
.v4-demo-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--night); }
.v4-demo-stage img.bg, .v4-demo-stage video.bg-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.v4-demo-stage .demo-scrim {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 20, 40, 0.92) 0%, rgba(8, 20, 40, 0.88) 24%, rgba(8, 20, 40, 0.72) 33%, rgba(8, 20, 40, 0.28) 38%, rgba(8, 20, 40, 0) 42%),
    radial-gradient(44% 62% at 0% 100%, rgba(8, 20, 40, 0.60) 0%, rgba(8, 20, 40, 0.18) 58%, rgba(8, 20, 40, 0) 100%);
}
.v4-demo-over { position: absolute; inset: 0; z-index: 5; padding: clamp(20px, 3vw, 38px); display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.v4-demo-copy { max-width: 34%; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.v4-demo-copy .v4-eyebrow { color: rgba(255, 255, 255, 0.94); }
.v4-demo-quote { font-size: clamp(15.5px, 1.45vw, 19.5px); color: var(--ink); line-height: 1.42; font-weight: 400; }
.v4-demo-btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.v4-btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: var(--night); font-weight: 500; font-size: 14px; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; }
.v4-btn.v4-btn-sub { background: transparent; color: var(--ink); border: 1px solid var(--soft); font-weight: 400; }
.v4-demo-qr .qr {
  display: inline-flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 8px 8px 9px; border-radius: 10px;
  background: rgba(8, 20, 40, 0.92); border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: #FFFFFF;
}
.v4-demo-qr .qr span { color: #FFFFFF; }
.v4-demo-qr .qr img { width: 96px; height: 96px; background: #FFF; padding: 6px; border-radius: 6px; display: block; }

@media (max-width: 720px) {
  .v4-demo-stage .demo-scrim { display: none; }
  .v4-demo-over { position: static; flex-direction: column; align-items: flex-start; padding: 20px; background: #0A1931; }
  .v4-demo-copy { max-width: 100%; }
}

.v4-cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 820px) { .v4-cols3 { grid-template-columns: 1fr; } }
.v4-box { padding: 20px; border: 1px solid var(--hair); border-radius: 10px; }
.v4-box h3 { font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--soft); margin-bottom: 12px; font-weight: 500; }
.v4-box ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.v4-box li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 14px; line-height: 1.48; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.v4-box li:first-child { border-top: 0; padding-top: 0; }

.v4-steps5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
@media (max-width: 920px) { .v4-steps5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.v4-step {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr;
  gap: 8px; padding: 10px; border: 1px solid var(--hair); border-radius: 10px; color: var(--ink); text-decoration: none; min-width: 0;
}
.v4-step.is-static { cursor: default; }
.v4-step-img {
  grid-column: 1; grid-row: 1; width: 100%; height: auto; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: 50% 50%;
  border-radius: 8px; border: 1px solid var(--hair); display: block; background: #0A1931;
}
.v4-step-img.is-trailer {
  object-fit: contain; object-position: 50% 50%;
  background: linear-gradient(180deg, #e7ded6 0%, #eae2da 42%, #d8c6b5 100%);
}
.v4-step b { grid-column: 1; grid-row: 2; display: block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; }
.v4-step span { grid-column: 1; grid-row: 3; font-size: 13px; color: var(--soft); line-height: 1.46; display: block; }
.v4-step-tag {
  grid-column: 1; grid-row: 1; place-self: end end; margin: 8px; z-index: 2; padding: 3px 9px; border-radius: 999px;
  background: rgba(8, 20, 40, 0.90); border: 1px solid rgba(255, 255, 255, 0.52);
  color: var(--ink); font-style: normal; font-size: 10.5px; letter-spacing: 0.06em;
}

.v4-film-box { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; border: 1px solid var(--hair); background: #061020; }
.v4-film-box video { width: 100%; height: 100%; object-fit: cover; display: block; }
.v4-film-badge { position: absolute; top: 16px; left: 16px; z-index: 3; padding: 5px 12px; border-radius: 999px; background: rgba(8, 20, 40, 0.86); border: 1px solid var(--ink); color: var(--ink); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; }
.v4-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 26px; border: 1px solid var(--hair); border-radius: 12px; }
