@charset "utf-8";

/*
    Clients and vehicles - /solutions/client-vehicles.

    ? The solutions are problem-first, so this page keeps their order (the problem, what it costs, what
    ? you do not have yet, the answer, the nudge) and lays it out as the thing it is about: one
    ? vehicle's record, followed from the first visit to the year it changes hands. The label down the
    ? left is the stage, and the dashed red bay line runs through it, as on the feature pages.

    ? The hero is the record itself, ending on the line a shop owner recognises: a thing was found, not
    ? done, and written down for next time. The cost is three questions to ask the team - there is no
    ? statistic on this page.

    ? Same ground as the rest of the site (concrete, the brand's steel, red used the way a shop uses
    ? paint). Scoped under .client-vehicles-page so the shared components keep their look elsewhere.
*/

.client-vehicles-page {
    --veh-concrete: #e8ebee;
    --veh-paper: #f4f6f7;
    --veh-line: #cdd4da;
    --veh-ink: #151b21;
    --veh-steel: #1f272f;
    --veh-text: #36424d;
    --veh-muted: #55616c;
    --veh-red: #fb172b;
    --veh-red-dark: #d9101f;
    --veh-green: #1f9d55;

    font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-stretch: 100%;
    color: var(--veh-text);
}

/*  The display voice, shared with the other pages: the same family pulled condensed and heavy */
.client-vehicles-page .veh-hero-title,
.client-vehicles-page .veh-section-title,
.client-vehicles-page .rec-card-title,
.client-vehicles-page .stop-label,
.client-vehicles-page .stop-title,
.client-vehicles-page .rule-name,
.client-vehicles-page .veh-nudge-title {
    font-stretch: 76%;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
}

.client-vehicles-page a:focus-visible {
    outline: 3px solid var(--veh-ink);
    outline-offset: 3px;
}

.client-vehicles-page .veh-hero a:focus-visible,
.client-vehicles-page .veh-nudge a:focus-visible {
    outline-color: #ffffff;
}

/*-------------------------------------------------------------------------------------------------
    Hero - dark, so the calendar is the lightest thing on the first screen
-------------------------------------------------------------------------------------------------*/

.client-vehicles-page .veh-hero {
    position: relative;
    background-color: var(--veh-ink);
    color: #c3ccd5;
    padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 7vw, 88px);
}

/*  The red bay line, as on the other pages */
.client-vehicles-page .veh-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background-image: repeating-linear-gradient(90deg, var(--veh-red) 0 28px, transparent 28px 48px);
}

.client-vehicles-page .veh-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.client-vehicles-page .veh-hero-eyebrow {
    margin: 0 0 18px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ff6b78;
}

.client-vehicles-page .veh-hero-title {
    margin: 0 0 24px;
    font-size: clamp(38px, 4.4vw, 64px);
    line-height: 0.98;
    color: #ffffff;
    max-width: 18ch;
    text-wrap: balance;
}

.client-vehicles-page .veh-hero-lede {
    margin: 0 0 32px;
    font-size: 18px;
    line-height: 1.6;
    color: #c3ccd5;
    max-width: 52ch;
}

.client-vehicles-page .veh-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/*  The quiet button, drawn for the dark ground */
.client-vehicles-page .btn-veh-ghost,
.client-vehicles-page .btn-veh-ghost:focus {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
}

.client-vehicles-page .btn-veh-ghost:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    color: var(--veh-ink);
}

/*  The vehicle's record --------------------------------------------------------------------------- */

.client-vehicles-page .rec-card {
    margin: 0 0 0 auto;
    width: 100%;
    max-width: 520px;
    background-color: var(--veh-paper);
    border-radius: 14px;
    padding: 0 22px 18px;
    box-shadow: 0 40px 60px -36px rgba(0, 0, 0, 0.7);
}

.client-vehicles-page .rec-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0 14px;
    border-bottom: 1px solid var(--veh-line);
    font-size: 15px;
    font-weight: 700;
    color: var(--veh-ink);
}

.client-vehicles-page .rec-card-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--veh-muted);
}

.client-vehicles-page .rec-card-live::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--veh-green);
}

/*  ? The one thing on the page that moves by itself: the record fills in, a line at a time, once. */
.client-vehicles-page .rec-vehicle,
.client-vehicles-page .rec-field,
.client-vehicles-page .rec-tabs,
.client-vehicles-page .rec-history-row,
.client-vehicles-page .rec-found {
    animation: rec-in 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    animation-delay: calc(0.4s + var(--i, 0) * 0.45s);
}

.client-vehicles-page .rec-vehicle {
    padding: 18px 0 4px;
}

.client-vehicles-page .rec-vehicle-name {
    margin: 0;
    font-stretch: 76%;
    font-weight: 800;
    font-size: 36px;
    line-height: 1;
    color: var(--veh-ink);
}

