/* =========================================================
   VANMARC — PAGE-SPECIFIC CSS
   Load after styles.css.

   Keep this file small. A rule belongs here only when it is
   genuinely unique to a page/component and cannot reasonably
   use the global design-system classes in styles.css.
========================================================= */

/* =========================================================
   1. HOME — FULL-SCREEN ART HERO
========================================================= */
.home-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    min-height: 520px;
    overflow: hidden;
    background: var(--bg-color);
}

.home-hero::before,
.home-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    z-index: 0;
}

.home-hero::before {
    top: 0;
    height: 26vh;
    background: var(--hero-top-svg) top center / cover no-repeat;
}

.home-hero::after {
    bottom: 0;
    height: 26vh;
    background: var(--hero-bottom-svg) bottom center / cover no-repeat;
}

.home-hero__inner {
    position: relative;
    z-index: 1;
    height: 100%;
    display: grid;
    place-items: center;
    padding: clamp(36px, 6vh, 84px) 16px;
}

.home-hero__content {
    width: min(980px, 100%);
    display: grid;
    justify-items: center;
    gap: 14px;
    text-align: center;
}

.home-hero__kicker {
    color: var(--accent-color);
    font-size: clamp(0.95rem, 1.35vw, 1.15rem);
    font-weight: 750;
    line-height: 1.12;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-hero__title {
    margin: 0;
    color: var(--text-color);
    font-size: clamp(2.05rem, 4.2vw, 3.6rem);
    font-weight: 860;
    line-height: 1.06;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.home-hero__lead {
    max-width: 56ch;
    margin: 0;
    color: var(--muted-text);
    font-size: clamp(1.05rem, 1.55vw, 1.25rem);
    font-weight: 650;
    line-height: 1.55;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 2px;
}

.home-hero__actions .btn--primary {
    background: var(--hero-btn-bg);
    color: var(--hero-btn-text);
}

.home-hero__callout {
    width: min(560px, 100%);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    padding: 14px 16px;
    border: 1px solid var(--hero-pill-border);
    border-radius: 18px;
    background: var(--hero-pill-bg);
    backdrop-filter: blur(10px);
    box-shadow: var(--hero-pill-shadow);
}

.home-hero__callout-label {
    color: var(--muted-text);
    font-size: 0.92rem;
    font-weight: 750;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.home-hero__callout-link {
    color: var(--accent-color);
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    font-weight: 850;
    text-decoration: none;
}

.home-hero__callout-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 768px) {
    .home-hero::before,
    .home-hero::after {
        height: 22vh;
    }

    .home-hero__content {
        gap: 12px;
    }

    .home-hero__title {
        font-size: clamp(2.1rem, 8.8vw, 3.1rem);
    }

    .home-hero__lead {
        font-size: 1.05rem;
    }

    .home-hero__callout {
        width: min(460px, 100%);
        padding: 12px 14px;
        border-radius: 16px;
    }
}

/* =========================================================
   2. HOME — TRUST BAR
========================================================= */
.trustbar {
    padding-block: var(--space-section);
    background: var(--trustbar-bg);
}

.trustbar-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    list-style: none;
}

.trustbar-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: color-mix(in srgb, var(--bg-color) 88%, var(--surface) 12%);
    color: var(--text-color);
    font-size: 0.97rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
}

.trustbar-item i {
    flex: 0 0 auto;
    color: var(--muted-text);
    font-size: 0.95rem;
    opacity: 0.9;
}

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

@media (min-width: 900px) {
    .trustbar-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* =========================================================
   3. HOME — SERVICE LINK CARD
   Base surface/hover should still come from .card and
   .card--interactive in the HTML.
========================================================= */
.home-service-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 10px;
    min-height: 230px;
    color: var(--text-color);
    text-decoration: none;
}

.home-service-card__title {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.home-service-card__text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    color: var(--muted-text);
    font-size: 0.96rem;
    line-height: 1.5;
}

.home-service-card__cue {
    align-self: end;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    color: var(--accent-color);
    font-size: 0.92rem;
    font-weight: 800;
}

.home-service-card__cue i {
    font-size: 0.85rem;
    transition: transform 150ms ease;
}

.home-service-card:hover .home-service-card__cue i {
    transform: translateX(2px);
}

@media (max-width: 768px) {
    .home-service-card {
        min-height: 0;
    }

    .home-service-card__text {
        display: block;
        overflow: visible;
        -webkit-line-clamp: unset;
        line-clamp: unset;
    }
}

/* =========================================================
   4. HOME — REVIEWS
   This remains page-specific because it is a dedicated
   horizontal review scroller with drag behavior.
========================================================= */
.reviews-section {
    display: grid;
    gap: 18px;
    width: min(100% - 32px, 1100px);
    margin-inline: auto;
}

