/* ==========================================================================
   RƯỢU CỬU LONG - HOMEPAGE EXACT REPLICATION
   Khớp 100% mẫu thiết kế "0. Trang chủ-1.pdf"
   ========================================================================== */

/* --- 1. Symmetrical Split Navigation Header is standardized across all pages in assets/css/style.css --- */

/* --- 2. Hero Shelf Banner Stage (Mẫu 0. Trang chủ-1.pdf) --- */
.hero-shelf-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding-top: clamp(85px, 9.5vh, 115px);
    padding-bottom: 0;
    background: #062627 url('../images/home/hero-shelf-stage.webp') no-repeat center bottom / 100% auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.hero-header-titles {
    text-align: center;
    padding-top: clamp(28px, 4.2vh, 52px);
    z-index: 10;
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-subtitle-tag {
    font-family: 'BT Danta', 'BT Danta VF', sans-serif;
    font-size: clamp(1.5rem, 1.875vw, 36px);
    font-weight: 700;
    line-height: 1.25;
    color: #f0ece9;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: clamp(6px, 0.8vh, 12px);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
    white-space: nowrap;
}

.hero-brand-name {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.hero-title-artwork {
    width: clamp(280px, 50.95vw, 978px); /* Khớp chính xác 978px chiếm 81.5% độ rộng vòm khung PDF */
    height: auto;
    max-width: 92%;
    object-fit: contain;
    filter: drop-shadow(0 4px 25px rgba(0, 0, 0, 0.75));
    transition: transform 0.4s ease;
}

.hero-title-artwork:hover {
    transform: scale(1.02);
}

.shelf-stage-wrap {
    position: relative;
    width: 100%;
    max-width: 1720px;
    margin: 0 auto;
    height: clamp(450px, 55vh, 600px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: clamp(45px, 5.8vh, 70px); /* Đặt chân đáy chai rượu đứng chuẩn xác trên mép bệ gỗ 3D */
}

.shelf-nav-btn {
    position: absolute;
    top: 48%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(5, 36, 37, 0.75);
    border: 1.5px solid rgba(197, 155, 39, 0.6);
    color: #ffffff;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 30;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}

.shelf-nav-btn:hover {
    background: #dfb74a;
    color: #062627;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 25px rgba(223, 183, 74, 0.8);
}

.shelf-nav-btn.prev-btn { left: clamp(15px, 3vw, 40px); }
.shelf-nav-btn.next-btn { right: clamp(15px, 3vw, 40px); }

.shelf-bottles-track {
    position: relative;
    width: 100%;
    max-width: 1560px;
    height: 100%;
    margin: 0 auto;
    z-index: 15;
    user-select: none;
    touch-action: pan-y;
    cursor: grab;
}

.shelf-bottles-track.is-dragging {
    cursor: grabbing;
}

.shelf-bottle-item {
    position: absolute;
    bottom: clamp(36px, 3.2vw, 62px);
    margin-bottom: 0;
    transform: translateX(-50%);
    transform-origin: bottom center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    cursor: pointer;
    user-select: none;
    transition: left 0.75s cubic-bezier(0.22, 1, 0.36, 1),
                height 0.75s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.55s ease,
                transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.45s ease;
}

/* 5 Vị trí bệ trưng bày: TẤT CẢ CHAI ĐẶT CHÍNH GIỮA MẶT BÀN GỖ (PHẦN KHU MÀU XANH) */
/* Vị trí 1: Ngoài cùng bên trái */
.shelf-bottle-item.shelf-pos-1 {
    left: 14%;
    height: clamp(220px, 27vh, 295px);
    bottom: clamp(36px, 3.2vw, 62px);
    margin-bottom: 0;
    z-index: 5;
    opacity: 1;
    pointer-events: auto;
}

/* Vị trí 2: Bên trái giữa */
.shelf-bottle-item.shelf-pos-2 {
    left: 32%;
    height: clamp(260px, 32vh, 350px);
    bottom: clamp(36px, 3.2vw, 62px);
    margin-bottom: 0;
    z-index: 8;
    opacity: 1;
    pointer-events: auto;
}

/* Vị trí 3: Chủ đạo trung tâm (Chai lớn nhất) */
.shelf-bottle-item.shelf-pos-3 {
    left: 50%;
    height: clamp(335px, 41.8vh, 452px);
    bottom: clamp(36px, 3.2vw, 62px);
    margin-bottom: 0;
    z-index: 12;
    opacity: 1;
    pointer-events: auto;
}

/* Vị trí 4: Bên phải giữa */
.shelf-bottle-item.shelf-pos-4 {
    left: 68%;
    height: clamp(260px, 32vh, 350px);
    bottom: clamp(36px, 3.2vw, 62px);
    margin-bottom: 0;
    z-index: 8;
    opacity: 1;
    pointer-events: auto;
}

/* Vị trí 5: Ngoài cùng bên phải */
.shelf-bottle-item.shelf-pos-5 {
    left: 86%;
    height: clamp(220px, 27vh, 295px);
    bottom: clamp(36px, 3.2vw, 62px);
    margin-bottom: 0;
    z-index: 5;
    opacity: 1;
    pointer-events: auto;
}

/* Vị trí ẩn bên trái (Chuẩn bị trượt vào hoặc vừa trượt ra) */
.shelf-bottle-item.shelf-pos-hidden-left {
    left: -6%;
    height: clamp(200px, 25vh, 270px);
    bottom: clamp(36px, 3.2vw, 62px);
    margin-bottom: 0;
    z-index: 1;
    opacity: 0 !important;
    pointer-events: none;
}

/* Vị trí ẩn bên phải (Chuẩn bị trượt vào hoặc vừa trượt ra) */
.shelf-bottle-item.shelf-pos-hidden-right {
    left: 106%;
    height: clamp(200px, 25vh, 270px);
    bottom: clamp(36px, 3.2vw, 62px);
    margin-bottom: 0;
    z-index: 1;
    opacity: 0 !important;
    pointer-events: none;
}

/* BÓNG ĐỔ TIẾP XÚC PHẲNG DƯỚI ĐÁY CHAI TRÊN MẶT BÀN GỖ (CONTACT SHADOW) - ĐỨNG YÊN VỮNG CHÃI */
.shelf-bottle-item::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 62%;
    height: 16px;
    background: radial-gradient(ellipse at center, rgba(6, 18, 18, 0.85) 0%, rgba(10, 25, 25, 0.45) 45%, transparent 75%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 4;
    filter: blur(2.5px);
    transition: width 0.75s ease, opacity 0.5s ease, transform 0.45s ease;
}

.shelf-bottle-item.shelf-pos-3::after {
    width: 72%;
    height: 20px;
    bottom: -10px;
    background: radial-gradient(ellipse at center, rgba(4, 15, 15, 0.92) 0%, rgba(8, 22, 22, 0.55) 45%, transparent 75%);
    filter: blur(3px);
}

.shelf-bottle-item.shelf-pos-hidden-left::after,
.shelf-bottle-item.shelf-pos-hidden-right::after {
    opacity: 0;
}

/* CHAI RƯỢU ĐỨNG YÊN TĨNH VỮNG VÀNG TRÊN MẶT BÀN (ĐÃ BỎ HIỆU ỨNG LẮC LƯ) */
.shelf-bottle-item .bottle-pic {
    position: relative;
    z-index: 5;
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.7));
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s ease;
    transform-origin: bottom center;
    animation: none !important;
    transform: none;
    will-change: transform;
}

/* Nền nguyên liệu phía sau chai rượu (CHỈ XUẤT HIỆN KHI RÊ CHUỘT / HOVER) - THU NHỎ GỌN GÀNG, SẮC NÉT */
.shelf-bottle-item .bottle-ingredient-backdrop {
    position: absolute;
    bottom: clamp(60px, 9.5vh, 105px);
    left: 50%;
    transform: translate(-50%, 0) scale(0.65);
    width: clamp(150px, 16vw, 220px);
    height: clamp(150px, 16vw, 220px);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.2);
    pointer-events: none;
    will-change: transform, opacity;
    z-index: 2;
}

