﻿/* =========================================
   PARTS & SERVICE PAGE
   ========================================= */

.ps-hero {
    background: linear-gradient(180deg,#f8fafc 0%,#eef3f8 100%);
    padding: 68px 0 56px;
    border-bottom: 1px solid #dbe3ea;
}

.ps-hero__grid {
    display: grid;
    grid-template-columns: minmax(0,1.35fr) minmax(360px,440px);
    gap: 36px;
    align-items: start;
}

.ps-hero__main {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.ps-eyebrow,
.ps-section-kicker {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #506A85;
}

.ps-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(2.25rem,4vw,3.5rem);
    line-height: 1.08;
    font-weight: 800;
    color: #111827;
}

.ps-hero__text {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #4b5563;
}

.ps-hero__actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.ps-hero__highlights {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 14px;
}

.ps-highlight {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: 0 8px 24px rgba(15,23,42,.04);
}

    .ps-highlight strong {
        display: block;
        margin-bottom: 6px;
    }

    .ps-highlight span {
        font-size: .93rem;
        color: #4b5563;
    }

.ps-hero__panel {
    align-self: start;
}

/* =========================================
   CONTACT CARD
   ========================================= */

.ps-info-card {
    position: relative;
    padding: 28px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    box-shadow: 0 14px 40px rgba(15,23,42,.08);
}

    .ps-info-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: #506A85;
        border-radius: 20px 20px 0 0;
    }

    .ps-info-card h2 {
        margin-bottom: 12px;
    }

.ps-location-contacts {
    display: grid;
    gap: 16px;
    margin: 18px 0;
}

.ps-location-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px 18px;
    background: #fff;
    text-align: center;
}

.ps-location-title {
    font-size: 16px;
    font-weight: 700;
    color: #506A85;
}

.ps-location-person {
    font-weight: 600;
    margin: 4px 0;
}

.ps-location-phone {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    display: block;
}

.ps-location-email {
    font-size: 14px;
    color: #0057b8;
}

.ps-cta-actions {
    margin-top: 18px;
}

.ps-open-modal-btn {
    width: 100%;
}

/* =========================================
   PAGE SECTIONS
   ========================================= */

.ps-section {
    padding: 70px 0;
}

.ps-section--alt {
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.ps-section-heading {
    max-width: 760px;
    margin-bottom: 32px;
}

.ps-grid {
    display: grid;
    gap: 24px;
}

.ps-grid--3 {
    grid-template-columns: repeat(3,minmax(0,1fr));
}

.ps-card {
    padding: 28px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(15,23,42,.05);
}

/* =========================================
   PARTS ORDERING STEPS  (FIXED)
   ========================================= */

.ps-steps {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 18px;
    margin-top: 20px;
}

.ps-step {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
}

.ps-step__num {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #506A85;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.ps-step strong {
    display: block;
    margin-bottom: 6px;
}

.ps-step p {
    margin: 0;
    color: #4b5563;
}

/* =========================================
   MAINTENANCE GRID
   ========================================= */

.ps-maintenance-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 18px;
    margin-top: 20px;
}

.ps-maintenance-item {
    padding: 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
}

/* =========================================
   MODAL
   ========================================= */

.ps-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.55);
    opacity: 0;
    visibility: hidden;
    transition: .2s;
    z-index: 999;
}

.ps-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: .2s;
    z-index: 1000;
}

    .ps-modal.is-open,
    .ps-modal-backdrop.is-open {
        opacity: 1;
        visibility: visible;
    }

.ps-modal__dialog {
    width: 100%;
    max-width: 640px;
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 24px 60px rgba(15,23,42,.2);
}

.ps-modal__close {
    position: absolute;
    top: 14px;
    right: 16px;
    border: 0;
    background: transparent;
    font-size: 30px;
    cursor: pointer;
}

body.ps-modal-open {
    overflow: hidden;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width:1100px) {

    .ps-hero__grid,
    .ps-grid--3 {
        grid-template-columns: 1fr;
    }

    .ps-hero__highlights {
        grid-template-columns: 1fr;
    }

    .ps-steps {
        grid-template-columns: 1fr;
    }

    .ps-maintenance-grid {
        grid-template-columns: 1fr;
    }
}

.ps-brand-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ps-brand-chip {
    padding: 10px 16px;
    border: 1px solid #dbe3ea;
    border-radius: 999px;
    background: #fff;
    font-weight: 600;
    color: #374151;
}

.ps-faq {
    display: grid;
    gap: 18px;
}

.ps-faq-item {
    padding: 22px 24px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

    .ps-faq-item h3 {
        margin: 0 0 10px;
        color: #111827;
        font-size: 1.1rem;
    }

    .ps-faq-item p {
        margin: 0;
        color: #4b5563;
        line-height: 1.7;
    }
