/* ==========================================================================
   SALA HOLDINGS - GLOBAL HEADER/FOOTER & TRANG CHỦ (front-page.php)
   ========================================================================== */

:root {
    --sala-bg-night: #020B21;
    --sala-navy-deep: #051842;
    --sala-navy: #0B2D6E;
    --sala-blue-primary: #12469E;
    --sala-blue-bright: #0D68E5;
    --sala-cyan-glow: #5CE1FF;
    --sala-gold-1: #F5DC9B;
    --sala-gold-2: #D4A449;
    --sala-gold-3: #A5741E;
    --sala-font-heading: 'Montserrat', 'Be Vietnam Pro', sans-serif;
    --sala-font-body: 'Be Vietnam Pro', sans-serif;
}

body {
    margin: 0;
    font-family: var(--sala-font-body);
    color: #1E293B;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

.sala-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ==========================================================================
   HEADER VIÊN THUỐC KÍNH MỜ & MEGA MENU DRAWER
   ========================================================================== */
.sala-site-header {
    position: fixed;
    top: 18px;
    left: 0;
    width: 100%;
    z-index: 1000;
    pointer-events: none;
}

.sala-header-container {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 20px;
}

.sala-header-pill {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 24px;
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(16, 48, 108, 0.88) 0%, rgba(21, 61, 133, 0.86) 50%, rgba(14, 43, 98, 0.9) 100%);
    border: 1px solid rgba(138, 188, 255, 0.35);
    box-shadow: 0 12px 32px rgba(2, 11, 33, 0.38), inset 0 1px 1px rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* Logo SALA HOLDINGS */
.sala-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
}

.sala-brand-logo__mark {
    display: inline-flex;
    align-items: flex-end;
    gap: 2.5px;
    height: 30px;
    padding: 3px 4px;
    border: 1.5px solid var(--sala-gold-2);
    border-radius: 3px;
}

.sala-brand-logo__mark i {
    display: block;
    width: 3.5px;
    background: linear-gradient(180deg, var(--sala-gold-1) 0%, var(--sala-gold-2) 100%);
}

.sala-brand-logo__mark .bar-1 { height: 62%; }
.sala-brand-logo__mark .bar-2 { height: 100%; }
.sala-brand-logo__mark .bar-3 { height: 78%; }

.sala-brand-logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.04;
}

.sala-brand-logo__text strong {
    font-family: var(--sala-font-heading);
    font-size: 16px;
    font-weight: 800;
    color: var(--sala-gold-1);
    letter-spacing: 0.03em;
}

.sala-brand-logo__text small {
    font-family: var(--sala-font-heading);
    font-size: 13px;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 0.03em;
}

/* Menu ngang nhanh trên Desktop */
.sala-header-quicknav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.sala-header-quicknav a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.sala-header-quicknav a:hover,
.sala-header-quicknav a.is-current {
    color: var(--sala-gold-1);
}

/* Nút Hamburger 3 gạch chuẩn ảnh thiết kế */
.sala-hamburger-btn {
    background: transparent;
    border: none;
    width: 34px;
    height: 28px;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 5px;
    cursor: pointer;
}

.sala-hamburger-btn span {
    display: block;
    height: 2.2px;
    border-radius: 4px;
    background: #FFFFFF;
    transition: all 0.25s ease;
}

.sala-hamburger-btn .line-top { width: 24px; }
.sala-hamburger-btn .line-mid { width: 19px; background: var(--sala-gold-1); }
.sala-hamburger-btn .line-bot { width: 24px; }

.sala-hamburger-btn:hover .line-mid {
    width: 24px;
}