/* Khi chai đứng ở vị trí chủ đạo trung tâm (Vị trí 3): Nền nguyên liệu vừa vặn, nhỏ gọn hơn clv.minhdat.net nhưng vẫn lộ rõ sâm */
.shelf-bottle-item.shelf-pos-3 .bottle-ingredient-backdrop {
    width: clamp(280px, 26vw, 380px);
    height: clamp(280px, 26vw, 380px);
    bottom: clamp(30px, 4.5vh, 60px);
    filter: drop-shadow(0 0 35px rgba(229, 192, 93, 0.7));
}

/* =====================================================================
   CÁC ELEMENT NGUYÊN LIỆU VỆ TINH NỔI (SATELLITE FLOATING ELEMENTS)
   Ôm sát gần thân chai, hình ảnh sắc nét, không bị nhòe mờ
   ===================================================================== */
.shelf-bottle-item .bottle-floating-elements {
    position: absolute;
    bottom: clamp(60px, 9.5vh, 105px);
    left: 50%;
    transform: translateX(-50%);
    width: clamp(180px, 19vw, 250px);
    height: clamp(180px, 19vw, 250px);
    pointer-events: none;
    z-index: 6;
}

.shelf-bottle-item.shelf-pos-3 .bottle-floating-elements {
    width: clamp(230px, 24vw, 310px);
    height: clamp(230px, 24vw, 310px);
    bottom: clamp(70px, 11.0vh, 115px);
}

.shelf-bottle-item .bottle-floating-elem {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    will-change: transform, opacity;
}

/* 4 Vị trí vệ tinh ôm sát quanh thân chai - kích thước vừa vặn, cực kỳ sắc nét */
.shelf-bottle-item .bottle-floating-elem.elem-1 {
    top: 15%;
    left: 10%;
    width: clamp(35px, 3.8vw, 54px);
    height: clamp(35px, 3.8vw, 54px);
    z-index: 3; /* Phía sau vai chai */
}

.shelf-bottle-item.shelf-pos-3 .bottle-floating-elem.elem-1 {
    width: clamp(45px, 4.6vw, 68px);
    height: clamp(45px, 4.6vw, 68px);
    top: 14%;
    left: 10%;
}

.shelf-bottle-item .bottle-floating-elem.elem-2 {
    top: 18%;
    right: 10%;
    width: clamp(34px, 3.6vw, 52px);
    height: clamp(34px, 3.6vw, 52px);
    z-index: 7; /* Nổi phía trước góc phải */
}

.shelf-bottle-item.shelf-pos-3 .bottle-floating-elem.elem-2 {
    width: clamp(44px, 4.5vw, 66px);
    height: clamp(44px, 4.5vw, 66px);
    top: 17%;
    right: 10%;
}

.shelf-bottle-item .bottle-floating-elem.elem-3 {
    top: 48%;
    left: 8%;
    width: clamp(32px, 3.5vw, 50px);
    height: clamp(32px, 3.5vw, 50px);
    z-index: 3;
}

.shelf-bottle-item.shelf-pos-3 .bottle-floating-elem.elem-3 {
    width: clamp(42px, 4.3vw, 64px);
    height: clamp(42px, 4.3vw, 64px);
    top: 48%;
    left: 8%;
}

.shelf-bottle-item .bottle-floating-elem.elem-4 {
    top: 52%;
    right: 8%;
    width: clamp(34px, 3.6vw, 52px);
    height: clamp(34px, 3.6vw, 52px);
    z-index: 7;
}

.shelf-bottle-item.shelf-pos-3 .bottle-floating-elem.elem-4 {
    width: clamp(44px, 4.5vw, 66px);
    height: clamp(44px, 4.5vw, 66px);
    top: 52%;
    right: 8%;
}

/* Floating Tooltip Pill (Chỉ xuất hiện khi rê chuột) */
.shelf-bottle-item .bottle-hover-tooltip {
    position: absolute;
    top: -55px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(5, 36, 37, 0.95);
    border: 1.5px solid #dfb74a;
    padding: 8px 20px;
    border-radius: 9999px;
    white-space: nowrap;
    color: #ffffff;
    font-family: 'BT Danta', 'BT Danta VF', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 25;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    pointer-events: none;
}

