/* =========================================================
   玹翔旅遊 Home Hero
   Ultimate Final V20.1 Enterprise
========================================================= */

.hero{
    position:relative;
    min-height:100vh;
    overflow:hidden;
    background:#000;
    display:flex;
    align-items:center;
}

.xx-home-hero-video{
    position:absolute;
    inset:0;
    z-index:0;
}

.xx-home-hero-video::after{
    content:"";
    position:absolute;
    inset:0;

    background:
    linear-gradient(
        180deg,
        rgba(0,0,0,.45),
        rgba(0,0,0,.72)
    );

    z-index:2;
}

.xx-home-hero-video video{
    width:100%;
    height:100vh;
    min-height:900px;

    object-fit:cover;

    display:block;

    filter:
    brightness(.55)
    contrast(1.08)
    saturate(1.12);
}

/* =========================
   Hero Layout
========================= */

.xx-home-hero-grid{

    width:min(95%,1400px);
    max-width:1400px;

    margin:auto;

    display:grid;

    grid-template-columns:
    minmax(0,1fr)
    460px;

    gap:70px;

    align-items:center;
}

.xx-home-hero-left{
    display:flex;
    flex-direction:column;
    gap:24px;
}

.xx-home-hero-content{
    padding:48px;

    border-radius:34px;

    background:
    rgba(0,0,0,.35);

    backdrop-filter:
    blur(30px);

    border:
    1px solid rgba(255,240,184,.15);

    box-shadow:
    0 30px 120px rgba(0,0,0,.45);
}

.xx-home-hero-card{

    max-width:460px;
    position:relative;
    transition:all .35s ease;

    width:100%;

    justify-self:center;

    overflow:hidden;
    border-radius:34px;
}

/* =========================
   Left Content
========================= */

.xx-home-hero-left{
    display:flex;
    flex-direction:column;
    gap:24px;
}

.xx-home-hero-content{

    border-radius:34px;

}

.xx-home-hero-content h1{
    max-width:760px;
    margin:12px 0;
    font-size:clamp(56px,5vw,92px);
    line-height:1.08;
    font-weight:900;
}

.xx-home-hero-content p{
    max-width:680px;
    margin-top:18px;
    font-size:20px;
    line-height:1.9;
}

/* =========================
   AI Entry
========================= */

.xx-home-hero-ai{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:18px;
}

/* =========================
   Live Orders
========================= */

.xx-home-live-orders{
    overflow:hidden;
    position:relative;
}

.xx-home-live-orders-track{
    display:flex;

    gap:80px;

    width:max-content;

    white-space:nowrap;

    animation:
    marqueeMove 35s linear infinite;
}

.xx-home-live-orders-track span{
    color:#fff0b8;

    font-size:15px;

    font-weight:800;
}

@keyframes marqueeMove{

    from{
        transform:translateX(100%);
    }

    to{
        transform:translateX(-120%);
    }

}

/* =========================
   KPI
========================= */

.xx-home-kpis{
    display:grid;

    grid-template-columns:
    repeat(4,1fr);

    gap:12px;

    max-width:680px;
}

.xx-home-kpi{
    padding:18px 14px;

    border-radius:22px;

    background:
    rgba(0,0,0,.35);

    border:
    1px solid rgba(216,181,109,.25);

    backdrop-filter:
    blur(12px);

    text-align:center;
}

.xx-home-kpi b{
    display:block;

    color:#fff0b8;

    font-size:30px;

    line-height:1;
}

.xx-home-kpi span{
    display:block;

    margin-top:8px;

    color:#d6d6d6;

    font-size:13px;
}

/* =========================
   Quote Box
========================= */

.xx-home-quote-card{
    padding:28px;

    border-radius:28px;

    background:
    rgba(8,12,20,.72);

    border:
    1px solid rgba(216,181,109,.20);

    backdrop-filter:
    blur(16px);
}

.xx-home-quote-card h3{
    color:#fff0b8;
    margin-bottom:10px;
}

.xx-home-quote-card p{
    color:#d7d7d7;
}

/* =========================
   Right Card
========================= */

.xx-home-hero-card{
    width:100%;

    border-radius:34px;

    background:
    linear-gradient(
        180deg,
        rgba(255,255,255,.05),
        rgba(255,255,255,.02)
    );

    border:
    1px solid rgba(216,181,109,.22);

    box-shadow:
    0 30px 100px rgba(0,0,0,.45);
}

.xx-home-hero-card::before{
    content:"";

    position:absolute;
    inset:0;

    background:
    linear-gradient(
        135deg,
        rgba(255,240,184,.08),
        transparent 45%
    );

    z-index:1;
}

.xx-home-hero-card img{
    width:100%;
    height:100%;

    min-height:620px;

    object-fit:cover;
}

.xx-home-caption{
    position:absolute;

    left:0;
    right:0;
    bottom:0;

    padding:30px;

    background:
    linear-gradient(
        180deg,
        transparent,
        rgba(0,0,0,.85)
    );

    z-index:2;
}

.xx-home-stars{
    color:#fff0b8;

    font-weight:900;

    letter-spacing:.2em;

    margin-bottom:10px;
}

.xx-home-hero-card h2{
    color:#fff3c2;

    margin-bottom:12px;
}

.xx-home-hero-card p{
    color:#e6dcc0;

    line-height:1.9;
}

/* =========================
   Hover
========================= */

.xx-home-hero-card:hover{
    transform:
    translateY(-10px) scale(1.02);

    transition:.35s;

    box-shadow:
    0 40px 140px rgba(0,0,0,.55);
}

/* =========================
   Tablet
========================= */

@media(max-width:1200px){

.xx-home-hero-grid{
    grid-template-columns:
    minmax(0,1fr)
    460px;
}

}

/* =========================
   Mobile
========================= */

@media(max-width:980px){

.hero{
    min-height:auto;
    padding:100px 0 60px;
}

.xx-home-hero-grid{
    width:min(95%,760px);
    grid-template-columns:1fr;
    gap:40px;
}

.xx-home-hero-content{
    padding:28px;
}

.xx-home-hero-card{
    max-width:560px;
    width:100%;
    justify-self:center;
}

.xx-home-hero-card img{
    min-height:360px;
}

.xx-home-kpis{
    grid-template-columns:
    repeat(2,1fr);
}

.xx-home-hero-video video{
    min-height:100%;
}

}

/* =========================
   Small Mobile
========================= */

@media(max-width:640px){

.xx-home-hero-content{
    padding:24px;
}

.xx-home-hero-card img{
    min-height:280px;
}

.xx-home-caption{
    padding:22px;
}

.xx-home-kpi b{
    font-size:24px;
}

}

/* =========================
   V20.1 Enterprise Center Fix
========================= */

.xx-home-hero-left{
    justify-content:center;
}

.xx-home-hero-content,
.xx-home-quote-card{
    width:100%;
}