/* ==========================================================================
   custom-recommendations.css
   Overrides driven by change-direction/Recomendation.pdf (SEO / UI QA review).
   Loaded LAST in the orange theme master layout so it wins specificity.
   Keep this file small and focused — do not edit the 315 KB style.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   M8 — body-text spacing: justify produces ragged inter-word gaps site-wide.
   Switch body copy to left alignment.
   Counters: style.css:36  p { text-align: justify; }
             style.css:3841 / :15601  .text / product text justify rules.
   -------------------------------------------------------------------------- */
p,
.text-justify,
.s-info-30-exc .service-block .inner-box .text,
.s-info-60-exc .service-block .inner-box .text,
.service-block-four .product-inner-box .text {
    text-align: left;
}

/* --------------------------------------------------------------------------
   D10 — home service-card headings moved h6 -> h3 for SEO.
   Restore the previous h6 visual size so the layout is unchanged.
   -------------------------------------------------------------------------- */
.services-section .service-block .inner-box .service-card-title {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
    margin: 0 0 10px;
}
.services-section .service-block .inner-box .service-card-title a {
    color: inherit;
}

/* ==========================================================================
   ZAB Pro product page — mobile fixes (Recomendation.pdf "In Mobile")
   ========================================================================== */
@media (max-width: 767px) {

    /* M1 — hero buttons: center + space between buttons and image */
    .zab-hero .zab-hero-btns {
        text-align: center;
        margin-bottom: 30px;
    }
    .zab-hero .zab-hero-btns a {
        display: block;
        width: 100%;
        max-width: 280px;
        margin: 0 auto 14px !important;
        text-align: center;
    }

    /* M3 — "Industries We Serve" grid: stop the 11.11% overflow, wrap to 3/row */
    .zab-industry-col {
        flex: 0 0 33.33% !important;
        max-width: 33.33% !important;
    }

    /* M5 — Implementation Process: stack steps vertically, not horizontally */
    .zab-steps-row {
        display: block;
    }
    .zab-steps-row .zab-step-col {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100%;
        margin-bottom: 18px;
    }

    /* M6 — final CTA buttons: center + space between buttons */
    .zab-cta-btns {
        text-align: center !important;
        margin-top: 24px;
    }
    .zab-cta-btns a {
        display: block;
        width: 100%;
        max-width: 280px;
        margin: 0 auto 14px !important;
    }

    /* M7 — space above the "Business Impact" heading when columns stack */
    .zab-impact-col {
        margin-top: 36px;
    }

    /* D3 — Features section: center icon/title above the description on mobile */
    .zab-feature-row {
        text-align: center;
    }
}

@media (max-width: 480px) {
    /* M3 — on very small phones drop Industries to 2 per row */
    .zab-industry-col {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}