.shelf-bottle-item .bottle-hover-tooltip span {
    color: #dfb74a;
    display: block;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.shelf-bottle-item .bottle-hover-tooltip small {
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 400;
}

/* HOVER & ACTIVE STATE: Giữ chân chai cố định trên mặt bàn, mở rộng nhẹ nhàng */
.shelf-bottle-item:hover,
.shelf-bottle-item.is-hovered {
    transform: translateX(-50%) scale(1.035);
    transform-origin: bottom center;
    z-index: 22 !important;
}

.shelf-bottle-item:hover .bottle-pic,
.shelf-bottle-item.is-hovered .bottle-pic {
    animation-play-state: paused;
    transform: scale(1.02);
    filter: drop-shadow(0 22px 35px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 25px rgba(229, 192, 93, 0.85));
}

/* Khi hover: Bóng tiếp xúc phẳng nở nhẹ đồng điệu theo thân chai */
.shelf-bottle-item:hover::after,
.shelf-bottle-item.is-hovered::after {
    transform: translateX(-50%) scale(1.1);
    opacity: 0.95;
    filter: blur(3px);
}

/* Khi hover: Backdrop nguyên liệu bung nở vừa vặn sau thân chai rồi thở liên tục */
.shelf-bottle-item:hover .bottle-ingredient-backdrop,
.shelf-bottle-item.is-hovered .bottle-ingredient-backdrop {
    opacity: 1;
    visibility: visible;
    animation: ingredientPopupBloom 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
               ingredientContinuousBreathing 5.5s ease-in-out 0.65s infinite alternate;
}

/* Khi hover: 4 element vệ tinh bung nảy popup đàn hồi và chuyển động liên tục quanh thân chai */
.shelf-bottle-item:hover .bottle-floating-elem.elem-1,
.shelf-bottle-item.is-hovered .bottle-floating-elem.elem-1 {
    opacity: 1;
    visibility: visible;
    animation: popOutElem1 0.42s cubic-bezier(0.2, 0.9, 0.3, 1) forwards,
               floatContinuousElem1 4.6s ease-in-out 0.42s infinite alternate;
}

.shelf-bottle-item:hover .bottle-floating-elem.elem-2,
.shelf-bottle-item.is-hovered .bottle-floating-elem.elem-2 {
    opacity: 1;
    visibility: visible;
    animation: popOutElem2 0.45s cubic-bezier(0.2, 0.9, 0.3, 1) 0.04s forwards,
               floatContinuousElem2 4.2s ease-in-out 0.49s infinite alternate;
}

.shelf-bottle-item:hover .bottle-floating-elem.elem-3,
.shelf-bottle-item.is-hovered .bottle-floating-elem.elem-3 {
    opacity: 1;
    visibility: visible;
    animation: popOutElem3 0.42s cubic-bezier(0.2, 0.9, 0.3, 1) 0.08s forwards,
               floatContinuousElem3 5.0s ease-in-out 0.50s infinite alternate;
}

.shelf-bottle-item:hover .bottle-floating-elem.elem-4,
.shelf-bottle-item.is-hovered .bottle-floating-elem.elem-4 {
    opacity: 1;
    visibility: visible;
    animation: popOutElem4 0.46s cubic-bezier(0.2, 0.9, 0.3, 1) 0.12s forwards,
               floatContinuousElem4 4.5s ease-in-out 0.58s infinite alternate;
}

.shelf-bottle-item:hover .bottle-hover-tooltip,
.shelf-bottle-item.is-hovered .bottle-hover-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Khi rê chuột vào 1 chai, làm mờ nhẹ các chai hiển thị khác */
.shelf-bottles-track:hover .shelf-bottle-item:not(:hover):not(.shelf-pos-hidden-left):not(.shelf-pos-hidden-right) {
    opacity: 0.78;
    filter: brightness(0.92);
}

/* =====================================================================
   KEYFRAME ANIMATIONS: POPUP NGUYÊN LIỆU VÀ TRÔI NỔI NGHỆ THUẬT
   ===================================================================== */

/* 2. Backdrop nguyên liệu bung nở đàn hồi và thở liên tục - SẮC NÉT, VỪA VẶN */
@keyframes ingredientPopupBloom {
    0% {
        opacity: 0;
        visibility: visible;
        transform: translate(-50%, 15px) scale(0.4) rotate(-4deg);
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    }
    70% {
        opacity: 1;
        transform: translate(-50%, -6px) scale(1.03) rotate(1deg);
        filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
    }
    100% {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, -4px) scale(1) rotate(0deg);
        filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
    }
}

@keyframes ingredientContinuousBreathing {
    0% {
        transform: translate(-50%, -4px) scale(1) rotate(0deg);
        filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
    }
    50% {
        transform: translate(-50%, -8px) scale(1.025) rotate(0.8deg);
        filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    }
    100% {
        transform: translate(-50%, -4px) scale(0.99) rotate(-0.8deg);
        filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
    }
}

/* 3. Bốn element vệ tinh bung nở ôm sát vai/hông chai - SẮC NÉT, KHÔNG BỊ NHÒE, KHÔNG TỎA XA */
@keyframes popOutElem1 {
    0% {
        opacity: 0;
        transform: translate(25px, 30px) scale(0.3) rotate(-20deg);
    }
    70% {
        opacity: 1;
        transform: translate(-4px, -4px) scale(1.08) rotate(5deg);
        filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.45));
    }
    100% {
        opacity: 1;
        transform: translate(0, 0) scale(1) rotate(0deg);
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
    }
}

@keyframes floatContinuousElem1 {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
    }
    33% {
        transform: translateY(-5px) translateX(-3px) rotate(4deg) scale(1.03);
    }
    66% {
        transform: translateY(-2px) translateX(3px) rotate(-3deg) scale(0.98);
    }
    100% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
    }
}

@keyframes popOutElem2 {
    0% {
        opacity: 0;
        transform: translate(-25px, 30px) scale(0.3) rotate(20deg);
    }
    70% {
        opacity: 1;
        transform: translate(4px, -4px) scale(1.08) rotate(-5deg);
        filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.45));
    }
    100% {
        opacity: 1;
        transform: translate(0, 0) scale(1) rotate(0deg);
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
    }
}

@keyframes floatContinuousElem2 {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
    }
    33% {
        transform: translateY(-4px) translateX(3px) rotate(-4deg) scale(1.03);
    }
    66% {
        transform: translateY(2px) translateX(-2px) rotate(3deg) scale(0.98);
    }
    100% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
    }
}

