
    /* ===== SISTEMA DE DISEÑO MODERNO NAVY + GOLD ===== */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    
    :root {
        --radius: 0.875rem;
        --background: oklch(0.99 0.005 90);
        --foreground: oklch(0.18 0.04 260);
        --card: oklch(1 0 0);
        --card-foreground: oklch(0.18 0.04 260);
        --navy: oklch(0.22 0.06 265);
        --navy-deep: oklch(0.14 0.05 265);
        --primary: oklch(0.22 0.06 265);
        --primary-foreground: oklch(0.98 0.005 90);
        --gold: oklch(0.82 0.16 85);
        --gold-foreground: oklch(0.18 0.04 260);
        --muted: oklch(0.96 0.01 250);
        --muted-foreground: oklch(0.45 0.03 260);
        --accent: oklch(0.82 0.16 85);
        --border: oklch(0.9 0.012 260);
        --input: oklch(0.9 0.012 260);
        --ring: oklch(0.82 0.16 85);
        --gradient-hero: linear-gradient(135deg, oklch(0.14 0.05 265) 0%, oklch(0.22 0.06 265) 55%, oklch(0.32 0.09 270) 100%);
        --gradient-gold: linear-gradient(135deg, oklch(0.88 0.14 88) 0%, oklch(0.78 0.17 75) 100%);
        --shadow-elegant: 0 25px 60px -25px color-mix(in oklab, var(--navy-deep) 45%, transparent);
        --shadow-gold: 0 20px 50px -20px color-mix(in oklab, var(--gold) 55%, transparent);
        --shadow-card: 0 10px 30px -15px color-mix(in oklab, var(--navy-deep) 25%, transparent);
        --font-display: 'Space Grotesk', system-ui, sans-serif;
        --font-sans: 'Inter', system-ui, sans-serif;
    }
    
    body {
        background-color: var(--background);
        color: var(--foreground);
        font-family: var(--font-sans);
        -webkit-font-smoothing: antialiased;
        padding-top: 72px;
    }
    
    h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; }
    
    /* ===== NAVEGACIÓN MODERNA ===== */
    nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 50;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border);
        padding: 0 2rem;
        height: 72px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .nav-logo { height: 48px; width: auto; display: block; }
    .menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--navy); }
    
    #menu { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
    #menu li a {
        display: block;
        padding: 0.5rem 1rem;
        color: #4a5568;
        font-weight: 500;
        text-decoration: none;
        border-radius: 9999px;
        transition: all 0.2s;
        font-size: 0.875rem;
    }
    #menu li a i { margin-right: 0.5rem; }
    #menu li a:hover { background: var(--muted); color: var(--foreground); }
    
    @media (max-width: 768px) {
        .menu-toggle { display: block; }
        nav { padding: 0 1rem; height: 64px; }
        body { padding-top: 64px; }
        #menu {
            position: fixed;
            top: 64px;
            right: -100%;
            width: 280px;
            height: calc(100vh - 64px);
            background: white;
            flex-direction: column;
            padding: 1rem 0;
            transition: right 0.3s ease;
            box-shadow: -5px 0 20px rgba(0,0,0,0.1);
            gap: 0;
        }
        #menu.active { right: 0; }
        #menu li a { padding: 1rem 1.5rem; border-radius: 0; }
    }
    
    /* ===== HERO ===== */
    .dashboard-hero {
        background: var(--gradient-hero);
        padding: 3rem 0;
        margin-bottom: 2rem;
    }
    .dashboard-hero-content {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 1.5rem;
        text-align: center;
    }
    .dashboard-hero-content h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
        color: white;
    }
    .dashboard-hero-content h1 span {
        background: var(--gradient-gold);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    .dashboard-hero-content p {
        color: rgba(255,255,255,0.8);
    }
    
    /* Fecha actual */
    .fecha-actual {
        max-width: 1280px;
        margin: 0 auto 1rem;
        padding: 0 1.5rem;
        text-align: right;
        font-size: 0.8rem;
        color: var(--muted-foreground);
    }
    .fecha-actual i { margin-right: 0.5rem; color: var(--gold); }
    
    /* ===== KPIS ===== */
    .dashboard-container {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 1.5rem 2rem;
    }
    .kpi-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    .kpi-card {
        background: var(--card);
        border: 1px solid var(--border);
        border-radius: 1rem;
        padding: 1.25rem;
        transition: all 0.2s;
        box-shadow: var(--shadow-card);
    }
    .kpi-card:hover { transform: translateY(-2px); border-color: var(--gold); }
    .kpi-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.75rem;
    }
    .kpi-header h3 { font-size: 0.85rem; font-weight: 500; color: var(--muted-foreground); }
    .kpi-icon {
        width: 40px;
        height: 40px;
        background: var(--muted);
        border-radius: 0.75rem;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--gold);
    }
    .kpi-value {
        font-size: 1.75rem;
        font-weight: 700;
        font-family: var(--font-display);
        margin-bottom: 0.5rem;
    }
    .kpi-change {
        font-size: 0.7rem;
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }
    .kpi-change.positive { color: #10b981; }
    .kpi-change.negative { color: #ef4444; }
    
    /* ===== GRÁFICAS ===== */
    .chart-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    .chart-card {
        background: var(--card);
        border: 1px solid var(--border);
        border-radius: 1rem;
        overflow: hidden;
        box-shadow: var(--shadow-card);
    }
    .chart-header {
        padding: 1rem 1.25rem;
        border-bottom: 1px solid var(--border);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .chart-header h3 { font-size: 0.9rem; display: flex; align-items: center; gap: 0.5rem; }
    .chart-header h3 i { color: var(--gold); }
    .chart-container {
        padding: 1rem;
        height: 320px;
        position: relative;
    }
    
    /* ===== TARJETAS DE VEHÍCULOS ===== */
    .dashboard-card {
        background: var(--card);
        border: 1px solid var(--border);
        border-radius: 1rem;
        margin-bottom: 2rem;
        overflow: hidden;
        box-shadow: var(--shadow-card);
    }
    .dashboard-card-header {
        padding: 1.25rem;
        border-bottom: 1px solid var(--border);
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
    .dashboard-card-header i { font-size: 1.5rem; color: var(--gold); }
    .dashboard-card-header h2 { font-size: 1.25rem; margin-bottom: 0.25rem; }
    .dashboard-card-header p { font-size: 0.75rem; color: var(--muted-foreground); }
    
    .vehiculos-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 1rem;
        padding: 1.25rem;
    }
    .vehiculo-card {
        background: var(--background);
        border: 1px solid var(--border);
        border-radius: 0.75rem;
        padding: 1rem;
        display: flex;
        gap: 1rem;
        transition: all 0.2s;
    }
    .vehiculo-card:hover { border-color: var(--gold); }
    .vehiculo-icon {
        width: 48px;
        height: 48px;
        background: var(--muted);
        border-radius: 0.75rem;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: var(--gold);
    }
    .vehiculo-info { flex: 1; }
    .vehiculo-nombre { font-weight: 600; margin-bottom: 0.25rem; }
    .vehiculo-placa { font-size: 0.7rem; color: var(--muted-foreground); margin-bottom: 0.5rem; }
    .vehiculo-stats { display: flex; gap: 1rem; margin-bottom: 0.5rem; }
    .vehiculo-stat { font-size: 0.7rem; }
    .vehiculo-stat span:first-child { color: var(--muted-foreground); }
    .vehiculo-stat span:last-child { font-weight: 600; margin-left: 0.25rem; }
    .progress-bar {
        height: 4px;
        background: var(--muted);
        border-radius: 2px;
        overflow: hidden;
    }
    .progress-fill {
        height: 100%;
        background: var(--gold);
        border-radius: 2px;
        transition: width 0.3s;
    }
    
    /* ===== TABLA ===== */
    .filters {
        display: flex;
        gap: 0.5rem;
        padding: 0 1.25rem;
        margin-bottom: 1rem;
    }
    .filter-btn {
        background: var(--muted);
        border: none;
        padding: 0.4rem 1rem;
        border-radius: 9999px;
        font-size: 0.75rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s;
    }
    .filter-btn.active {
        background: var(--gradient-gold);
        color: var(--navy);
    }
    .table-container {
        overflow-x: auto;
        padding: 0 1.25rem 1.25rem;
    }
    .table-dashboard {
        width: 100%;
        border-collapse: collapse;
        font-size: 0.75rem;
    }
    .table-dashboard th,
    .table-dashboard td {
        padding: 0.75rem 0.5rem;
        text-align: left;
        border-bottom: 1px solid var(--border);
    }
    .table-dashboard th {
        color: var(--gold);
        font-weight: 600;
    }
    .badge {
        display: inline-block;
        padding: 0.2rem 0.5rem;
        border-radius: 9999px;
        font-size: 0.65rem;
        font-weight: 600;
    }
    .badge-diesel { background: rgba(16, 185, 129, 0.15); color: #10b981; }
    .badge-corriente { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
    
    .nota {
        text-align: center;
        font-size: 0.7rem;
        color: var(--muted-foreground);
        margin-top: 1.5rem;
        padding: 1rem;
        background: var(--muted);
        border-radius: 0.75rem;
    }
    
    /* ===== FOOTER ===== */
    footer {
        background: var(--gradient-hero);
        color: white;
        margin-top: 3rem;
        padding: 2rem 0;
        text-align: center;
    }
    footer p { color: rgba(255,255,255,0.7); }
    footer a {
        color: rgba(255,255,255,0.7);
        margin: 0 0.5rem;
        font-size: 1.25rem;
        transition: all 0.2s;
        display: inline-block;
        text-decoration: none;
    }
    footer a:hover { color: white; transform: translateY(-2px); }
    
    /* ===== WHATSAPP FLOTANTE ===== */
    .whatsapp-float {
        position: fixed;
        bottom: 1.5rem;
        right: 1.5rem;
        background: #25D366;
        color: white;
        width: 3.5rem;
        height: 3.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 9999px;
        font-size: 1.75rem;
        box-shadow: 0 10px 25px -5px rgba(0,0,0,0.2);
        transition: transform 0.2s;
        z-index: 40;
        text-decoration: none;
    }
    .whatsapp-float:hover { transform: scale(1.1); }
    
    @media (max-width: 768px) {
        .chart-grid { grid-template-columns: 1fr; }
        .kpi-grid { grid-template-columns: 1fr; }
        .vehiculos-grid { grid-template-columns: 1fr; }
        .table-dashboard { font-size: 0.7rem; }
    }
