/*
 * Inpetransfer · Directorio · Bloque de vehículos
 * Versión 1.2
 */

.inp-dir-fleet {
    width: 100%;
    margin: 0;
    padding: 72px 0 80px;
    background: #f7f8f5;
    color: #374151;
    font-family: 'Poppins', Arial, sans-serif;
}

.inp-dir-fleet *,
.inp-dir-fleet *::before,
.inp-dir-fleet *::after {
    box-sizing: border-box;
}

.inp-dir-fleet__inner {
    width: min(100%, 1480px);
    margin: 0 auto;
    padding: 0 28px;
}

.inp-dir-fleet__header {
    max-width: 1120px;
    margin: 0 auto 44px;
    text-align: center;
}

.inp-dir-fleet__eyebrow,
.inp-dir-fleet__group-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: #849728;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .14em;
}

.inp-dir-fleet__header h2 {
    margin: 0 0 12px;
    color: #374151;
    font-size: clamp(31px, 2.7vw, 46px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1.25px;
}

.inp-dir-fleet__header p {
    max-width: 960px;
    margin: 0 auto;
    color: #4b5563;
    font-size: clamp(15px, 1.05vw, 18px);
    line-height: 1.6;
}

.inp-dir-fleet__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.inp-dir-fleet-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, .07);
    transition: transform .22s ease, box-shadow .22s ease;
}

.inp-dir-fleet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(17, 24, 39, .11);
}

.inp-dir-fleet-card__visual {
    height: 205px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 14px 2px;
    background: #fff;
}

.inp-dir-fleet-card__visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.inp-dir-fleet-card__fallback {
    width: 100%;
    color: #ACBD51;
}

.inp-dir-fleet-card__fallback svg {
    display: block;
    width: 100%;
    height: auto;
    max-height: 180px;
}

.inp-dir-fleet-card__body {
    padding: 10px 18px 24px;
    text-align: center;
}

.inp-dir-fleet-card__body h3 {
    margin: 0 0 15px;
    color: #374151;
    font-size: clamp(20px, 1.35vw, 24px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.5px;
}

.inp-dir-fleet-card__capacity {
    display: grid;
    gap: 8px;
    margin-bottom: 15px;
}

.inp-dir-fleet-card__capacity span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #374151;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
}

.inp-dir-fleet-card__capacity svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    color: #ACBD51;
}

.inp-dir-fleet-card__models {
    margin: 0;
    color: #6b7280;
    font-size: 12.5px;
    line-height: 1.55;
}

.inp-dir-fleet__benefits {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(172, 189, 81, .24);
    border-radius: 16px;
    background: #f3f6e8;
}

.inp-dir-fleet__benefit {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 18px;
    color: #374151;
    text-align: center;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
}

.inp-dir-fleet__benefit-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ACBD51;
    color: #fff;
    font-size: 15px;
    line-height: 1;
    font-weight: 800;
}

@media (max-width: 1250px) {

    .inp-dir-fleet__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
    }

    .inp-dir-fleet-card__visual {
        height: 220px;
    }

    .inp-dir-fleet-card__body {
        padding-left: 22px;
        padding-right: 22px;
    }
}

@media (max-width: 900px) {

    .inp-dir-fleet__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .inp-dir-fleet__benefits {
        grid-template-columns: 1fr;
    }

    .inp-dir-fleet__benefit {
        justify-content: flex-start;
        text-align: left;
    }
}

@media (max-width: 760px) {

    .inp-dir-fleet {
        padding: 54px 0 58px;
    }

    .inp-dir-fleet__inner {
        padding: 0 18px;
    }

    .inp-dir-fleet__header {
        margin-bottom: 32px;
    }

    .inp-dir-fleet__header h2 {
        font-size: 30px;
    }

    .inp-dir-fleet__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .inp-dir-fleet-card__visual {
        height: 205px;
    }

    .inp-dir-fleet-card__body h3 {
        font-size: 24px;
    }

    .inp-dir-fleet-card__capacity span {
        font-size: 14px;
    }

    .inp-dir-fleet-card__models {
        font-size: 13px;
    }

}