@keyframes popOutElem3 {
    0% {
        opacity: 0;
        transform: translate(20px, -20px) scale(0.3) rotate(-15deg);
    }
    70% {
        opacity: 1;
        transform: translate(-4px, 3px) scale(1.08) rotate(4deg);
        filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.45));
    }
    100% {
        opacity: 1;
        transform: translate(0, 0) scale(1) rotate(0deg);
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
    }
}

@keyframes floatContinuousElem3 {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
    }
    33% {
        transform: translateY(4px) translateX(-2px) rotate(-3deg) scale(1.02);
    }
    66% {
        transform: translateY(-4px) translateX(2px) rotate(3deg) scale(0.98);
    }
    100% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
    }
}

@keyframes popOutElem4 {
    0% {
        opacity: 0;
        transform: translate(-20px, -20px) scale(0.3) rotate(15deg);
    }
    70% {
        opacity: 1;
        transform: translate(4px, 3px) scale(1.08) rotate(-4deg);
        filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.45));
    }
    100% {
        opacity: 1;
        transform: translate(0, 0) scale(1) rotate(0deg);
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
    }
}

@keyframes floatContinuousElem4 {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
    }
    33% {
        transform: translateY(4px) translateX(2px) rotate(4deg) scale(1.03);
    }
    66% {
        transform: translateY(-3px) translateX(-2px) rotate(-3deg) scale(0.97);
    }
    100% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
    }
}

/* --- 3. Pill Buttons (Chuẩn theo 0. Trang chủ-1.pdf) --- */
.clv-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 28px;
    border-radius: 9999px;
    font-family: 'BT Danta', 'BT Danta VF', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    white-space: nowrap !important;
}

.clv-pill-btn-white {
    background: #ffffff;
    color: #063333;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.clv-pill-btn-white:hover {
    background: #f7f5f3;
    color: #062627;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.clv-pill-btn-white .pill-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #063333;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.clv-pill-btn-white:hover .pill-arrow {
    transform: translateX(4px);
}

.clv-pill-btn-dark {
    background: #0c3636;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(12, 54, 54, 0.3);
}

.clv-pill-btn-dark:hover {
    background: #062627;
    color: #dfb74a;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(6, 38, 39, 0.4);
}

.clv-pill-btn-dark .pill-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    color: #0c3636;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.clv-pill-btn-dark:hover .pill-arrow {
    transform: translateX(4px);
}

/* --- 4. Section: CÂU CHUYỆN THƯƠNG HIỆU --- */
.sec-story-home {
    position: relative;
    padding: 65px 0 clamp(110px, 12vw, 160px) 0;
    background-color: #063333;
    background-image: url('../images/home/van-may-nen-xanh.svg'), radial-gradient(ellipse 70% 60% at 50% 35%, #0b4a47 0%, #063333 60%, #042424 100%);
    background-repeat: repeat, no-repeat;
    background-position: center top, center center;
    background-size: 1920px auto, 100% 100%;
    color: #ffffff;
    overflow: hidden;
    text-align: center;
}

.sec-story-home .story-lead-title,
.story-lead-title {
    font-family: 'BT Danta', 'BT Danta VF', sans-serif;
    font-size: clamp(1.65rem, 2.5vw, 2.25rem);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: #ffffff;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
}

.sec-story-home .story-lead-desc,
.story-lead-desc {
    max-width: 960px;
    margin: 0 auto 30px auto;
    font-family: 'BT Danta', 'BT Danta VF', sans-serif !important;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.9);
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
}

.story-wavy-cards-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(12px, 1.3vw, 18px);
    margin-top: 40px;
    margin-bottom: 20px;
    position: relative;
    z-index: 5;
    width: 100%;
}

.story-wavy-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.4s ease;
    text-decoration: none;
    width: 100%;
    min-width: 0;
}

.story-wavy-card:nth-child(2),
.story-wavy-card:nth-child(4) {
    margin-top: 48px;
}

.story-wavy-card:hover {
    transform: translateY(-8px);
}

.story-arch-thumb-wrap {
    width: 100%;
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.55));
    margin-bottom: 16px;
    transition: filter 0.4s ease;
}

.story-wavy-card:hover .story-arch-thumb-wrap {
    filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.7));
}

.story-arch-thumb {
    width: 100%;
    aspect-ratio: 237.461 / 396.981;
    height: auto;
    position: relative;
    clip-path: url(#storyOuterClip);
    -webkit-clip-path: url(#storyOuterClip);
    overflow: hidden;
    background: #0d3833;
    border: none;
    border-radius: 0;
    margin-bottom: 0;
    box-shadow: none;
}

.story-arch-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.story-frame-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.story-wavy-card:hover .story-arch-thumb img {
    transform: scale(1.08);
}

.story-wavy-card h4 {
    font-family: 'BT Danta', 'BT Danta VF', sans-serif;
    font-size: clamp(0.72rem, 0.8vw, 0.94rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
    white-space: nowrap;
    text-align: center;
    max-width: 100%;
    width: auto;
    margin: 0 auto;
    position: relative;
    z-index: 6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.3px;
}

.story-bottom-clouds {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    pointer-events: none;
    z-index: 2;
    margin-bottom: -1px;
}

.story-bottom-clouds img,
.clouds-gold-img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: bottom;
}

/* --- 5. Section: NIỀM TIN ĐƯỢC NHÌN THẤY --- */
.sec-trust-home {
    position: relative;
    padding: 24px 0 45px 0;
    background: #f0ece9 url('../images/home/bg-trong-dong.svg') no-repeat center center / 850px;
    color: #163d3d;
    overflow: hidden;
}

.marquee-line-ticker {
    width: 100%;
    overflow: hidden;
    padding: 10px 0 20px 0;
    display: flex;
}

.marquee-line-ticker img {
    height: 44px;
    width: auto;
    flex-shrink: 0;
    display: block;
    margin: 0;
    animation: tickerInfiniteScroll 50s linear infinite;
}

@keyframes tickerInfiniteScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.trust-head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
    text-align: left;
}

.trust-head-left {
    flex: 1;
    max-width: 780px;
}

.trust-lead-title {
    font-family: 'BT Danta', 'BT Danta VF', sans-serif;
    font-size: clamp(1.65rem, 2.5vw, 2.25rem);
    font-weight: 700;
    color: #163d3d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
}

.trust-lead-desc {
    font-family: 'BT Danta', 'BT Danta VF', sans-serif !important;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 400 !important;
    color: #163d3d;
    margin: 0;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
    text-align: justify;
    text-justify: inter-word;
    text-align-last: left;
}

.trust-head-right {
    flex-shrink: 0;
}

.trust-birds-wrap {
    position: relative;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.chim-lac-bird {
    position: absolute;
    width: clamp(200px, 18vw, 240px);
    height: auto;
    z-index: 10;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.12));
    pointer-events: none;
}

