/* ==========================================================================
   FLEET.CSS — Cab Fleet & Vehicles Page (fleet.php)
   ========================================================================== */

.fleet-page-stack {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.fleet-intro {
    max-width: 56rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.fleet-intro__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary);
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.fleet-intro__title {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
    color: var(--navy);
}

@media (min-width: 640px) {
    .fleet-intro__title {
        font-size: 1.5rem;
        line-height: 2rem;
    }
}

@media (min-width: 768px) {
    .fleet-intro__title {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }
}

.fleet-intro__lead {
    font-size: 0.75rem;
    line-height: 1.625;
    color: var(--slate);
}

@media (min-width: 640px) {
    .fleet-intro__lead {
        font-size: 0.875rem;
    }
}

@media (min-width: 768px) {
    .fleet-intro__lead {
        font-size: 1rem;
    }
}

/* 8-Vehicle Commercial Fleet Grid */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .fleet-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .fleet-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.fleet-card {
    background-color: var(--white);
    border-radius: 1rem;
    padding: 1.25rem;
    border: 1px solid rgba(203, 213, 225, 0.3);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.fleet-card:hover {
    box-shadow: var(--shadow-md);
}

.fleet-card__top {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fleet-card__media {
    width: 100%;
    height: 11rem;
    border-radius: 0.75rem;
    overflow: hidden;
    background-color: var(--slate-100);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
}

.fleet-card__img {
    height: 9rem;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fleet-card__img:hover {
    transform: scale(1.05);
}

.fleet-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.fleet-card__badge {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--secondary);
    background-color: var(--surface-container-low);
    padding: 0.125rem 0.625rem;
    border-radius: 0.375rem;
}

.fleet-card__rate {
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 800;
    color: var(--navy);
}

.fleet-card__title {
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: var(--navy);
    margin-top: 0.375rem;
}

.fleet-card__desc {
    font-size: 0.75rem;
    line-height: 1.625;
    color: var(--slate);
    margin-top: 0.25rem;
}

.fleet-card__specs {
    font-size: 0.75rem;
    line-height: 1rem;
    color: var(--slate);
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    border-top: 1px solid var(--surface-container);
    padding-top: 0.75rem;
}

.fleet-card__spec-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fleet-card__actions {
    margin-top: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fleet-card__btn-call {
    flex: 1 1 0%;
    height: 2.25rem;
    border-radius: 0.75rem;
    background-color: var(--amber);
    color: var(--navy);
    font-weight: 700;
    font-size: 0.75rem;
    line-height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.15s;
}

.fleet-card__btn-call:hover {
    background-color: var(--amber-dark);
}

.fleet-card__btn-wa {
    flex: 1 1 0%;
    height: 2.25rem;
    border-radius: 0.75rem;
    background-color: var(--whatsapp-bright);
    color: var(--white);
    font-weight: 700;
    font-size: 0.75rem;
    line-height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.15s;
}

.fleet-card__btn-wa:hover {
    background-color: var(--whatsapp-bright-hover);
}

/* Group Travel & Tempo Travellers Row */
.fleet-tempo-box {
    background-color: var(--white);
    border-radius: 1.5rem;
    padding: 1.5rem;
    border: 1px solid rgba(203, 213, 225, 0.3);
    box-shadow: var(--shadow-sm);
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .fleet-tempo-box {
        padding: 2rem;
    }
}

.fleet-tempo-box__grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .fleet-tempo-box__grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .fleet-tempo-box__visual {
        grid-column: span 4 / span 4;
    }
}

.fleet-tempo-box__media {
    width: 100%;
    height: 14rem;
    border-radius: 1rem;
    background-color: var(--slate-100);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border: 1px solid rgba(203, 213, 225, 0.2);
}

@media (min-width: 640px) {
    .fleet-tempo-box__media {
        height: 16rem;
    }
}

.fleet-tempo-box__img {
    max-height: 13rem;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fleet-tempo-box__img:hover {
    transform: scale(1.05);
}

.fleet-tempo-box__content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media (min-width: 1024px) {
    .fleet-tempo-box__content {
        grid-column: span 8 / span 8;
    }
}

.fleet-tempo-box__head {
    border-bottom: 1px solid var(--surface-container);
    padding-bottom: 1rem;
}

.fleet-tempo-box__cards {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .fleet-tempo-box__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.fleet-tempo-card {
    padding: 1.25rem;
    border-radius: 1rem;
    background-color: var(--surface-container-low);
    border: 1px solid rgba(203, 213, 225, 0.2);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.fleet-tempo-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fleet-tempo-card__rate {
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 800;
    color: var(--secondary);
}

.fleet-tempo-card__perks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 600;
    color: var(--secondary);
}

.fleet-tempo-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 1.25rem;
    border-radius: 9999px;
    background-color: var(--amber);
    font-weight: 700;
    font-size: 0.75rem;
    line-height: 1rem;
    color: var(--navy);
    cursor: pointer;
    transition: all 0.15s;
    align-self: flex-start;
}

.fleet-tempo-card__btn:hover {
    background-color: var(--secondary);
    color: var(--white);
}

/* Comparison Table */
.fleet-comp-table {
    width: 100%;
    text-align: left;
    border-collapse: collapse;
    font-size: 0.75rem;
    line-height: 1rem;
}

@media (min-width: 640px) {
    .fleet-comp-table {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }
}

.fleet-comp-table__head {
    background-color: var(--navy);
    color: var(--white);
}

.fleet-comp-table__th {
    padding: 0.875rem;
    font-weight: 700;
}

.fleet-comp-table__th--tl {
    border-top-left-radius: 0.75rem;
}

.fleet-comp-table__th--tr {
    border-top-right-radius: 0.75rem;
}

.fleet-comp-table__body {
    color: var(--slate);
}

.fleet-comp-table__row {
    border-bottom: 1px solid var(--surface-container);
}

.fleet-comp-table__row:last-child {
    border-bottom: 0;
}

.fleet-comp-table__row:hover {
    background-color: var(--surface-container-low);
}

.fleet-comp-table__td {
    padding: 0.875rem;
}

.fleet-comp-table__td--bold {
    font-weight: 700;
    color: var(--navy);
}

.fleet-comp-table__td--rate {
    font-weight: 700;
    color: var(--secondary);
}

.fleet-comp-table__td--day {
    font-weight: 600;
    color: var(--navy);
}

.fleet-table-note {
    font-size: 11px;
    color: var(--slate);
    font-style: italic;
}

/* Editorial Advisory + Sidebar Split */
.fleet-advisory-split {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
    align-items: flex-start;
}

@media (min-width: 1024px) {
    .fleet-advisory-split {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .fleet-advisory-split__main {
        grid-column: span 8 / span 8;
    }
}

.fleet-advisory-split__sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .fleet-advisory-split__sidebar {
        grid-column: span 4 / span 4;
    }
}

.fleet-form-2col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.625rem;
}