.client-vehicles-page .rec-vehicle-type {
    margin: 6px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--veh-muted);
}

.client-vehicles-page .rec-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    margin: 16px 0 0;
}

.client-vehicles-page .rec-field {
    min-width: 0;
    padding: 9px 12px;
    background-color: #ffffff;
    border: 1px solid var(--veh-line);
    border-radius: 6px;
}

.client-vehicles-page .rec-field dt {
    margin: 0 0 2px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--veh-muted);
}

.client-vehicles-page .rec-field dd {
    margin: 0;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--veh-ink);
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

/*  The tabs are what the real page has. Only the first one is lit: this is the service history. */
.client-vehicles-page .rec-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 18px;
}

.client-vehicles-page .rec-tab {
    padding: 5px 11px;
    border: 1.5px solid var(--veh-line);
    border-radius: 100px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--veh-muted);
}

.client-vehicles-page .rec-tab-on {
    background-color: var(--veh-ink);
    border-color: var(--veh-ink);
    color: #ffffff;
}

.client-vehicles-page .rec-history {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
}

.client-vehicles-page .rec-history-row {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: baseline;
    margin: 0;
    padding: 11px 0;
    border-bottom: 1px solid var(--veh-line);
    font-size: 15px;
    color: var(--veh-ink);
}

.client-vehicles-page .rec-history-date {
    font-weight: 700;
    color: var(--veh-muted);
}

.client-vehicles-page .rec-history-what {
    font-weight: 600;
}

.client-vehicles-page .rec-history-km {
    font-size: 14px;
    color: var(--veh-muted);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.client-vehicles-page .rec-found {
    margin: 14px 0 0;
    text-align: center;
}

/*  What was found and not done, as paint on the floor. It is the most valuable line on the page. */
.client-vehicles-page .rec-pill {
    display: inline-block;
    padding: 8px 14px;
    background-color: #ffffff;
    border: 1.5px dashed var(--veh-red);
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--veh-red-dark);
    text-wrap: balance;
}

.client-vehicles-page .rec-card-caption {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--veh-muted);
}

@keyframes rec-in {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {

    .client-vehicles-page .rec-vehicle,
    .client-vehicles-page .rec-field,
    .client-vehicles-page .rec-tabs,
    .client-vehicles-page .rec-history-row,
    .client-vehicles-page .rec-found {
        animation: none;
    }
}

/*-------------------------------------------------------------------------------------------------
    Shared section heading
-------------------------------------------------------------------------------------------------*/

.client-vehicles-page .veh-label {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--veh-red-dark);
}

.client-vehicles-page .veh-section-title {
    margin: 0 0 18px;
    font-size: clamp(36px, 4.4vw, 56px);
    color: var(--veh-ink);
    text-wrap: balance;
}

.client-vehicles-page .veh-section-lede {
    margin: 0;
    font-size: 18px;
    line-height: 1.55;
    color: var(--veh-muted);
    max-width: 46ch;
}

/*-------------------------------------------------------------------------------------------------
    What it is costing you - questions for the team
-------------------------------------------------------------------------------------------------*/

.client-vehicles-page .veh-cost {
    background-color: var(--veh-concrete);
    padding: clamp(56px, 8vw, 104px) 0;
}

.client-vehicles-page .veh-cost-inner {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(28px, 5vw, 80px);
    align-items: center;
}

.client-vehicles-page .veh-cost-text {
    margin: 0;
    font-size: 17.5px;
    line-height: 1.6;
    color: var(--veh-text);
    max-width: 46ch;
}

.client-vehicles-page .ask {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.client-vehicles-page .ask-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    margin: 0;
    padding: 20px 22px;
    background-color: #ffffff;
    border-left: 6px solid var(--veh-ink);
}

.client-vehicles-page .ask-num {
    font-stretch: 76%;
    font-weight: 800;
    font-size: 44px;
    line-height: 0.9;
    color: var(--veh-red-dark);
}

.client-vehicles-page .ask-question {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--veh-ink);
}

.client-vehicles-page .ask-answer {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.5;
    color: var(--veh-muted);
}

/*-------------------------------------------------------------------------------------------------
    The vehicle's life
-------------------------------------------------------------------------------------------------*/

.client-vehicles-page .veh-trip {
    background-color: #ffffff;
    padding: clamp(56px, 8vw, 104px) 0 clamp(24px, 4vw, 48px);
}

.client-vehicles-page .veh-trip-head {
    margin-bottom: clamp(40px, 5vw, 72px);
}

.client-vehicles-page .stops {
    list-style: none;
    margin: 0;
    padding: 0;
}

.client-vehicles-page .stop {
    position: relative;
    display: grid;
    grid-template-columns: 190px 40px minmax(0, 1fr);
    margin: 0;
    padding-bottom: clamp(44px, 5.5vw, 72px);
}

