/* ==========================================================================
   CONFIGURACIÓN GLOBAL Y VARIABLES
   ========================================================================== */
:root {
    --combi-color: #f4f4f4; /* Ejemplo de valor para la variable */
}

.kp-background {
    --background-color: var(--combi-color);
    --default-color: #000000;
    --heading-color: #000000;
    --accent-color: #171717;
    --surface-color: #232424;
    --contrast-color: #000000;
}

.heading-2 {
    --v-font-heading-2-lineheight: var(--_v942f76, 1.2);
    --v-font-heading-2-size-min: 1.5rem;
    --v-font-heading-2-size-max: 2rem;
    --v-font-heading-2-size: clamp(
        var(--v-font-heading-2-size-min),
        1vw + 1.2rem,
        var(--v-font-heading-2-size-max)
    );
    --v-font-emphasis-weight: 600;
    --v-font-sans-family: "Helvetica Neue", Arial, sans-serif;

    font: var(--v-font-emphasis-weight) var(--v-font-heading-2-size) /
        var(--v-font-heading-2-lineheight) var(--v-font-sans-family);
    color: var(--accent-color);
    display: inline-block;
}

.fontmedium {
    font-size: 1.2rem;
    font-weight: 500;
    color: #000;
}

.carga {
    background-color: var(--combi-color);
}

.object-fit-cover {
    object-fit: cover;
}

/* ==========================================================================
   HEADER Y NAVEGACIÓN
   ========================================================================== */

/* Ajustes para el menú existente (Estilo JAC) */
header,
.navbar {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.7) 0%,
        transparent 100%
    ) !important;
    border: none !important;
}

header a,
.navbar-nav .nav-link {
    color: #ffffff !important;
    font-family: "Montserrat", sans-serif !important;
    font-weight: 500 !important;
    text-transform: none !important;
    font-size: 14px !important;
}

/* Botón de menú móvil */
.mobile-nav-toggle {
    color: #333;
    font-size: 28px;
    cursor: pointer;
    border: 0;
    background: none;
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.mobile-nav-toggle:focus {
    outline: none;
    box-shadow: none;
}

.mobile-nav-toggle i {
    font-size: 28px;
    vertical-align: middle;
}

/* Menú Offcanvas */
.offcanvas-body {
    background: #fff;
    padding: 0;
}

#mobile-navmenu .nav-link,
#mobile-navmenu .btn {
    background: none;
    border: none;
    color: #222;
    width: 100%;
}

#mobile-navmenu .btn:focus {
    outline: none;
    box-shadow: none;
}

#mobile-navmenu .collapse {
    transition: all 0.25s ease;
}

#mobile-navmenu .border-bottom {
    border-bottom: 1px solid #eee;
}

#mobile-navmenu img {
    transition: transform 0.2s ease;
}

#mobile-navmenu img:hover {
    transform: scale(1.03);
}

body.offcanvas-open,
.offcanvas-backdrop {
    background-color: rgba(0, 0, 0, 0.85) !important;
}

.offcanvas {
    background: #f8f9fa;
    box-shadow: -3px 0 10px rgba(0, 0, 0, 0.2);
    max-width: 90%;
}

.offcanvas.show,
.offcanvas.showing {
    transition: transform 0.25s ease-out;
}

/* ==========================================================================
   HERO Y SECCIÓN PRINCIPAL
   ========================================================================== */

/* Contenedor Hero genérico */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 0;
}

.hero-content {
    flex: 1;
    padding-right: 30px;
}

.hero-visuals {
    flex: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.product-showcase {
    width: 100%;
    max-width: 300px;
    position: relative;
}

.product-showcase img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.2);
    transform-origin: center center;
}

.product-card.featured {
    position: absolute;
    bottom: -20px;
    right: 5%;
    left: auto;
    width: 70%;
    max-width: 300px;
    z-index: 2;
}

.product-info {
    margin-top: 30px;
}

.product-info h4 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

/* Hero Swiper (Estilo Fullscreen/Video) */
.hero-swiper {
    width: 100%;
    height: 100vh;
    background-color: #000;
    position: relative;
}

.hero-swiper .swiper-slide {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-swiper video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.342);
    z-index: 2;
}

