﻿:root {
    --RojoImportante: #FF6A63;
    --blanco: #ffffff;
    --ColorFondo: #071115;
    --ColorPanel: #101f25;
    --ColorPanel2: #13262d;
    --ColorBorde: rgba(255, 255, 255, .08);
    --ColorTextoSuave: #a8b7bd;
}

.home-hero {
    position: relative;
    background: linear-gradient(90deg, rgba(7, 17, 21, .98) 0%, rgba(7, 17, 21, .86) 45%, rgba(7, 17, 21, .35) 100%), url('../../image/camiones/1/pexels-oscar-sanchez197-16821062.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

    .home-hero::after {
        content: "";
        position: absolute;
        inset: auto 0 0;
        height: 160px;
        background: linear-gradient(180deg, transparent, #071115);
        pointer-events: none;
    }

.min-vh-hero {
    min-height: calc(100vh - 76px);
    position: relative;
    z-index: 1;
    padding: 80px 0;
}

.hero-eyebrow {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--RojoImportante);
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-weight: 900;
}

.hero-title {
    max-width: 720px;
    color: var(--blanco);
    font-size: clamp(42px, 6vw, 78px);
    line-height: .95;
    font-weight: 950;
    letter-spacing: -.05em;
}

.hero-text {
    max-width: 520px;
    margin: 24px 0 0;
    color: var(--ColorTextoSuave);
    font-size: 18px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.btn-hero-primary,
.btn-hero-secondary {
    min-height: 48px;
    padding: 0 22px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 12px;
    font-weight: 900;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #ffaaa5, #ff3d3d);
    color: #230909;
    box-shadow: 0 16px 35px rgba(255, 75, 75, .25);
}

.btn-hero-secondary {
    color: var(--blanco);
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .03);
}

    .btn-hero-primary:hover,
    .btn-hero-secondary:hover {
        transform: translateY(-2px);
    }

.hero-asset-card {
    padding: 24px;
    background: rgba(16, 31, 37, .92);
    border: 1px solid var(--ColorBorde);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
    backdrop-filter: blur(18px);
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 18px;
}

    .hero-card-header span {
        display: block;
        color: #b98581;
        font-size: 11px;
        letter-spacing: .2em;
        text-transform: uppercase;
        font-weight: 800;
    }

    .hero-card-header h2 {
        color: var(--blanco);
        margin: 6px 0 0;
        font-size: 28px;
        font-weight: 900;
    }

.hero-status {
    padding: 7px 10px;
    background: rgba(255, 106, 99, .14);
    color: #ffaaa5;
    border: 1px solid rgba(255, 106, 99, .35);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: .08em;
    font-weight: 900;
    white-space: nowrap;
}

.hero-card-image {
    height: 280px;
    overflow: hidden;
    background: #061014;
    border: 1px solid var(--ColorBorde);
}

    .hero-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: grayscale(.35);
        transition: .35s ease;
    }

.hero-asset-card:hover .hero-card-image img {
    transform: scale(1.04);
    filter: grayscale(0);
}

.hero-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 16px;
}

    .hero-spec-grid div {
        padding: 14px;
        background: #071115;
        border: 1px solid var(--ColorBorde);
    }

    .hero-spec-grid span {
        display: block;
        margin-bottom: 4px;
        color: #b98581;
        font-size: 10px;
        letter-spacing: .18em;
        text-transform: uppercase;
        font-weight: 800;
    }

    .hero-spec-grid strong {
        color: var(--blanco);
        font-size: 15px;
    }

.home-catalog-section {
    background: #071115;
    color: var(--blanco);
    padding: 90px 0;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: end;
    margin-bottom: 34px;
}

    .section-heading span {
        color: #b98581;
        text-transform: uppercase;
        letter-spacing: .22em;
        font-size: 12px;
        font-weight: 900;
    }

    .section-heading h2 {
        margin: 6px 0 0;
        font-size: clamp(32px, 4vw, 52px);
        font-weight: 950;
        letter-spacing: -.04em;
    }

        .section-heading h2 strong {
            color: var(--RojoImportante);
        }

    .section-heading p {
        max-width: 420px;
        margin: 0;
        color: var(--ColorTextoSuave);
        line-height: 1.7;
    }

.truck-card {
    height: 100%;
    background: var(--ColorPanel);
    border: 1px solid var(--ColorBorde);
    transition: .25s ease;
}

    .truck-card:hover {
        transform: translateY(-6px);
        border-color: rgba(255, 106, 99, .55);
        box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
    }

.truck-img {
    position: relative;
    height: 235px;
    background: #061014;
    overflow: hidden;
}

    .truck-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: grayscale(.45);
        transition: .35s ease;
    }

.truck-card:hover .truck-img img {
    transform: scale(1.04);
    filter: grayscale(0);
}

.truck-img span {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 9px;
    background: #ffaaa5;
    color: #280909;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .08em;
}

.truck-body {
    padding: 22px;
}

.truck-title-row {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    align-items: flex-start;
}

    .truck-title-row h3 {
        margin: 0;
        color: var(--blanco);
        font-size: 20px;
        line-height: 1.2;
        font-weight: 900;
    }

    .truck-title-row strong {
        color: var(--RojoImportante);
        font-size: 16px;
        white-space: nowrap;
    }

.truck-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 16px;
}

    .truck-tags span {
        padding: 5px 8px;
        background: #071115;
        border: 1px solid var(--ColorBorde);
        color: #c7d3d8;
        font-size: 10px;
        font-weight: 900;
        letter-spacing: .08em;
    }

.truck-body p {
    margin: 18px 0 22px;
    color: var(--ColorTextoSuave);
    line-height: 1.65;
}

.truck-link {
    width: 100%;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
    border: 1px solid rgba(255, 255, 255, .16);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 12px;
    font-weight: 900;
}

    .truck-link:hover {
        color: #230909;
        background: var(--RojoImportante);
        border-color: var(--RojoImportante);
    }
.hero-price {
    margin-top: 16px;
    padding: 14px 16px;
    background: #071115;
    border-left: 4px solid var(--RojoImportante);
    color: var(--blanco);
    font-size: 28px;
    font-weight: 950;
    letter-spacing: -.03em;
}

.hero-detail-link {
    width: 100%;
    min-height: 46px;
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #230909;
    background: linear-gradient(135deg, #ffaaa5, #ff3d3d);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 12px;
    font-weight: 950;
}

    .hero-detail-link:hover {
        color: #230909;
        transform: translateY(-2px);
    }

.empty-text {
    color: var(--ColorTextoSuave);
    line-height: 1.7;
    margin: 0;
}

.empty-inventory {
    padding: 40px;
    background: var(--ColorPanel);
    border: 1px solid var(--ColorBorde);
    color: var(--blanco);
}

    .empty-inventory h3 {
        margin: 0 0 8px;
        font-weight: 900;
    }

    .empty-inventory p {
        margin: 0;
        color: var(--ColorTextoSuave);
    }
@media (max-width: 991px) {
    .section-heading {
        display: block;
    }

        .section-heading p {
            margin-top: 14px;
        }

    .hero-asset-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 575px) {
    .min-vh-hero {
        padding: 54px 0;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
    }

    .hero-spec-grid {
        grid-template-columns: 1fr;
    }

    .hero-card-image {
        height: 220px;
    }

    .truck-title-row {
        display: block;
    }

        .truck-title-row strong {
            display: block;
            margin-top: 8px;
        }
}