/* Hai con hạc xoay đầu hướng vào tâm:
   Con hạc bên trái: xoay đầu sang phải (scaleX(-1))
   Con hạc bên phải: đầu hướng sang trái (scaleX(1)) */
.chim-lac-bird.left-bird {
    top: 0px;
    left: clamp(20px, 2.2vw, 32px);
    transform: scaleX(-1);
    animation: floatBirdLeft 8s ease-in-out infinite;
}

.chim-lac-bird.right-bird {
    top: 0px;
    right: clamp(20px, 2.2vw, 32px);
    transform: scaleX(1);
    animation: floatBirdRight 8s ease-in-out infinite;
}

@keyframes floatBirdLeft {
    0%, 100% {
        transform: scaleX(-1) translateY(0px) rotate(0deg);
    }
    50% {
        transform: scaleX(-1) translateY(-14px) rotate(-1.5deg);
    }
}

@keyframes floatBirdRight {
    0%, 100% {
        transform: scaleX(1) translateY(0px) rotate(0deg);
    }
    50% {
        transform: scaleX(1) translateY(-14px) rotate(1.5deg);
    }
}

.trust-symmetric-gallery {
    display: flex;
    align-items: flex-end; /* Chuẩn đáy chân bằng nhau 100% như nguyên mẫu PDF */
    justify-content: center;
    gap: clamp(10px, 1.2vw, 17px);
    margin-top: 30px;
}

.trust-gallery-item {
    position: relative;
    filter: drop-shadow(0 15px 35px rgba(12, 54, 54, 0.2));
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.25, 1), filter 0.4s ease;
    flex-shrink: 1;
}

.trust-gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    filter: drop-shadow(0 22px 42px rgba(12, 54, 54, 0.32));
}

.trust-gallery-svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}

.trust-gallery-item.h-sm { 
    width: clamp(130px, 13.6vw, 196.56px); 
    aspect-ratio: 196.56 / 331.30;
    height: auto;
}
.trust-gallery-item.h-md { 
    width: clamp(170px, 18vw, 260.32px); 
    aspect-ratio: 260.32 / 436.78;
    height: auto;
}
.trust-gallery-item.h-lg { 
    width: clamp(220px, 23.5vw, 338.61px); 
    aspect-ratio: 338.61 / 568.15;
    height: auto;
}

/* --- 6. Section: TRẢI NGHIỆM CỬU LONG --- */
.sec-exp-home {
    position: relative;
    padding: 60px 0 70px 0;
    background: #063333 url('../images/home/van-may-nen-xanh.svg') repeat center top / 380px;
    color: #ffffff;
    text-align: center;
    overflow: visible;
    z-index: 10;
}

.sec-exp-home .story-lead-title {
    font-family: 'BT Danta', 'BT Danta VF', sans-serif;
    font-size: clamp(1.65rem, 2.5vw, 2.25rem);
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 16px;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
}

.exp-stage-center {
    position: relative;
    width: 100%;
    max-width: 1048px;
    aspect-ratio: 1048.28 / 622.34;
    margin: 40px auto 0 auto;
    z-index: 5;
}

.exp-arch-frame {
    width: 100%;
    height: 100%;
    clip-path: url(#clvFarmClipNorm);
    -webkit-clip-path: url(#clvFarmClipNorm);
    position: relative;
    overflow: hidden;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.55));
}

.exp-vector-frame-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.exp-slides-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.exp-slide-item {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.65s ease-in-out, visibility 0.65s ease-in-out;
}

.exp-slide-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.exp-slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.exp-stage-center:hover .exp-slide-item.active img {
    transform: scale(1.04);
}

.exp-slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 15;
    background: rgba(8, 30, 31, 0.7);
    padding: 7px 16px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
}

.exp-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.25, 1);
}

.exp-dot:hover, .exp-dot.active {
    background: #dfb74a;
    transform: scale(1.35);
    box-shadow: 0 0 10px rgba(223, 183, 74, 0.9);
}

.exp-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 58px; /* Khớp đường kính 58.46px chuẩn bản gốc PDF */
    height: 58px;
    border-radius: 50%;
    background: #f5f2ed; /* Màu nền trắng ngà chuẩn bản gốc PDF */
    border: none;
    color: #0c3636;
    font-size: 1.45rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.exp-nav-btn:hover {
    background: #dfb74a;
    color: #062627;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 25px rgba(223, 183, 74, 0.8);
}

.exp-nav-btn.prev-btn { left: -29px; } /* Căn giữa mép viền trái như PDF */
.exp-nav-btn.next-btn { right: -29px; } /* Căn giữa mép viền phải như PDF */

/* Golden Lotus Corner Ornaments - Tách lớp Hoa Sen & Lá Sen chuyển động độc lập, tự nhiên và sống động */
.exp-lotus-ornament {
    position: absolute;
    bottom: 0;
    height: auto;
    z-index: 12;
    pointer-events: none;
    backface-visibility: hidden;
}

.exp-lotus-ornament.left-lotus {
    left: 0;
    width: clamp(300px, 26.8vw, 520px);
    aspect-ratio: 1031 / 871;
    transform: translateY(10.33%);
}

.exp-lotus-ornament.right-lotus {
    right: 0;
    width: clamp(340px, 28vw, 560px);
    aspect-ratio: 1062 / 1157;
    transform: translateY(12.79%);
}

.exp-lotus-ornament .lotus-part-leaf,
.exp-lotus-ornament .lotus-part-flower {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    will-change: transform, filter;
    backface-visibility: hidden;
}

/* Lớp 1: Lá Sen (Nền dưới) */
.exp-lotus-ornament .lotus-part-leaf {
    z-index: 1;
}

/* Lớp 2: Hoa Sen (Nổi phía trên, bóng đổ vàng kim thanh lịch) */
.exp-lotus-ornament .lotus-part-flower {
    z-index: 2;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.22)) drop-shadow(0 0 8px rgba(220, 182, 93, 0.15));
}