.hero-caption {
    position: relative;
    z-index: 3;
    color: white;
    max-width: 850px;
    padding: 0 20px;
}

.hero-caption h1 {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(2rem, 7vw, 3.8rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.hero-caption p {
    font-family: "Poppins", sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 400;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* ==========================================================================
   CAROUSELS Y SLIDERS
   ========================================================================== */

/* Bootstrap Carousel General */

/* Indicadores de línea */
.carousel-indicators.line-indicators {
    bottom: 25px;
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
}

.carousel-indicators.line-indicators li {
    width: 45px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    transition: all 0.4s ease;
    text-indent: -9999px;
}

.carousel-indicators.line-indicators li:before,
.carousel-indicators.line-indicators li:after {
    display: none !important;
}

.carousel-indicators.line-indicators .active {
    background-color: #fff;
    width: 50px;
}

/* Swiper Navegación Circular */
.swiper-nav-circle {
    width: 50px !important;
    height: 50px !important;
    border: 1px solid #000 !important;
    border-radius: 50% !important;
    background-color: transparent !important;
    color: #000 !important;
    transition: all 0.3s ease;
}

.swiper-nav-circle::after {
    font-size: 18px !important;
    font-weight: bold;
}

.swiper-nav-circle:hover {
    background-color: #000 !important;
    color: #fff !important;
}

.swiper-button-prev.swiper-nav-circle {
    left: 20px !important;
}
.swiper-button-next.swiper-nav-circle {
    right: 20px !important;
}

/* Swiper Paginación Rayas */
.swiper-pagination-bullet {
    width: 45px !important;
    height: 2px !important;
    border-radius: 0 !important;
    background: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
    margin: 0 5px !important;
}

.swiper-pagination-bullet-active {
    background: #fff !important;
}

/* ==========================================================================
   COMPONENTES ESPECÍFICOS (HOME / VEHÍCULOS)
   ========================================================================== */

/* Slider Modelos Home */
.vehicle-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 450px;
}

.vehicle-img-large {
    height: 300px !important;
    width: auto !important;
    object-fit: contain;
    transition:
        transform 0.4s ease,
        opacity 0.3s ease;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
    display: block;
    margin: 0 auto;
}

.swiper-slide-active .vehicle-img-large {
    transform: scale(1.05);
}

.vehicle-info h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-top: 20px;
    color: #1a1a1a;
}

.vehicle-swiper .swiper-pagination {
    bottom: 0px !important;
}

.vehicle-swiper {
    margin-bottom: 0 !important;
}

/* Cards y Promo */
.card-home {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: #e9e9e9;
    transition: all 0.4s ease;
    padding: 1.5rem;
}

.promo-cards .category-card.cat-credito {
    background-color: var(--accent-color);
    color: #e8e8e8;
}

.promo-cards .category-card.cat-credito h4,
.promo-cards .category-card.cat-credito .card-link {
    color: #e8e8e8;
}

/* Servicios */
.service-card {
    height: 350px;
    overflow: hidden;
    position: relative;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

/* Tools/Iconos */
.tool-item {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.tool-item:hover {
    transform: translateY(-5px);
}

.tool-icon {
    height: 45px;
    width: auto;
    display: block;
    margin: 0 auto;
    filter: brightness(0);
}

.tool-item p {
    font-size: 0.95rem;
    color: #333;
}

/* Test Drive CTA */
.test-drive-cta .row {
    min-height: 350px;
}

.test-drive-cta .object-fit-cover {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.test-drive-cta .btn-danger {
    background-color: #cc0000;
    border: none;
    transition: background 0.3s;
}

.test-drive-cta .btn-danger:hover {
    background-color: #a30000;
}

/* ==========================================================================
   ELEMENTOS DE INTERFAZ (BOTONES, TAGS, WIDGETS)
   ========================================================================== */

/* Botones */
.btn-jac-style {
    background-color: #fff !important;
    color: #000 !important;
    border: none !important;
    padding: 12px 45px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    text-decoration: none !important;
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-jac-style:hover {
    transform: scale(1.05);
}

.btn-shop {
    background-color: #002b36;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    display: inline-block;
    margin-top: 1rem;
}

.btn-shop:hover {
    background-color: #004b66;
}

.btn-conoce-mas {
    display: inline-block;
    padding: 10px 26px;
    border: 1.5px solid #000;
    border-radius: 6px;
    background-color: transparent;
    color: #000;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-conoce-mas:hover {
    background-color: #e1e1e1;
    color: #222222;
    transform: scale(1.05);
}

.btn-capu {
    --bs-btn-color: #000;
    --bs-btn-bg: #c4c2c1;
    --bs-btn-border-color: #f8f9fa;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #d3d4d5;
    --bs-btn-hover-border-color: #c6c7c8;
}

/* Tags */
.tag {
    display: inline-block;
    background-color: #a4a4a44c;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: x-small;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    max-width: 300px;
}

.category-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

/* WhatsApp Flotante */
.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 8px;
    width: 60px;
    height: 60px;
    background-color: #052a3d00;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
    margin-top: 12px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Scroll Top */
.scroll-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 38px;
    height: 38px;
    background: #273754;
    color: #fff;
    border-radius: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    transition: all 0.3s ease;
    z-index: 9999;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: #175f6963;
    transform: translateY(-3px);
}

/* Cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #585656;
    color: #fff;
    padding: 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    font-size: 14px;
}

.cookie-banner button {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 15px;
}

/* Toast Success */
.toast-success {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #28a745;
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast-success.show {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer .social-links {
    margin-top: 1rem;
}

footer .social-links .social-icons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

footer .social-links .social-icons a {
    color: #000;
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

footer .social-links .social-icons a:hover {
    transform: scale(1.1);
    color: #d32f2f;
}

.footer-submenu {
    list-style: none;
    padding-left: 0 !important;
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */

@media (max-width: 768px) {
    /* WhatsApp */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        left: 15px;
    }

    .whatsapp-float img {
        width: 28px;
        height: 28px;
        margin-top: 10px;
    }

    /* Sliders Móviles */
    #promoCarouselDesktophome .carousel-caption {
        top: auto;
        bottom: 15%;
        left: auto;
        transform: none;
        text-align: left;
        padding: 0;
        width: auto;
    }

    #promoCarouselMobile .carousel-caption {
        position: absolute;
        top: 6%;
        bottom: auto;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        text-align: left;
    }

    #promoCarouselMobileHome .mobile-caption {
        position: absolute;
        bottom: 14%;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        text-align: center;
    }

    .vehicle-img-large {
        height: 220px !important;
    }

    .test-drive-cta .row {
        flex-direction: column-reverse;
        min-height: auto;
    }
}

@media (min-width: 768px) {
    .border-start-md {
        border-left: 1px solid #999 !important;
    }

    .content-wrapper {
        margin-right: 10%;
    }
}
/* SECCION */

.jac-slider-section {
    background: #f5f5f5;
    padding: 60px 0;
}

/* SLIDE */

.jac-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* IMAGEN VEHICULO */

.jac-car {
    width: 100%;
    max-width: 700px;
    height: auto;
    object-fit: contain;
}

/* INFO */

.jac-info {
    margin-top: 20px;
}

.jac-info h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 10px;
}

/* BOTON */

.jac-btn {
    text-decoration: none;
    color: #0b2a4a;
    font-weight: 600;
}

/* ================= */
/* RESPONSIVE */
/* ================= */

@media (max-width: 768px) {
    .jac-slider-section {
        padding: 30px 0;
    }

    .jac-car {
        max-width: 90%;
        max-height: 260px;
    }

    .jac-info h2 {
        font-size: 26px;
    }
}

/*nuevo sider */
/* SECCION */

.jx-section-vehicles {
    padding: 60px 20px;
    background: #f5f5f5;
    text-align: center;
    overflow: hidden;
}

/* TITULO */

.jx-title {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

/* CATEGORIAS */

.jx-categories {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.jx-filter-btn {
    padding: 8px 18px;
    border-radius: 20px;
    border: 1px solid #ccc;
    background: white;
    cursor: pointer;
    font-weight: 600;
}

/* SLIDER */

.jx-slider {
    width: 100%;
    overflow: hidden;
}

.jx-track {
    display: flex;
    gap: 40px;
    transition: transform 0.5s ease;
    justify-content: center;
    flex-wrap: wrap;
}

/* SLIDE */

.jx-slide {
    width: 320px;
    flex-shrink: 0;
    text-align: center;
}

/* IMAGEN */

.jx-car {
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
}

/* MODELO */

.jx-model {
    font-size: 28px;
    font-weight: 800;
    margin-top: 10px;
}

/* BOTON */

.jx-btn {
    text-decoration: none;
    color: #0b2a4a;
    font-weight: 600;
}

/* MOBILE */

@media (max-width: 768px) {
    .jx-slide {
        width: 240px;
    }

    .jx-car {
        max-height: 200px;
    }

    .jx-model {
        font-size: 20px;
    }
}

.jx-filter-btn.active {
    background: #000;
    color: white;
    border-color: #000;
}

.carousel {
    background: transparent;
}

.carousel-item {
    background: transparent;
}

.vehiculo-img {
    max-width: 100%;
    height: 420px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .vehiculo-img {
        height: 260px;
    }
}

.filter-btn.active {
    background: #000;
    color: #fff;
}

.carousel-item img {
    height: 400px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .carousel-item img {
        height: 160px;
    }
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    /* Bootstrap usa filtros para el color de los iconos. Usamos 'invert(1)' para pasar de blanco a negro */
    filter: invert(1);
    width: 3rem; /* Agrandar un poco los iconos */
    height: 3rem;
}

/* Estilos para los botones contenedores (anterior/siguiente) */
.carousel-control-prev,
.carousel-control-next {
    width: 10%; /* Ancho del área clickable */
    opacity: 0.7; /* Opacidad base */
}

/* Efecto hover para los botones */
.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1; /* Opacidad total al pasar el mouse */
}

/* Asegurar que la imagen del vehículo tenga un tamaño controlado */
.vehiculo-img {
    max-height: 400px; /* Altura máxima para que no ocupe toda la pantalla */
    width: auto;
    margin-left: auto;
    margin-right: auto;
}

/*fondo modelos*/

.section-vehiculos {
    /* Degradado radial que simula iluminación de estudio */
    background: radial-gradient(ellipse at top, #d9e4dd 0%, #ffffff 70%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Para que la imagen del auto parezca estar sobre un suelo real */
.vehiculo-img {
    display: block;
    margin: 0 auto;
    max-width: 85%;
    height: auto;
    /* Sombra proyectada sutil para dar profundidad */
    filter: drop-shadow(0 25px 15px rgba(0, 0, 0, 0.1));
    transition: transform 0.4s ease-out;
}

/* Efecto hover opcional */

/* Ajuste de títulos para que coincidan con la estética de la imagen */
.section-vehiculos h2 {
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1a1a1a;
    font-weight: 600;
    margin-bottom: 30px;
}

.bento-card {
    border-radius: 20px; /* Bordes muy redondeados como en la imagen */
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Sombra suave */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bg-img {
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

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

/* Colores de énfasis para los textos */
.text-primary {
    color: #0056b3 !important;
    font-weight: 600;
}
.text-info {
    color: #00a8cc !important;
    font-weight: 600;
}

/* Ajuste para móviles: que las imágenes siempre tengan altura */
@media (max-width: 768px) {
    .bento-card {
        min-height: 250px !important;
    }
}

/* Radio de borde pronunciado como en la imagen */
.bento-card-img {
    border-radius: 35px;
    background-size: cover;
    background-position: center;
    width: 100%;
}

.bento-card-text {
    border-radius: 35px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Alineado arriba como en la foto */
}

/* Ajuste de tipografía */
.bento-card-text h3 {
    color: #333;
    letter-spacing: -0.5px;
}

.bento-card-text p {
    font-size: 0.95rem;
    color: #666 !important;
}

.text-info {
    color: #00afc7 !important; /* El color turquesa de la imagen */
}

/* Espaciado responsivo */
@media (max-width: 768px) {
    .bento-card-img {
        height: 250px !important;
        border-radius: 20px;
    }
    .bento-card-text {
        min-height: auto;
        border-radius: 20px;
    }
}

/* Estilo de Tarjetas (Manteniendo tus tamaños) */
.bento-card {
    border-radius: 35px;
    /* Bordes redondeados de la imagen de referencia */
    border: none;
    transition: all 0.4s ease;
}

.bg-img {
    background-size: cover;
    background-position: center;
}

/* --- ESTILOS DE TEXTO PREMIUM --- */
.branding-title {
    letter-spacing: -1px;
    color: #1a1a1a;
}

.card-title-premium {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.card-subtitle-premium {
    font-size: 1.5rem;
    font-weight: 300;
    color: #333;
    line-height: 1.2;
}

.card-text-premium {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
}

/* Highlights de colores suaves */
.highlight-blue {
    color: #00afc7;
    font-weight: 600;
}

.highlight-green {
    color: #28a745;
    font-weight: 600;
}

.highlight-gold {
    color: #b8860b;
    font-weight: 600;
}

/* Botón estilo boutique */
.btn-premium {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #ddd;
    border-radius: 50px;
    color: #333;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: fit-content;
}

.btn-premium:hover {
    background-color: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.card-text-premium {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
    /* JUSTIFICADO DE TEXTO */
    text-align: justify;
    hyphens: auto;
    /* Ayuda a que las palabras se corten mejor al justificar */
}

/* Estilo para las negritas dentro del párrafo */
.card-text-premium b,
.card-text-premium strong {
    color: #1a1a1a;
    font-weight: 700;
}

.bento-card {
    border-radius: 35px;
    overflow: hidden;
    border: none;
    display: flex;
    flex-direction: column;
}

.bg-img {
    background-size: cover;
    background-position: center;
}

.card-title-premium {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.highlight-blue {
    color: #00afc7;
    font-weight: 600;
}

.highlight-green {
    color: #28a745;
    font-weight: 600;
}

.highlight-gold {
    color: #b8860b;
    font-weight: 600;
}

.btn-premium {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #ddd;
    border-radius: 50px;
    color: #333;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    width: fit-content;
}
.kp-banner-section {
    position: relative;
    height: 80vh; /* Alto del banner */
    min-height: 500px; /* Alto mínimo */
    background-color: #000;
    overflow: hidden;
}

/* Imagen de fondo */
.kp-banner-img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    z-index: 0;
}

.kp-cta-box {
    background-color: #f8f9fa; /* Gris muy claro o usa #a3c9e6 para el azul de la referencia */
    padding: 60px 20px;
    border: 1px solid #eee;
    text-align: center;
}

.kp-cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.kp-cta-text {
    font-size: 1.1rem;
    color: #fff;
    max-width: 700px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

.btn-kp-cta {
    background-color: #000;
    color: #fff;
    padding: 15px 50px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0; /* Botón cuadrado como en JAC/Jetour */
    border: none;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-kp-cta:hover {
    background-color: #333;
    color: #fff;
    transform: translateY(-2px);
}

/* Sección CTA con Imagen de Fondo Superpuesta */
.kp-cta-overlay-section {
    position: relative;
    width: 100%;
    height: 60vh; /* Ajusta la altura según necesites */
    min-height: 450px;
    overflow: hidden;
    color: #fff; /* Texto por defecto blanco */
}

/* Imagen de Fondo */
.kp-cta-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    color: #fff;
}

/* Overlay de Degradado (Crucial para legibilidad) */
.kp-cta-gradient {
    position: absolute;
    inset: 0;
    /* Degradado oscuro en la base para que el texto resalte */
    background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        transparent 100%
    );
    z-index: 1;
}

/* Contenedor de Texto Centrado */
.kp-cta-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around; /* Empuja el texto hacia abajo */
    align-items: center; /* Centrado horizontal */
    text-align: center; /* Texto centrado */
    padding-bottom: 60px; /* Espacio desde el borde inferior */
    padding-left: 15px;
    padding-right: 15px;
}

/* Título ¡Cotiza Ya! */
.kp-cta-title {
    font-size: clamp(2rem, 5vw, 2rem); /* Responsive */
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 10px;
    line-height: 1;
    color: #fff;
}

/* Párrafo Descriptivo Contenido */
.kp-cta-text {
    font-size: 1rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 25px auto;
    opacity: 0.9;
    line-height: 1.5;
}

/* Botón Sólido Cuadrado (Estilo Referencia JAC) */
.btn-kp-cta-solid {
    background-color: #fff;
    color: #000;
    padding: 12px 40px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 0; /* Bordes rectos */
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: none;
    transition: all 0.3s ease;
}

.btn-kp-cta-solid:hover {
    background-color: #e0e0e0;
    color: #000;
    transform: translateY(-2px);
}

.kp-form-section {
    /* Fondo invertido: Blanco arriba (0%), Azul abajo (100%) */
    background: linear-gradient(180deg, #ffffff 0%, #f4f4f4 100%);
    padding: 80px 0;
    width: 100%;
    position: relative;
}

.kp-form-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.kp-form-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.kp-form-subtitle {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 40px;
}

/* Estilo de los Inputs igual a la imagen, con sombra suave */
.kp-input {
    border-radius: 10px !important;
    border: none !important;
    padding: 15px 20px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.kp-input:focus {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

/* Botón de Enviar Negro Cuadrado (Estilo JAC/Jetour) */
.btn-kp-submit {
    background-color: #000;
    color: #fff;
    padding: 15px 60px;
    border-radius: 10px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-kp-submit:hover {
    background-color: #333;
    transform: translateY(-2px);
}
/* Sección de Herramientas Kia Plaza */
.kp-tools-section {
    padding: 60px 0;
    background-color: #fff;
}

.kp-tool-item {
    text-align: center;
    transition: all 0.3s ease;
    padding: 20px;
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: #333;
}

.kp-tool-item:hover {
    transform: translateY(-10px);
    color: #000;
}

.kp-tool-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    object-fit: contain;
    /* Filtro opcional para que los iconos se vean grises y cambien a negro al hover */
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.kp-tool-item:hover .kp-tool-icon {
    filter: grayscale(0%);
}

.kp-tool-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/*Video home*/

/* Contenedor Principal */
.kp-shopping-box {
    padding: 60px 0;
    background-color: #f8f9fa;
}

/* Shopping Tools */
.kp-nb-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 40px;
    letter-spacing: -1px;
}

.kp-tools-item {
    text-align: center;
    padding: 20px;
    transition: 0.3s;
    cursor: pointer;
}
.kp-tools-item:hover {
    transform: translateY(-5px);
}
.kp-tools-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 15px;
}
.kp-tools-title {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
}

/* Global Layout (Video Section) */
.kp-layout-container {
    position: relative;
    width: 100%;
    min-height: 400px;
    margin-top: 50px;
    overflow: hidden;
    color: #fff;
    display: flex;
    align-items: center;
}

.kp-layout-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.kp-layout-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.kp-layout-content {
    position: relative;
    z-index: 2;
    padding: 40px;
}

.kp-layout-title {
    font-size: 2rem;
    font-weight: 800;
}
.kp-layout-text {
    opacity: 0.9;
    margin-bottom: 20px;
}

/* Custom Selects */
/* Contenedor del Video de Fondo */
.kp-video-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
}

.kp-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.kp-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4); /* Ajusta la oscuridad del video */
    z-index: 1;
}

.kp-video-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Estilo de Inputs Transparentes (Como en tu imagen) */
.kp-input-transparent {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    color: #fff !important;
    border-radius: 50px !important; /* Bordes muy redondeados */
    padding: 12px 25px !important;
}

.kp-input-transparent::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.kp-input-transparent option {
    color: #000; /* Para que las opciones se lean en el dropdown */
}

/* Botón Explore / Enviar */
/* Contenedor con bordes redondeados como la imagen */
.kp-layout-wrapper {
    padding: 60px 0;
}

.kp-layout-container {
    position: relative;
    width: 100%;
    min-height: 500px;
    border-radius: 40px; /* Bordes redondeados del contenedor principal */
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Video de fondo estirado para cubrir todo el espacio */
.kp-layout-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Oscurecimiento sutil */
.kp-layout-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Texto y Formulario */
.kp-layout-content {
    position: relative;
    z-index: 2;
    padding: 60px;
    color: #fff;
    width: 100%;
}

.kp-layout-title {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 1px;
}

/* Selectores Estilo "Pill" Transparentes */

/* Contenedor Principal con bordes redondeados */
.kp-layout-wrapper {
    padding: 80px 0;
}

.kp-layout-container {
    position: relative;
    width: 100%;
    min-height: 450px;
    border-radius: 40px; /* Bordes redondeados como en tu imagen */
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: #000; /* Fondo de seguridad */
}

/* Video que cubre todo el fondo */
.kp-layout-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    object-fit: cover;
}

/* Capa oscura transparente */
.kp-layout-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

/* Capa de contenido (Texto y Formulario) */
.kp-layout-content {
    position: relative;
    z-index: 2;
    padding: 50px;
    color: #fff;
    width: 100%;
}

.kp-layout-title {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.1;
}

.kp-layout-text {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Selectores estilo JAC/Jetour (Transparentes y redondeados) */
.kp-select-layout {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    color: #fff !important;
    border-radius: 50px !important;
    padding: 12px 20px !important;
    /* Icono de flecha blanca */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
}

.kp-select-layout option {
    color: #000; /* Texto negro dentro del menú desplegable */
}

/* Botón Negro Redondeado */
.btn-kp-explore-dark {
    background-color: #000;
    color: #fff;
    border-radius: 50px;
    padding: 10px 50px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    transition: all 0.3s ease;
}

.btn-kp-explore-dark:hover {
    background-color: #222;
    transform: scale(1.05);
    color: #fff;
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .kp-layout-content {
        padding: 30px;
    }
    .kp-layout-title {
        font-size: 2rem;
    }
    .kp-layout-container {
        border-radius: 20px;
    }
}
/* Contenedor general */
.kp-tools-container {
    background-color: #ffffff;
}

/* Tarjeta individual */
.kp-tool-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #333;
    padding: 20px;
    transition: all 0.3s ease;
}

.kp-tool-card:hover {
    transform: translateY(-8px); /* Efecto de elevación */
    color: #000;
}

/* Contenedor del Icono */
.kp-tool-icon-wrapper {
    width: 65px;
    height: 65px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kp-tool-icon-wrapper img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Texto del título */
.kp-tool-name {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Responsividad para móviles (2 columnas) */
@media (max-width: 767px) {
    .kp-tool-card {
        padding: 15px 10px;
    }
    .kp-tool-name {
        font-size: 0.8rem;
    }
}

.font {
    font-size: x-large;
    text-align: center;
}

.fw-black {
    font-weight: 900;
}

.custom-range::-webkit-slider-thumb {
    background: #00adef;
}

.result-card {
    transition: transform 0.3s ease;
}

.result-card:hover {
    transform: translateX(10px);
}

/* Gráfico Circular */
.savings-circle {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: conic-gradient(#00adef 0%, #e9ecef 0%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.circle-inner {
    width: 180px;
    height: 180px;
    background: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.05);
}

.color-radio-wrapper {
    position: relative;
    width: 34px;
    height: 34px;
    cursor: pointer;
}

.color-radio-wrapper input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #ddd;
    z-index: 1;
}

.color-radio-wrapper input:checked ~ .checkmark {
    box-shadow:
        0 0 0 2px #fff,
        0 0 0 4px #000;
    transform: scale(0.9);
}

.carousel-item h2 {
    animation: fadeInUp 0.8s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


    :root {
        --jac-bird-blue-dark: #085469;
        --jac-bird-blue-light: #4f9196;
        --jac-bird-red: #FE4033;
        --jac-bird-yellow: #FFEB21;
        --jac-text: #3F3C3C;
    }

    /* --- Sliders --- */
    .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    /* --- Selector de Colores --- */
    .color-radio-wrapper {
        position: relative;
        cursor: pointer;
        display: inline-block;
        width: 35px;
        height: 35px;
    }
    .color-input { position: absolute; opacity: 0; }
    .checkmark {
        position: absolute;
        top: 0; left: 0;
        height: 35px; width: 35px;
        border-radius: 50%;
        border: 2px solid #ddd;
        transition: all 0.2s;
    }
    .color-input:checked ~ .checkmark {
        transform: scale(1.2);
        border-color: var(--jac-bird-blue-dark);
        box-shadow: 0 0 10px rgba(0,0,0,0.2);
    }

    .vehicle-fade { transition: opacity 0.4s ease-in-out; }
    
    .glass-card-light {
        background: rgba(255, 255, 255, 0.8);
        border: 1px solid rgba(220, 220, 220, 0.5);
        backdrop-filter: blur(10px);
        border-radius: 25px;
    }

 
    /* Control de tamaño de la imagen del vehículo */
    .vehiculo-img-render {
        max-height: 350px; /* Evita que crezcan demasiado */
        width: auto;
        margin: 0 auto;
        display: block;
        filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1)); /* Sombra suave para realismo */
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .vehiculo-img-render:hover {
        transform: scale(1.08) translateY(-10px);
    }

    /* Estilo del Nombre */
    .vehicle-name-style {
        letter-spacing: 4px;
        font-size: 2rem;
        color: #333;
        margin-top: 20px;
    }

    /* Botón personalizado estilo JAC/Jetour */
    .btn-explore-vehicle {
        display: inline-block;
        background-color: #000;
        color: #fff;
        padding: 12px 40px;
        text-transform: uppercase;
        font-weight: 800;
        text-decoration: none;
        letter-spacing: 1px;
        transition: all 0.3s ease;
    }

    .btn-explore-vehicle:hover {
        background-color: #333;
        color: #fff;
        letter-spacing: 2px;
    }

    /* Ajuste de controles laterales */
    .custom-ctrl {
        width: 5%;
        opacity: 0.8;
    }
    
    .carousel-item {
        padding: 40px 0; /* Espacio para que respire el modelo */
    }

    /* Responsive */
    @media (max-width: 768px) {
        .vehiculo-img-render {
            max-height: 200px;
        }
        .vehicle-name-style {
            font-size: 1.5rem;
        }
    }


    /* Estilo para los valores de referencia: pequeños y grises */
    .reference-value {
        color: #6c757d; /* Gris */
        font-size: 0.9rem;
        font-weight: 500;
    }
    
    .reference-label {
        font-size: 0.75rem;
        text-transform: uppercase;
        color: #adb5bd;
        display: block;
    }

    /* Estilo para el contador de recargas */
    .charge-badge {
        background: rgba(255, 255, 255, 0.1);
        border: 1px border rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        padding: 10px 15px;
        margin-top: 15px;
        display: inline-flex;
        align-items: center;
        gap: 10px;
    }

 /* 1. Eliminamos el padding que está empujando la imagen hacia abajo */
.carousel-item {
    padding: 0 !important;
}

/* 2. Aseguramos que el carrusel no tenga márgenes inferiores extra */
#promoCarouselDesktop, 
#promoCarouselMobile {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* 3. Ajustamos la sección blanca para que pegue justo debajo del carrusel */
.bg-white {
    margin-top: 0 !important;
    padding-top: 40px; /* Ajusta este valor si quieres espacio arriba del contenido blanco */
    background-color: #ffffff !important;
}

/* 4. Corrección para la imagen interna */
.carousel-item img {
    display: block;
    width: 100%;
    height: 500px; /* La altura que definimos en el HTML */
    object-fit: cover;
}

/*slider moviles plantilla modelos*/
/* Estilos generales para móviles */
@media (max-width: 767.98px) {
    #promoCarouselMobile .carousel-item {
        height: 70vh; /* Altura más cómoda para móviles */
        min-height: 500px;
    }

    #promoCarouselMobile .carousel-item img {
        height: 100%;
        object-fit: cover;
    }

    /* Gradiente oscuro para que el texto blanco siempre se lea bien */
    .mobile-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.6) 100%);
        z-index: 1;
    }

    /* Contenedor de texto y botones centrado */
    #promoCarouselMobile .carousel-caption {
        z-index: 2;
        right: 5%;
        left: 5%;
        bottom: 10%; /* Lo subimos un poco para que no choque con la barra del navegador */
        padding: 0;
        text-align: center;
    }

    #promoCarouselMobile .caption-title {
        font-size: 2.5rem !important;
        font-weight: 900;
        text-transform: uppercase;
        margin-bottom: 10px;
        line-height: 1;
    }

    #promoCarouselMobile .caption-price {
        font-size: 1.5rem !important;
        font-weight: 700;
        display: block;
        margin-bottom: 20px;
    }

    /* Botones estilo KIA (dentro de la imagen) */
    .mobile-btns-container {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .btn-kia-mobile {
        background: #fff;
        color: #000;
        border: none;
        padding: 12px;
        font-weight: 700;
        text-transform: uppercase;
        font-size: 0.9rem;
        border-radius: 4px;
        text-decoration: none;
    }

    .btn-kia-outline {
        background: transparent;
        color: #fff;
        border: 1px solid #fff;
    }
}