/* Mega Menu Drawer */
.sala-mega-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 11, 33, 0.65);
    backdrop-filter: blur(5px);
    z-index: 1090;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.sala-mega-menu-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.sala-mega-drawer {
    position: fixed;
    top: 0;
    right: -440px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: linear-gradient(180deg, #041335 0%, #09255C 100%);
    color: #FFFFFF;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    box-shadow: -16px 0 45px rgba(0, 0, 0, 0.45);
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sala-mega-drawer.is-open {
    right: 0;
}

.sala-mega-drawer__top {
    padding: 22px 26px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sala-mega-drawer__close {
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.sala-mega-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.sala-mega-group__label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--sala-gold-1);
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.sala-mega-main-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sala-mega-main-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    text-decoration: none;
    font-family: var(--sala-font-heading);
    font-size: 13px;
    font-weight: 700;
    transition: all 0.22s ease;
}

.sala-mega-main-links a:hover {
    background: rgba(29, 112, 214, 0.38);
    border-color: var(--sala-cyan-glow);
    transform: translateX(4px);
}

.sala-mega-main-links .num {
    font-size: 11.5px;
    color: var(--sala-gold-1);
    font-weight: 800;
}

.sala-mega-quick-anchors {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sala-mega-quick-anchors a {
    padding: 7px 13px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.08);
    color: #E2E8F0;
    font-size: 12px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.sala-mega-quick-anchors a:hover {
    background: var(--sala-gold-2);
    color: #041335;
    font-weight: 700;
}

.sala-mega-drawer__footer {
    padding: 18px 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 12.5px;
    color: #CBD5E1;
}

.sala-mega-drawer__footer p {
    margin: 4px 0;
}

.sala-mega-drawer__footer a {
    color: var(--sala-gold-1);
    text-decoration: none;
}

/* ==========================================================================
   1. HERO SECTION: SLIDE 6 THẺ TRÊN + SLIDE BANNER 3D DƯỚI CHUẨN DESIGN
   ========================================================================== */
.sala-home-hero {
    background: linear-gradient(180deg, #00040D 0%, #020C24 28%, #041742 74%, #06215C 100%);
    padding-top: 96px;
    position: relative;
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   1.1 SLIDE TRÊN: 6 THẺ TIÊU ĐIỂM HÀNG NGANG (KHÓA CỨNG ĐỘ RỘNG & CHIỀU CAO)
   -------------------------------------------------------------------------- */
.sala-top-cards-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 16px 0 28px;
    min-height: 220px;
    box-sizing: border-box;
    position: relative;
    z-index: 6;
}

.sala-top-nav-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid rgba(96, 165, 250, 0.4);
    background: rgba(13, 42, 99, 0.85);
    color: #93C5FD;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.sala-top-nav-btn:hover {
    background: #1D7EFF;
    color: #FFFFFF;
    border-color: #93C5FD;
    transform: scale(1.1);
}

/* Khóa tổng chiều rộng (5 * 126px + 356px + 5 * 12px = 1046px) và chiều cao (176px)
   để khi các thẻ co giãn qua lại không bao giờ làm xê dịch 2 nút mũi tên hay giật phần Hero bên dưới */
.sala-top-cards-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 1046px;
    max-width: calc(100% - 76px);
    height: 176px;
    min-height: 176px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.sala-top-mini-card {
    position: relative;
    flex: 126 1 0%;
    min-width: 0;
    height: 154px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-sizing: border-box;
    background: linear-gradient(180deg, #F5F9FF 0%, #E3EFFF 55%, #CCE2FF 100%);
    border: 2px solid rgba(255, 255, 255, 0.88);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
    will-change: flex-grow, height;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition:
        flex-grow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.sala-top-mini-card:hover:not(.is-expanded) {
    transform: translateY(-4px);
}

/* Thẻ Active Mở Rộng (Tỷ lệ chuẩn 356px trong tổng 1046px) */
.sala-top-mini-card.is-expanded {
    flex: 356 1 0%;
    height: 176px;
    border-radius: 18px;
    border: 2px solid #8CE8FF;
    border-bottom-color: #F6D379;
    box-shadow:
        0 0 28px rgba(92, 225, 255, 0.55),
        0 12px 30px rgba(246, 211, 121, 0.32),
        0 18px 38px rgba(0, 0, 0, 0.6);
    transform: translateY(-3px);
}

.sala-top-mini-card__compact {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 126px;
    transform: translateX(-50%);
    padding: 12px 7px 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: opacity 0.2s ease;
}

.sala-top-mini-card.is-expanded .sala-top-mini-card__compact {
    opacity: 0;
    pointer-events: none;
}

.sala-mini-ring-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 180, 60, 0.28) 0%, rgba(245, 180, 60, 0.05) 70%);
    border: 1px solid rgba(226, 150, 35, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 9px;
    flex-shrink: 0;
}

.sala-mini-ring-icon .ring-core {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F8CA69 0%, #DF8C22 100%);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sala-mini-compact-title {
    font-family: var(--sala-font-heading);
    font-size: 9.2px;
    font-weight: 800;
    line-height: 1.38;
    color: #09255A;
    margin: 0;
    text-transform: uppercase;
    z-index: 2;
}

.sala-mini-city-silhouette {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 46%;
    background-image: var(--card-bg);
    background-size: cover;
    background-position: center bottom;
    mask-image: linear-gradient(180deg, transparent 0%, #000 50%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 50%);
}

/* Nội dung bên trong Thẻ Mở Rộng (Khóa cứng chiều rộng nội dung 352px để chữ không bị bóp dòng khi đang mở/đóng) */
.sala-top-mini-card__expanded {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 352px;
    min-width: 352px;
    background-image: var(--card-bg);
    background-size: cover;
    background-position: right center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.26s ease;
    display: flex;
    align-items: center;
}

.sala-top-mini-card.is-expanded .sala-top-mini-card__expanded {
    opacity: 1;
    pointer-events: auto;
}

.sala-expanded-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 22, 62, 0.96) 0%, rgba(8, 39, 102, 0.84) 52%, rgba(8, 39, 102, 0.08) 100%);
}

.sala-expanded-content {
    position: relative;
    z-index: 2;
    padding: 16px 20px;
    color: #FFFFFF;
    width: 254px;
    min-width: 254px;
    box-sizing: border-box;
}

.sala-expanded-hot-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--sala-font-heading);
    font-size: 9.5px;
    font-weight: 800;
    color: #F6D379;
    letter-spacing: 0.04em;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.sala-expanded-title {
    font-family: var(--sala-font-heading);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.34;
    margin: 0 0 7px;
    color: #FFFFFF;
    text-transform: uppercase;
}

.sala-expanded-gold-line {
    display: block;
    width: 24px;
    height: 1.5px;
    background: #F6D379;
    margin-bottom: 6px;
}

.sala-expanded-location {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 5px;
}

.sala-expanded-desc {
    font-size: 10px;
    line-height: 1.42;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}

/* --------------------------------------------------------------------------
   1.2 SLIDE DƯỚI: SÂN KHẤU BANNER 3D HOLOGRAM, TITLE, TEXT, THUMBNAIL & NAV
   -------------------------------------------------------------------------- */
