/* ==========================================
   PV INCONS - GLOBAL STYLESHEET (style.css)
   ========================================== */

/* 1. THƯƠNG HIỆU & BIẾN MÀU TOÀN CỤC (ĐỒNG BỘ VỚI TAILWIND CONFIG) */
:root {
    /* Brand Colors */
    --brand-blue: #1e68a8;
    --brand-darkblue: #0d3d6b;
    --brand-orange: #e87e23;
    --brand-gold: #8c6239;

    /* Theme & System Colors */
    --primary-dark: #071728;
    --primary-blue: #1e68a8;
    --accent-orange: #e87e23;
    --accent-gold: #8c6239;
    --bg-light: #f8fafc;
    --surface-white: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(30, 104, 168, 0.08);
    --shadow-lg: 0 20px 30px -10px rgba(10, 25, 47, 0.12);

    /* Biến khoảng cách trượt cho animation */
    --slide-y: 22px;
    --slide-x: 100px;
}

/* 2. HIỆU ỨNG CHUYỂN TRANG MƯỢT MÀ (VIEW TRANSITIONS & SPA) */
@view-transition {
    navigation: auto;
}

::view-transition-old(root) {
    animation: 200ms cubic-bezier(0.4, 0, 0.2, 1) both fade-out;
}

::view-transition-new(root) {
    animation: 200ms cubic-bezier(0.4, 0, 0.2, 1) both fade-in;
}

@keyframes fade-out {
    to { opacity: 0; }
}

@keyframes fade-in {
    from { opacity: 0; }
}

main {
    transition: opacity 0.22s ease-in-out, transform 0.22s ease-in-out;
    will-change: opacity, transform;
}

/* 3. TÙY CHỈNH CẤU TRÚC VÀ SCROLLBAR TOÀN TRANG */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 4. NAVIGATION TAB & HEADER ANIMATION */
.nav-tab-btn {
    position: relative;
    transition: color 0.25s ease;
}

.nav-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--brand-blue);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-tab-btn:hover::after,
.nav-tab-btn.active::after {
    width: 100%;
}

.nav-tab-btn.active {
    color: var(--brand-blue) !important;
    font-weight: 700;
}

/* 5. HIỆU ỨNG HERO TITLE & BACKGROUND BANNER ANIMATION */
.hero {
    position: relative;
    overflow: hidden;
    color: var(--surface-white);
    padding: 80px 0 100px;
    background: radial-gradient(circle at 85% 30%, #1e68a8 0%, #0d3d6b 55%, #071728 100%);
}

/* Lớp ảnh nền chuyển động nhẹ (nếu dùng) */
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/banner-bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
    will-change: transform;
    animation: subtleZoom 16s ease-in-out infinite alternate;
}

/* Lớp phủ tối giúp nổi bật chữ */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7, 23, 40, 0.75) 0%, rgba(30, 104, 168, 0.6) 100%);
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(232, 126, 35, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: 3;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 4;
}

