 
        :root {
            --neon-blue: #00e5ff;
            --neon-purple: #9d50bb;
            --neon-green: #00ffa3;
            --glass-bg: rgba(10, 25, 41, 0.85);
            --text-main: #ffffff;
            --text-secondary: #8899a6;
        }
        /*tarjeta de presentacion*/
        :root {
    --brand-main: #0da2ab; /* El color de tu marca */
    --brand-light: #ffffff;
    --brand-accent: #097d84; /* Un tono más oscuro para contraste */
}
/*iinvitacio para loguearse */

.modern-toast {
    position: fixed;
    bottom: 30px; /* Cambiado a abajo para mejor UX en móvil */
    right: 30px;
    background: white;
    min-width: 320px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    z-index: 1000;
    overflow: hidden;
    display: none;
    border: 1px solid #eee;
}

.toast-bar {
    height: 4px;
    background: linear-gradient(to right, #6a11cb, #2575fc);
    width: 100%;
}

.toast-body {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-icon {
    background: #f0f4ff;
    color: #2575fc;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.toast-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.toast-text strong {
    color: #1a1a1a;
    font-size: 0.9rem;
}

.toast-text span {
    color: #666;
    font-size: 0.85rem;
}

.btn-toast-primary {
    background: #1a1a1a;
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: 0.3s;
}

.btn-toast-primary:hover { background: #333; }

.btn-toast-close {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    font-size: 1rem;
    padding: 5px;
}

/***TARJETA DE PRESTANCION DE ACUERDO SI ESTA LOGUEADO O NO ***/
.hero-slim {
    position: relative;
    background: var(--brand-main);
    margin: 12px 15px;
    padding: 18px 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    overflow: hidden;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    position: relative;
    z-index: 5;
}

.mini-brand-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--brand-light);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-titles h1 {
    color: var(--brand-light);
    font-size: 1.25rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.3px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-titles p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    margin: 2px 0 0 0;
}

/* Caja de Ruta: Ajustada para el fondo de color */
.route-tracker-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.1); /* Oscurecemos un poco para que se lea bien */
    padding: 10px 18px;
    border-radius: 10px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.city-info { display: flex; flex-direction: column; text-align: left; }
.city-info small { color: rgba(255, 255, 255, 0.7); font-size: 0.6rem; font-weight: 800; letter-spacing: 1px; }
.city-info span { color: #fff; font-size: 0.95rem; font-weight: 600; }
.route-arrow-icon { color: var(--brand-light); font-size: 0.8rem; opacity: 0.8; }

.brand-glow-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
}

/* --- RESPONSIVO --- */
@media (min-width: 768px) {
    .hero-slim {
        margin: 20px auto;
        max-width: 1300px;
        padding: 15px 40px;
    }
    .hero-inner {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
        gap: 20px;
    }
    .route-tracker-modern {
        width: auto;
        min-width: 280px;
        gap: 35px;
    }
    .hero-titles h1 { font-size: 1.5rem; }
}
        /*=================================================MEGUSTA*/
        .gusta {
        position: absolute;
        bottom: 15px;
        left: 20px;
        display: flex;
        align-items: center;
        background: rgba(255, 255, 255, 0.03);
        padding: 5px 12px;
        border-radius: 30px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        z-index: 10;
        overflow: hidden;
    }

    /* El icono: Un diamante de energía en lugar de un corazón simple */
    .tar_heart-icon {
        font-size: 14px;
        margin-right: 8px;
        color: var(--text-secondary);
        transition: all 0.4s ease;
        filter: drop-shadow(0 0 0px transparent);
    }

    .tar_like-count {
        font-size: 12px;
        font-family: 'Courier New', Courier, monospace; /* Toque tecnológico */
        font-weight: 800;
        color: var(--text-secondary);
        letter-spacing: 1px;
    }

    /* --- ESTADO ACTIVO (Cuando el usuario da click) --- */
    .gusta.active {
        background: rgba(255, 45, 85, 0.1);
        border-color: #ff2d55;
        box-shadow: 0 0 15px rgba(255, 45, 85, 0.3);
        transform: translateY(-2px);
    }

    .gusta.active .tar_heart-icon {
        color: #ff2d55;
        transform: scale(1.3) rotate(10deg);
        filter: drop-shadow(0 0 8px #ff2d55);
    }

    .gusta.active .tar_like-count {
        color: #ffffff;
        text-shadow: 0 0 5px #ff2d55;
    }

    /* Animación de pulso cuando está activo */
    .gusta.active::after {
        content: '';
        position: absolute;
        width: 100%; height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 45, 85, 0.2), transparent);
        top: 0; left: -100%;
        animation: scan 2s infinite;
    }

    @keyframes scan {
        100% { left: 100%; }
    }
        /*================================================= MAXIMIZAR EL LOGOTIPO*/
        .tar_logo-wrapper {
        cursor: pointer;
        transition: transform 0.2s ease;
    }
    
    .tar_logo-wrapper:hover {
        transform: scale(1.05); /* Efecto sutil al pasar el mouse */
    }

    .tar_overlay {
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(15px);
        display: none; /* Se activa con JS */
        justify-content: center;
        align-items: center;
        z-index: 10000;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .tar_overlay.show {
        opacity: 1;
    }

    .tar_img-expanded {
        max-width: 90%;
        max-height: 80%;
        border-radius: 20px;
        transform: scale(0.8);
        transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        box-shadow: 0 0 40px var(--neon-blue);
    }

    .tar_overlay.show .tar_img-expanded {
        transform: scale(1);
    }
        /*=================================================*/

        .conp {
            /*background-color: #050a14;*/
            display: flex;
            justify-content: center;
            align-items: flex-start;
            align-content: flex-start;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            margin: 0;
            flex-wrap: wrap;
            gap: 15px;
            padding: 20px;
            box-sizing: border-box;
            margin-bottom: 100px;
        }

        /* --- CONTENEDOR PRINCIPAL --- */
        .tar_card {
            width: 420px; 
            height: 280px; 
            background: var(--glass-bg);
            border-radius: 25px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
            display: flex;
            padding: 20px;
            box-sizing: border-box;
            color: var(--text-main);
            box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
            overflow: hidden;
            backdrop-filter: blur(15px);
            flex-shrink: 0;
        }

        .tar_neon-side-bar {
            position: absolute;
            left: 12px;
            top: 40px;
            bottom: 40px;
            width: 3px;
            background: var(--neon-blue);
            box-shadow: 0 0 15px var(--neon-blue);
            border-radius: 10px;
        }

        .tar_section-left {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding-left: 15px;
            z-index: 2;
        }

        .tar_logo-wrapper {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: #ffffff ;
            border: 2px solid var(--neon-blue);
            margin-bottom: 15px;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
        }

        .tar_logo-wrapper img { width: 70%; height: auto; }

        .tar_company-header h2 {
            margin: 0;
            font-size: 15px;
            font-weight: 800;
            letter-spacing: 1px;
        }

        .tar_company-header p {
            margin: 2px 0;
            color: var(--text-secondary);
            font-size: 10px;
        }

        .tar_ruc-tag {
            font-size: 9px;
            color: var(--neon-blue);
            margin-top: 3px;
        }

        .tar_section-right {
            flex: 1.5;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: flex-end;
            z-index: 2;
        }

        .tar_score-box {
            background: rgba(255, 255, 255, 0.03);
            border: 1.5px solid #ffeb3b;
            color: #ffeb3b;
            padding: 4px 12px;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .tar_route-visualizer { width: 100%; margin-top: 5px; }

        .tar_route-label-top {
            color: var(--neon-blue);
            font-size: 9px;
            text-transform: uppercase;
            margin-bottom: 8px;
            display: block;
        }

        .tar_route-line-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            position: relative;
        }

        .tar_connecting-line {
            position: absolute;
            height: 1px;
            background: linear-gradient(90deg, var(--neon-blue), transparent);
            left: 5px;
            right: 5px;
            z-index: 1;
        }

        .tar_route-dot {
            width: 8px;
            height: 8px;
            background: var(--neon-blue);
            border-radius: 50%;
            z-index: 2;
        }

        .tar_route-cities {
            display: flex;
            justify-content: space-between;
            width: 100%;
            margin-top: 5px;
            font-weight: 700;
            font-size: 12px;
        }

        .tar_detail-info {
            color: var(--text-secondary);
            font-size: 9px;
            margin-top: 5px;
            text-align: left;
            width: 100%;
        }

        .tar_btn-action {
            background: linear-gradient(90deg, #00ffa3, #044247);
            border: none;
            padding: 10px 25px;
            border-radius: 20px;
            color: white;
            font-weight: 700;
            font-size: 11px;
            cursor: pointer;
            margin: 5px 0;
        }

        .tar_verified-seal {
            display: flex;
            align-items: center;
            gap: 8px;
            background: rgba(0, 255, 163, 0.08);
            padding: 6px 12px;
            border-radius: 10px;
            border: 1px solid rgba(0, 255, 163, 0.3);
        }

        .tar_check-icon {
            width: 18px;
            height: 18px;
            background: var(--neon-green);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #050a14;
            font-size: 10px;
        }

        .tar_seal-text small { font-size: 8px; display: block; }
        .tar_seal-text strong { font-size: 10px; color: var(--neon-green); }

        /* --- AJUSTES PARA TELÉFONO (MOBILE) --- */
        @media (max-width: 768px) {
            .conp {
                flex-direction: column; /* Apilamos las tarjetas */
                padding: 5px 0; /* Margin y Padding casi 0 */
                gap: 10px;
                flex-wrap: wrap;
            }

            .tar_card {
                padding: 10px;
                border-radius: 15px;

                width: 100%;       /* ← ANTES: 98vw o 420px (esto causaba el desborde) */
                height: auto;      /* ← ANTES: 220px (esto evita que el contenido se salga por abajo) */
                min-height: 210px; /* Le da una altura mínima base */
                max-width: 100%;   /* Asegura que nunca sea más ancha que la pantalla */
            }

            .tar_logo-wrapper {
                width: 60px;
                height: 60px;
            }

            .tar_company-header h2 { font-size: 15px; }
            .tar_company-header p { font-size: 9px; }

            .tar_score-box {
                font-size: 13px;
                padding: 2px 8px;
            }

            .tar_btn-action {
                padding: 8px 15px;
                font-size: 10px;
            }

            .tar_neon-side-bar {
                left: 8px;
                top: 20px;
                bottom: 20px;
            }
            
            .tar_section-left { padding-left: 10px; }
        }