﻿.catalog-wrapper {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 76px);
    /*background: url(../../image/fondos/catalogos.png) center / cover no-repeat;*/
}

.catalog-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: .45;
    pointer-events: none;
}

.video-credit {
    position: absolute;
    right: 14px;
    bottom: 10px;
    z-index: 3;
    margin: 0;
    font-size: 10px;
    opacity: .45;
}

    .video-credit a {
        color: #fff;
        text-decoration: none;
    }

.catalog-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient( 90deg, rgba(7, 17, 21, .35) 0%, rgba(7, 17, 21, .88) 28%, rgba(7, 17, 21, .40) 60%, rgba(7, 17, 21, .45) 100% );
}

.fleet-page,
.mobile-filter-toggle {
    position: relative;
    z-index: 2;
}
/*
.fleet-page {
    background: transparent;
}*/

.fleet-content {
    padding: 32px 36px 70px;
}
.fleet-page {
    min-height: calc(100vh - 76px);
    display: grid;
    grid-template-columns: 310px 1fr;
    background: transparent;
    color: #f4f7f8;
}



.fleet-filters {
    position: sticky;
    top: 76px;
    padding: 34px 26px;
    background: rgba(8, 20, 25, .94);
    border-right: 1px solid rgba(255,255,255,.06);
    overflow-y: auto;
}

.filter-title h2 {
    margin: 0;
    color: #ffb1ac;
    font-size: 22px;
    text-transform: uppercase;
    font-weight: 950;
    letter-spacing: .06em;
}

.filter-title span,
.filter-block label {
    display: block;
    margin-top: 6px;
    color: #c99b96;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-weight: 800;
}

.filter-menu {
    display: grid;
    gap: 8px;
    margin-top: 34px;
}

.filter-item {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 18px;
    color: #e6c5c1;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .09em;
    font-weight: 900;
    background: transparent;
    border-left: 4px solid transparent;
}

    .filter-item i {
        color: #ffb1ac;
        font-size: 21px;
    }

    .filter-item:hover,
    .filter-item.active {
        color: #fff;
        background: #26343b;
        border-left-color: #e53035;
    }

.filter-block {
    margin-top: 34px;
}

.fake-range {
    height: 6px;
    margin-top: 26px;
    background: #26343b;
    border-radius: 999px;
    position: relative;
}

    .fake-range span {
        position: absolute;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: #e53035;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

.range-values {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    color: #e6c5c1;
}

.capacity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 18px;
}

    .capacity-grid button {
        height: 42px;
        border: 1px solid rgba(255,255,255,.06);
        background: #101f25;
        color: #fff;
        font-size: 12px;
    }

        .capacity-grid button.active {
            background: #e53035;
            border-color: #e53035;
            font-weight: 900;
            text-transform: uppercase;
        }

.quote-button {
    width: 100%;
    min-height: 52px;
    margin-top: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffaaa5, #e53035);
    color: #250909;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .15em;
    font-weight: 950;
    box-shadow: 0 22px 38px rgba(229,48,53,.22);
}

.fleet-content {
    padding: 42px 40px 80px;
}

.fleet-heading {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 50px;
}

    .fleet-heading h1 {
        margin: 0;
        font-size: clamp(42px, 5vw, 64px);
        text-transform: uppercase;
        font-weight: 950;
        letter-spacing: -.05em;
        color: #e9f1f4;
    }

    .fleet-heading p {
        margin: 8px 0 0;
        color: #c99b96;
        text-transform: uppercase;
        letter-spacing: .18em;
        font-size: 13px;
    }

        .fleet-heading p span {
            display: inline-block;
            width: 10px;
            height: 10px;
            margin: 0 14px;
            border-radius: 50%;
            background: #e53035;
        }

.view-buttons {
    display: flex;
    gap: 8px;
}

    .view-buttons button {
        width: 52px;
        height: 52px;
        border: 0;
        background: #101f25;
        color: #cfd8dc;
        font-size: 22px;
    }

        .view-buttons button.active {
            background: #26343b;
        }

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.fleet-card {
    background: rgba(19,34,40,.82);
    border: 1px solid rgba(255,255,255,.06);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;  
}

    .fleet-card:hover {
        transform: translateY(-5px);
        border-color: rgba(255,177,172,.35);
        box-shadow: 0 24px 65px rgba(0,0,0,.35);
    }

.fleet-image {
    position: relative;
    height: 190px;
    background: #fff;
    overflow: hidden;
}

    .fleet-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: .35s ease;
    }

.fleet-card:hover .fleet-image img {
    transform: scale(1.035);
}

.fleet-image span {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 18px;
    background: #b3121b;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 12px;
    font-weight: 950;
}

.fleet-card-body {
    padding: 20px 22px 22px;
}

.fleet-card-title {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

    .fleet-card-title h2 {
        margin: 0;
        color: #e9f1f4;
        font-size: 20px;
        font-weight: 950;
        text-transform: uppercase;
        letter-spacing: -.03em;
    }

    .fleet-card-title p {
        margin: 4px 0 0;
        color: #ffb1ac;
        text-transform: uppercase;
        letter-spacing: .14em;
        font-size: 12px;
    }

    .fleet-card-title strong {
        color: #f1c5c0;
        font-size: 20px;
        white-space: nowrap;
    }

.spec-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 18px;
}

    .spec-row div {
        padding: 12px;
        background: #071115;
    }

    .spec-row span {
        display: block;
        margin-bottom: 8px;
        color: #b98581;
        text-transform: uppercase;
        letter-spacing: .14em;
        font-size: 10px;
    }

    .spec-row strong {
        color: #fff;
        font-size: 14px;
    }