/*  The marker on the line: a small square with an ink edge, where the red line passes through */
.client-vehicles-page .stop::before {
    content: "";
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    width: 14px;
    height: 14px;
    margin-top: 10px;
    background-color: #ffffff;
    border: 3px solid var(--veh-ink);
    z-index: 1;
}

/*  The line itself: dashed red, running from this marker to the next */
.client-vehicles-page .stop::after {
    content: "";
    position: absolute;
    left: 208px;
    top: 28px;
    bottom: -8px;
    width: 3px;
    background-image: repeating-linear-gradient(180deg, var(--veh-red) 0 10px, transparent 10px 18px);
}

.client-vehicles-page .stop:last-child::after {
    display: none;
}

.client-vehicles-page .stop-label {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    font-size: clamp(28px, 2.8vw, 40px);
    font-variant-numeric: tabular-nums;
    color: var(--veh-ink);
}

.client-vehicles-page .stop-body {
    grid-column: 3;
    grid-row: 1;
    min-width: 0;
}

.client-vehicles-page .stop-title {
    margin: 0 0 20px;
    font-size: clamp(28px, 3vw, 40px);
    color: var(--veh-ink);
    max-width: 24ch;
    text-wrap: balance;
}

.client-vehicles-page .stop-title .tier-badge {
    vertical-align: middle;
    font-stretch: 100%;
    letter-spacing: normal;
}

/*  What happens today, then what the schedule does. Today is the quieter of the two. */
.client-vehicles-page .stop-today,
.client-vehicles-page .stop-text {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    max-width: 60ch;
}

.client-vehicles-page .stop-today {
    padding: 14px 18px;
    margin-bottom: 18px;
    background-color: var(--veh-paper);
    border-left: 4px solid var(--veh-line);
    color: var(--veh-muted);
}

.client-vehicles-page .stop-text {
    color: var(--veh-text);
}

.client-vehicles-page .stop-tag {
    display: block;
    margin-bottom: 4px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--veh-muted);
}

.client-vehicles-page .stop-tag-with {
    color: var(--veh-red-dark);
}

.client-vehicles-page .stop-points {
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 62ch;
}

.client-vehicles-page .stop-points li {
    position: relative;
    margin: 0;
    padding-left: 22px;
    font-size: 15.5px;
    line-height: 1.55;
    color: var(--veh-muted);
}

/*  A painted square, not a tick: these are facts about the product, not a checklist */
.client-vehicles-page .stop-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 8px;
    height: 8px;
    background-color: var(--veh-red);
}

/*-------------------------------------------------------------------------------------------------
    Ten kinds of vehicle
-------------------------------------------------------------------------------------------------*/

.client-vehicles-page .veh-types {
    background-color: var(--veh-concrete);
    padding: clamp(56px, 8vw, 104px) 0;
}

.client-vehicles-page .veh-types-head {
    margin-bottom: clamp(32px, 4vw, 56px);
}

.client-vehicles-page .type-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.client-vehicles-page .type-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 22px 18px 20px;
    background-color: #ffffff;
    border-top: 6px solid var(--veh-ink);
}

.client-vehicles-page .type-icon {
    font-size: 26px;
    color: var(--veh-red-dark);
}

.client-vehicles-page .type-name {
    font-stretch: 76%;
    font-weight: 800;
    font-size: 24px;
    line-height: 1.05;
    color: var(--veh-ink);
}

/*  The three units, as the column headings of a form */
.client-vehicles-page .type-units {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    margin: 28px 0 0;
    font-size: 15.5px;
    color: var(--veh-text);
}

.client-vehicles-page .type-units-label {
    font-weight: 700;
    color: var(--veh-ink);
}

.client-vehicles-page .type-unit {
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    background-color: var(--veh-steel);
}

.client-vehicles-page .type-unit-hrs {
    background-color: var(--veh-red);
}

.client-vehicles-page .type-units-note {
    color: var(--veh-muted);
}

.client-vehicles-page .veh-more {
    margin: 28px 0 0;
    font-size: 15.5px;
    font-weight: 700;
}

.client-vehicles-page .veh-more a {
    color: var(--veh-ink);
    text-decoration: underline;
    text-decoration-color: var(--veh-red);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.client-vehicles-page .veh-more a i {
    margin-left: 4px;
    font-size: 13px;
    transition: transform 0.18s ease;
}

.client-vehicles-page .veh-more a:hover i,
.client-vehicles-page .veh-more a:focus i {
    transform: translateX(4px);
}

/*-------------------------------------------------------------------------------------------------
    Where it stops and you start
-------------------------------------------------------------------------------------------------*/

.client-vehicles-page .veh-rules {
    background-color: #ffffff;
    padding: clamp(56px, 8vw, 104px) 0;
}

.client-vehicles-page .veh-rules-inner {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: clamp(28px, 5vw, 80px);
    align-items: start;
}

/*  The heading stays in view while the rows go by */
.client-vehicles-page .veh-rules-head {
    position: sticky;
    top: 110px;
}

.client-vehicles-page .rule-rows {
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--veh-line);
}