/* --- Chuyển động riêng biệt bên Trái --- */
/* Hoa sen nở vươn cao, cuống thanh mảnh uốn lượn nhịp nhàng theo gió */
.left-lotus .lotus-part-flower {
    transform-origin: 38% 88%;
    animation: lotusFlowerBreezeLeft 7.2s ease-in-out infinite;
}

/* Lá sen to bản & Nụ sen vững chãi, chuyển động sóng gợn đón gió */
.left-lotus .lotus-part-leaf {
    transform-origin: 15% 95%;
    animation: lotusLeafBreezeLeft 10.5s ease-in-out infinite;
}

/* --- Chuyển động riêng biệt bên Phải --- */
/* Hoa sen nở ở trung tâm vươn cao đung đưa duyên dáng */
.right-lotus .lotus-part-flower {
    transform-origin: 50% 88%;
    animation: lotusFlowerBreezeRight 8.0s ease-in-out infinite -2.5s;
}

/* Tán lá sen lớn & Nụ sen bên phải uốn nhịp nhàng đón gió */
.right-lotus .lotus-part-leaf {
    transform-origin: 85% 95%;
    animation: lotusLeafBreezeRight 11.8s ease-in-out infinite -4s;
}

/* Keyframes: Hoa sen trái đung đưa thanh thoát */
@keyframes lotusFlowerBreezeLeft {
    0%, 100% {
        transform: rotate(0deg) skewX(0deg) translateY(0);
        filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.22)) drop-shadow(0 0 6px rgba(220, 182, 93, 0.12));
    }
    30% {
        transform: rotate(2.2deg) skewX(0.6deg) translateY(-4px);
        filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.26)) drop-shadow(0 0 14px rgba(220, 182, 93, 0.22));
    }
    60% {
        transform: rotate(-0.5deg) skewX(-0.2deg) translateY(0px);
        filter: drop-shadow(0 5px 14px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 8px rgba(220, 182, 93, 0.14));
    }
    82% {
        transform: rotate(-1.8deg) skewX(-0.5deg) translateY(-2px);
        filter: drop-shadow(0 7px 18px rgba(0, 0, 0, 0.24)) drop-shadow(0 0 12px rgba(220, 182, 93, 0.18));
    }
}

/* Keyframes: Lá sen trái gợn sóng êm ả, vững chãi */
@keyframes lotusLeafBreezeLeft {
    0%, 100% {
        transform: rotate(0deg) scaleY(1);
    }
    35% {
        transform: rotate(1.0deg) scaleY(1.008);
    }
    70% {
        transform: rotate(-0.8deg) scaleY(0.995);
    }
}

/* Keyframes: Hoa sen phải đung đưa uyển chuyển */
@keyframes lotusFlowerBreezeRight {
    0%, 100% {
        transform: rotate(0deg) skewX(0deg) translateY(0);
        filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.22)) drop-shadow(0 0 6px rgba(220, 182, 93, 0.12));
    }
    32% {
        transform: rotate(-2.4deg) skewX(-0.7deg) translateY(-4px);
        filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.26)) drop-shadow(0 0 14px rgba(220, 182, 93, 0.22));
    }
    65% {
        transform: rotate(0.6deg) skewX(0.2deg) translateY(1px);
        filter: drop-shadow(0 5px 14px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 8px rgba(220, 182, 93, 0.14));
    }
    85% {
        transform: rotate(1.8deg) skewX(0.5deg) translateY(-2px);
        filter: drop-shadow(0 7px 18px rgba(0, 0, 0, 0.24)) drop-shadow(0 0 12px rgba(220, 182, 93, 0.18));
    }
}

/* Keyframes: Lá sen phải dập dềnh êm dịu, bảo toàn nụ hoa */
@keyframes lotusLeafBreezeRight {
    0%, 100% {
        transform: rotate(0deg) scaleY(1);
    }
    35% {
        transform: rotate(-0.9deg) scaleY(1.008);
    }
    72% {
        transform: rotate(0.8deg) scaleY(0.995);
    }
}

@media (prefers-reduced-motion: reduce) {
    .exp-lotus-ornament .lotus-part-leaf,
    .exp-lotus-ornament .lotus-part-flower {
        animation: none !important;
    }
}


/* --- 7. Section: KHÁCH HÀNG & ĐỐI TÁC (Tuân thủ Quy chuẩn CLV) --- */
.sec-partners-home {
    position: relative;
    padding: 55px 0 65px 0;
    background: #f0ece9 url('../images/home/bg-trong-dong.svg') no-repeat center bottom / clamp(850px, 80vw, 1350px) auto;
    text-align: center;
    color: #0c3636;
    overflow: hidden;
}

/* Khung bọc tương tác slider có 2 mũi tên 2 đầu */
.partners-slider-wrapper {
    position: relative;
    max-width: 1360px;
    margin: 25px auto 0 auto;
    padding: 0 58px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

/* Khung nhìn trượt đối tác */
.partners-slider-viewport {
    width: 100%;
    overflow: hidden;
    padding: 18px 4px;
    user-select: none;
    cursor: grab;
}

.partners-slider-viewport.is-dragging {
    cursor: grabbing;
}

/* Đường ray chuyển động các thẻ đối tác */
.partners-slider-track {
    display: flex;
    align-items: center;
    gap: 22px;
    width: max-content;
    will-change: transform;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Thẻ đối tác chuẩn nhận diện thương hiệu CLV */
.partner-card-box {
    flex: 0 0 220px;
    width: 220px;
    height: 125px;
    background: #ffffff;
    border-radius: 18px;
    padding: 24px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    cursor: pointer;
    user-select: none;
    outline: none;
    box-sizing: border-box;
}

.partner-card-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(12, 54, 54, 0.15);
    border-color: rgba(197, 155, 39, 0.45);
}

/* Trạng thái được chọn (Selected/Active) theo Quy chuẩn CLV */
.partner-card-box.is-selected {
    transform: translateY(-6px);
    border-color: #c59b27;
    box-shadow: 0 14px 35px rgba(197, 155, 39, 0.32), 0 0 0 1px #c59b27;
}

.partner-card-box img {
    max-height: 65px;
    max-width: 90%;
    width: auto;
    object-fit: contain;
    pointer-events: none;
}

/* Nút mũi tên điều hướng ở 2 đầu (Left & Right) */
.partners-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid rgba(197, 155, 39, 0.5);
    color: #163d3d;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 20px rgba(12, 54, 54, 0.1);
    outline: none;
}

