        :root {
            --color-negro: #121212;
            --color-rojo: #dc3545;
            --color-rojo-oscuro: #b02a37;
            --color-gris: #6c757d;
            --color-gris-claro: #e9ecef;
            --color-blanco: #ffffff;
            --color-footer: #121212;
            --color-footer-text: #000;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            font-display: swap;
            color: #333;
            padding-top: 80px; /* Para compensar la navbar fija */
        }

        /* NAVBAR */
        .navbar {
            background-color: var(--color-negro) !important;
            padding-top: 0.8rem;
            padding-bottom: 0.8rem;
            box-shadow: 0 2px 10px rgba(0,0,0,0.3);
        }

        .navbar-brand {
            color: var(--color-blanco) !important;
            font-weight: bold; 
            font-size: 0.9rem;
        }

        .navbar-brand-max {
            color: var(--color-blanco) !important;
            font-weight: 700; 
            font-size: 1.2rem;
            text-decoration: none;
        }


        .navbar-brand span {
            color: var(--color-rojo);
        }

        .nav-link {
            color: var(--color-gris-claro) !important;
            font-weight: 500;
            margin: 0 5px;
            transition: color 0.5s;  /* 0.3s <-- Original */
        }

        .nav-link:hover, .nav-link.active {
            /* color: var(--color-blanco) !important; */
            color: var(--color-rojo-oscuro) !important;

        }

        .btn-rojo {
            background-color: var(--color-rojo);
            color: var(--color-blanco);
            border: none;
            padding: 8px 20px;
            font-weight: 600;
            transition: background-color 0.3s;
        }

        .btn-rojo:hover {
            background-color: var(--color-rojo-oscuro);
            color: var(--color-blanco);
        }

        /* SLIDER PANTALLA COMPLETA */
        #inicioSlider {
            height: 100vh;
            min-height: 600px;
            margin-top: -80px;
        }

        .carousel-item {
            height: 100vh;
            min-height: 600px;
        }

        .carousel-item img {
            object-fit: cover;
            height: 100%;
            width: 100%;
            filter: brightness(0.7);
        }

        .carousel-caption {
            background-color: rgba(0, 0, 0, 0.7);
            border-radius: 10px;
            padding: 30px;
            bottom: 10%;
            left: 10%;
            right: 10%;
            border-left: 5px solid var(--color-rojo);
        }

        .carousel-caption h1 {
            color: var(--color-blanco);
            font-weight: 700;
            margin-bottom: 20px;
        }

        .carousel-caption .lead {
            color: var(--color-gris-claro);
        }


.carousel-leyenda {
        position: absolute;
        top: 25%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        z-index: 10;
        text-align: center;
    }

    .leyenda-texto {
        display: inline-block;
/*        background-color: rgba(0, 0, 0, 0.7);
        background-color: rgba(245, 242, 242, 0.7);
*/
        background-color: rgba(95, 16, 16, 0.7);
        font-weight: bold;
        padding: 15px 30px;
        border-radius: 5px;

    }

    .leyenda-slogan {
        color: white;
        font-size: 10rem;
        font-weight: bold;
/*        font-weight: 300; */
        letter-spacing: 1px;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    }