.sala-hero-stage {
    position: relative;
    padding: 18px 0 24px;
    min-height: 430px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Đường chân trời thành phố xanh phát sáng chạy ngang phía sau */
.sala-hero-city-horizon {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 66px;
    height: 135px;
    background-image: url('https://images.unsplash.com/photo-1477959858617-67f85cf4f1df?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center bottom;
    opacity: 0.22;
    filter: hue-rotate(190deg) saturate(2) brightness(0.9);
    mask-image: linear-gradient(180deg, transparent 0%, #000 55%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 55%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.sala-hero-laser-horizon {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 68px;
    height: 2px;
    background: linear-gradient(90deg, rgba(56, 189, 248, 0.1) 0%, #38BDF8 50%, rgba(56, 189, 248, 0.1) 100%);
    box-shadow: 0 0 16px #38BDF8;
    pointer-events: none;
    z-index: 2;
}

/* Viewport chứa 4 Slide Banner dưới */
.sala-hero-slides-viewport {
    position: relative;
    z-index: 3;
}

.sala-hero-banner-slide {
    display: none;
    animation: salaHeroSlideIn 0.48s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.sala-hero-banner-slide.is-active {
    display: block;
}

@keyframes salaHeroSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sala-hero-stage__inner {
    display: grid;
    grid-template-columns: 4.8fr 7.2fr;
    align-items: center;
    gap: 20px;
}

.sala-hero-left-info {
    padding-left: 54px;
}

.sala-hero-gold-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.sala-hero-gold-logo__bars {
    display: flex;
    align-items: flex-end;
    gap: 3.5px;
    height: 46px;
    padding: 5px;
    border: 2px solid var(--sala-gold-2);
    border-radius: 4px;
}

.sala-hero-gold-logo__bars span {
    display: block;
    width: 5px;
    background: linear-gradient(180deg, var(--sala-gold-1) 0%, var(--sala-gold-2) 100%);
}

.sala-hero-gold-logo__bars span:nth-child(1) { height: 62%; }
.sala-hero-gold-logo__bars span:nth-child(2) { height: 100%; }
.sala-hero-gold-logo__bars span:nth-child(3) { height: 80%; }

.sala-hero-gold-logo__words {
    display: flex;
    flex-direction: column;
    line-height: 1.02;
}

.sala-hero-gold-logo__words strong {
    font-family: var(--sala-font-heading);
    font-size: 27px;
    font-weight: 900;
    background: linear-gradient(90deg, #F6DDA0 0%, #D4A449 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sala-hero-gold-logo__words span {
    font-family: var(--sala-font-heading);
    font-size: 23px;
    font-weight: 800;
    background: linear-gradient(90deg, #F6DDA0 0%, #D4A449 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sala-hero-gold-divider {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.sala-hero-gold-divider .line {
    width: 148px;
    height: 1.5px;
    background: linear-gradient(90deg, rgba(244, 201, 112, 0.2) 0%, #F4C970 100%);
}

.sala-hero-gold-divider .star-4pt {
    margin-left: -4px;
    filter: drop-shadow(0 0 6px #F4C970);
}

.sala-hero-main-heading {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #FFFFFF;
    text-transform: uppercase;
}

.sala-hero-main-heading .line-1,
.sala-hero-main-heading .line-2 {
    font-family: var(--sala-font-heading);
    font-size: clamp(20px, 2.3vw, 25px);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.24;
}

.sala-hero-main-heading .line-3 {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 3px;
}

/* Cột Phải: Khối 3D Hologram + Ảnh Lớn Tòa Nhà */
.sala-hero-right-hologram {
    position: relative;
    height: 365px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.sala-holo-fins {
    position: absolute;
    bottom: 28px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 14px;
    height: 335px;
    z-index: 1;
}

.sala-holo-fin {
    border: 2px solid rgba(92, 225, 255, 0.82);
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.28) 0%, rgba(14, 116, 144, 0.04) 100%);
    box-shadow: 0 0 26px rgba(56, 189, 248, 0.48), inset 0 0 18px rgba(56, 189, 248, 0.28);
    border-bottom: none;
}

.sala-holo-fin.fin-left { width: 66px; height: 88%; transform: skewY(-14deg); }
.sala-holo-fin.fin-center { width: 82px; height: 100%; transform: skewY(12deg); }
.sala-holo-fin.fin-right { width: 64px; height: 84%; transform: skewY(-11deg); }

.sala-shooting-arc {
    position: absolute;
    left: -80px;
    bottom: 42px;
    width: 470px;
    height: 195px;
    pointer-events: none;
    z-index: 4;
}

.sala-hero-tower-wrap {
    position: relative;
    z-index: 3;
    width: 280px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sala-hero-tower-img {
    width: 100%;
    height: 262px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 -6px 32px rgba(56, 189, 248, 0.42);
    mask-image: linear-gradient(180deg, #000 84%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 84%, transparent 100%);
}

.sala-hero-water-reflection {
    width: 135%;
    height: 38px;
    background: radial-gradient(ellipse at center, rgba(92, 225, 255, 0.55) 0%, rgba(244, 208, 120, 0.25) 42%, transparent 72%);
    filter: blur(5px);
}

/* --------------------------------------------------------------------------
   1.3 THANH ĐIỀU HƯỚNG ĐÁY HERO: NAV TRÁI/PHẢI + THUMBNAIL NHỎ + 4 PAGINATION
   -------------------------------------------------------------------------- */
.sala-hero-bottom-controls {
    position: relative;
    z-index: 6;
    padding-top: 6px;
}

.sala-hero-bottom-controls__inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.sala-hero-circle-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #FFFFFF;
    color: #082359;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    transition: all 0.22s ease;
}

.sala-hero-circle-arrow:hover {
    background: #1D7EFF;
    color: #FFFFFF;
    transform: scale(1.08);
}

.sala-hero-center-nav-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* 4 Ảnh Thumbnail nhỏ của 4 Slide Banner dưới */
.sala-hero-mini-thumbs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sala-hero-thumb-btn {
    width: 48px;
    height: 32px;
    padding: 2px;
    border-radius: 6px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    background: rgba(5, 24, 66, 0.65);
    cursor: pointer;
    overflow: hidden;
    opacity: 0.65;
    transition: all 0.25s ease;
}

.sala-hero-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.sala-hero-thumb-btn:hover,
.sala-hero-thumb-btn.is-active {
    opacity: 1;
    border-color: #38BDF8;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
    transform: translateY(-2px);
}

/* 4 Vạch Pagination Chuẩn Thiết Kế: Active xanh dương #1D7EFF dài, Inactive trắng */
.sala-hero-Manage-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.hero-bar-dot {
    width: 14px;
    height: 6px;
    border-radius: 99px;
    border: none;
    background: #FFFFFF;
    padding: 0;
    cursor: pointer;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-bar-dot:hover {
    background: #93C5FD;
}

.hero-bar-dot.is-active {
    width: 34px;
    background: #1D7EFF;
    box-shadow: 0 0 12px rgba(29, 126, 255, 0.75);
}

/* ==========================================================================
   2. TỔNG QUAN DỰ ÁN (CAROUSEL 4 CỘT TRƯỢT MƯỢT + DRAG + DOTS)
   ========================================================================== */
.sala-home-projects {
    padding: 64px 0 42px;
    background: linear-gradient(180deg, #EEF5FF 0%, #FFFFFF 100%);
}

.sala-sec-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.sala-sec-header-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.sala-sec-title {
    font-family: var(--sala-font-heading);
    font-size: clamp(24px, 2.7vw, 30px);
    font-weight: 800;
    color: var(--sala-navy);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.sala-sec-line {
    width: 100px;
    height: 1.5px;
    background: #BFD5F5;
}

.sala-sec-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--sala-font-heading);
    font-size: 12px;
    font-weight: 800;
    color: var(--sala-navy);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease, transform 0.2s ease;
}

.sala-sec-more-link:hover {
    color: var(--sala-blue-bright);
    transform: translateX(3px);
}

/* Viewport & Track trượt ngang */
.sala-home-prj-viewport {
    width: 100%;
    overflow: hidden;
    padding: 8px 4px 18px;
    margin: -8px -4px -18px;
    box-sizing: border-box;
    cursor: grab;
    user-select: none;
}

.sala-home-prj-viewport.is-dragging {
    cursor: grabbing;
}

.sala-home-prj-track {
    display: flex;
    gap: 18px;
    transition: transform 0.52s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.sala-home-prj-card {
    /* Hiển thị chính xác 4 thẻ trên 1 hàng với khoảng cách gap 18px */
    flex: 0 0 calc((100% - (18px * 3)) / 4);
    max-width: calc((100% - (18px * 3)) / 4);
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid #E2ECF9;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 28px rgba(11, 45, 110, 0.06);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    box-sizing: border-box;
}

.sala-home-prj-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(11, 45, 110, 0.13);
}

.sala-home-prj-card__thumb-wrap {
    position: relative;
    height: 185px;
    overflow: hidden;
}

.sala-home-prj-card__thumb {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.sala-home-prj-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    pointer-events: none;
}

.sala-home-prj-card:hover .sala-home-prj-card__thumb img {
    transform: scale(1.06);
}

.sala-home-prj-card__body {
    padding: 18px 16px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sala-home-prj-card__title {
    font-family: var(--sala-font-heading);
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.sala-home-prj-card__title a {
    color: var(--sala-navy);
    text-decoration: none;
}

.sala-home-prj-card__desc {
    font-size: 11.5px;
    line-height: 1.55;
    color: #475569;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sala-home-prj-card__specs {
    list-style: none;
    padding: 12px 0 0;
    margin: 0 0 16px;
    border-top: 1px solid #EEF2F6;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 11.5px;
}

.sala-home-prj-card__specs li {
    color: #334155;
}

.sala-home-prj-card__specs strong {
    color: var(--sala-navy);
    font-weight: 700;
}

.sala-home-prj-card__link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--sala-font-heading);
    font-size: 11px;
    font-weight: 800;
    color: var(--sala-navy);
    text-decoration: none;
    text-transform: uppercase;
    transition: gap 0.2s ease, color 0.2s ease;
}

.sala-home-prj-card__link:hover {
    color: var(--sala-blue-bright);
    gap: 10px;
}

/* Chấm phân trang dưới Carousel Dự Án */
.sala-home-dots-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 28px;
}

.sala-dot-pill {
    width: 10px;
    height: 5px;
    border-radius: 99px;
    border: none;
    background: #CBD5E1;
    padding: 0;
    cursor: pointer;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.sala-dot-pill:hover {
    background: #64748B;
}

.sala-dot-pill.is-active {
    width: 28px;
    background: #1D7EFF;
}

@media (max-width: 1024px) {
    .sala-home-prj-card {
        flex: 0 0 calc((100% - 18px) / 2);
        max-width: calc((100% - 18px) / 2);
    }
}

@media (max-width: 640px) {
    .sala-home-prj-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* =====================================================================
   CSS CHUYỂN ĐỔI 4 ẢNH KHỐI 3D (TRÁI) & NỀN GIA-TRI-2.PNG (PHẢI) CHUẨN 100%
   ===================================================================== */
#gia-tri-sala.sala-home-values {
    position: relative;
    padding: 60px 0 70px !important;
    background: linear-gradient(180deg, #f3f7fc 0%, #e7f0fa 50%, #f5f8fd 100%) !important;
    font-family: 'SVN-Gilroy', 'Montserrat', sans-serif;
    overflow: hidden;
}

#gia-tri-sala .sala-values-layout {
    display: grid !important;
    grid-template-columns: 44% 56% !important;
    gap: 20px !important;
    align-items: center !important;
}

/* --- 1. CỘT TRÁI: 4 ẢNH KHỐI 3D --- */
#gia-tri-sala .sala-iso-diamond-stage {
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

#gia-tri-sala .sala-iso-img-box {
    position: relative !important;
    width: 100% !important;
    max-width: 490px !important;
    aspect-ratio: 1 / 1;
    margin: 0 auto !important;
    user-select: none;
}

#gia-tri-sala .sala-iso-state-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
    pointer-events: none !important;
    opacity: 0 !important;
    transition: opacity 0.25s ease !important;
    z-index: 2 !important;
    mix-blend-mode: multiply;
}

#gia-tri-sala .sala-iso-state-img.is-base {
    position: relative !important;
}

#salaIsoInteractiveStage[data-active="1"] .sala-iso-state-img.state-01,
#salaIsoInteractiveStage[data-active="2"] .sala-iso-state-img.state-02,
#salaIsoInteractiveStage[data-active="3"] .sala-iso-state-img.state-03,
#salaIsoInteractiveStage[data-active="4"] .sala-iso-state-img.state-04 {
    opacity: 1 !important;
    z-index: 3 !important;
}

#gia-tri-sala .sala-cube-Zone {
    position: absolute !important;
    z-index: 6 !important;
    cursor: pointer !important;
    clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
}
#gia-tri-sala .zone-02 { top: 3%;  left: 27%; width: 46%; height: 42%; }
#gia-tri-sala .zone-01 { top: 28%; left: 3%;  width: 44%; height: 47%; }
#gia-tri-sala .zone-03 { top: 28%; left: 53%; width: 44%; height: 47%; }
#gia-tri-sala .zone-04 { top: 53%; left: 27%; width: 46%; height: 44%; }

#gia-tri-sala .sala-hidden-edit {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

/* --- 2. CỘT PHẢI: NỀN GIA-TRI-2.PNG & HIỆU ỨNG ĐỔI MÀU SẠCH SẼ 100% --- */
#gia-tri-sala .sala-values-heading-wrap {
    padding-left: 9.2% !important;
    margin-bottom: 4px !important;
}

#gia-tri-sala .sala-values-heading {
    color: #051638 !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    margin: 0 0 10px 0 !important;
}

#gia-tri-sala .sala-values-underline {
    display: flex !important;
    align-items: center !important;
}

#gia-tri-sala .sala-values-underline .blue-seg {
    width: 52px !important;
    height: 2px !important;
    background-color: #275399 !important;
}

#gia-tri-sala .sala-values-underline .gold-seg {
    width: 34px !important;
    height: 3px !important;
    background-color: #DFAA42 !important;
}