.client-vehicles-page .rule-rows li {
    margin: 0;
    padding: 28px 0;
    border-top: 1px solid var(--veh-line);
}

.client-vehicles-page .rule-name {
    margin: 0 0 12px;
    font-size: clamp(26px, 2.6vw, 34px);
    color: var(--veh-ink);
}

.client-vehicles-page .rule-text {
    margin: 0;
    font-size: 16.5px;
    line-height: 1.6;
    color: var(--veh-text);
    max-width: 60ch;
}

/*-------------------------------------------------------------------------------------------------
    The nudge - the dark annex
-------------------------------------------------------------------------------------------------*/

.client-vehicles-page .veh-nudge {
    position: relative;
    background-color: var(--veh-steel);
    color: #c3ccd5;
    padding: clamp(56px, 8vw, 104px) 0;
}

.client-vehicles-page .veh-nudge::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background-image: repeating-linear-gradient(90deg, var(--veh-red) 0 28px, transparent 28px 48px);
}

.client-vehicles-page .veh-nudge-inner {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(32px, 6vw, 88px);
    align-items: start;
}

.client-vehicles-page .veh-nudge-title {
    margin: 0 0 22px;
    font-size: clamp(34px, 4vw, 52px);
    color: #ffffff;
    max-width: 20ch;
    text-wrap: balance;
}

.client-vehicles-page .veh-nudge-text {
    margin: 0 0 28px;
    font-size: 17.5px;
    line-height: 1.6;
    color: #b6c0ca;
    max-width: 52ch;
}

.client-vehicles-page .veh-nudge-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 24px;
}

.client-vehicles-page .veh-nudge-alt {
    font-size: 15.5px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: var(--veh-red);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

/*  The other places a shop loses time: a short list of ways on, not a second set of cards */
.client-vehicles-page .veh-others-title {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b6c0ca;
}

.client-vehicles-page .veh-others ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.client-vehicles-page .veh-others li {
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.client-vehicles-page .veh-others a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    font-size: 16.5px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
}

.client-vehicles-page .veh-others a > i:first-child {
    width: 22px;
    text-align: center;
    color: #ff6b78;
}

.client-vehicles-page .veh-others a span {
    flex: 1 1 auto;
}

.client-vehicles-page .veh-others-go {
    font-size: 13px;
    transition: transform 0.18s ease;
}

.client-vehicles-page .veh-others a:hover .veh-others-go,
.client-vehicles-page .veh-others a:focus .veh-others-go {
    transform: translateX(4px);
}

/*-------------------------------------------------------------------------------------------------
    Responsive
-------------------------------------------------------------------------------------------------*/

@media (max-width: 991px) {

    .client-vehicles-page .veh-hero-inner,
    .client-vehicles-page .veh-cost-inner,
    .client-vehicles-page .veh-rules-inner,
    .client-vehicles-page .veh-nudge-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .client-vehicles-page .veh-hero-title {
        max-width: 18ch;
    }

    .client-vehicles-page .rec-card {
        margin-left: 0;
    }

    .client-vehicles-page .veh-rules-head {
        position: static;
    }

    .client-vehicles-page .veh-rules-inner {
        gap: 28px;
    }

    .client-vehicles-page .type-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    /*  The time moves above the stop, and the line moves to the left edge */
    .client-vehicles-page .stop {
        grid-template-columns: 28px minmax(0, 1fr);
    }

    .client-vehicles-page .stop::before {
        grid-column: 1;
        justify-self: start;
        margin-top: 6px;
    }

    .client-vehicles-page .stop::after {
        left: 6px;
        top: 24px;
    }

    .client-vehicles-page .stop-label {
        grid-column: 2;
        grid-row: 1;
        margin-bottom: 12px;
    }

    .client-vehicles-page .stop-body {
        grid-column: 2;
        grid-row: 2;
    }
}

@media (max-width: 767px) {

    .client-vehicles-page .veh-hero-actions .btn {
        width: 100%;
    }

    .client-vehicles-page .rec-card {
        padding: 0 16px 16px;
    }

    .client-vehicles-page .rec-vehicle-name {
        font-size: 30px;
    }

    .client-vehicles-page .rec-history-row {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .client-vehicles-page .rec-history-km {
        grid-column: 2;
    }

    .client-vehicles-page .type-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .client-vehicles-page .ask-item {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 12px;
        padding: 16px;
    }

    .client-vehicles-page .ask-num {
        font-size: 36px;
    }

    .client-vehicles-page .veh-nudge-actions .btn {
        width: 100%;
    }
}
