/* ============================================================
   SMARTPORT - Theme cong khai (cang bien: navy + cam container)
   ============================================================ */
:root {
    --ink: #12263a;
    --muted: #5b6b7c;
    --brand: #0d4f8b;
    --brand-2: #1173c4;
    --navy: #0a2f57;
    --navy-d: #071f3a;
    --accent: #ff7d2d;
    --accent-d: #e5691d;
    --bg: #f4f7fb;
    --line: #e3eaf3;
    --ok: #0f8a4d;
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Be Vietnam Pro', 'Segoe UI', sans-serif;
    color: var(--ink);
    background: var(--bg);
}
a { text-decoration: none; }

/* ---------- Navbar ---------- */
.navbar-sp {
    background: linear-gradient(90deg, var(--navy-d), var(--navy) 60%, #0d3b66);
    padding: .65rem 0;
    box-shadow: 0 2px 14px rgba(7, 31, 58, .35);
}
.navbar-sp .navbar-brand { display: flex; align-items: center; gap: .6rem; color: #fff; font-weight: 800; font-size: 1.25rem; letter-spacing: .3px; }
.navbar-sp .brand-mark {
    width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--accent), #ffb25e);
    color: #fff; font-size: 1.15rem; box-shadow: 0 4px 10px rgba(255, 125, 45, .4);
}
.navbar-sp .brand-sub { display: block; font-size: .62rem; font-weight: 500; color: #9fc2e8; letter-spacing: 1.5px; text-transform: uppercase; }
.navbar-sp .nav-link { color: #d7e6f5; font-weight: 500; padding: .5rem .85rem !important; border-radius: 8px; }
.navbar-sp .nav-link:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.navbar-sp .nav-link.active { color: #fff; background: rgba(255, 255, 255, .12); }
.navbar-sp .btn-login { background: var(--accent); color: #fff; font-weight: 600; border-radius: 9px; padding: .45rem 1.1rem; border: none; }
.navbar-sp .btn-login:hover { background: var(--accent-d); color: #fff; }
.navbar-sp .dropdown-menu { border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(10, 47, 87, .15); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    /* Anh cang that lam nen + lop phu navy giu do tuong phan (mat mang van con gradient) */
    background:
        linear-gradient(120deg, rgba(7, 31, 58, .96) 0%, rgba(10, 47, 87, .90) 45%, rgba(13, 79, 139, .78) 100%),
        url('https://images.unsplash.com/photo-1494412574643-ff11b0a5c1c3?q=80&w=1800&auto=format&fit=crop') center/cover no-repeat,
        linear-gradient(135deg, #071f3a 0%, #0a2f57 45%, #0d4f8b 80%, #1173c4 100%);
    color: #fff;
    padding: 84px 0 110px;
    overflow: hidden;
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(700px 300px at 85% 10%, rgba(17, 115, 196, .5), transparent 60%),
                radial-gradient(500px 260px at 5% 90%, rgba(255, 125, 45, .18), transparent 60%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { font-weight: 800; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.2; }
.hero h1 .hl { color: #ffb25e; }
.hero p.lead { color: #c9dcef; max-width: 560px; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 30px; padding: .35rem 1rem; font-size: .85rem; color: #cfe3f6; }
.hero-art svg { max-width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); }

.track-box { background: #fff; border-radius: 16px; padding: 1.1rem; box-shadow: 0 18px 45px rgba(7, 31, 58, .35); }
.track-box .form-control { border: 1.5px solid var(--line); border-radius: 10px; padding: .7rem 1rem; font-size: .95rem; }
.track-box .form-control:focus { border-color: var(--brand-2); box-shadow: 0 0 0 .2rem rgba(17, 115, 196, .15); }
.track-box label { color: var(--muted); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Stats band ---------- */
.stats-band { position: relative; z-index: 3; margin-top: -56px; }
.stats-band .card-stats {
    background: #fff; border-radius: 16px; box-shadow: 0 14px 40px rgba(10, 47, 87, .12);
    padding: 1.4rem 1rem; text-align: center; height: 100%;
}
.stat-ico { width: 46px; height: 46px; margin: 0 auto .55rem; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: #e8f1fc; color: var(--brand); }
.stat-num { font-size: 1.7rem; font-weight: 800; color: var(--navy); }
.stat-lbl { color: var(--muted); font-size: .85rem; }

/* ---------- Sections ---------- */
.sec { padding: 72px 0; }
.sec-kicker { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 2.5px; font-size: .78rem; }
.sec-title { font-weight: 800; color: var(--navy); font-size: clamp(1.4rem, 3vw, 2rem); }

/* ---------- Service cards ---------- */
.svc-card {
    background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem;
    height: 100%; transition: all .25s ease;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 16px 35px rgba(10, 47, 87, .12); border-color: #bcd7ef; }
.svc-ico { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; font-size: 1.5rem; background: linear-gradient(135deg, #e8f1fc, #d8ecff); color: var(--brand); margin-bottom: .9rem; }
.svc-card h5 { font-weight: 700; color: var(--navy); font-size: 1.02rem; }
.svc-price { color: var(--accent-d); font-weight: 700; }

/* ---------- Tables ---------- */
.table-sp { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 22px rgba(10, 47, 87, .07); }
.table-sp thead th { background: #eef4fb; color: var(--navy); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .6px; border-bottom: 2px solid var(--line); white-space: nowrap; }
.table-sp td { vertical-align: middle; }
.table-sp tbody tr:hover { background: #f6faff; }

/* ---------- Badges trang thai ---------- */
.badge-st { padding: .4em .8em; border-radius: 20px; font-weight: 600; font-size: .76rem; display: inline-flex; align-items: center; gap: .35em; white-space: nowrap; }
.badge-st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-ok   { background: #e6f7ee; color: #0f8a4d; }
.st-info { background: #e8f1fc; color: #1266b0; }
.st-warn { background: #fff4e0; color: #b26a00; }
.st-off  { background: #f1f3f6; color: #6b7684; }
.st-run  { background: #e6f6fb; color: #0b7ea8; }
.st-run::before { animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .25; } }

/* ---------- News ---------- */
.news-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; height: 100%; transition: all .25s ease; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 16px 35px rgba(10, 47, 87, .12); }
.news-thumb { height: 165px; display: grid; place-items: center; color: rgba(255, 255, 255, .85); font-size: 3rem; background-size: cover; background-position: center; position: relative; }
.news-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7, 31, 58, .5)); pointer-events: none; }
.news-card:hover .news-thumb { filter: brightness(1.08); }
.news-card h5 { font-weight: 700; font-size: 1rem; color: var(--navy); line-height: 1.45; }
.news-card h5 a { color: inherit; }
.news-card h5 a:hover { color: var(--brand-2); }
.news-meta { color: var(--muted); font-size: .8rem; }
.g1 { background: linear-gradient(135deg, #0d3b66, #1173c4); }
.g2 { background: linear-gradient(135deg, #0f766e, #38bdf8); }
.g3 { background: linear-gradient(135deg, #b45309, #fbbf24); }
.g4 { background: linear-gradient(135deg, #6d28d9, #3b82f6); }
.g5 { background: linear-gradient(135deg, #065f46, #10b981); }
.g6 { background: linear-gradient(135deg, #334155, #64748b); }

/* ---------- Buttons ---------- */
.btn-accent { background: var(--accent); border: none; color: #fff; font-weight: 600; border-radius: 10px; padding: .6rem 1.4rem; }
.btn-accent:hover { background: var(--accent-d); color: #fff; }
.btn-navy { background: var(--navy); border: none; color: #fff; font-weight: 600; border-radius: 10px; padding: .6rem 1.4rem; }
.btn-navy:hover { background: var(--navy-d); color: #fff; }
.btn-outline-sp { border: 1.5px solid var(--brand); color: var(--brand); font-weight: 600; border-radius: 10px; }
.btn-outline-sp:hover { background: var(--brand); color: #fff; }

/* ---------- Cards & forms ---------- */
.card-sp { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 6px 22px rgba(10, 47, 87, .06); }
.card-sp .card-header { background: #fff; border-bottom: 1px solid var(--line); border-radius: 16px 16px 0 0 !important; font-weight: 700; color: var(--navy); }
.form-control, .form-select { border-radius: 10px; border: 1.5px solid var(--line); padding: .55rem .9rem; }
.form-control:focus, .form-select:focus { border-color: var(--brand-2); box-shadow: 0 0 0 .2rem rgba(17, 115, 196, .12); }
.form-label { font-weight: 600; color: var(--ink); font-size: .9rem; }
.field-validation-error { color: #d13438; font-size: .82rem; }
.input-validation-error { border-color: #d13438 !important; }
.validation-summary-errors { color: #d13438; background: #fdeeee; border: 1px solid #f5c2c4; border-radius: 10px; padding: .7rem 1rem; font-size: .9rem; }
.validation-summary-errors ul { margin: 0; padding-left: 1.1rem; }

/* ---------- Auth ---------- */
.auth-wrap { min-height: calc(100vh - 380px); display: flex; align-items: center; padding: 56px 0; }
.auth-card { max-width: 480px; margin: 0 auto; width: 100%; }

/* ---------- Timeline (tracking) ---------- */
.tl { position: relative; padding-left: 28px; }
.tl::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 1.1rem; }
.tl-item::before { content: ""; position: absolute; left: -25px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: #cbd8e6; border: 2.5px solid #fff; box-shadow: 0 0 0 2px #cbd8e6; }
.tl-item.done::before { background: var(--ok); box-shadow: 0 0 0 2px var(--ok); }
.tl-item.now::before { background: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.tl-item h6 { margin-bottom: .1rem; font-weight: 700; font-size: .92rem; }
.tl-item small { color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-d); color: #b9cde2; padding: 56px 0 0; margin-top: 72px; }
.footer h6 { color: #fff; font-weight: 700; margin-bottom: 1rem; }
.footer a { color: #b9cde2; }
.footer a:hover { color: #fff; }
.footer .f-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1rem 0; margin-top: 40px; font-size: .85rem; }
.footer ul { list-style: none; padding: 0; }
.footer ul li { margin-bottom: .55rem; }

/* ---------- Chatbot PortBot ---------- */
.pb-fab {
    position: fixed; right: 22px; bottom: 22px; z-index: 1050;
    width: 58px; height: 58px; border-radius: 50%; border: none;
    background: linear-gradient(135deg, var(--accent), #ffa057);
    color: #fff; font-size: 1.55rem; display: grid; place-items: center;
    box-shadow: 0 10px 28px rgba(255, 125, 45, .45); transition: transform .2s;
}
.pb-fab:hover { transform: scale(1.08); }
.pb-panel {
    position: fixed; right: 22px; bottom: 92px; z-index: 1050;
    width: 372px; max-width: calc(100vw - 34px); height: 520px; max-height: calc(100vh - 130px);
    background: #fff; border-radius: 18px; box-shadow: 0 24px 70px rgba(7, 31, 58, .35);
    display: none; flex-direction: column; overflow: hidden;
}
.pb-panel.open { display: flex; }
.pb-head { background: linear-gradient(90deg, var(--navy-d), var(--brand)); color: #fff; padding: .9rem 1.1rem; display: flex; align-items: center; gap: .7rem; }
.pb-head .pb-avatar { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .15); display: grid; place-items: center; font-size: 1.2rem; }
.pb-head h6 { margin: 0; font-weight: 700; }
.pb-head small { color: #a9c7e4; font-size: .72rem; }
.pb-body { flex: 1; overflow-y: auto; padding: 1rem; background: #f2f6fb; }
.pb-msg { max-width: 86%; padding: .6rem .85rem; border-radius: 14px; margin-bottom: .6rem; font-size: .88rem; line-height: 1.5; white-space: pre-line; word-wrap: break-word; }
.pb-msg.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.pb-msg.user { background: var(--brand-2); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.pb-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .6rem; }
.pb-chip { background: #fff; border: 1px solid #bcd7ef; color: var(--brand); border-radius: 20px; padding: .3rem .8rem; font-size: .78rem; cursor: pointer; }
.pb-chip:hover { background: var(--brand); color: #fff; }
.pb-foot { display: flex; gap: .5rem; padding: .8rem; border-top: 1px solid var(--line); background: #fff; }
.pb-foot input { flex: 1; border: 1.5px solid var(--line); border-radius: 22px; padding: .5rem 1rem; font-size: .9rem; outline: none; }
.pb-foot input:focus { border-color: var(--brand-2); }
.pb-foot button { width: 42px; height: 42px; border-radius: 50%; border: none; background: var(--accent); color: #fff; font-size: 1.05rem; }
.pb-typing span { display: inline-block; width: 7px; height: 7px; margin-right: 3px; border-radius: 50%; background: #9db4ca; animation: blink 1.2s infinite; }
.pb-typing span:nth-child(2) { animation-delay: .2s; }
.pb-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .25; } }
.pb-src { font-size: .66rem; color: #97a8ba; margin: -0.35rem 0 .6rem .3rem; }

/* ---------- Alerts ---------- */
.alert-float { position: fixed; top: 78px; right: 20px; z-index: 2000; min-width: 300px; max-width: 420px; box-shadow: 0 12px 34px rgba(10, 47, 87, .2); border-radius: 12px; }

/* ---------- Page header (trang con) ---------- */
.page-head {
    background:
        linear-gradient(120deg, rgba(7, 31, 58, .94), rgba(10, 47, 87, .90) 55%, rgba(13, 79, 139, .86)),
        url('https://images.unsplash.com/photo-1493946740644-2d8a1f1a6aff?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat,
        linear-gradient(120deg, var(--navy-d), var(--navy) 55%, #0d4f8b);
    color: #fff; padding: 44px 0; margin-bottom: 40px;
}
.page-head h1 { font-weight: 800; font-size: 1.7rem; margin: 0; }
.page-head .breadcrumb { margin: 0; --bs-breadcrumb-divider-color: #7f9cbd; }
.page-head .breadcrumb a { color: #a9c7e4; }
.page-head .breadcrumb-item.active { color: #dce9f7; }

/* ---------- Pagination ---------- */
.pagination .page-link { color: var(--brand); border-radius: 8px; margin: 0 3px; border-color: var(--line); }
.pagination .page-item.active .page-link { background: var(--brand); border-color: var(--brand); }

@media (max-width: 768px) {
    .hero { padding: 56px 0 96px; }
    .stats-band { margin-top: -42px; }
    .sec { padding: 48px 0; }
}

/* ============================================================
   HIEU UNG NANG CAO (v2)
   ============================================================ */

/* ---------- Reveal khi cuon trang ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); will-change: opacity, transform; }
[data-reveal="left"]  { transform: translateX(-36px); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="zoom"]  { transform: scale(.88); }
.revealed[data-reveal] { opacity: 1; transform: none; }

/* ---------- Ticker tau "song" ---------- */
.ticker-bar { background: #071f3a; border-bottom: 1px solid rgba(255,255,255,.06); overflow: hidden; }
.ticker-label { background: linear-gradient(90deg, var(--accent), #ffa057); color: #fff; font-weight: 700; font-size: .74rem; letter-spacing: 1.5px; padding: .45rem .9rem; white-space: nowrap; display: flex; align-items: center; gap: .4rem; }
.ticker-label .dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.1s infinite; }
.marquee { overflow: hidden; position: relative; flex: 1; }
.marquee-track { display: inline-flex; align-items: center; white-space: nowrap; animation: marqueeMove var(--dur, 40s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeMove { to { transform: translateX(-50%); } }
.ticker-item { color: #cfe3f6; font-size: .82rem; padding: .45rem 1.6rem; border-right: 1px solid rgba(255,255,255,.08); }

/* ---------- Doi tac marquee ---------- */
.partner-pill { display: inline-flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--line); border-radius: 40px; padding: .55rem 1.35rem; margin: 0 .55rem; box-shadow: 0 4px 14px rgba(10,47,87,.06); transition: all .25s; }
.partner-pill:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 10px 22px rgba(255,125,45,.18); }
.partner-pill .scac { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 800; font-size: .68rem; border-radius: 7px; padding: .28rem .5rem; letter-spacing: 1px; }
.partner-pill .ten { font-weight: 700; color: var(--navy); font-size: .92rem; white-space: nowrap; }

/* ---------- Hero: hoat canh cang bien ---------- */
.hero-art svg .cloud1 { animation: cloudDrift 46s linear infinite; }
.hero-art svg .cloud2 { animation: cloudDrift 62s linear infinite reverse; }
@keyframes cloudDrift { from { transform: translateX(-160px); } to { transform: translateX(760px); } }
.hero-art svg .sunGlow { animation: sunPulse 5s ease-in-out infinite; transform-origin: 540px 60px; }
@keyframes sunPulse { 50% { opacity: .55; transform: scale(1.12); } }
.hero-art svg .shipG { animation: shipBob 4.2s ease-in-out infinite; transform-origin: 340px 340px; }
@keyframes shipBob { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-6px) rotate(-.5deg); } }
.hero-art svg .waveA { animation: waveShift 6.5s ease-in-out infinite alternate; }
.hero-art svg .waveB { animation: waveShift 8.5s ease-in-out infinite alternate-reverse; }
@keyframes waveShift { from { transform: translateX(0); } to { transform: translateX(-46px); } }
.hero-art svg .trolleyG { animation: trolleyRun 9s ease-in-out infinite; }
@keyframes trolleyRun { 0%,12% { transform: translateX(0); } 38%,60% { transform: translateX(96px); } 86%,100% { transform: translateX(0); } }
.hero-art svg .hookBox { animation: hookLift 9s ease-in-out infinite; }
@keyframes hookLift { 0%,12% { transform: translateY(0); } 26% { transform: translateY(56px); } 38%,60% { transform: translateY(0); } 74% { transform: translateY(56px); } 86%,100% { transform: translateY(0); } }
.hero-art svg .bird { animation: birdFly 16s linear infinite; }
.hero-art svg .bird.b2 { animation-delay: 6s; }
@keyframes birdFly { 0% { transform: translate(-60px, 12px); } 50% { transform: translate(320px, -14px); } 100% { transform: translate(720px, 6px); } }
.hero-art svg .radarRing { animation: radarPing 3s ease-out infinite; transform-origin: 478px 258px; }
@keyframes radarPing { 0% { transform: scale(.2); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Icon dong ---------- */
.float-slow { animation: floatY 3.6s ease-in-out infinite; display: inline-block; }
@keyframes floatY { 50% { transform: translateY(-7px); } }
.spin-slow { animation: spinSlow 9s linear infinite; display: inline-block; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.wiggle:hover i { animation: wiggle .5s ease; }
@keyframes wiggle { 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }

/* ---------- AI feature cards ---------- */
.ai-strip { background: linear-gradient(120deg, #071f3a, #0a2f57 55%, #0d4f8b); border-radius: 22px; padding: 2.6rem 2rem; position: relative; overflow: hidden; }
.ai-strip::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 200px at 90% 0%, rgba(255,125,45,.22), transparent 60%), radial-gradient(380px 200px at 4% 100%, rgba(56,189,248,.16), transparent 60%); }
.ai-card { position: relative; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 1.35rem; height: 100%; color: #fff; transition: all .3s ease; backdrop-filter: blur(3px); }
.ai-card:hover { background: rgba(255,255,255,.12); transform: translateY(-6px); border-color: rgba(255,178,94,.6); }
.ai-card .ico { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; font-size: 1.4rem; background: linear-gradient(135deg, var(--accent), #ffb25e); margin-bottom: .85rem; box-shadow: 0 8px 18px rgba(255,125,45,.35); }
.ai-card h6 { font-weight: 700; }
.ai-card p { color: #bcd3ea; font-size: .84rem; margin: 0; }
.ai-card .tag-new { position: absolute; top: 12px; right: 12px; background: #22c55e; color: #fff; font-size: .62rem; font-weight: 800; letter-spacing: 1px; border-radius: 20px; padding: .2rem .55rem; animation: pulse 1.6s infinite; }

/* ---------- Quy trinh 4 buoc ---------- */
.step-flow { position: relative; }
.step-flow::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 3px; background: repeating-linear-gradient(90deg, #bcd7ef 0 10px, transparent 10px 20px); }
.step-item { text-align: center; position: relative; z-index: 1; }
.step-num { width: 68px; height: 68px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 10px 24px rgba(13,79,139,.35), 0 0 0 7px #eaf2fb; transition: transform .3s; }
.step-item:hover .step-num { transform: scale(1.12) rotate(6deg); background: linear-gradient(135deg, var(--accent), #ffb25e); box-shadow: 0 10px 24px rgba(255,125,45,.4), 0 0 0 7px #fff3e8; }
.step-item h6 { font-weight: 700; color: var(--navy); }
.step-item p { color: var(--muted); font-size: .84rem; }

/* ---------- Gallery hoat canh ---------- */
.scene-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; height: 100%; transition: all .3s ease; }
.scene-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 18px 40px rgba(10,47,87,.14); }
.scene-card .scene { display: block; width: 100%; height: 170px; }
.scene-card .cap { padding: .85rem 1.1rem; font-weight: 700; color: var(--navy); font-size: .95rem; display: flex; align-items: center; gap: .5rem; }
.scene-card .cap i { color: var(--accent); }
.sc-crane-hook { animation: scHook 4.5s ease-in-out infinite; }
@keyframes scHook { 0%,100% { transform: translateY(0); } 50% { transform: translateY(34px); } }
.sc-ship-run { animation: scShip 12s linear infinite; }
@keyframes scShip { from { transform: translateX(-140px); } to { transform: translateX(420px); } }
.sc-light { animation: scLight 2.2s ease-in-out infinite; }
@keyframes scLight { 0%,100% { opacity: .15; } 50% { opacity: 1; } }
.sc-truck-run { animation: scTruck 9s linear infinite; }
@keyframes scTruck { from { transform: translateX(-120px); } to { transform: translateX(430px); } }
.sc-stack-glow rect { transition: all .3s; }
.scene-card:hover .sc-stack-glow rect { filter: brightness(1.15); }
.sc-rtg-move { animation: scRtg 7s ease-in-out infinite alternate; }
@keyframes scRtg { from { transform: translateX(0); } to { transform: translateX(150px); } }

/* ---------- Cong dong / video ---------- */
.social-card { border-radius: 18px; padding: 1.8rem; color: #fff; height: 100%; position: relative; overflow: hidden; transition: all .3s ease; display: block; }
.social-card:hover { transform: translateY(-6px); color: #fff; box-shadow: 0 20px 45px rgba(10,47,87,.28); }
.social-card.yt { background: linear-gradient(135deg, #7f1d1d, #dc2626 70%, #f87171); }
.social-card.fb { background: linear-gradient(135deg, #0d3b66, #1266b0 70%, #38bdf8); }
.social-card .big-ico { font-size: 3rem; opacity: .95; }
.social-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 170px; height: 170px; border-radius: 50%; background: rgba(255,255,255,.12); transition: transform .4s; }
.social-card:hover::after { transform: scale(1.35); }
.social-card .cta { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.18); border-radius: 30px; padding: .45rem 1.1rem; font-weight: 700; font-size: .85rem; margin-top: .9rem; }

/* ---------- Nut phat sang ---------- */
.btn-glow { position: relative; overflow: hidden; }
.btn-glow::after { content: ""; position: absolute; top: 0; left: -80%; width: 45%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-24deg); animation: btnShine 3.2s ease-in-out infinite; }
@keyframes btnShine { 0% { left: -80%; } 55%,100% { left: 130%; } }

/* ---------- Navbar khi cuon ---------- */
.navbar-sp.scrolled { box-shadow: 0 6px 24px rgba(7,31,58,.5); backdrop-filter: blur(6px); }

/* ---------- May tinh chi phi AI ---------- */
.cost-hero { background: linear-gradient(120deg, #071f3a, #0d4f8b 70%, #1173c4); border-radius: 20px; color: #fff; padding: 2rem; position: relative; overflow: hidden; }
.cost-hero::before { content: "₫"; position: absolute; right: 30px; top: -30px; font-size: 11rem; font-weight: 800; color: rgba(255,255,255,.05); }
.cost-total { font-size: 2.2rem; font-weight: 800; color: var(--accent-d); }
.ai-note { background: #f4f9ff; border: 1px solid #cfe4f7; border-left: 4px solid var(--brand-2); border-radius: 12px; padding: .8rem 1rem; font-size: .9rem; margin-bottom: .6rem; animation: noteIn .6s ease both; }
.ai-note:nth-child(2) { animation-delay: .12s; } .ai-note:nth-child(3) { animation-delay: .24s; }
.ai-note:nth-child(4) { animation-delay: .36s; } .ai-note:nth-child(5) { animation-delay: .48s; }
@keyframes noteIn { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }

/* ---------- Thu vien anh that + hieu ung Ken Burns ---------- */
.photo-tile { position: relative; border-radius: 16px; overflow: hidden; height: 240px; box-shadow: 0 10px 28px rgba(10, 47, 87, .12); }
.photo-tile .ph-img { position: absolute; inset: -4%; background-size: cover; background-position: center; animation: kenburns 17s ease-in-out infinite alternate; will-change: transform; }
.photo-tile.kb2 .ph-img { animation-duration: 22s; animation-direction: alternate-reverse; }
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.14) translate(-2.2%, 2%); } }
.photo-tile .ph-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 2.4rem 1.1rem .95rem; color: #fff; font-weight: 700; font-size: .95rem; background: linear-gradient(180deg, transparent, rgba(7, 31, 58, .88)); display: flex; align-items: center; gap: .55rem; }
.photo-tile .ph-cap i { color: #ffb25e; }
.photo-tile:hover .ph-img { filter: brightness(1.1) saturate(1.08); }
.ph-mini { height: 112px; border-radius: 12px; background-size: cover; background-position: center; box-shadow: 0 6px 16px rgba(10, 47, 87, .12); transition: transform .25s; }
.ph-mini:hover { transform: scale(1.04); }

/* ============================================================
   v4: LOGO, HERO SLIDER, DARK MODE, SECTIONS MOI
   ============================================================ */

/* ---------- Logo ---------- */
.sp-logo { filter: drop-shadow(0 4px 10px rgba(7, 31, 58, .35)); }
.logo-ping { animation: logoPing 2.6s ease-out infinite; transform-origin: 52.5px 9.5px; }
@keyframes logoPing { 0% { transform: scale(.3); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- Hero slider anh that ---------- */
.hero { background: #0a2f57; }
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide { position: absolute; inset: -4%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.active { opacity: 1; animation: kenburns 12s ease-in-out infinite alternate; }
.hero::before { z-index: 1; background:
    radial-gradient(700px 300px at 85% 10%, rgba(17, 115, 196, .45), transparent 60%),
    radial-gradient(500px 260px at 5% 90%, rgba(255, 125, 45, .16), transparent 60%),
    linear-gradient(120deg, rgba(7, 31, 58, .95) 0%, rgba(10, 47, 87, .88) 45%, rgba(13, 79, 139, .72) 100%); }
.hero .container { position: relative; z-index: 2; }
.hero-dots { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 9px; }
.hero-dots button { width: 26px; height: 5px; border-radius: 4px; border: none; background: rgba(255, 255, 255, .3); cursor: pointer; transition: all .3s; }
.hero-dots button.active { background: var(--accent); width: 40px; }

/* ---------- Danh gia khach hang ---------- */
.tst-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.6rem; height: 100%; position: relative; transition: all .3s; }
.tst-card::before { content: "\201C"; position: absolute; top: 6px; right: 20px; font-size: 5rem; font-family: Georgia, serif; color: #e8f1fc; line-height: 1; }
.tst-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(10, 47, 87, .12); }
.tst-stars { color: #f59e0b; letter-spacing: 2px; margin-bottom: .6rem; }
.tst-card p.quote { color: #33506e; font-size: .93rem; line-height: 1.7; position: relative; z-index: 1; }
.tst-user { display: flex; align-items: center; gap: .8rem; margin-top: 1rem; }
.tst-ava { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.05rem; }
.tst-user .nm { font-weight: 700; color: var(--navy); font-size: .93rem; }
.tst-user .co { color: var(--muted); font-size: .78rem; }

/* ---------- Giai thuong / chung nhan ---------- */
.award-pill { display: inline-flex; align-items: center; gap: .55rem; background: linear-gradient(135deg, #fff, #f4f9ff); border: 1.5px solid #cfe4f7; border-radius: 40px; padding: .6rem 1.3rem; margin: 0 .55rem; font-weight: 700; color: var(--navy); font-size: .88rem; white-space: nowrap; box-shadow: 0 4px 14px rgba(10, 47, 87, .07); }
.award-pill i { color: var(--accent); font-size: 1.15rem; }

/* ---------- FAQ ---------- */
.faq .accordion-item { border: 1px solid var(--line); border-radius: 14px !important; margin-bottom: .8rem; overflow: hidden; background: #fff; }
.faq .accordion-button { font-weight: 700; color: var(--navy); background: #fff; padding: 1.05rem 1.3rem; }
.faq .accordion-button:not(.collapsed) { background: #f0f7ff; color: var(--brand); box-shadow: none; }
.faq .accordion-button:focus { box-shadow: none; border: none; }
.faq .accordion-body { color: #44607e; font-size: .93rem; line-height: 1.7; }

/* ---------- Newsletter ---------- */
.newsletter { background: linear-gradient(120deg, #0d4f8b, #1173c4 60%, #12a5c9); border-radius: 20px; padding: 2rem 2.2rem; color: #fff; position: relative; overflow: hidden; }
.newsletter::after { content: "✉"; position: absolute; right: 26px; top: -26px; font-size: 9rem; opacity: .08; }
.newsletter .form-control { border: none; border-radius: 12px; padding: .8rem 1.1rem; }

/* ---------- Thanh tien trinh cuon + nut len dau ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3.5px; width: 0; z-index: 3000; background: linear-gradient(90deg, var(--accent), #ffb25e); box-shadow: 0 0 8px rgba(255, 125, 45, .6); transition: width .12s linear; }
.btn-top { position: fixed; right: 22px; bottom: 92px; z-index: 1049; width: 46px; height: 46px; border-radius: 50%; border: none; background: var(--navy); color: #fff; font-size: 1.1rem; box-shadow: 0 8px 20px rgba(7, 31, 58, .35); opacity: 0; pointer-events: none; transition: all .3s; }
.btn-top.show { opacity: 1; pointer-events: auto; }
.btn-top:hover { background: var(--accent); transform: translateY(-3px); }

/* ---------- CTA anh nen ---------- */
.cta-photo { border-radius: 22px; overflow: hidden; position: relative; color: #fff; padding: 3rem 2.4rem; background-size: cover; background-position: center; }
.cta-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(7, 31, 58, .95) 20%, rgba(10, 47, 87, .8) 60%, rgba(13, 79, 139, .55)); }
.cta-photo > * { position: relative; z-index: 1; }

/* ============================================================
   CHE DO TOI (dark mode) — kich hoat qua html[data-theme="dark"]
   ============================================================ */
html[data-theme="dark"] { --bg: #0a1420; --ink: #dce8f5; --muted: #8ba3bd; --line: #1d3450; }
html[data-theme="dark"] body { background: #0a1420; color: #dce8f5; }
html[data-theme="dark"] .sec-title, html[data-theme="dark"] .svc-card h5, html[data-theme="dark"] .news-card h5,
html[data-theme="dark"] .news-card h5 a, html[data-theme="dark"] .step-item h6,
html[data-theme="dark"] .tst-user .nm, html[data-theme="dark"] .partner-pill .ten,
html[data-theme="dark"] .stat-num, html[data-theme="dark"] .award-pill { color: #e8f1fa; }
html[data-theme="dark"] .card-sp, html[data-theme="dark"] .svc-card, html[data-theme="dark"] .news-card,
html[data-theme="dark"] .card-stats, html[data-theme="dark"] .tst-card, html[data-theme="dark"] .scene-card,
html[data-theme="dark"] .partner-pill, html[data-theme="dark"] .faq .accordion-item,
html[data-theme="dark"] .faq .accordion-button { background: #101d30; border-color: #1d3450; }
html[data-theme="dark"] .award-pill { background: #101d30; border-color: #27466b; }
html[data-theme="dark"] .faq .accordion-button { color: #dce8f5; }
html[data-theme="dark"] .faq .accordion-button:not(.collapsed) { background: #152841; color: #7cc0ee; }
html[data-theme="dark"] .faq .accordion-body { color: #a9c0d8; }
html[data-theme="dark"] .tst-card::before { color: #152841; }
html[data-theme="dark"] .tst-card p.quote { color: #b9cde2; }
html[data-theme="dark"] .table-sp { background: #101d30; box-shadow: none; }
html[data-theme="dark"] .table-sp thead th { background: #152841; color: #9fc2e8; border-color: #1d3450; }
html[data-theme="dark"] .table-sp td { color: #c6d8ea; border-color: #1d3450; }
html[data-theme="dark"] .table-sp tbody tr:hover { background: #152438; }
html[data-theme="dark"] .table { --bs-table-bg: transparent; color: #c6d8ea; }
html[data-theme="dark"] .form-control, html[data-theme="dark"] .form-select { background: #0e1a2b; border-color: #26415f; color: #dce8f5; }
html[data-theme="dark"] .form-control::placeholder { color: #5f7a96; }
html[data-theme="dark"] .form-label { color: #c6d8ea; }
html[data-theme="dark"] .text-muted, html[data-theme="dark"] .news-meta, html[data-theme="dark"] .stat-lbl,
html[data-theme="dark"] .svc-card p, html[data-theme="dark"] .step-item p, html[data-theme="dark"] .tst-user .co { color: #8ba3bd !important; }
html[data-theme="dark"] .card-sp .card-header { border-color: #1d3450; color: #e8f1fa; background: transparent; }
html[data-theme="dark"] .stat-ico, html[data-theme="dark"] .svc-ico { background: #152841; }
html[data-theme="dark"] .step-num { box-shadow: 0 10px 24px rgba(0, 0, 0, .45), 0 0 0 7px #0e1a2b; }
html[data-theme="dark"] .step-flow::before { background: repeating-linear-gradient(90deg, #27466b 0 10px, transparent 10px 20px); }
html[data-theme="dark"] .track-box { background: #101d30; }
html[data-theme="dark"] .track-box label { color: #8ba3bd; }
html[data-theme="dark"] .alert-light { background: #101d30; border-color: #1d3450 !important; color: #c6d8ea; }
html[data-theme="dark"] .badge-st { filter: saturate(.85) brightness(1.05); }
html[data-theme="dark"] .st-ok { background: #10331f; } html[data-theme="dark"] .st-info { background: #13293f; }
html[data-theme="dark"] .st-warn { background: #37280d; } html[data-theme="dark"] .st-off { background: #1c2733; color: #90a4b8; }
html[data-theme="dark"] .st-run { background: #0e2f3c; }
html[data-theme="dark"] .table-light, html[data-theme="dark"] .table-light td { background: #152841 !important; color: #c6d8ea; }
html[data-theme="dark"] .pagination .page-link { background: #101d30; border-color: #1d3450; }
html[data-theme="dark"] .dropdown-menu { background: #101d30; border-color: #1d3450; }
html[data-theme="dark"] .dropdown-item { color: #c6d8ea; }
html[data-theme="dark"] .dropdown-item:hover { background: #152841; color: #fff; }
.theme-btn { border: 1.5px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #ffd98a; border-radius: 50%; width: 38px; height: 38px; display: grid; place-items: center; font-size: 1.05rem; transition: all .25s; }
.theme-btn:hover { background: rgba(255, 255, 255, .18); color: #fff; transform: rotate(24deg); }

/* ============================================================
   v5: FILM STRIP, PARALLAX, ZALO, DARK MODE HOAN CHINH
   ============================================================ */

/* ---------- Dai phim anh that chay ngang ---------- */
.film-tile { width: 230px; height: 140px; border-radius: 14px; background-size: cover; background-position: center; margin: 0 .5rem; flex-shrink: 0; box-shadow: 0 8px 20px rgba(10, 47, 87, .14); border: 3px solid #fff; transition: transform .3s; }
.film-tile:hover { transform: scale(1.06) rotate(1deg); }

/* ---------- Parallax band ---------- */
.parallax-band { position: relative; background-size: cover; background-position: center; background-attachment: fixed; padding: 84px 0; color: #fff; }
@supports (-webkit-touch-callout: none) { .parallax-band { background-attachment: scroll; } }
.parallax-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(7, 31, 58, .93) 25%, rgba(10, 47, 87, .82) 60%, rgba(13, 79, 139, .68)); }
.parallax-band .container { position: relative; z-index: 1; }
.px-num { font-size: 2.3rem; font-weight: 800; color: #ffb25e; line-height: 1.1; }
.px-lbl { color: #c9dcef; font-size: .9rem; }

/* ---------- Zalo + FB ca nhan ---------- */
.zalo-fab { position: fixed; left: 22px; bottom: 22px; z-index: 1050; width: 54px; height: 54px; border-radius: 50%; background: #0068ff; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .95rem; letter-spacing: .5px; box-shadow: 0 10px 26px rgba(0, 104, 255, .45); transition: transform .25s; text-decoration: none; }
.zalo-fab:hover { transform: scale(1.1); color: #fff; }
.zalo-fab::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(0, 104, 255, .5); animation: logoPing 2.4s ease-out infinite; transform-origin: center; }
.owner-links a { display: inline-flex; align-items: center; gap: .45rem; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 30px; padding: .4rem 1rem; font-size: .84rem; margin: .25rem .35rem .25rem 0; }
.owner-links a:hover { background: rgba(255, 255, 255, .18); color: #fff; }

/* ---------- DARK MODE v2: phu not chatbot, timeline, cost... ---------- */
html[data-theme="dark"] .pb-panel { background: #101d30; }
html[data-theme="dark"] .pb-body { background: #0c1828; }
html[data-theme="dark"] .pb-msg.bot { background: #152841; border-color: #26415f; color: #dce8f5; }
html[data-theme="dark"] .pb-foot { background: #101d30; border-color: #1d3450; }
html[data-theme="dark"] .pb-foot input { background: #0e1a2b; border-color: #26415f; color: #dce8f5; }
html[data-theme="dark"] .pb-chip { background: #152841; border-color: #2a4a70; color: #9cc9f0; }
html[data-theme="dark"] .pb-src { color: #5f7a96; }
html[data-theme="dark"] .ai-note { background: #12233a; border-color: #26415f; color: #c6d8ea; }
html[data-theme="dark"] .tl::before { background: #26415f; }
html[data-theme="dark"] .tl-item::before { border-color: #101d30; }
html[data-theme="dark"] .tl-item h6 { color: #dce8f5; }
html[data-theme="dark"] .film-tile { border-color: #101d30; }
html[data-theme="dark"] .svc-price { color: #ffb25e; }
html[data-theme="dark"] .accordion-button::after { filter: invert(.8); }
html[data-theme="dark"] .stats-band .card-stats { background: #101d30; }
html[data-theme="dark"] .auth-wrap .card-sp { background: #101d30; }
html[data-theme="dark"] .btn-outline-sp { border-color: #3a72a8; color: #7cc0ee; }
html[data-theme="dark"] .btn-outline-sp:hover { background: #1173c4; color: #fff; }
html[data-theme="dark"] code { color: #ff9d5c; }

/* ---------- Nut mic / loa chatbot ---------- */
.pb-mic { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--brand); font-size: 1rem; flex-shrink: 0; transition: all .25s; }
.pb-mic:hover { border-color: var(--brand-2); }
.pb-mic.listening { background: #ef4444; border-color: #ef4444; color: #fff; animation: pulse 1.1s infinite; }
html[data-theme="dark"] .pb-mic { background: #0e1a2b; border-color: #26415f; color: #7cc0ee; }
html[data-theme="dark"] .pb-mic.listening { background: #ef4444; color: #fff; }

/* Chuyen theme muot ma */
body, .navbar-sp, .card-sp, .svc-card, .news-card, .tst-card, .card-stats, .partner-pill, .award-pill,
.table-sp, .table-sp td, .table-sp thead th, .form-control, .form-select, .pb-panel, .pb-body, .pb-msg,
.faq .accordion-item, .faq .accordion-button, .scene-card, .photo-tile, .footer {
    transition: background-color .35s ease, color .2s ease, border-color .35s ease;
}

/* ============================================================
   v6: FOOTER SONG BIEN, PARTICLES, SHIMMER, TILT 3D, LOGO v2
   ============================================================ */

/* ---------- Logo v2 ---------- */
.sp-logo { transition: transform .35s cubic-bezier(.34,1.56,.64,1), filter .35s; }
.navbar-brand:hover .sp-logo, .side-brand:hover .sp-logo { transform: rotate(-6deg) scale(1.1); filter: drop-shadow(0 6px 16px rgba(255,125,45,.45)) brightness(1.08); }

/* ---------- Footer song bien dong ---------- */
.footer-wave { height: 74px; overflow: hidden; margin-top: 46px; margin-bottom: -2px; }
.fw-svg { display: block; width: 200%; height: 100%; animation: waveSlide 16s linear infinite; }
@keyframes waveSlide { to { transform: translateX(-50%); } }
.fw1 { fill: #071f3a; }
.fw2 { fill: rgba(13, 79, 139, .45); }

.footer { margin-top: 0; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), #ffb25e, #38bdf8, transparent);
    background-size: 220% 100%; animation: footGlowLine 7s linear infinite; opacity: .8; }
@keyframes footGlowLine { to { background-position: 220% 0; } }
.footer::after { content: "⚓"; position: absolute; right: -20px; bottom: -46px; font-size: 15rem; opacity: .04; transform: rotate(-12deg); pointer-events: none; }
.footer .f-glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; filter: blur(90px); opacity: .16; pointer-events: none; }
.footer h6 { position: relative; padding-bottom: .55rem; }
.footer h6::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2.5px; border-radius: 2px; background: var(--accent); }
.footer ul li a { position: relative; transition: color .25s, padding-left .25s; }
.footer ul li a::before { content: "›"; position: absolute; left: -13px; opacity: 0; color: var(--accent); transition: all .25s; }
.footer ul li a:hover { color: #ffb25e; padding-left: 6px; }
.footer ul li a:hover::before { opacity: 1; left: -6px; }
.f-contact li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .8rem !important; }
.f-ico { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #7fd0f5; font-size: .95rem; transition: all .3s; }
.f-contact li:hover .f-ico { background: var(--accent); color: #fff; transform: rotate(-8deg) scale(1.08); border-color: var(--accent); }
.f-ico.f-hot { background: rgba(255,125,45,.18); color: #ffb25e; animation: pulse 2s infinite; }
.footer .d-flex.gap-3 a { transition: transform .25s, color .25s; display: inline-block; }
.footer .d-flex.gap-3 a:hover { transform: translateY(-4px) scale(1.15); }
.footer .d-flex.gap-3 a:hover .bi-facebook { color: #4da3ff; }
.footer .d-flex.gap-3 a:hover .bi-youtube { color: #ff5b5b; }
.footer .d-flex.gap-3 a:hover .bi-envelope { color: #ffb25e; }
.footer .f-bottom { position: relative; z-index: 1; }

/* ---------- Hat sang bay trong hero ---------- */
.hero-particles { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.hero-particles span { position: absolute; bottom: -12px; border-radius: 50%; background: rgba(255,255,255,.4); animation: rise linear infinite; }
@keyframes rise { 0% { transform: translateY(0) translateX(0); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateY(-640px) translateX(24px); opacity: 0; } }
.hero-particles span:nth-child(1)  { left: 6%;  width: 5px; height: 5px; animation-duration: 11s; animation-delay: 0s; }
.hero-particles span:nth-child(2)  { left: 14%; width: 4px; height: 4px; animation-duration: 14s; animation-delay: 3s; background: rgba(255,178,94,.55); }
.hero-particles span:nth-child(3)  { left: 24%; width: 6px; height: 6px; animation-duration: 12s; animation-delay: 6s; }
.hero-particles span:nth-child(4)  { left: 33%; width: 3px; height: 3px; animation-duration: 16s; animation-delay: 1.5s; background: rgba(127,208,245,.6); }
.hero-particles span:nth-child(5)  { left: 42%; width: 5px; height: 5px; animation-duration: 13s; animation-delay: 8s; }
.hero-particles span:nth-child(6)  { left: 52%; width: 4px; height: 4px; animation-duration: 15s; animation-delay: 4s; background: rgba(255,178,94,.5); }
.hero-particles span:nth-child(7)  { left: 61%; width: 6px; height: 6px; animation-duration: 11.5s; animation-delay: 2s; }
.hero-particles span:nth-child(8)  { left: 69%; width: 3px; height: 3px; animation-duration: 17s; animation-delay: 7s; background: rgba(127,208,245,.55); }
.hero-particles span:nth-child(9)  { left: 77%; width: 5px; height: 5px; animation-duration: 12.5s; animation-delay: 5s; }
.hero-particles span:nth-child(10) { left: 84%; width: 4px; height: 4px; animation-duration: 14.5s; animation-delay: 9s; background: rgba(255,178,94,.5); }
.hero-particles span:nth-child(11) { left: 91%; width: 6px; height: 6px; animation-duration: 13.5s; animation-delay: 1s; }
.hero-particles span:nth-child(12) { left: 97%; width: 3px; height: 3px; animation-duration: 18s; animation-delay: 6.5s; background: rgba(127,208,245,.5); }

/* ---------- Chu "Logistics" anh kim chay ---------- */
.hero h1 .hl { background: linear-gradient(90deg, #ffb25e 0%, #ff7d2d 30%, #ffe6c7 50%, #ff7d2d 70%, #ffb25e 100%); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: goldShimmer 4.5s linear infinite; }
@keyframes goldShimmer { to { background-position: 220% center; } }

/* ---------- Goi y cuon xuong ---------- */
.scroll-hint { position: absolute; left: 50%; bottom: 54px; transform: translateX(-50%); z-index: 3; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.55); border-radius: 16px; }
.scroll-hint span { position: absolute; left: 50%; top: 7px; width: 4px; height: 9px; margin-left: -2px; border-radius: 3px; background: var(--accent); animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 991px) { .scroll-hint { display: none; } }

/* ---------- Tilt 3D theo chuot ---------- */
.tiltable { transition: transform .18s ease-out !important; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