#gia-tri-sala .sala-right-bg-stage {
    position: relative !important;
    width: 100% !important;
    user-select: none;
}

#gia-tri-sala .sala-bars-bg-img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    pointer-events: none !important;
}

#gia-tri-sala .sala-bars-overlay-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    pointer-events: none !important;
    opacity: 0 !important;
    transition: opacity 0.22s ease !important;
    z-index: 2 !important;
}

#gia-tri-sala .clone-gold-ribbon-to-row1 {
    clip-path: inset(53.5% 78.2% 26% 9%);
    transform: translateY(-44.8%) !important;
}
#gia-tri-sala .clone-gold-ribbon-to-row2 {
    clip-path: inset(53.5% 78.2% 26% 9%);
    transform: translateY(-22.4%) !important;
}
#gia-tri-sala .clone-gold-ribbon-to-row4 {
    clip-path: inset(53.5% 78.2% 26% 9%);
    transform: translateY(22.4%) !important;
}
#gia-tri-sala .clone-blue-ribbon-to-row3 {
    clip-path: inset(8.7% 78.2% 70.8% 9%);
    transform: translateY(44.8%) !important;
}

#gia-tri-sala .hex-only-1-to-gold {
    clip-path: polygon(27.1% 11.2%, 30.6% 15.1%, 30.6% 22.9%, 27.1% 26.8%, 23.6% 22.9%, 23.6% 15.1%);
    filter: sepia(1) hue-rotate(6deg) saturate(3.2) brightness(1.08) !important;
}
#gia-tri-sala .hex-only-2-to-gold {
    clip-path: polygon(27.1% 33.6%, 30.6% 37.5%, 30.6% 45.3%, 27.1% 49.2%, 23.6% 45.3%, 23.6% 37.5%);
    filter: sepia(1) hue-rotate(6deg) saturate(3.2) brightness(1.08) !important;
}
#gia-tri-sala .hex-only-4-to-gold {
    clip-path: polygon(27.1% 78.4%, 30.6% 82.3%, 30.6% 90.1%, 27.1% 94.0%, 23.6% 90.1%, 23.6% 82.3%);
    filter: sepia(1) hue-rotate(6deg) saturate(3.2) brightness(1.08) !important;
}
#gia-tri-sala .hex-only-3-to-blue {
    clip-path: polygon(27.1% 56.0%, 30.6% 59.9%, 30.6% 67.7%, 27.1% 71.6%, 23.6% 67.7%, 23.6% 59.9%);
    filter: hue-rotate(185deg) saturate(2.2) brightness(0.88) contrast(1.15) !important;
}