/* Ajuste para responsividad */
    @media (max-width: 768px) {
        .leyenda-slogan {
            font-size: 10rem;
            padding: 10px 20px;
        }

        .leyenda-texto {
            padding: 10px 20px;
        }
    }

    @media (max-width: 576px) {
        .leyenda-slogan {
            font-size: 5rem;
            padding: 8px 15px;
        }

        .leyenda-texto {
            padding: 8px 15px;
        }
    }

        /* SECCIONES */
        .section-title {
            color: var(--color-negro);
            font-weight: 700;
            margin-bottom: 2rem;
            position: relative;
            padding-bottom: 15px;
        }

        .section-title:after {
            content: '';
            position: absolute;
            width: 70px;
            height: 4px;
            background-color: var(--color-rojo);
            bottom: 0;
            left: 0;
        }

        .section-title.text-center:after {
            left: 50%;
            transform: translateX(-50%);
        }

        .bg-gris-claro {
            background-color: var(--color-gris-claro);
        }

        /* NOSOTROS */
        .about-img {
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }

        .feature-icon {
            background-color: var(--color-rojo);
            color: var(--color-blanco);
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            margin-bottom: 15px;
        }

        /* GALERÍA DE AUTOS */
        .car-card {
            transition: transform 0.3s, box-shadow 0.3s;
            border: none;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
/*            margin-bottom: 30px; */
            background-color: var(--color-blanco);
        }

        .car-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        }

        .car-img-container {
            height: 220px;
            overflow: hidden;
            position: relative;
        }

        .car-img {
            height: 100%;
            width: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }

        .car-card:hover .car-img {
            transform: scale(1.05);
        }

        .car-price {
/*            background-color: var(--color-rojo); */
            background-color: rgba(200, 0, 0, 0.70);
            color: var(--color-blanco);
            font-weight: 700;
            font-size: 1.3rem;
            padding: 8px 15px;
            position: absolute;
            bottom: 10px;
            right: 10px;
            border-radius: 5px;
        }

        .car-card-body {
            padding: 10px;
        }
        .car-title {
            color: var(--color-negro);
            font-weight: 500;
            margin-bottom: 10px;
            font-size: 1rem;
        }


        .car-details {
/*            background-color: rgba(0,0,0,0.1); */
            background-color: #eee;
            color: var(--color-gris);
            font-size: 0.9rem;
            margin-bottom: 15px;
            padding: 10px;
            border-radius: 5px;
        }

        .car-details i {
            color: var(--color-rojo);
            margin-right: 5px;
        }

        /* SERVICIOS */
        .service-card {
            background-color: var(--color-blanco);
            border-radius: 10px;
            padding: 30px 20px;
            text-align: center;
            height: 100%;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: transform 0.3s;
            border-top: 4px solid var(--color-rojo);
        }

        .service-card:hover {
            transform: translateY(-5px);
        }

        .service-icon {
            background-color: var(--color-negro);
            color: var(--color-blanco);
            width: 80px;
            height: 80px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            margin: 0 auto 20px;
        }

        .service-title {
            color: var(--color-negro);
            font-weight: 700;
            margin-bottom: 15px;
        }

        /* CONTACTO */
        .contact-info {
            background-color: var(--color-negro);
            color: var(--color-blanco);
            padding: 30px;
            border-radius: 10px;
            height: 100%;
        }

        .contact-info h4 {
            color: var(--color-blanco);
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 10px;
        }

        .contact-info h4:after {
            content: '';
            position: absolute;
            width: 50px;
            height: 3px;
            background-color: var(--color-rojo);
            bottom: 0;
            left: 0;
        }

        .contact-item {
            margin-bottom: 20px;
            display: flex;
            align-items: flex-start;
        }

        .contact-icon {
            background-color: var(--color-rojo);
            color: var(--color-blanco);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            flex-shrink: 0;
        }

        .form-control, .form-select {
            border: 1px solid #ced4da;
            padding: 12px;
            border-radius: 5px;
        }

        .form-control:focus, .form-select:focus {
            border-color: var(--color-rojo);
            box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
        }

        /* MAPA */
 .map-container {
        position: relative;
        margin-bottom: 30px;
    }

    .map-overlay {
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 1000;
        background-color: var(--color-negro);
        color: var(--color-blanco);
        padding: 20px;
        border-radius: 10px;
        max-width: 300px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        border-left: 4px solid var(--color-rojo);
    }

    .map-overlay h5 {
        color: var(--color-blanco);
        font-weight: 700;
        margin-bottom: 15px;
        font-size: 1.2rem;
    }

    .map-overlay p {
        margin-bottom: 8px;
        font-size: 0.9rem;
        display: flex;
        align-items: flex-start;
    }

    .map-overlay i {
        color: var(--color-rojo);
        margin-right: 10px;
        margin-top: 2px;
        flex-shrink: 0;
    }

    /* Estilos para el marcador personalizado */
    .custom-marker {
        background-color: var(--color-rojo);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 3px solid white;
        box-shadow: 0 0 10px rgba(0,0,0,0.3);
    }

    .custom-marker i {
        color: white;
        font-size: 1.2rem;
    }

    @media (max-width: 768px) {
        #mapaUbicacion {
            height: 350px !important;
        }

        .map-overlay {
            position: relative;
            top: 0;
            left: 0;
            max-width: 100%;
            margin-bottom: 20px;
        }
    }


        /* FOOTER */
        footer {
            background-color: var(--color-footer);
            color: var(--color-gris-claro);
/*            color: var(--color-footer-text); */
            padding: 50px 0 20px;
        }

        .footer-logo {
            color: var(--color-blanco);
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .footer-logo span {
            color: var(--color-rojo);
        }

        .botonesSHARETOP {
            position:absolute;
            right: 10px;
            top:5px;
            z-index:20;
        }
        .myLINKSHARE {
            height: 35px;
            width: 35px;
            background-color: rgba(0, 0, 0, 0);
            color:red;
            border:0px;
        }

        .especificacion {
            color: var(--color-rojo-oscuro);
            font-size: 0.6rem;
            font-weight: bold;
        }

        .espevalor {
            color: black;
            font-size: 0.7rem;
            font-weight: 100px;
        }


        .social-icons a {
            display: inline-block;
            width: 40px;
            height: 40px;
            background-color: rgba(255,255,255,0.1);
            color: var(--color-blanco);
            border-radius: 50%;
            text-align: center;
            line-height: 40px;
            margin-right: 10px;
            transition: background-color 0.3s;
        }

        .social-icons a:hover {
            background-color: var(--color-rojo);
        }

        .footer-links h5 {
            color: var(--color-blanco);
            margin-bottom: 20px;
            font-size: 1.2rem;
        }

        .footer-links ul {
            list-style: none;
            padding-left: 0;
        }

        .footer-links li {
            margin-bottom: 10px;
        }

        .footer-links a {
            color: var(--color-gris-claro);
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: var(--color-rojo);
        }

        .copyright {
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 20px;
            margin-top: 40px;
            text-align: center;
            color: var(--color-gris);
            font-size: 0.9rem;
        }

        /* RESPONSIVE */
        @media (max-width: 768px) {
            .carousel-caption {
                bottom: 10%;
                padding: 20px;
            }

            .carousel-caption h1 {
                font-size: 1.8rem;
            }

            .carousel-caption .lead {
                font-size: 1rem;
            }
        }

/* GALERIA DE UNIDADES */

    /* Variables de color adicionales */
    .bg-negro {
        background-color: var(--color-negro) !important;
    }

    .bg-rojo {
        background-color: var(--color-rojo) !important;
    }

    .btn-outline-negro {
        color: var(--color-negro);
        border-color: var(--color-negro);
    }

    .btn-outline-negro:hover {
        background-color: var(--color-negro);
        color: var(--color-blanco);
    }

    .btn-outline-negro.active {
        background-color: var(--color-negro);
        color: var(--color-blanco);
    }

    /* Estilos para las tarjetas de auto */
    .car-details p {
        margin-bottom: 5px;
    }

    .car-details i {
        color: var(--color-rojo);
        margin-right: 5px;
        width: 16px;
    }


    .car-card-lista {
        display: flex;
        border: none;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        margin-bottom: 20px;
        background-color: var(--color-blanco);
    }

    .car-img-container-lista {
        width: 300px;
        height: 200px;
        overflow: hidden;
        flex-shrink: 0;
        position: relative;
    }

    .car-card-body-lista {
        padding: 20px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .car-details-lista {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 15px;
    }

    .car-details-lista p {
        margin-bottom: 0;
        padding-right: 15px;
        border-right: 1px solid var(--color-gris-claro);
    }

    .car-details-lista p:last-child {
        border-right: none;
    }

    .car-actions-lista {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }



    /* Responsive */
    @media (max-width: 992px) {
        .car-card-lista {
            flex-direction: column;
        }

        .car-img-container-lista {
            width: 100%;
            height: 200px;
        }

        .car-details-lista {
            gap: 10px;
        }

        .car-details-lista p {
            padding-right: 10px;
        }
    }

    @media (max-width: 768px) {
        .car-details-lista {
            flex-direction: column;
            gap: 5px;
        }

        .car-details-lista p {
            border-right: none;
            padding-right: 0;
        }
    }

/* MODAL INFORMACION DE LA UNIDAD */

    /* Estilos específicos para el modal */
    .modal-lg {
        max-width: 900px;
    }

    .feature-icon-sm {
        background-color: var(--color-rojo);
        color: var(--color-blanco);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
    }

    .carousel-modal-inner img {
        height: 300px;
        object-fit: cover;
        width: 100%;
    }

    .carousel-modal-control-prev-icon,
    .carousel-modal-control-next-icon {
        background-color: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        background-size: 60%;
    }

    .carousel-modal-indicators button {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        margin: 0 3px;
    }


    /* Estilos para los badges de equipamiento */
    .equip-badge {
        display: inline-block;
        background-color: white;
        border: 1px solid #dee2e6;
        border-radius: 20px;
        padding: 5px 12px;
        margin: 3px;
        font-size: 0.85rem;
    }

    /* Estilos para el historial */
    .historial-item {
        padding-left: 1.5rem;
        position: relative;
        margin-bottom: 0.5rem;
    }

    .historial-item:before {
        content: "✓";
        position: absolute;
        left: 0;
        color: var(--color-rojo);
        font-weight: bold;
    }

    .img-thumb {
        height: 100px;
        width: 140px;
        object-fit: cover;
        transition: transform 0.5s;
    }


/*  verUNIDAD con SLIDER */

    /* Estilos para el slider de thumbnails */
    .thumbnails-slider {
        display: flex;
        overflow-x: auto;
        scroll-behavior: smooth;
        padding: 10px 0;
        gap: 10px;
    }

    .thumbnails-slider::-webkit-scrollbar {
        height: 6px;
    }

    .thumbnails-slider::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }

    .thumbnails-slider::-webkit-scrollbar-thumb {
        background: var(--color-rojo);
        border-radius: 3px;
    }

    .thumbnail-item {
        flex: 0 0 auto;
        width: 120px;
        height: 80px;
        border-radius: 6px;
        overflow: hidden;
        cursor: pointer;
        transition: all 0.3s ease;
        border: 3px solid transparent;
    }

    .thumbnail-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .thumbnail-item.active {
        border-color: var(--color-rojo);
    }

    .thumbnail-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Timeline para historial */
    .timeline {
        position: relative;
        padding-left: 30px;
    }

    .timeline-item {
        position: relative;
        padding-bottom: 20px;
    }

    .timeline-item:last-child {
        padding-bottom: 0;
    }

    .timeline-marker {
        position: absolute;
        left: -30px;
        top: 0;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        z-index: 2;
    }

    .timeline-content {
        padding-left: 15px;
    }

    .timeline-item:not(:last-child):after {
        content: '';
        position: absolute;
        left: -21px;
        top: 20px;
        bottom: 0;
        width: 2px;
        background-color: #e9ecef;
        z-index: 1;
    }

    /* Estilos para las pestañas */
    .nav-tabs .nav-link {
        color: var(--color-gris);
        border: none;
        padding: 15px 20px;
        transition: all 0.3s;
    }

    .nav-tabs .nav-link:hover {
        color: var(--color-negro);
    }

    .nav-tabs .nav-link.active {
        color: var(--color-rojo);
        border-bottom: 3px solid var(--color-rojo);
        background-color: transparent;
    }

    /* Estilos para la calculadora */
    .form-range::-webkit-slider-thumb {
        background-color: var(--color-rojo);
    }

    .form-range::-moz-range-thumb {
        background-color: var(--color-rojo);
    }

    /* Breadcrumb personalizado */
    .breadcrumb-item a {
        color: var(--color-rojo);
        text-decoration: none;
        transition: color 0.3s;
    }

    .breadcrumb-item a:hover {
        color: var(--color-rojo-oscuro);
        text-decoration: underline;
    }


/********************/
/* ICONOS FLOTANTES */
/********************/
.phone-container {
	position: fixed;
	bottom: 25px;
	left: 25px;
	cursor: pointer;
	z-index: 100;
}

.phone-icon-holder {
	width: 50px;
	height: 50px;
	border-radius: 100%;
	background: #016fb9;
	box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.phone-icon-holder:hover{
	opacity: 0.8;
}

.phone-icon-holder i {
	display: flex;
	align-items: center;
	justify-content: center;

	height: 100%;
	font-size: 25px;
	color: #ffffff;
}

.phone {
	width: 60px;
	height: 60px;
	background: #3633ee;
}

.phone > a {
  text-decoration: none;
}
/****************************************/
/* WHATSAP */
/****************************************/
.whatsapp-container {
	position: fixed;
	bottom: 25px;
	right: 25px;
	cursor: pointer;
	z-index: 1000;
}

.whatsapp-icon-holder {
	width: 50px;
	height: 50px;
	border-radius: 100%;
	background: rgb(1, 185, 56);
	box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.whatsapp-icon-holder:hover{
	opacity: 0.8;
}

.whatsapp-icon-holder i {
	display: flex;
	align-items: center;
	justify-content: center;

	height: 100%;
	font-size: 25px;
	color: #ffffff;
}

.whatsapp-ventana-holder {
/*	width: 200px;
	height: 100px;
  border-radius: 100%;
  */
/*
	background: rgb(1, 185, 56);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  */
}

.whatsapp-ventana {
/*	width: 60px;
	height: 60px; */
	background:transparent;
}

.whatsapp {
	width: 60px;
	height: 60px;
	background: rgb(1, 185, 56);
}

.whatsapp > a {
  text-decoration: none;
}
/* FIN - WHATSAP */
/****************************************/

.marquee {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
  }
  .marquee span {
    display: inline-block; 
    padding-left: 10%; 
    animation: marquee 8s linear infinite; 
    
  }
  @keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }