/* Sungres - Hanh trinh hang nhap khau (tich hop tu plugin An Khanh Journey)
   Doi mau o khoi .akj { --akj-... } ben duoi. */

/* Phong cach website: goc vuong (khong bo goc) cho khung chu, nut bam va the. */
/* Font: dung Open Sans cua website (assets/css/fonts.css), khong nap them font rieng. */

.akj {
  --akj-navy-900: #1b2735;
  --akj-navy-800: #243344;
  --akj-navy-700: #314254;   /* mau chu dao lay tu logo */
  --akj-navy-600: #3f546a;
  --akj-navy-500: #556c84;
  --akj-navy-400: #7a91a8;
  --akj-navy-300: #a3b4c4;
  --akj-navy-200: #c9d4de;
  --akj-navy-100: #e6ecf1;
  --akj-accent: #e9a23b;     /* mau nhan: container "cua ban", den kho */
  --akj-accent-dark: #b9791a;
  --akj-font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --akj-top: 0px;            /* khoang chua cho header tuyet doi cua website (JS cap nhat o trang /hanh-trinh) */

  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--akj-navy-100);
  color: var(--akj-navy-700);
  font-family: var(--akj-font);
  isolation: isolate;
}
.akj *, .akj *::before, .akj *::after { box-sizing: border-box; }

.akj__stage { position: absolute; inset: 0; overflow: hidden; }
.akj__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; transform-origin: 50% 100%; will-change: transform, opacity; }
.akj__svg--top, .akj__svg--map { display: none; opacity: 0; overflow: hidden; transform-origin: 50% 50%; pointer-events: none; }

