/*
 * pz-engine-repair.css — page-specific additions for /boat-engine-repair
 *   -> views/themes/Material/engine_repair.hbs
 *
 * Loaded AFTER pz-landing.css (shared, left untouched). It only adds what the
 * Boat Engine Repair design needs beyond the shared landing-page kit, and
 * every rule is scoped under `.pze-page` (always paired with `.pzl-page`), so
 * nothing here can reach any other page.
 */

/* ---------- hero: title/copy widths from the design ---------- */
.pzl-page.pze-page .pzl-hero__content { max-width: 820px; }

.pzl-page.pze-page .pzl-hero__title {
    max-width: 780px;
    font-size: clamp(42px, 5vw, 84px);
}

.pzl-page.pze-page .pzl-hero__copy { max-width: 760px; }

/* ---------- stats: labels are solid white; values never wrap on desktop ---------- */
.pzl-page.pze-page .pzl-stat__label { opacity: 1; }
.pzl-page.pze-page .pzl-stat__num { white-space: nowrap; }

/* ---------- callout: three paragraphs, the quote is italic ---------- */
.pzl-page.pze-page .pzl-callout__quote { font-style: italic; }

/* ---------- split columns + photos ---------- */
.pze-page .pze-col { flex: 1 1 560px; }

/* 560px-wide photo beside the copy; height is set inline per slot (design values) */
.pze-page .pze-photo {
    flex: 0 1 560px;
    width: 560px;
    max-width: 100%;
    display: block;
}

/* the diagnostics photo shares the row 50/50 with its copy */
.pze-page .pze-photo--half {
    flex: 1 1 480px;
    width: auto;
}

/* split row + content block underneath it */
.pze-page .pze-block {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.pze-page .pze-block--tight { gap: 56px; }

/* ---------- checklists: fixed two columns, as in the design ---------- */
.pze-page .pzl-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.pze-page .pze-checks__full { grid-column: 1 / -1; }

/* white checklist text on navy */
.pze-page .pzl-section--navy .pzl-checks li {
    color: #fff;
    font-weight: 600;
}

.pze-page .pzl-section--navy .pzl-checks li::before { color: var(--pzl-gold); }

.pzl-page.pze-page .pze-body--white {
    font-weight: 600;
    color: #fff;
}

/* ---------- numbered repair-service tiles (5 x 2) ---------- */
.pze-page .pze-services {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.pzl-page.pze-page .pze-svc-grid {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.pze-page .pze-svc {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    border-radius: 12px;
    background: var(--pzl-tan);
}

.pze-page .pze-svc__num {
    font-family: var(--pzl-serif);
    font-size: 26px;
    line-height: 30px;
    font-weight: 700;
    color: var(--pzl-gold-deep);
}

.pzl-page.pze-page .pze-svc__title {
    font-size: 17px;
    line-height: 25px;
    font-weight: 700;
    color: var(--pzl-navy);
}

/* ---------- repower "factors" box on navy ---------- */
.pze-page .pze-factors {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px;
    border: 1px solid rgba(216, 167, 91, .4);
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
}

/* ---------- manufacturer panel + logo strip ---------- */
.pze-page .pze-brands {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: clamp(28px, 3vw, 48px);
    border-radius: 14px;
    background: #fff;
}

.pze-page .pze-brands .pzl-body { max-width: 1100px; }

.pzl-page.pze-page .pze-logos {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.pze-page .pze-logos li {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-right: 1px solid #E5E5E5;
}

.pze-page .pze-logos li:last-child { border-right: 0; }

/* Volvo Penta, Mercury and Seakeeper are square files with wide white margins:
   cropped to a 200x100 band as in the design. Yamaha (3rd) is already a wide strip. */
.pze-page .pze-logos img {
    width: 200px;
    max-width: 100%;
    height: 100px;
    object-fit: cover;
    mix-blend-mode: multiply;
}

.pze-page .pze-logos li:nth-child(3) img {
    width: 220px;
    height: auto;
    max-height: 100px;
    object-fit: contain;
}

/* ---------- inboard / outboard / sterndrive cards ---------- */
.pzl-page.pze-page .pze-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pze-page .pze-steps .pzl-step { padding: 32px; }

.pzl-page.pze-page .pze-step__title {
    font-family: var(--pzl-serif);
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
    color: var(--pzl-navy);
}

.pzl-page.pze-page .pze-step__text {
    font-size: 16px;
    line-height: 26px;
}

/* ---------- travel-lift minis inside the navy "why choose" column ---------- */
.pze-page .pze-minis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.pze-page .pze-minis .pzl-mini__num { font-size: 26px; line-height: 32px; }
.pze-page .pze-minis .pzl-mini__label { font-size: 12px; line-height: 18px; }

/* gold inline links on navy */
.pzl-page.pze-page .pze-gold-link,
.pzl-page.pze-page .pze-cta__tel {
    color: var(--pzl-gold);
    font-weight: 600;
}

.pzl-page.pze-page .pze-gold-link:hover,
.pzl-page.pze-page .pze-cta__tel:hover { color: var(--pzl-gold-hover); }

/* ---------- form: service-type radio pills ---------- */
.pzl-page.pze-page .pzl-fieldset .pzl-legend { margin-bottom: 14px; }

.pze-page .pze-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pzl-page.pze-page .pze-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    margin: 0;
    padding: 0 20px;
    border: 1px solid var(--pzl-input-line);
    border-radius: 6px;
    background: #fff;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: var(--pzl-text);
    cursor: pointer;
}

.pzl-page.pze-page .pze-pill:hover { border-color: var(--pzl-gold-deep); }

.pzl-page.pze-page .pze-pill input {
    flex: none;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--pzl-navy);
    cursor: pointer;
}

.pzl-page.pze-page .pze-pill:has(input:checked) {
    border-color: var(--pzl-navy);
    background: #FAF8F3;
}

.pzl-page.pze-page .pze-pill:has(input:focus-visible) {
    outline: 2px solid var(--pzl-gold-deep);
    outline-offset: 2px;
}

/* ---------- FAQ checklist: slightly lighter than the section lists ---------- */
.pze-page .pze-faq-checks { gap: 8px 24px; }
.pze-page .pze-faq-checks li { font-weight: 600; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1199px) {
    .pzl-page.pze-page .pze-svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
    .pze-page .pze-photo,
    .pze-page .pze-photo--half { flex-basis: 100%; width: 100%; }

    .pze-page .pze-block { gap: 48px; }

    .pzl-page.pze-page .pze-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pzl-page.pze-page .pze-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pze-page .pze-logos li:nth-child(2n) { border-right: 0; }
    .pzl-page.pze-page .pze-steps { grid-template-columns: minmax(0, 1fr); }
    .pze-page .pze-minis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .pzl-page.pze-page .pzl-stat__num { font-size: 26px; line-height: 32px; white-space: normal; }

    .pze-page .pzl-checks { grid-template-columns: minmax(0, 1fr); }

    .pzl-page.pze-page .pze-svc-grid { grid-template-columns: minmax(0, 1fr); }
    .pze-page .pze-svc { flex-direction: row; align-items: baseline; gap: 16px; padding: 18px 20px; }

    .pze-page .pze-factors { padding: 22px; }

    .pze-page .pze-logos li { height: 80px; justify-content: center; }
    .pze-page .pze-logos img { max-height: 80px; }

    .pze-page .pze-steps .pzl-step { padding: 24px; }

    .pze-page .pze-pills { flex-direction: column; }
}