.hero-tag {
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
    display: inline-block;
    opacity: 0;
    animation: titleSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.about-title {
    font-size: clamp(1.1rem, 2vw + 0.8rem, 2.2rem) !important;
}

.hero-title {
    font-family: 'Oswald', sans-serif !important;
    letter-spacing: 0.03em;
    line-height: 1.3 !important;
    opacity: 0;
    will-change: transform, opacity;
    animation: heroFadeDown 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.5s;
}

.hero-subtitle {
    opacity: 0;
    will-change: transform, opacity;
    animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 1.2s;
}

.hero-title-shimmer {
    background: linear-gradient(110deg, #ffffff 35%, #e87e23 50%, #ffffff 65%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: titleSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards,
               shimmerText 5s linear infinite;
}

.animate-slide-up {
    opacity: 0;
    animation: titleSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }

/* Keyframe animations */
@keyframes subtleZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

@keyframes heroFadeDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes titleSlideUp {
    from {
        opacity: 0;
        transform: translateY(var(--slide-y));
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmerText {
    to { background-position: 200% center; }
}

/* 6. LEADERSHIP SPOTLIGHT CARD COMPONENT */
.leadership-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 4px solid var(--brand-orange);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    animation: leadershipFadeUp 1.3s ease-out forwards;
}

.leadership-card:hover {
    transform: translateY(-8px);
    border-color: rgba(232, 126, 35, 0.8) !important;
    box-shadow: 0 20px 40px -10px rgba(232, 126, 35, 0.25), 0 0 20px rgba(232, 126, 35, 0.15);
}

.card-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transform: skewX(-25deg);
    transition: left 0.8s ease-in-out;
    pointer-events: none;
}

.leadership-card:hover .card-shimmer {
    left: 150%;
}

.quote-icon {
    font-size: 32px;
    color: var(--brand-orange);
    margin-bottom: 12px;
    opacity: 0.8;
}

.quote-text {
    font-style: italic;
    font-size: 15px;
    color: #f1f5f9;
    line-height: 1.7;
    margin-bottom: 20px;
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background-color: var(--brand-orange);
    color: var(--surface-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.author-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.author-info p {
    font-size: 12px;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.float-animate {
    animation: floatIcon 3s ease-in-out infinite;
    transition: transform 0.3s ease, color 0.3s ease;
}

.leadership-card:hover .float-animate {
    color: #fbbf24;
    transform: scale(1.15) rotate(-5deg);
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

.pulse-avatar {
    position: relative;
    transition: transform 0.3s ease;
}

.pulse-avatar::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(245, 158, 11, 0.6);
    animation: avatarPulse 2s infinite;
    pointer-events: none;
}

.leadership-card:hover .pulse-avatar {
    transform: scale(1.08);
}

@keyframes avatarPulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 0; }
    100% { transform: scale(0.95); opacity: 0; }
}

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

/* 7. METRICS GRID & RIBBON COMPONENT */
.metrics-container {
    margin-top: -50px;
    position: relative;
    z-index: 10;
    margin-bottom: 60px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.metrics-grid .metric-card {
    background: var(--surface-white);
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    text-align: center;
    opacity: 0;
    will-change: transform, opacity;
    transition-property: opacity, transform, box-shadow;
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1), cubic-bezier(0.16, 1, 0.3, 1), ease;
}

/* Khối 1: Trượt từ trái qua - Thời gian lướt 4s */
.metrics-grid .metric-card:nth-child(1) {
    transform: translateX(-80px);
    transition-duration: 3s, 3s, 0.3s;
}

/* Khối 2: Trượt từ trái qua - Thời gian lướt 2s */
.metrics-grid .metric-card:nth-child(2) {
    transform: translateX(-80px);
    transition-duration: 1s, 1s, 0.3s;
}

/* Khối 3: Trượt từ phải qua - Thời gian lướt 2s */
.metrics-grid .metric-card:nth-child(3) {
    transform: translateX(80px);
    transition-duration: 1s, 1s, 0.3s;
}

/* Khối 4: Trượt từ phải qua - Thời gian lướt 4s */
.metrics-grid .metric-card:nth-child(4) {
    transform: translateX(80px);
    transition-duration: 3s, 3s, 0.3s;
}

/* Trạng thái sau khi kích hoạt animation lướt vào */
.metrics-grid .metric-card.animate-in,
.metrics-grid.active .metric-card {
    opacity: 1 !important;
    transform: translateX(0) scale(1) !important;
}

.metrics-grid .metric-card:hover {
    box-shadow: 0 15px 30px -5px rgba(30, 104, 168, 0.18) !important;
    transform: translateY(-8px) scale(1.02) !important;
}

.metrics-grid .metric-card:hover .metric-icon {
    transform: scale(1.12) rotate(5deg);
    transition: transform 0.3s ease;
}

.metric-icon {
    width: 48px;
    height: 48px;
    background: rgba(30, 104, 168, 0.08);
    color: var(--primary-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 12px;
    transition: transform 0.3s ease;
}

.metric-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.metric-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 8. CÁC SECTION & BỐ CỤC NỘI DUNG */
.section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.section-tag {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    display: block;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}

/* SECTION 1: PHILOSOPHY */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.philosophy-num {
    font-size: 36px;
    font-weight: 900;
    color: rgba(30, 104, 168, 0.15);
    position: absolute;
    top: 24px;
    right: 28px;
}

.philosophy-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.philosophy-card h3 i {
    color: var(--accent-orange);
}

.philosophy-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* SECTION 2: LEGAL & CAPACITY TABLE */
.legal-wrapper {
    background-color: var(--surface-white);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.legal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.legal-info-table {
    padding: 40px;
}

.legal-highlight {
    color: var(--primary-blue);
    font-weight: 700;
}

.legal-locations {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    border-left: 1px solid var(--border-color);
}

.location-card {
    background: var(--surface-white);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.location-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(232, 126, 35, 0.1);
    color: var(--accent-orange);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.location-details h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.location-details p {
    font-size: 13px;
    color: var(--text-muted);
}

/* SECTION 3: QUALITY POLICY & TECH */
.policy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.policy-card {
    background: var(--surface-white);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.policy-header {
    margin-bottom: 20px;
}

.policy-badge {
    display: inline-block;
    background: var(--primary-dark);
    color: var(--accent-orange);
    font-weight: 800;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.policy-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.4;
}

.policy-list {
    list-style: none;
    padding: 0;
}

.policy-list li {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
    line-height: 1.6;
}

.policy-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-orange);
    font-weight: bold;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.tech-tag {
    background-color: rgba(30, 104, 168, 0.08);
    color: var(--primary-blue);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
}

/* SECTION 4: ORGANIZATIONAL CHART */
.org-section {
    background-color: var(--surface-white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.org-chart-wrapper {
    background-color: var(--bg-light);
    padding: 40px 24px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.org-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 900px;
    width: max-content;
    margin: 0 auto;
}

.node-board {
    background: linear-gradient(135deg, var(--primary-dark), #1e293b);
    color: var(--surface-white);
    font-weight: 700;
    font-size: 14px;
    padding: 12px 32px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.line-v {
    width: 2px;
    height: 24px;
    background-color: #cbd5e1;
}

.director-row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.director-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.node-director {
    background: linear-gradient(135deg, var(--primary-blue), #0d3d6b);
    color: var(--surface-white);
    font-weight: 800;
    font-size: 15px;
    padding: 14px 36px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 2px solid var(--accent-orange);
}

.node-secretary {
    position: absolute;
    left: 100%;
    margin-left: 24px;
    background: var(--surface-white);
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    font-size: 11px;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.node-secretary::before {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    width: 24px;
    height: 2px;
    background-color: var(--primary-blue);
}

.divisions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
    margin-top: 24px;
    position: relative;
}

.divisions-grid::before {
    content: '';
    position: absolute;
    top: -24px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background-color: #cbd5e1;
}

.division-card {
    background: var(--surface-white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.division-card::before {
    content: '';
    position: absolute;
    top: -24px;
    left: 50%;
    width: 2px;
    height: 24px;
    background-color: #cbd5e1;
}

.division-header {
    background-color: var(--primary-dark);
    color: var(--surface-white);
    font-size: 12px;
    font-weight: 700;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 12px;
}

.division-header span {
    display: block;
    font-size: 10px;
    font-weight: 400;
    color: #94a3b8;
    margin-top: 2px;
}

.dept-box {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 8px;
}

.dept-box:last-child {
    margin-bottom: 0;
}

.dept-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.dept-list {
    list-style: none;
    padding: 0;
}

.dept-list li {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 2px;
    padding-left: 10px;
    position: relative;
}

.dept-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
}

/* 9. RESPONSIVE OPTIMIZATIONS */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

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

    .philosophy-grid,
    .policy-grid {
        grid-template-columns: 1fr;
    }

    .legal-grid {
        grid-template-columns: 1fr;
    }

    .legal-locations {
        border-left: none;
        border-top: 1px solid var(--border-color);
    }
}

@media (max-width: 768px) {
    :root {
        --slide-y: 14px;
        --slide-x: 0px;
    }

    /* GIỮ NGUYÊN TÔNG MÀU DỌC TRUYỀN THỐNG TRÊN MÀN HÌNH DI ĐỘNG */
    .hero {
        padding-top: 1.5rem !important;
        background: linear-gradient(180deg, #071728 0%, #0d3d6b 60%, #1e68a8 100%) !important;
    }

    .hero-tag {
        display: inline-block;
        margin-bottom: 1.5rem !important;
    }

    .hero-title {
        margin-bottom: 0.75rem !important;
    }

    .leadership-card {
        padding-top: 1.0rem !important;
    }

    ::-webkit-scrollbar {
        width: 4px;
    }

    .metrics-grid .metric-card:nth-child(1),
    .metrics-grid .metric-card:nth-child(2) {
        transform: translateX(-40px);
    }

    .metrics-grid .metric-card:nth-child(3),
    .metrics-grid .metric-card:nth-child(4) {
        transform: translateX(40px);
    }
}

@media (max-width: 600px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1024px) {
    .org-chart-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .org-tree {
        width: 100% !important;
        max-width: 100% !important;
    }

    .divisions-grid {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 16px !important;
    }

    .division-card {
        width: 100% !important;
    }
}

/* 10. CUSTOM CLASSES HỢP NHẤT */
.bullet-dot {
    color: #c29624;
    font-weight: 700;
    font-size: 0.75rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.philosophy-card {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.philosophy-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.legal-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 16px 0;
    border-bottom: 1px dashed var(--border-color);
}

.legal-row:last-child {
    border-bottom: none;
}

@media (min-width: 640px) {
    .legal-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 1rem;
    }
    .legal-label {
        width: 33.333333%;
    }
    .legal-value {
        width: 66.666667%;
    }
}

.legal-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}
/* ==========================================
   FLOATING CHAT BUTTON STYLES
   ========================================== */
.chat-float-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background-color: var(--brand-orange, #e87e23);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(232, 126, 35, 0.4);
    z-index: 9999;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-icon {
    width: 26px;
    height: 26px;
    transition: transform 0.3s ease;
}

/* Hiệu ứng sóng lan tỏa xung quanh nút */
.chat-float-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--brand-orange, #e87e23);
    animation: chatPulse 2s infinite;
    pointer-events: none;
}

/* Hover effect */
.chat-float-btn:hover {
    transform: scale(1.1);
    background-color: var(--brand-blue, #1e68a8);
    box-shadow: 0 10px 28px rgba(30, 104, 168, 0.45);
}

.chat-float-btn:hover .chat-icon {
    transform: rotate(-8deg);
}

/* Tooltip hiển thị text */
.chat-tooltip {
    position: absolute;
    right: 68px;
    background-color: var(--primary-dark, #071728);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.chat-float-btn:hover .chat-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Keyframe hiệu ứng phát sóng */
@keyframes chatPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Responsive tối ưu cho thiết bị di động */
@media (max-width: 768px) {
    .chat-float-btn {
        bottom: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
    }

    .chat-icon {
        width: 22px;
        height: 22px;
    }

    /* Ẩn tooltip trên di động để đỡ vướng màn hình */
    .chat-tooltip {
        display: none;
    }
}