.fleet-card-actions {
    display: grid;
    grid-template-columns: 1fr 58px;
    gap: 10px;
    margin-top: 20px;
}

    .fleet-card-actions a,
    .fleet-card-actions button {
        min-height: 52px;
        border: 0;
        background: #26343b;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: .12em;
        font-size: 12px;
        font-weight: 950;
    }

        .fleet-card-actions a:hover {
            background: #e53035ad;
        }

.empty-catalog {
    padding: 44px;
    background: #132228;
    border: 1px solid rgba(255,255,255,.06);
}

    .empty-catalog h2 {
        margin: 0 0 8px;
        font-weight: 950;
    }

    .empty-catalog p {
        margin: 0;
        color: #9daeb5;
    }

@media (max-width: 1199px) {
    .fleet-page {
        grid-template-columns: 1fr;
    }

    .fleet-filters {
        position: static;
        height: auto;
    }

    .quote-button {
        margin-top: 34px;
    }
}

@media (max-width: 991px) {
    .fleet-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .fleet-content {
        padding: 32px 18px 60px;
    }

    .fleet-heading {
        display: block;
    }

    .view-buttons {
        margin-top: 20px;
    }

    .fleet-card-title {
        display: block;
    }

        .fleet-card-title strong {
            display: block;
            margin-top: 12px;
        }

    .spec-row {
        grid-template-columns: 1fr;
    }

    .fleet-image {
        height: 230px;
    }
}
 
.mobile-filter-toggle {
    display: none;
}

.filter-input,
.filter-select {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(255,255,255,.08);
    background: #101f25;
    color: #fff;
    padding: 10px 12px;
    outline: none;
    font-size: 14px;
}

.filter-input::placeholder {
    color: #9daeb5;
}

.filter-input:focus,
.filter-select:focus {
    border-color: #e53035;
}

.clear-filters-btn {
    width: 100%;
    min-height: 52px;
    margin-top: 34px;
    border: 0;
    background: linear-gradient(135deg, #ffaaa5, #e53035);
    color: #250909;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 950;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
}

.d-none {
    display: none !important;
}

/* Vista lista */
.fleet-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.fleet-list .fleet-card {
    display: grid;
    grid-template-columns: 320px 1fr;
}

.fleet-list .fleet-image {
    height: 100%;
    min-height: 260px;
}

.fleet-list .fleet-image img {
    height: 100%;
    object-fit: cover;
}

.fleet-list .fleet-card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Móvil */
@media (max-width: 1199px) {
    .catalog-wrapper {
        padding: 18px;
    }

    .fleet-page {
        display: block;
        min-height: auto;
    }

    .mobile-filter-toggle {
        display: flex;
        width: 100%;
        min-height: 52px;
        margin-bottom: 16px;
        border: 0;
        background: #e53035;
        color: #fff;
        align-items: center;
        justify-content: center;
        gap: 10px;
        text-transform: uppercase;
        letter-spacing: .12em;
        font-weight: 950;
        cursor: pointer;
    }

    .fleet-filters {
        display: none;
        position: static;
        height: auto;
        margin-bottom: 22px;
        border-right: 0;
        border: 1px solid rgba(255,255,255,.06);
    }

    .fleet-filters.show-mobile {
        display: block;
    }

    .fleet-content {
        padding: 24px 0 60px;
    }
}

@media (max-width: 768px) {
    .fleet-list .fleet-card {
        grid-template-columns: 1fr;
    }

    .fleet-list .fleet-image {
        min-height: 230px;
    }
}

.catalog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 34px;
}

    .catalog-pagination button {
        min-width: 42px;
        height: 42px;
        border: 1px solid rgba(255,255,255,.08);
        background: #101f25;
        color: #fff;
        font-weight: 900;
        cursor: pointer;
    }

        .catalog-pagination button:hover:not(:disabled),
        .catalog-pagination button.active {
            background: #e53035;
            border-color: #e53035;
        }

        .catalog-pagination button:disabled {
            opacity: .35;
            cursor: not-allowed;
        }

.fleet-content::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 75% 22%, rgba(255,0,0,.20), transparent 30%);
    animation: catalog-siren 1.8s infinite alternate;
    z-index: 0;
}

.fleet-content > * {
    position: relative;
    z-index: 1;
}

@keyframes catalog-siren {
    from {
        opacity: .25;
    }

    to {
        opacity: .75;
    }
}
@media (max-width: 1199px) {
    .catalog-wrapper {
        position: relative;
        overflow: hidden;
        background: url(../../image/fondos/catalogos.png) center / cover no-repeat;
    }

    .catalog-bg-video {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        opacity: .24;
        z-index: 0;
    }

    .catalog-wrapper::before {
        position: absolute;
        inset: 0;
        background: rgba(7, 17, 21, .76);
        z-index: 1;
    }

    .fleet-page,
    .mobile-filter-toggle,
    .video-credit {
        position: relative;
        z-index: 2;
    }

    .video-credit {
        position: absolute;
        right: 10px;
        bottom: 8px;
        z-index: 3;
        font-size: 9px;
        opacity: .35;
    }
}