.reviews-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
}

.reviews-badge-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    text-align: left;
}

.reviews-badge-name {
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.reviews-badge-rating,
.reviews-badge-powered,
.reviews-badge-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.stars,
.review-stars {
    color: var(--accent-color);
    letter-spacing: 0.12em;
    white-space: nowrap;
}

.reviews-badge-meta,
.reviews-badge-powered {
    color: var(--muted-text);
    font-weight: 600;
}

.reviews-badge-actions {
    justify-content: flex-end;
}

.reviews-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(285px, 360px);
    gap: 16px;
    overflow-x: auto;
    padding: 6px 2px 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, var(--accent-color) 42%, var(--border)) transparent;
    cursor: grab;
}

.reviews-track.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

.reviews-track.is-dragging,
.reviews-track.is-dragging * {
    user-select: none;
}

.review-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 16px 16px 14px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    text-align: left;
    scroll-snap-align: start;
    transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.review-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--text-color) 18%, var(--border));
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.10);
}

.review-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.review-name {
    font-weight: 800;
}

.review-text {
    margin-bottom: 12px;
    color: var(--muted-text);
    line-height: 1.65;
}

.review-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    color: var(--muted-text);
    font-size: 0.95rem;
    font-weight: 600;
}

.review-source {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.review-more {
    margin-bottom: 12px;
}

.review-more summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.review-more summary::-webkit-details-marker {
    display: none;
}

.review-more summary::after {
    content: "+";
}

.review-more[open] summary::after {
    content: "–";
}

.review-more__content {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.review-more__content p {
    margin-bottom: 10px;
    color: var(--muted-text);
    line-height: 1.65;
}

.review-more__content p:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .reviews-track {
        grid-auto-columns: minmax(320px, 380px);
    }
}

@media (max-width: 768px) {
    .reviews-badge {
        flex-direction: column;
        align-items: stretch;
    }

    .reviews-badge-actions {
        justify-content: stretch;
    }

    .reviews-badge-actions .btn {
        width: 100%;
    }
}

/* =========================================================
   5. FLEET
   Use: <article class="card card--interactive fleet-card">.
   Global .card owns surface/padding/border/hover.
========================================================= */
.fleet-card {
    display: grid;
    gap: 12px;
}

.fleet-card__head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.fleet-card__headtext {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.fleet-card__title {
    margin: 0;
    font-size: clamp(1.15rem, 1.4vw, 1.35rem);
    letter-spacing: -0.01em;
}

.fleet-card__tag,
.fleet-card__desc {
    margin: 0;
    color: var(--muted-text);
    line-height: 1.6;
}

.fleet-card__desc {
    max-width: 92ch;
}

.fleet-card__actions {
    margin-top: 2px;
}

@media (max-width: 520px) {
    .fleet-card__actions .btn {
        width: 100%;
    }
}

/* =========================================================
   6. CONTACT / BOOK — SMALL EXCEPTIONS
   Main blocks, forms and info rows use global components.
========================================================= */
.contact-social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding-top: 6px;
}

.contact-social-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
}

.booking-contact-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
    color: var(--muted-text);
    text-align: center;
}

.booking-contact-line a {
    color: var(--text-color);
    font-weight: 800;
    text-decoration: none;
}

.booking-contact-line a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

#quote {
    scroll-margin-top: 88px;
}

/* =========================================================
   7. LEGAL PAGES
   Legal document structure is intentionally page-specific.
========================================================= */
.legal-main {
    padding: 22px 0 44px;
}

.legal-header {
    display: grid;
    gap: 10px;
    padding: 18px 0 6px;
}

.legal-header h1 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.legal-meta {
    color: var(--muted-text);
    font-size: 0.95rem;
}

.legal-nav {
    margin: 14px 0 18px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--surface) 92%, transparent);
}

.legal-nav ul {
    display: grid;
    gap: 6px;
    padding-left: 18px;
}

.legal-section {
    margin: 18px 0;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: color-mix(in srgb, var(--surface) 94%, transparent);
}

.legal-section h2 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.legal-section h3 {
    margin: 14px 0 8px;
}

.legal-section ul {
    margin-top: 10px;
    padding-left: 1.15rem;
    list-style-position: outside;
}

.legal-section li {
    margin: 6px 0;
    padding-left: 0.15rem;
}

.legal-section ul ul {
    margin-top: 6px;
}

.legal-section li::marker {
    opacity: 0.75;
}

.legal-note {
    margin-top: 12px;
    padding: 12px;
    border-left: 3px solid var(--accent-color);
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--bg-color) 70%, transparent);
}

.legal-footer {
    margin-top: 22px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    opacity: 0.9;
}