#salaRightBarsStage[data-active="1"] .clone-gold-ribbon-to-row1,
#salaRightBarsStage[data-active="1"] .hex-only-1-to-gold {
    opacity: 1 !important;
}

#salaRightBarsStage[data-active="2"] .clone-gold-ribbon-to-row2,
#salaRightBarsStage[data-active="2"] .hex-only-2-to-gold {
    opacity: 1 !important;
}

#salaRightBarsStage[data-active="4"] .clone-gold-ribbon-to-row4,
#salaRightBarsStage[data-active="4"] .hex-only-4-to-gold {
    opacity: 1 !important;
}

#salaRightBarsStage[data-active="1"] .clone-blue-ribbon-to-row3,
#salaRightBarsStage[data-active="1"] .hex-only-3-to-blue,
#salaRightBarsStage[data-active="2"] .clone-blue-ribbon-to-row3,
#salaRightBarsStage[data-active="2"] .hex-only-3-to-blue,
#salaRightBarsStage[data-active="4"] .clone-blue-ribbon-to-row3,
#salaRightBarsStage[data-active="4"] .hex-only-3-to-blue {
    opacity: 1 !important;
}

#gia-tri-sala .sala-bar-hit-row {
    position: absolute !important;
    left: 9.2% !important;
    width: 81.6% !important;
    height: 19.6% !important;
    z-index: 5 !important;
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
    border-radius: 12px;
}

#gia-tri-sala .sala-bar-hit-row.row-01 { top: 9.2% !important; }
#gia-tri-sala .sala-bar-hit-row.row-02 { top: 31.6% !important; }
#gia-tri-sala .sala-bar-hit-row.row-03 { top: 54.0% !important; }
#gia-tri-sala .sala-bar-hit-row.row-04 { top: 76.4% !important; }

#gia-tri-sala .sala-bar-num {
    width: 13.5% !important;
    flex-shrink: 0 !important;
    text-align: center !important;
    font-size: 23px !important;
    font-weight: 800 !important;
    color: #163C7E !important;
    line-height: 1 !important;
    padding-right: 1.2% !important;
    transition: color 0.22s ease !important;
}

#gia-tri-sala .sala-bar-hit-row.is-active .sala-bar-num {
    color: #C78C26 !important;
}

#gia-tri-sala .sala-bar-text {
    margin-left: 16% !important;
    padding-right: 6.5% !important;
    flex: 1 !important;
    color: #183661 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.42 !important;
    text-transform: uppercase !important;
}

@media (max-width: 1199px) {
    #gia-tri-sala .sala-bar-num { font-size: 19px !important; }
    #gia-tri-sala .sala-bar-text { font-size: 11.5px !important; }
}

@media (max-width: 991px) {
    #gia-tri-sala .sala-values-layout { grid-template-columns: 1fr !important; }
    #gia-tri-sala .sala-iso-img-box { max-width: 400px !important; }
}

@media (max-width: 575px) {
    #gia-tri-sala .sala-bar-num { font-size: 15px !important; }
    #gia-tri-sala .sala-bar-text { font-size: 9.5px !important; line-height: 1.3 !important; }
}

/* ==========================================================================
   4. ĐỐI TÁC CHIẾN LƯỢC (SLIDE MƯỢT + DRAG + QUẢN LÝ ẢNH LOGO ĐỐI TÁC)
   ========================================================================== */
.sala-home-partners {
    padding: 58px 0 48px;
    background: #F8FBFF;
    overflow: hidden;
}

.sala-partners-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 32px;
}