.partners-nav-btn.prev-btn {
    left: 0;
}

.partners-nav-btn.next-btn {
    right: 0;
}

.partners-nav-btn:hover {
    background: #c59b27;
    border-color: #c59b27;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(197, 155, 39, 0.45);
}

.partners-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

/* Fallback tương thích ngược */
.partners-grid-cards {
    display: flex;
    gap: 22px;
}

/* --- 8. Section: TIN TỨC VÀ TRI THỨC (Chuẩn theo 0. Trang chủ-1.pdf) --- */
.sec-news-home {
    position: relative;
    padding: 60px 0 70px 0;
    background: #063333 url('../images/home/van-may-nen-xanh.svg') repeat center top / 380px;
    color: #ffffff;
}

.sec-news-home .story-lead-title {
    font-family: 'BT Danta', 'BT Danta VF', sans-serif;
    font-size: clamp(1.65rem, 2.5vw, 2.25rem);
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    text-align: center;
    margin-bottom: 28px;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
}

.news-asymm-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Featured Large Article (Left) */
.news-feat-large {
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease;
}

.news-feat-large:hover {
    transform: translateY(-5px);
}

.news-feat-large .news-feat-img-box {
    width: 100%;
    height: 350px;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 22px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.news-feat-large .news-feat-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-feat-large:hover .news-feat-img-box img {
    transform: scale(1.05);
}

.news-feat-large h3 {
    font-family: 'BT Danta', 'BT Danta VF', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.5;
    margin-bottom: 12px;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
}

.news-feat-large .news-meta {
    font-family: 'BT Danta', 'BT Danta VF', sans-serif;
    font-size: 0.88rem;
    font-weight: 400;
    color: #dfb74a;
    margin-bottom: 10px;
}

.news-feat-large p {
    font-family: 'BT Danta', 'BT Danta VF', sans-serif !important;
    font-size: 16px;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 15px;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
}

/* 3 Stacked Articles (Right) */
.news-side-stack {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.news-side-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #ffffff;
}

.news-side-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(223, 183, 74, 0.5);
    transform: translateX(6px);
}

