@font-face {
    font-family: "GibsonLight";
    src: url("/Tipografias/GibsonLight.OTF") format("opentype");
}

@font-face {
    font-family: "GibsonRegular";
    src: url("/Tipografias/GibsonRegular.OTF") format("opentype");
}

@font-face {
    font-family: "GibsonSemiBd";
    src: url("/Tipografias/GibsonSemiBd.OTF") format("opentype");
}

body {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.color-fondo {
    background-color: rgb(235, 225, 215);
}

@font-face {
    font-family: "Monsieur";
    src: url("{{ asset('fuente/Redressed-Regular.ttf') }}");
}

footer {
    background-color: black;
    color: white !important;
    padding: 20px 0;
}

li .nav-link {
    color: white !important;
    font-size: 18px !important;
    font-weight: bold !important;
}

.navbar-nav {
    display: flex;
    justify-content: center;
    width: 100%;
}

.navbar-nav .nav-item {
    margin-right: 75px;
}

.logoInicio {
    display: none;
}

@media only screen and (max-width: 600px) {
    .filaIcono {
        margin-top: 15px;
    }

    .logoInicio {
        display: block !important;
    }

    .icono {
        width: 25px !important;
    }

    .link {
        margin-top: -30px !important;
    }

    .titulo {
        margin-top: 20px !important;
    }

    .pago {
        text-align: center;
        margin-top: -100px !important;
        padding-bottom: 30px;
    }

    .boton {
        margin-top: 5px;
    }

    .nav-link {
        color: black !important;
    }

    .navbar {
        background-color: rgba(0, 0, 0, 0.8) !important;
    }
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 1) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

.logo {
    margin-left: 20px;
}

.titulo {
    font-weight: bold
}

.navbar {
    background-color: rgba(0, 0, 0, 0) !important;
    z-index: 999 !important;
}

.navbar-collapse {
    height: auto;
}

.navbar-collapse.show {
    height: 37vh;
}

html,
body {
    height: 100%;
}

body,
html {
    overflow-x: hidden !important;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

footer {
    margin-top: auto;
}

/* ===== Preloader de vehículos ===== */
.preloader-vehiculos {
    position: fixed;
    inset: 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.preloader-vehiculos.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease;
}

.preloader-vehiculos .spinner {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid #e0e0e0;
    border-top-color: #0071bc;
    animation: spin .8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Ocultar carrusel hasta que todo esté listo */
.vehiculos-carousel {
    position: relative;
    padding: 0 40px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease;
}

.vehiculos-carousel.is-ready {
    opacity: 1;
    visibility: visible;
}

.vehiculo-card {
    border: 2px solid transparent;
    overflow: hidden;
    transition: .2s;
    cursor: pointer
}

.vehiculo-card:hover {
    transform: translateY(-2px)
}

.vehiculo-card.selected {
    border-color: #0071bc;
    box-shadow: 0 0 0 3px rgba(48, 94, 188, .15)
}

.vehiculo-img {
    width: 100%;
    object-fit: cover;
    border: 1px solid #F2F2F2;
}

.btn-primary-brand {
    background: #0071bc;
    color: #fff
}

.vehiculo-submit {
    padding: 5px 40px;
    font-family: 'GibsonSemiBd';
    background: #0071bc;
    border: 1px solid #0071bc;
    color: #fff;
    width: 100%
}

.form-control {
    width: 100%;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #0071bc;
    font-family: 'GibsonLight';
    padding: 5px 0;
    font-size: 14px;
    margin: 5px 0;
}

.flotante {
    box-shadow: 1px 1px 5px black;
    margin-top: -50px;
    background: #fff;
}

.web {
    display: block
}

.responsivo {
    display: none
}

@media (max-width:600px) {
    .web {
        display: none !important
    }

    .responsivo {
        display: block
    }

    .flotante {
        margin-top: 0;
        box-shadow: none
    }
}

/* ===== Carrusel de vehículos ===== */
.vehiculos-carousel {
    position: relative;
    padding: 0 40px;
    /* espacio interno para flechas */
    overflow: hidden;
    /* evita desbordes visuales */
}

.vehiculos-carousel .vehiculos-tiny {
    flex: 1 1 auto
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    border: none;
    background: transparent;
    font-size: 38px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    user-select: none;
    color: #0071bc;
}

.carousel-arrow.prev {
    left: 8px
}

.carousel-arrow.next {
    right: 8px
}

/* separador interno por slide sin romper ancho total */
.vehiculos-tiny .tns-item {
    padding: 0 8px;
    box-sizing: border-box
}

.vehiculo-card {
    width: 100%;
    box-sizing: border-box
}

@media (max-width:768px) {
    .vehiculos-carousel {
        padding: 0 28px
    }

    .carousel-arrow {
        font-size: 30px
    }
}

.dis {
    visibility: hidden !important;
}

.dis2 {
    visibility: visible !important;
}