.sala-partners-title {
    font-family: var(--sala-font-heading);
    font-size: clamp(24px, 2.8vw, 32px);
    font-weight: 800;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.sala-partners-title .text-navy { color: var(--sala-navy); }
.sala-partners-title .text-blue { color: var(--sala-blue-bright); }

.sala-partners-sub {
    font-size: 13px;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

.sala-partner-group {
    margin-bottom: 36px;
}

.sala-partner-pill-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
}

.sala-partner-pill {
    display: inline-block;
    padding: 6px 24px;
    border-radius: 99px;
    background: linear-gradient(90deg, #072560 0%, #12469E 100%);
    color: #FFFFFF;
    font-family: var(--sala-font-heading);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 6px 16px rgba(11, 45, 110, 0.2);
}

.sala-partner-admin-add-btn {
    border: 1px dashed #2563EB;
    background: #EFF6FF;
    color: #0B2D6E;
    font-family: var(--sala-font-body);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 99px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sala-partner-admin-add-btn:hover {
    background: #1D7EFF;
    color: #FFFFFF;
    border-style: solid;
}

.sala-partner-carousel {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    width: 100%;
    max-width: 100%;
}

.sala-partner-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #DCE7F7;
    background: #FFFFFF;
    color: var(--sala-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(11, 45, 110, 0.08);
    transition: all 0.22s ease;
}

.sala-partner-arrow:hover {
    background: var(--sala-navy);
    border-color: var(--sala-navy);
    color: #FFFFFF;
    transform: scale(1.1);
}

/* Viewport & Track hỗ trợ trượt mượt và kéo chuột, cố định kích thước chống giật layout */
.sala-partner-viewport {
    flex: 1 1 0%;
    min-width: 0;
    width: 100%;
    overflow: hidden;
    padding: 18px 0;
    margin: -18px 0;
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
}

.sala-partner-viewport.is-dragging {
    cursor: grabbing;
}

.sala-partner-track {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 118px;
    min-height: 118px;
    will-change: transform;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

.sala-partner-card {
    position: relative;
    flex: 0 0 calc((100% - (14px * 6)) / 7);
    width: calc((100% - (14px * 6)) / 7);
    max-width: calc((100% - (14px * 6)) / 7);
    height: 92px;
    background: #FFFFFF;
    border: 1px solid #E6EEF9;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 16px;
    box-sizing: border-box;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(11, 45, 110, 0.04);
    backface-visibility: hidden;
    transition:
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        height 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        filter 0.35s ease;
}

.sala-partner-card:hover {
    border-color: #BFDBFE;
    transform: translateY(-2px);
}

/* Thẻ Trung Tâm Nổi Bật (Vị trí số 4 ở chính giữa) */
.sala-partner-card.is-center-featured {
    height: 118px;
    background: linear-gradient(180deg, #FFFFFF 0%, #EFF6FF 65%, #DBEAFE 100%);
    border: 2px solid #2563EB;
    box-shadow:
        0 18px 38px rgba(29, 112, 214, 0.22),
        0 0 0 4px rgba(96, 165, 250, 0.22),
        inset 0 1px 0 #FFFFFF;
    transform: scale(1.1);
    z-index: 3;
}

/* Hiển thị Ảnh Logo */
.sala-partner-logo-img {
    max-width: 92%;
    max-height: 58px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: grayscale(100%) opacity(0.68);
    transition: all 0.38s ease;
    pointer-events: none;
}

.sala-partner-card.is-center-featured .sala-partner-logo-img,
.sala-partner-card:hover .sala-partner-logo-img {
    max-height: 76px;
    filter: grayscale(0%) opacity(1);
    transform: scale(1.08);
}

/* Hiển thị Text / Icon Logo khi không dùng ảnh */
.logo-text {
    font-family: var(--sala-font-heading);
    font-size: 13px;
    font-weight: 800;
    color: #94A3B8;
    display: flex;
    flex-direction: column;
    line-height: 1.22;
    transition: all 0.35s ease;
}

.sala-partner-card.is-center-featured .logo-text {
    font-size: 15.5px;
    color: var(--partner-color, #0B2D6E);
}

.logo-text small {
    font-size: 9.5px;
    font-weight: 600;
    margin-top: 2px;
}

.masterise-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #94A3B8;
    transition: all 0.35s ease;
}

.sala-partner-card.is-center-featured .masterise-logo {
    color: #9A6B26;
}

.masterise-logo .m-icon {
    font-family: var(--sala-font-heading);
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 4px;
}

.sala-partner-card.is-center-featured .masterise-logo .m-icon {
    font-size: 28px;
}

.masterise-logo strong {
    font-size: 8.8px;
    letter-spacing: 0.04em;
}

.sala-partner-card.is-center-featured .masterise-logo strong {
    font-size: 10.5px;
}

.cbre-logo {
    font-family: var(--sala-font-heading);
    font-size: 18px;
    font-weight: 900;
    color: #94A3B8;
    letter-spacing: 0.03em;
    transition: all 0.35s ease;
}

.sala-partner-card.is-center-featured .cbre-logo {
    font-size: 27px;
    color: #006A4D;
}

/* Thanh nút Sửa / Xóa nhỏ trên góc mỗi thẻ Đối Tác */
.sala-partner-card__admin-bar {
    position: absolute;
    top: 4px;
    right: 4px;
    display: flex;
    gap: 3px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.sala-partner-card:hover .sala-partner-card__admin-bar,
.sala-home-page.is-inline-editing .sala-partner-card__admin-bar {
    opacity: 1;
    pointer-events: auto;
}

.p-btn-edit,
.p-btn-del {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    border: none;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.p-btn-edit { background: #0B2D6E; color: #FFFFFF; }
.p-btn-edit:hover { background: #1D7EFF; }
.p-btn-del { background: #FEE2E2; color: #DC2626; }
.p-btn-del:hover { background: #EF4444; color: #FFFFFF; }

/* Modal Quản lý Logo Đối Tác & Modal Đổi Ảnh Trực Tiếp */
.sala-partner-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 11, 33, 0.72);
    backdrop-filter: blur(5px);
    z-index: 10060;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.sala-partner-modal-backdrop.is-open {
    display: flex;
}

.sala-partner-modal {
    width: 100%;
    max-width: 540px;
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.sala-partner-modal__head {
    padding: 16px 20px;
    background: linear-gradient(90deg, #061A44 0%, #12469E 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sala-partner-modal__head strong {
    font-family: var(--sala-font-heading);
    font-size: 14px;
}

.sala-partner-modal__close {
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.sala-partner-modal__body {
    padding: 20px;
}

.sala-partner-upload-row {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.sala-btn-pick-media,
.sala-btn-upload-direct {
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    color: #0B2D6E;
    border-radius: 6px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.sala-btn-pick-media:hover,
.sala-btn-upload-direct:hover {
    background: #1D7EFF;
    border-color: #1D7EFF;
    color: #FFFFFF;
}

.sala-btn-clear-media {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #DC2626;
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.sala-partner-preview-box {
    height: 76px;
    border: 1px dashed #CBD5E1;
    border-radius: 10px;
    background: #F8FAFC;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    color: #64748B;
    font-size: 12px;
}

.sala-live-img-preview-box {
    height: 180px;
    overflow: hidden;
}

.sala-partner-preview-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.sala-partner-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.sala-partner-modal__foot {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #E2E8F0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

@media (max-width: 1024px) {
    .sala-partner-card {
        flex: 0 0 calc((100% - (14px * 2)) / 3);
        width: calc((100% - (14px * 2)) / 3);
        max-width: calc((100% - (14px * 2)) / 3);
    }
}

@media (max-width: 640px) {
    .sala-partner-card {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }
    .sala-partner-card.is-center-featured {
        transform: scale(1);
    }
    .sala-partner-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   5. BANNER CTA ĐẶT LỊCH NGAY & 3 HỘP KÍNH MỜ
   ========================================================================== */
.sala-home-cta-section {
    padding: 18px 0 64px;
    background: #F8FBFF;
}

.sala-cta-banner {
    position: relative;
    border-radius: 22px;
    background: radial-gradient(circle at 52% 65%, #11459F 0%, #07225B 55%, #041336 100%);
    padding: 40px 48px;
    color: #FFFFFF;
    display: grid;
    grid-template-columns: 5fr 5fr;
    gap: 32px;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(5, 24, 66, 0.28);
}

.sala-cta-banner__skyline {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1400&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.16;
    mix-blend-mode: screen;
    pointer-events: none;
}

.sala-cta-banner__left,
.sala-cta-banner__right {
    position: relative;
    z-index: 2;
}

.sala-cta-banner__heading {
    font-family: var(--sala-font-heading);
    font-size: clamp(22px, 2.5vw, 29px);
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 22px;
    text-transform: uppercase;
}

.sala-btn-gold-cta {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 11px 24px;
    border-radius: 9px;
    background: linear-gradient(90deg, #E2B86B 0%, #F7DF9E 50%, #CFA046 100%);
    color: #061A44;
    font-family: var(--sala-font-heading);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(212, 164, 73, 0.35);
    transition: transform 0.22s ease;
}

.sala-btn-gold-cta:hover {
    transform: translateY(-2px);
}

.sala-cta-banner__right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sala-cta-glass-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(147, 197, 253, 0.25);
    backdrop-filter: blur(8px);
}

.sala-cta-glass-item__icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(244, 208, 120, 0.14);
    border: 1px solid rgba(244, 208, 120, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sala-cta-glass-item__text {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.sala-cta-glass-item__text small {
    font-size: 10.5px;
    color: #93C5FD;
}

.sala-cta-glass-item__text a,
.sala-cta-glass-item__text strong {
    font-size: 13px;
    font-weight: 700;
    color: #FFFFFF;
    text-decoration: none;
}

/* ==========================================================================
   6. FOOTER 5 CỘT DÙNG CHUNG TOÀN SITE
   ========================================================================== */
.sala-site-footer {
    background: linear-gradient(180deg, #061D4C 0%, #031130 100%);
    color: #FFFFFF;
    padding: 54px 0 36px;
}

.sala-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(5, 1fr);
    gap: 22px;
}

.sala-footer-tagline {
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
    margin: 14px 0 18px;
}

.sala-footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sala-footer-socials a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(245, 220, 155, 0.55);
    color: var(--sala-gold-1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sala-footer-socials a:hover {
    background: var(--sala-gold-2);
    color: #031130;
}

.sala-footer-col-title {
    font-family: var(--sala-font-heading);
    font-size: 11.5px;
    font-weight: 800;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

.sala-footer-col-title a {
    color: #FFFFFF;
    text-decoration: none;
}

.sala-footer-nav-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sala-footer-nav-col ul a {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    line-height: 1.45;
    transition: color 0.2s ease;
}

.sala-footer-nav-col ul a:hover {
    color: var(--sala-gold-1);
}

.sala-footer-bottom-line {
    margin-top: 38px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(147, 197, 253, 0.35) 50%, transparent 100%);
}

/* ==========================================================================
   7. ADMIN LIVE EDITOR DOCK, INLINE TEXT & DIRECT IMAGE EDITING BUTTONS
   ========================================================================== */
.sala-home-page.is-inline-editing [data-edit-key] {
    outline: 1.5px dashed #38BDF8;
    outline-offset: 3px;
    border-radius: 4px;
    cursor: text;
    transition: outline-color 0.2s ease, background-color 0.2s ease;
}

.sala-home-page.is-inline-editing [data-edit-key]:hover,
.sala-home-page.is-inline-editing [data-edit-key]:focus {
    outline: 2px solid #F59E0B;
    background-color: rgba(245, 158, 11, 0.14);
}

/* Nút Đổi Ảnh Trực Tiếp Trên Từng Khung Hình */
.sala-inline-img-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 30;
    background: rgba(6, 26, 68, 0.9);
    color: #FFFFFF;
    border: 1.5px solid #38BDF8;
    border-radius: 99px;
    padding: 5px 11px;
    font-family: var(--sala-font-body);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: all 0.22s ease;
}

.sala-inline-img-btn:hover {
    background: #F59E0B;
    border-color: #FDE68A;
    color: #041335;
    transform: translateY(0) scale(1.04);
}

.sala-inline-img-btn--danger {
    border-color: #F87171;
    background: rgba(127, 29, 29, 0.9);
}

.sala-inline-img-btn--danger:hover {
    background: #EF4444;
    color: #FFFFFF;
}

/* Khi bật chế độ Sửa trực tiếp trên trang -> Hiện toàn bộ nút Đổi ảnh trên mọi section */
.sala-home-page.is-inline-editing .sala-inline-img-btn,
.sala-top-mini-card:hover .sala-inline-img-btn,
.sala-home-prj-card__thumb-wrap:hover .sala-inline-img-btn,
.sala-right-bg-stage:hover .sala-inline-img-btn,
.sala-cta-banner:hover .sala-inline-img-btn {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Thanh công cụ sửa ảnh cho Slide Hero và Khối 3D Giá Trị */
.sala-hero-inline-toolbar {
    position: absolute;
    top: 16px;
    right: 24px;
    z-index: 25;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sala-hero-inline-toolbar .sala-inline-img-btn--hero {
    position: static;
}

.sala-home-page.is-inline-editing .sala-hero-inline-toolbar .sala-inline-img-btn--hero,
.sala-hero-stage:hover .sala-hero-inline-toolbar .sala-inline-img-btn--hero {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.sala-iso-admin-toolbar {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 25;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.sala-iso-admin-toolbar .sala-inline-img-btn {
    position: static;
}

.sala-home-page.is-inline-editing .sala-iso-admin-toolbar .sala-inline-img-btn,
.sala-iso-img-box:hover .sala-iso-admin-toolbar .sala-inline-img-btn {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.sala-admin-live-dock {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(4, 19, 53, 0.96);
    border: 1px solid rgba(147, 197, 253, 0.4);
    padding: 10px 14px;
    border-radius: 999px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.45);
}

.sala-admin-btn {
    border: none;
    border-radius: 999px;
    padding: 8px 14px;
    font-family: var(--sala-font-body);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.sala-admin-btn--toggle { background: #1E3A8A; color: #FFFFFF; }
.sala-admin-btn--toggle.is-active { background: #F59E0B; color: #041335; }
.sala-admin-btn--drawer { background: #FFFFFF; color: #0B2D6E; }
.sala-admin-btn--save { background: #10B981; color: #FFFFFF; }
.sala-admin-save-status { font-size: 12px; color: #A7F3D0; font-weight: 600; }

.sala-admin-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 420px;
    max-width: 92vw;
    height: 100vh;
    background: #FFFFFF;
    z-index: 10000;
    box-shadow: -15px 0 45px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    transition: right 0.32s ease;
}

.sala-admin-drawer.is-open { right: 0; }
.sala-admin-drawer__header {
    padding: 18px 22px;
    background: #061A44;
    color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sala-admin-drawer__close { background: none; border: none; color: #FFF; font-size: 26px; cursor: pointer; }
.sala-admin-drawer__body { flex: 1; overflow-y: auto; padding: 18px 22px; display: flex; flex-direction: column; gap: 12px; }
.sala-admin-field { display: flex; flex-direction: column; gap: 4px; }
.sala-admin-field label { font-size: 11.5px; font-weight: 700; color: #0B2D6E; }
.sala-admin-field input, .sala-admin-field textarea { padding: 8px 10px; border: 1px solid #CBD5E1; border-radius: 6px; font-size: 12.5px; }
.sala-admin-drawer__footer { padding: 14px 22px; border-top: 1px solid #E2E8F0; }

/* ==========================================================================
   8. RESPONSIVE TABLET & MOBILE
   ========================================================================== */
@media (max-width: 1024px) {
    .sala-header-quicknav {
        display: none;
    }

    .sala-top-cards-track {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 6px;
    }

    .sala-hero-stage__inner,
    .sala-values-layout,
    .sala-cta-banner {
        grid-template-columns: 1fr;
    }

    .sala-hero-left-info {
        padding-left: 0;
        text-align: center;
    }

    .sala-hero-gold-divider {
        justify-content: center;
    }

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

    .sala-partner-track {
        grid-template-columns: repeat(3, 1fr);
    }

    .sala-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .sala-home-prj-grid,
    .sala-partner-track,
    .sala-footer-grid {
        grid-template-columns: 1fr;
    }

    .sala-iso-diamond-stage {
        transform: scale(0.84);
    }

    .sala-cta-banner {
        padding: 28px 22px;
    }
}

/* ==========================================================================
   HIỂN THỊ ẢNH BANNER HERO FULL MÀN HÌNH (100VW) & TRƯỢT LẶP LẠI VÔ TẬN
   ========================================================================== */
.sala-hero-stage--image-only {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0;
    min-height: auto;
    background: #020A1E;
    overflow: hidden;
}

.sala-hero-stage--image-only .sala-hero-slides-viewport {
    width: 100%;
    overflow: hidden;
    cursor: grab;
    user-select: none;
}

.sala-hero-stage--image-only .sala-hero-slides-viewport:active {
    cursor: grabbing;
}

.sala-hero-slides-track {
    display: flex;
    width: 100%;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.sala-hero-stage--image-only .sala-hero-banner-slide {
    display: block !important;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    animation: none;
}

.sala-hero-full-banner-wrap,
.sala-hero-full-banner-link {
    display: block;
    width: 100%;
    margin: 0;
    position: relative;
}

.sala-hero-full-banner-img {
    width: 100%;
    height: clamp(380px, 44vw, 680px);
    object-fit: cover;
    object-position: center center;
    display: block;
    pointer-events: none;
}

.sala-hero-stage--image-only .sala-hero-bottom-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    z-index: 10;
    padding-top: 0;
}

.sala-hero-mini-thumbs {
    flex-wrap: wrap;
    justify-content: center;
    max-width: 540px;
}

@media (max-width: 768px) {
    .sala-hero-full-banner-img {
        height: 270px;
    }
    .sala-hero-stage--image-only .sala-hero-bottom-controls {
        position: relative;
        bottom: auto;
        padding: 12px 0 18px;
    }
}
/* =====================================================================
   SỬA LỖI GIAO DIỆN MOBILE TRANG CHỦ (<= 768PX)
   ===================================================================== */
@media (max-width: 768px) {

    /* 1. FIX DÀN THẺ MINI TRÊN CÙNG (.sala-top-cards-track) KHÔNG BỊ BÓP DẸT */
    #salaTopCardsTrack,
    .sala-top-cards-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 8px 14px 14px !important;
        scrollbar-width: none !important; /* Ẩn thanh cuộn trên Firefox */
    }

    #salaTopCardsTrack::-webkit-scrollbar,
    .sala-top-cards-track::-webkit-scrollbar {
        display: none !important; /* Ẩn thanh cuộn trên Chrome/Safari */
    }

    /* Giữ kích thước chuẩn cho từng thẻ thu gọn để đọc rõ chữ */
    .sala-top-mini-card {
        flex: 0 0 108px !important;
        min-width: 108px !important;
        max-width: 108px !important;
        height: 175px !important;
        scroll-snap-align: center !important;
        border-radius: 14px !important;
    }

    /* Thẻ đang mở rộng (Active / Expanded) ở trung tâm rộng rãi, không bị cắt chữ */
    .sala-top-mini-card.is-active,
    .sala-top-mini-card.is-expanded,
    .sala-top-mini-card:has(.sala-top-mini-card__expanded:not([style*="display: none"])) {
        flex: 0 0 215px !important;
        min-width: 215px !important;
        max-width: 215px !important;
    }

    .sala-mini-compact-title {
        font-size: 10px !important;
        line-height: 1.3 !important;
        padding: 0 6px !important;
        white-space: normal !important;
        word-break: break-word !important;
        text-align: center !important;
    }

    .sala-top-mini-card__expanded {
        padding: 12px 14px !important;
    }

    /* Thu gọn 2 nút mũi tên trái/phải của dàn thẻ trên mobile */
    #salaTopCardsPrev,
    #salaTopCardsNext {
        width: 28px !important;
        height: 28px !important;
        z-index: 20 !important;
    }

    /* 2. FIX BANNER HERO BỊ CẮT CHỮ BÊN TRÁI ("ĐƠN VỊ TƯ VẤN...") */
    .sala-hero-stage,
    .sala-hero-banner,
    .sala-hero-slide {
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Nếu Banner là ảnh ghép nguyên tấm thì đổi sang contain/căn phải hợp lý để không mất chữ trái */
    .sala-hero-full-banner-img {
        width: 100% !important;
        height: auto !important;
        min-height: 250px !important;
        object-fit: cover !important;
        object-position: 35% center !important;
    }

    /* Nếu cụm chữ Hero là HTML riêng thì đẩy vào trong lề an toàn */
    .sala-hero-content,
    .sala-hero-text-box,
    .sala-hero-caption {
        left: 16px !important;
        padding-left: 12px !important;
        max-width: 62% !important;
        box-sizing: border-box !important;
    }

    /* 3. FIX TIÊU ĐỀ "TỔNG QUAN DỰ ÁN" & NÚT "XEM TẤT CẢ" KHÔNG BỊ RỚT CHỮ LẺ */
    .sala-sec-header,
    .sala-projects-header,
    .sala-overview-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        flex-wrap: nowrap !important;
    }

    .sala-sec-title {
        font-size: 20px !important;
        line-height: 1.25 !important;
        white-space: nowrap !important;
    }

    /* Giữ chữ "XEM TẤT CẢ →" luôn nằm trên 1 dòng */
    a[href*="du-an"],
    .sala-view-all-link,
    .sala-sec-more {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        font-size: 11px !important;
    }
}