.news-side-card img {
    width: 160px;
    height: 110px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.news-side-card h4 {
    font-family: 'BT Danta', 'BT Danta VF', sans-serif;
    font-size: 1.02rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.4;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
}

.news-side-card .news-side-meta {
    font-size: 0.82rem;
    font-weight: 400;
    color: #dfb74a;
    font-family: 'BT Danta', 'BT Danta VF', sans-serif;
}

/* --- 9. Light Cream Footer (Theo chuẩn 0. Trang chủ-1.pdf) --- */
.footer-home-light {
    position: relative;
    background: linear-gradient(180deg, #ede7de 0%, #e2d3be 100%);
    color: #1a2929;
    padding: 0;
    overflow: hidden;
}

.footer-top-pattern {
    width: 100%;
    height: 24px;
    background-image: url('../images/home/footer-wave-band.png');
    background-size: auto 24px;
    background-repeat: repeat-x;
}

/* Master footer styles now seamlessly inherited from style.css */

/* --- 10. Responsive Breakpoints --- */
@media (max-width: 1200px) {
    .shelf-stage-wrap {
        height: 520px;
    }
    .shelf-bottle-item.shelf-pos-1 { left: 11%; }
    .shelf-bottle-item.shelf-pos-2 { left: 30%; }
    .shelf-bottle-item.shelf-pos-3 { left: 50%; }
    .shelf-bottle-item.shelf-pos-4 { left: 70%; }
    .shelf-bottle-item.shelf-pos-5 { left: 89%; }
    .story-wavy-cards-grid {
        gap: 15px;
    }
    .partners-slider-wrapper {
        padding: 0 52px;
    }
    .partner-card-box {
        flex: 0 0 200px;
        width: 200px;
        height: 118px;
    }

}

@media (max-width: 991px) {
    .nav-group-left, .nav-group-right {
        display: none; /* Mobile navigation via drawer */
    }
    .mobile-header-btn {
        display: block !important;
    }
    .hero-shelf-section {
        min-height: auto !important;
        padding-top: clamp(66px, 8.5vh, 85px) !important;
        padding-bottom: 0 !important;
        background: #062627 url('../images/home/hero-shelf-stage-mobile.webp') no-repeat center bottom / 100% auto !important;
        overflow: hidden !important;
    }
    .hero-header-titles {
        padding-top: clamp(8px, 1.8vh, 16px) !important;
        margin-bottom: 0 !important;
        z-index: 10 !important;
    }
    .hero-subtitle-tag {
        font-size: clamp(0.85rem, 3.2vw, 1.05rem) !important;
        margin-bottom: 4px !important;
        letter-spacing: 0.5px !important;
        padding: 0 10px !important;
        white-space: normal !important;
    }
    .hero-title-artwork {
        width: clamp(210px, 62vw, 280px) !important;
        max-width: 78vw !important;
        height: auto !important;
    }
    .shelf-stage-wrap {
        position: relative !important;
        width: 100% !important;
        height: clamp(340px, 44vh, 385px) !important;
        overflow: visible !important;
        justify-content: center !important;
        padding: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    .shelf-bottles-track {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
    }
    /* Contact shadows */
    .shelf-bottle-item::after {
        bottom: -4px !important;
        width: 58% !important;
        height: 10px !important;
        filter: blur(2px) !important;
    }
    .shelf-bottle-item.shelf-pos-3::after {
        bottom: -5px !important;
        width: 68% !important;
        height: 12px !important;
        filter: blur(2.5px) !important;
    }
    /* 3 active bottles on mobile, sitting strictly on the green table deck */
    .shelf-bottle-item.shelf-pos-3 {
        height: clamp(190px, 24vh, 218px) !important;
        bottom: clamp(72px, 19.5vw, 88px) !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        opacity: 1 !important;
        z-index: 12 !important;
        pointer-events: auto !important;
    }
    .shelf-bottle-item.shelf-pos-2 {
        height: clamp(150px, 19vh, 175px) !important;
        bottom: clamp(72px, 19.5vw, 88px) !important;
        left: 26% !important;
        transform: translateX(-50%) scale(0.92) !important;
        opacity: 0.88 !important;
        z-index: 8 !important;
        pointer-events: auto !important;
    }
    .shelf-bottle-item.shelf-pos-4 {
        height: clamp(150px, 19vh, 175px) !important;
        bottom: clamp(72px, 19.5vw, 88px) !important;
        left: 74% !important;
        transform: translateX(-50%) scale(0.92) !important;
        opacity: 0.88 !important;
        z-index: 8 !important;
        pointer-events: auto !important;
    }
    /* Pos 1 and 5 hidden on mobile to avoid hanging outside table scrolls */
    .shelf-bottle-item.shelf-pos-1,
    .shelf-bottle-item.shelf-pos-5 {
        opacity: 0 !important;
        pointer-events: none !important;
        visibility: hidden !important;
        transform: translateX(-50%) scale(0.5) !important;
    }
    .shelf-nav-btn {
        top: 45% !important;
        width: 38px !important;
        height: 38px !important;
        font-size: 1.15rem !important;
    }
    .shelf-nav-btn.prev-btn { left: 4px !important; }
    .shelf-nav-btn.next-btn { right: 4px !important; }
    .story-wavy-cards-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 24px 14px !important;
        margin: 24px 0 20px 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }
    .story-wavy-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        transform: none !important;
    }
    .story-wavy-card:nth-child(2),
    .story-wavy-card:nth-child(4) {
        transform: none !important;
        margin-top: 0 !important;
    }
    .story-wavy-card:nth-child(5) {
        grid-column: 1 / -1 !important;
        max-width: 180px !important;
        margin: 18px auto 0 auto !important;
    }
    .story-wavy-card h4 {
        white-space: normal !important;
        text-wrap: balance !important;
        font-size: clamp(0.85rem, 3.6vw, 0.98rem) !important;
        line-height: 1.35 !important;
        margin-top: 10px !important;
        padding: 0 4px !important;
        word-break: break-word !important;
    }
    .trust-head-row {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 20px !important;
        margin-bottom: 28px !important;
    }
    .trust-head-left {
        max-width: 100% !important;
        width: 100% !important;
        margin-bottom: 0 !important;
    }
    .trust-head-right {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        margin: 0 auto !important;
    }
    .trust-head-right .clv-pill-btn {
        margin: 0 auto !important;
    }
    .trust-symmetric-gallery {
        flex-wrap: wrap;
        align-items: center;
        gap: 16px;
    }
    .trust-gallery-item.h-sm,
    .trust-gallery-item.h-md,
    .trust-gallery-item.h-lg {
        width: 45%;
        max-width: 260px;
        height: auto;
    }
    .chim-lac-bird,
    .exp-lotus-ornament {
        display: none;
    }
    .news-asymm-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .partners-slider-wrapper {
        padding: 0 40px;
        margin-top: 25px;
    }
    .partners-slider-track {
        gap: 14px;
    }
    .partner-card-box {
        flex: 0 0 160px;
        width: 160px;
        height: 100px;
        padding: 16px 10px;
        border-radius: 14px;
    }
    .partner-card-box img {
        max-height: 45px;
    }
    .partners-nav-btn {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
    }

    .trust-gallery-item.h-sm,
    .trust-gallery-item.h-md,
    .trust-gallery-item.h-lg {
        width: 100%;
        max-width: 260px;
        height: auto;
        margin: 0 auto;
    }

    .exp-nav-btn.prev-btn {
        left: 8px !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 1.3rem !important;
    }

    .exp-nav-btn.next-btn {
        right: 8px !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 1.3rem !important;
    }

}

/* ==========================================================================
   METALLIC SHINE SWEEP ON HOVER (HIỆU ỨNG ÁNH SÁNG KIM LOẠI XOẸT QUA)
   ========================================================================== */
.story-arch-thumb,
.news-thumb-wrap,
.news-feat-large .news-feat-thumb,
.exp-arch-frame {
    position: relative;
    overflow: hidden;
}

.story-arch-thumb::after,
.news-thumb-wrap::after,
.news-feat-large .news-feat-thumb::after,
.exp-arch-frame::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -130%;
    width: 60%;
    height: 200%;
    background: linear-gradient(
        115deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.08) 25%,
        rgba(255, 248, 220, 0.4) 45%,
        rgba(255, 255, 255, 0.95) 50%,
        rgba(255, 248, 220, 0.4) 55%,
        rgba(255, 255, 255, 0.08) 75%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    pointer-events: none;
    z-index: 8;
    opacity: 0;
    transition: none;
    filter: drop-shadow(0 0 10px rgba(255, 240, 180, 0.85));
}

.story-wavy-card:hover .story-arch-thumb::after,
.news-col-item:hover .news-thumb-wrap::after,
.news-feat-large:hover .news-feat-thumb::after,
.exp-stage-center:hover .exp-arch-frame::after {
    opacity: 1;
    left: 170%;
    transition: left 0.75s cubic-bezier(0.2, 0.8, 0.25, 1), opacity 0.5s ease-in-out;
}

@media (max-width: 768px) {
    .sec-story-home {
        padding: 24px 0 28px 0 !important;
    }
    .sec-story-home .story-lead-title {
        margin-bottom: 10px !important;
    }
    .sec-story-home .story-lead-desc {
        margin-bottom: 14px !important;
    }
    .sec-trust-home {
        padding: 14px 0 20px 0 !important;
    }
    .marquee-line-ticker {
        padding: 6px 0 10px 0 !important;
    }
    .sec-products-home {
        padding: 20px 0 24px 0 !important;
    }
    .sec-exp-home {
        padding: 20px 0 24px 0 !important;
    }
    .sec-partners-home {
        padding: 18px 0 20px 0 !important;
    }
    .partners-slider-wrapper {
        margin: 12px auto 0 auto !important;
    }
    .sec-news-home {
        padding: 20px 0 24px 0 !important;
    }
    .sec-news-home .story-lead-title {
        margin-bottom: 12px !important;
    }
    .news-feat-large h3 {
        text-align: center !important;
        text-wrap: balance !important;
    }
    .news-feat-large .news-meta {
        text-align: center !important;
    }
}


