/* =========================================================
   SERVICE PAGE STYLESHEET
   Extends the homepage design system (assets/css/homepage.css) —
   reuses --pm-* tokens, .pmag-* shared components (sec-head, hero,
   why-list, faq, cta, buttons). Only service-page-only patterns
   (prose blocks, "included" grid, numbered steps) live here.
   ========================================================= */

.svc-section {
    padding: 5rem 0;
}

.svc-bg-white {
    background: #fff;
}

.svc-bg-soft {
    background: var(--pm-soft);
    border-top: 1px solid var(--pm-line);
    border-bottom: 1px solid var(--pm-line);
}

/* ---- secondary prose paragraphs under a sec-head ---- */
.svc-prose {
    max-width: 52rem;
    margin: 0 auto;
    text-align: center;
}

.svc-prose p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--pm-body);
    margin: 0;
}

.svc-prose p+p {
    margin-top: 1.35rem;
}

.svc-note {
    max-width: 52rem;
    margin: 2.5rem auto 0;
    text-align: center;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--pm-muted);
    font-style: italic;
}

/* ---- "Everything Included" grid ---- */
.svc-included-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.35rem;
}

@media (max-width: 991.98px) {
    .svc-included-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .svc-included-grid {
        grid-template-columns: 1fr;
    }
}

.svc-included-grid-narrow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 575.98px) {
    .svc-included-grid-narrow {
        grid-template-columns: 1fr;
    }
}

.svc-included-item {
    padding: 1.75rem 1.5rem;
    background: #fff;
    border: 1px solid var(--pm-line);
    border-radius: var(--pm-r-lg);
    box-shadow: var(--pm-sh-sm);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.svc-included-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--pm-sh-lg);
    border-color: rgba(var(--pm-gold-rgb), 0.35);
}

.svc-included-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    border-radius: 12px;
    background: linear-gradient(145deg, var(--pm-navy-700), var(--pm-navy-800));
    box-shadow: 0 8px 18px rgba(11, 27, 44, 0.18);
}

.svc-included-icon i {
    font-size: 1.05rem;
    color: var(--pm-amber) !important;
}

.svc-included-item p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--pm-body);
}

.svc-included-item p strong {
    color: var(--pm-ink);
}

/* ---- "Why Drivers Choose" wrap (reuses .pmag-why-list/-item/-icon/-body) ---- */
.svc-why-wrap {
    max-width: 56rem;
    margin: 0 auto;
}

.svc-why-wrap .pmag-why-item {
    background: #fff;
}

/* ---- numbered process steps ---- */
.svc-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (max-width: 991.98px) {
    .svc-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .svc-steps {
        grid-template-columns: 1fr;
    }
}

.svc-step {
    padding: 1.75rem 1.35rem;
    text-align: center;
    background: #fff;
    border: 1px solid var(--pm-line);
    border-radius: var(--pm-r-lg);
    box-shadow: var(--pm-sh-sm);
}

.svc-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(155deg, var(--pm-navy-600) 0%, var(--pm-navy-900) 100%);
    color: var(--pm-gold);
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 0 0 5px rgba(var(--pm-gold-rgb), 0.14);
}

.svc-step p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--pm-body);
    text-align: left;
}

.svc-step p strong {
    color: var(--pm-ink);
}

/* ---- data table (e.g. glass type / replacement value) ---- */
.svc-table-wrap {
    max-width: 56rem;
    margin: 0 auto;
    overflow-x: auto;
    border-radius: var(--pm-r-lg);
    border: 1px solid var(--pm-line);
    box-shadow: var(--pm-sh-sm);
}

.svc-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.svc-table th,
.svc-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 0.98rem;
    line-height: 1.6;
}

.svc-table th {
    background: var(--pm-navy-800);
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
}

.svc-table td:first-child {
    font-weight: 600;
    color: var(--pm-ink);
    white-space: nowrap;
}

.svc-table td {
    color: var(--pm-body);
    border-top: 1px solid var(--pm-line);
}

.svc-table tr:nth-child(even) td {
    background: var(--pm-soft);
}

/* ---- centered 2-col variant of the homepage's .pmag-checklist ---- */
.svc-checklist-center {
    max-width: 46rem;
    margin: 0 auto 2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 2rem;
}

@media (max-width: 575.98px) {
    .svc-checklist-center {
        grid-template-columns: 1fr;
    }
}

/* ---- bold label above the hero's .pmag-checks list (dark bg) ---- */
.pmag-hero-list-label {
    color: #fff;
    font-family: "Jost", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    margin: 0 0 0.85rem;
}

/* ---- short CTA sentence between the hero checklist and the buttons ---- */
.pmag-hero-cta-line {
    color: var(--pm-on-dark);
    font-size: 0.98rem;
    line-height: 1.7;
    max-width: 46rem;
    margin: 1.5rem 0 0;
}

/* ---- 4-column variant of .svc-steps ---- */
.svc-steps-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 991.98px) {
    .svc-steps-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .svc-steps-4 {
        grid-template-columns: 1fr;
    }
}

/* ---- 2-column comparison grid (e.g. owner-operator vs fleet lists) ---- */
.svc-compare-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (max-width: 767.98px) {
    .svc-compare-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- left-aligned "copy card" for standalone body paragraphs
   (gives plain prose sections the same card weight as the
   included/why/steps grids instead of sitting as bare centered text) ---- */
.svc-copy-card {
    position: relative;
    max-width: 54rem;
    margin: 0 auto;
    padding: 2.25rem 2.5rem;
    background: #fff;
    border: 1px solid var(--pm-line);
    border-radius: var(--pm-r-lg);
    box-shadow: var(--pm-sh-sm);
    overflow: hidden;
    text-align: left;
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.svc-copy-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--pm-accent-line-v);
}

.svc-copy-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--pm-sh-lg);
    border-color: rgba(var(--pm-gold-rgb), 0.3);
}

.svc-copy-card p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--pm-body);
    margin: 0;
}

.svc-copy-card p+p {
    margin-top: 1.25rem;
}

@media (max-width: 575.98px) {
    .svc-copy-card {
        padding: 1.75rem 1.5rem 1.75rem 1.9rem;
    }
}