/* ---------- Thanh tien do ---------- */
.akj__rail {
  position: absolute; z-index: 5; list-style: none; margin: 0; padding: 0;
  top: calc(var(--akj-top, 0px) + clamp(14px, 3.2vh, 30px)); left: 50%; transform: translateX(-50%);
  display: flex; gap: clamp(8px, 2vw, 40px); align-items: flex-start;
  width: min(1060px, calc(100% - 32px)); justify-content: space-between;
  --p: 0;
}
.akj__rail::before {
  content: ""; position: absolute; left: 6px; right: 6px; top: 5px; height: 2px;
  background: currentColor; opacity: .18; border-radius: 2px;
}
.akj__railfill {
  position: absolute; left: 6px; right: 6px; top: 5px; height: 2px; border-radius: 2px;
  background: var(--akj-accent); transform-origin: 0 50%; transform: scaleX(var(--p));
}
.akj__step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; flex: 0 0 auto; }
.akj__dot {
  width: 12px; height: 12px; border-radius: 50%; background: var(--akj-navy-100);
  border: 2px solid currentColor; transition: transform .3s, background .3s, border-color .3s;
}
.akj__steplabel {
  font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  opacity: .55; transition: opacity .3s; white-space: nowrap;
}
.akj__step.is-done .akj__dot { background: var(--akj-accent); border-color: var(--akj-accent); }
.akj__step.is-active .akj__dot { background: var(--akj-accent); border-color: var(--akj-accent); transform: scale(1.35); }
.akj__step.is-active .akj__steplabel { opacity: 1; }
.akj--night .akj__rail { color: #fff; }
.akj--night .akj__dot { background: var(--akj-navy-900); }
.akj--night .akj__step.is-done .akj__dot, .akj--night .akj__step.is-active .akj__dot { background: var(--akj-accent); }

/* ---------- Dem ngay ---------- */
.akj__days {
  position: absolute; z-index: 5; right: clamp(16px, 4vw, 56px); top: calc(var(--akj-top, 0px) + clamp(60px, 11vh, 110px));
  text-align: right; line-height: 1; transition: color .4s;
}
.akj__daysnum { display: block; font-size: clamp(40px, 6vw, 84px); font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.akj__dayslabel { display: block; margin-top: 6px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.akj--night .akj__days { color: #fff; }

/* ---------- The noi dung ---------- */
.akj__cards { position: absolute; z-index: 6; inset: 0; pointer-events: none; }
.akj__card {
  position: absolute; left: clamp(20px, 5vw, 80px); top: calc(var(--akj-top, 0px) + clamp(64px, 11vh, 120px));
  width: min(36rem, calc(100% - 40px));
  opacity: 0; visibility: hidden; transform: translateY(24px);
}
.akj__card.is-on { opacity: 1; visibility: visible; transform: none; }
.akj__kicker {
  margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--akj-accent-dark);
}
.akj__title {
  margin: 0 0 12px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1;
  font-size: clamp(1.7rem, 3.4vw, 3rem); color: var(--akj-navy-700);
}
.akj__text { margin: 0; font-size: clamp(.9rem, 1.15vw, 1.05rem); line-height: 1.6; font-weight: 500; color: var(--akj-navy-600); max-width: 28rem; }
.akj__card--dark .akj__title { color: #fff; }
.akj__card--dark .akj__text { color: var(--akj-navy-200); }
.akj__card--dark .akj__kicker { color: var(--akj-accent); }
.akj__cta {
  display: inline-block; margin-top: 20px; padding: 14px 26px; border-radius: 0; pointer-events: auto;
  background: var(--akj-navy-700); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .04em; text-decoration: none;
  box-shadow: 0 10px 30px -10px rgba(49,66,84,.6); transition: transform .2s, background .2s;
}
.akj__cta, .akj__cta:hover, .akj__cta:focus, .akj__cta:active { color: #fff; text-decoration: none; }
.akj__cta:hover { background: var(--akj-accent-dark); transform: translateY(-2px); }

/* ---------- Lo trinh tren bien ---------- */
.akj__route {
  position: absolute; z-index: 5; left: clamp(20px, 5vw, 80px); bottom: clamp(24px, 6vh, 56px);
  width: min(480px, calc(100% - 40px)); padding: 14px 22px 34px; color: #fff;
  background: rgba(13, 24, 36, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.12); border-radius: 0; opacity: 0; visibility: hidden;
}
.akj__routesea { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--akj-accent); margin-bottom: 14px; }
.akj__routebar { position: relative; height: 4px; border-radius: 4px; background: rgba(255,255,255,.22); }
.akj__routefill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 4px; background: var(--akj-accent); }
.akj__routeship { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--akj-accent); box-shadow: 0 0 0 5px rgba(233,162,59,.28); }
.akj__node { position: absolute; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--akj-navy-100); border: 2px solid rgba(13,24,36,.7); }
.akj__routelabels { list-style: none; margin: 0; padding: 0; position: absolute; left: 22px; right: 22px; bottom: 12px; height: 14px; }
.akj__routelabels li { position: absolute; left: 0; transform: translateX(-50%); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .85; white-space: nowrap; }
.akj__routelabels li:first-child { transform: none; }
.akj__routelabels li:last-child { transform: translateX(-100%); }

/* ---------- Goi y cuon ---------- */
.akj__hint {
  position: absolute; z-index: 6; left: 50%; bottom: clamp(14px, 3vh, 28px); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--akj-navy-100);
}
.akj__hint i { width: 1px; height: 34px; background: currentColor; transform-origin: 50% 0; animation: akj-hint 1.8s ease-in-out infinite; }
@keyframes akj-hint { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Man hinh vua: chi hien nhan cua chang dang chay ---------- */
@media (max-width: 1180px) {
  .akj__steplabel { display: none; }
  .akj__step.is-active .akj__steplabel { display: block; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); }
  .akj__step:nth-child(1).is-active .akj__steplabel { left: 0; transform: none; }
  .akj__step:nth-child(10).is-active .akj__steplabel { left: auto; right: 0; transform: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .akj__steplabel { display: none; }
  .akj__step.is-active .akj__steplabel { display: block; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); }
  .akj__days { top: auto; bottom: 14px; right: 16px; color: #fff; }
  .akj__daysnum { font-size: 36px; }
  .akj__hint { left: 16px; transform: none; align-items: flex-start; bottom: 16px; }
  .akj__card { top: calc(var(--akj-top, 0px) + 74px); }
  .akj__route { bottom: 64px; padding: 12px 18px 30px; }
  .akj__text { font-size: .88rem; line-height: 1.5; }
}

/* ---------- Che do hero (nen tu chay, chu mo kieu kinh) ---------- */
.akj--hero { height: var(--akj-hero-h, min(88vh, 780px)); min-height: 520px; }
.akj__herowrap {
  position: absolute; z-index: 6; inset: 0; display: flex; align-items: flex-start;
  padding: clamp(36px, 8vh, 84px) clamp(20px, 5vw, 80px) 0; pointer-events: none;
}
.akj__heropanel {
  max-width: 37rem; padding: clamp(22px, 2.6vw, 38px) clamp(22px, 2.8vw, 40px); border-radius: 0;
  background: rgba(255, 255, 255, .26);
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: 0 24px 60px -28px rgba(27, 39, 53, .45), inset 0 1px 0 rgba(255, 255, 255, .6);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  pointer-events: auto;
}
.akj__heropanel .akj__title { font-size: clamp(1.7rem, 3.1vw, 2.75rem); margin-bottom: 14px; }
.akj__heropanel .akj__text { color: var(--akj-navy-700); max-width: 30rem; }
.akj__heroactions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.akj__heropanel .akj__cta { margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; }
.akj__ctaarrow {
  display: inline-block; width: 18px; height: 18px; border-radius: 0; background: rgba(255,255,255,.18); position: relative;
}
.akj__ctaarrow::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -5px 0 0 -3px;
  border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg) translate(1px, 1px);
}
.akj__ctaarrow--go::before { margin: -4px 0 0 -5px; transform: rotate(-45deg); }
.akj__heroscroll {
  position: absolute; z-index: 6; left: 50%; bottom: clamp(14px, 3vh, 28px); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none;
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--akj-navy-700);
}
.akj__heroscroll:hover, .akj__heroscroll:focus { color: var(--akj-navy-700); }
.akj__heroscroll i { width: 1px; height: 34px; background: currentColor; transform-origin: 50% 0; animation: akj-hint 1.8s ease-in-out infinite; }
@media (max-width: 720px) {
  .akj__herowrap { padding-top: 32px; }
  .akj__heropanel { border-radius: 0; }
  .akj__heroscroll { left: 20px; transform: none; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .akj__hint i, .akj__heroscroll i { animation: none; }
}

/* ---------- Tich hop Sungres ---------- */
/* Nut "len dau trang" (apps.js) de len animation -> an trong luc section chiem man hinh */
.scrollToTop { transition: opacity .25s ease, visibility .25s ease; }
html.akj-playing .scrollToTop { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }

/* ---------- Phan ket sau animation (trang /hanh-trinh) ---------- */
.akj-outro { position: relative; z-index: 2; background: linear-gradient(180deg, #1f3347 0%, #1b2735 100%); color: #fff; font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; padding: clamp(64px, 11vh, 120px) 24px clamp(56px, 9vh, 96px); text-align: center; box-sizing: border-box; }
.akj-outro *, .akj-outro *::before, .akj-outro *::after { box-sizing: border-box; }
.akj-outro__inner { max-width: 980px; margin: 0 auto; }
.akj-outro__kicker { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #e9a23b; }
.akj-outro__title { margin: 0 0 16px; font-size: clamp(1.7rem, 3.6vw, 2.9rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; color: #fff; }
.akj-outro__text { margin: 0 auto; max-width: 40rem; font-size: clamp(.95rem, 1.2vw, 1.08rem); line-height: 1.7; font-weight: 500; color: #c9d4de; }
.akj-outro__points { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.akj-outro__points li { padding: 22px 22px 20px; border: 1px solid rgba(255,255,255,.14); border-radius: 0; background: rgba(255,255,255,.04); }
.akj-outro__points strong { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 700; color: #fff; }
.akj-outro__points span { display: block; font-size: 13.5px; line-height: 1.55; font-weight: 500; color: #a3b4c4; }
.akj-outro__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.akj-outro__btn { display: inline-block; padding: 15px 28px; border-radius: 0; border: 2px solid rgba(255,255,255,.35); color: #fff !important; font-size: 14px; font-weight: 700; letter-spacing: .04em; text-decoration: none !important; transition: transform .2s, background .2s, border-color .2s, color .2s; }
.akj-outro__btn:hover { background: #fff; border-color: #fff; color: #1b2735 !important; transform: translateY(-2px); }
.akj-outro__btn--primary { background: #e9a23b; border-color: #e9a23b; color: #1b2735 !important; }
.akj-outro__btn--primary:hover { background: #f1b45c; border-color: #f1b45c; color: #1b2735 !important; }
@media (max-width: 820px) { .akj-outro__points { grid-template-columns: 1fr; } .akj-outro__btn { width: 100%; text-align: center; } }
