/* TRANG CHỦ — dựng lại 06/12/2026 theo taste skill: mỗi màn một mục, mép trái phải bằng nhau.
   Chỉ index.html nạp tệp này. Màu, phông, nút lấy từ cao-cap.css. */
.tc-bia { min-height: 100svh; }
.tc-bia h1 { max-width: 15ch; }
.tc-bia .dai-tc { position: absolute; left: 0; right: 0; bottom: 0; }
.tc-bia .trong { padding-bottom: clamp(48px, 7vw, 88px); }
.tc-bia .trong > * { animation: tc-vao .7s cubic-bezier(.2,.7,.2,1) both; }
.tc-bia .trong > :nth-child(2) { animation-delay: .08s; }
.tc-bia .trong > :nth-child(3) { animation-delay: .16s; }
@keyframes tc-vao { from { opacity: 0; transform: translateY(14px); } }

.tc-man { padding: clamp(56px, 9vw, 96px) 0; }
.tc-cot { display: grid; gap: clamp(24px, 3.5vw, 40px); }
.tc-dau { display: grid; gap: 14px; }
.tc-dau > p { color: var(--mo); max-width: 52ch; font-size: 1.05rem; }
.tc-dau .nhan { margin-bottom: 14px; }
.tc-doi { display: grid; gap: 28px; }
.tc-chu { display: grid; gap: 18px; align-content: center; }
.tc-chu .mo { max-width: 44ch; }

/* Thẻ hành trình: nhấc 2px, ảnh nhích 1,03 trong khung */
.nga { transition: transform .25s ease-out, box-shadow .25s ease-out; }
.nga img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.nga:hover, .nga:focus-visible { transform: translateY(-2px); box-shadow: 0 18px 40px -22px rgba(14,23,48,.55); }
.nga:hover img { transform: scale(1.03); filter: none; }

/* Bản đồ: chữ một bên, bản đồ một bên */
.tc-ngay { list-style: none; margin: 4px 0; padding: 0; display: grid; border-top: 1px solid rgba(195,154,78,.3); }
.tc-ngay li { display: grid; grid-template-columns: 12px auto 1fr; gap: 2px 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(195,154,78,.3); }
.tc-ngay i { width: 10px; height: 10px; border-radius: 50%; align-self: center; }
.tc-ngay b { font-family: var(--de); font-size: 1.15rem; font-weight: 600; }
.tc-ngay span { color: rgba(245,240,230,.82); }
.tc-ngay em { grid-column: 2 / -1; font-style: normal; font-size: .88rem; color: var(--dong-nhat); min-height: 1.4em; font-variant-numeric: tabular-nums; }
.tc-bd .ban-do { height: min(70svh, 560px); min-height: 420px; }

/* Con số */
.tc-anh { margin: 0; overflow: hidden; aspect-ratio: 4 / 3; }
.tc-anh img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; display: block; }
.tc-luoi-so { margin: 8px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--ke); }
.tc-luoi-so > div { padding: 22px 16px 22px 0; border-bottom: 1px solid var(--ke); }
.tc-luoi-so dt { font-family: var(--de); font-weight: 600; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1; color: var(--cham); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.tc-luoi-so dd { margin: 10px 0 0; color: var(--mo); max-width: 24ch; }

@media (min-width: 960px) and (min-height: 640px) {
  .tc-man { min-height: 100svh; display: grid; align-items: center; padding: 104px 0 48px; }
  .tc-dau { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 56px; }
  .tc-dau > p { justify-self: end; }
  #hanh-trinh .tc-cot { grid-template-rows: auto 1fr; height: calc(100svh - 152px); min-height: 560px; }
  #hanh-trinh .hai-nga { grid-template-columns: 1fr 1fr; min-height: 0; }
  #hanh-trinh .nga { aspect-ratio: auto; max-height: none; height: 100%; min-height: 0; }
  .tc-doi { grid-template-columns: 5fr 7fr; gap: 64px; align-items: stretch; }
  .tc-bd .ban-do { height: calc(100svh - 168px); min-height: 520px; max-height: 760px; }
  .tc-so .tc-anh { aspect-ratio: auto; height: calc(100svh - 168px); min-height: 520px; max-height: 760px; }
  .tc-luoi-so > div:nth-child(odd) { padding-right: 32px; }
  .tc-luoi-so > div:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--ke); }
}
@media (max-width: 959px) {
  .tc-bd .tc-chu { order: 0; }
}
@media (prefers-reduced-motion: reduce) { .tc-bia .trong > * { animation: none; } .nga, .nga img { transition: none; } .nga:hover { transform: none; } .nga:hover img { transform: none; } }
