/* Selected public website changes, 6 September 2026. */

body.home.public-site .site-header {
    position: relative;
    background: #081725;
}

body.home.public-site .home-hero {
    padding-top: 90px;
    min-height: 565px;
    background-image:
        linear-gradient(
            90deg,
            rgba(3, 12, 20, .95) 0%,
            rgba(5, 19, 31, .86) 65%,
            rgba(5, 18, 28, .3) 100%
        ),
        url('../images/hero-consultant-truck.webp');
}

body.home.public-site .home-hero .hero-copy {
    max-width: 1180px;
}

body.home.public-site .home-hero h1,
body.home.public-site .home-hero .lede {
    max-width: 720px;
}

/*
 * On smaller screens, show the full navigation by default for public-site
 * pages. When JavaScript adds public-enhanced to the html element, switch
 * to the collapsible mobile menu.
 */
@media (max-width: 1000px) {
    body.public-site .header-inner nav {
        display: flex;
    }

    body.public-site .menu-toggle {
        display: none;
    }

    html.public-enhanced body.public-site .menu-toggle {
        display: block;
    }

    html.public-enhanced body.public-site .header-inner nav {
        display: none;
    }

    html.public-enhanced body.public-site .header-inner nav.open {
        display: flex;
    }
}

@media (max-width: 600px) {
    body.home.public-site .home-hero {
        padding-top: 60px;
        min-height: 600px;
    }
}

/* Clearer enquiry journeys and service navigation. */

.credibility-strip {
    background: #eff3f5;
    color: #102432;
    border-bottom: 1px solid #d7e0e5;
}

.credibility-strip ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 24px;
    margin-block: 0;
    padding-block: 20px;
    list-style: none;
    font-weight: 750;
}

.credibility-strip li::before {
    content: "✓ ";
    color: #285b41;
}

.page-guide {
    padding-top: 28px;
}

.page-guide details {
    padding: 14px 18px;
    background: #f4f7f9;
    border: 1px solid #ccd6dd;
    border-radius: 6px;
}

.page-guide summary {
    cursor: pointer;
    font-weight: 750;
}

.page-guide ul {
    columns: 2;
    padding-left: 22px;
}

.page-guide li {
    margin: 8px 0;
    break-inside: avoid;
}

.page-guide a,
.form-privacy a {
    color: #174b70;
    text-decoration: underline;
}

.form-privacy {
    font-size: .9rem;
    line-height: 1.6;
}

h2[id^="section-"] {
    scroll-margin-top: 24px;
}

@media (max-width: 600px) {
    .page-guide ul {
        columns: 1;
    }

    .credibility-strip ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        font-size: .85rem;
    }
}

/* Colour contrast fixes for service pages: match the site's standard orange. */

/* Eyebrow labels and panel numbers on light grey: ~4.3:1 -> 5.9:1 */
.service-intro .eyebrow,
.blog-intro .eyebrow,
.blog-article-header .eyebrow,
.information-panel > span {
    color: #a63d06;
}

/* White text on the enquiry button: 3.03:1 -> 4.64:1.
   Only for orange buttons; the light button keeps its navy text on the brighter orange. */
.service-enquiry .button.orange {
    background: var(--orange);
}

/* Numbers on service cards (plain <span>01</span>): ~4.2:1 -> 5.8:1 */
.service-card > span:not([class]) {
    color: #a63d06;
}

/* Links inside text must be distinguishable without relying on colour. */
.source-box a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Compliance blog hero: new image (same overlay as site.css) */
.service-hero--blog {
    background-image:
        linear-gradient(
            90deg,
            rgba(5, 25, 48, .94) 0%,
            rgba(5, 25, 48, .78) 38%,
            rgba(5, 25, 48, .22) 64%,
            rgba(5, 25, 48, .08) 100%
        ),
        url('/assets/images/compliance-blog-hero-v2.webp');
    background-position: center center;
    background-size: cover;
}

@media (max-width: 760px) {
    .service-hero--blog {
        background-position: 72% center;
    }
}
