/*===================================================
    AMC Services page (Spare Parts & Service)
    (shared inner-hero styles live in common.css)
===================================================*/

/*===inner hero - long third crumb wraps, button on the right===*/
.footerTopText {
    padding-top: 40px;
}
.innerHeroSec{
    .breadcrumbList{
        flex-wrap: wrap;
        white-space: normal;
        max-width: 190px;
    }
    .innerHeroRow{
        align-items: flex-start;
    }
    .innerHeroCont{
        flex: 1;
        .innerHeroSub{
            max-width:100%;
        }
    }
    .heroBtnWrap{
        flex-shrink: 0;
        .btnOne.blueBtn{
            padding: 13px 30px;
            font-size: 15px;
        }
    }
}
.tagHolder{
    max-width: 100%;
}
@media (max-width: 991px){
    .innerHeroSec{
        .heroBtnWrap{
            margin-top: 10px;
        }
    }
}

/*===intro panel - copy left, stat cards right===*/
.svcIntroSec{
    .introPanel{
        background-color: #e8eef8;
    }
    .introCont{
        .tagHolder{
            max-width: 100%;
        }
        p{
            margin: 0 0 20px;
            color: #1d2a36;
            font-size: 15px;
            line-height: 1.7;
            letter-spacing: 0.2px;
            &:first-of-type{
                margin-top: 26px;
            }
        }
        .btnWrap{
            margin-top: 30px;
            .btnOne.blueBtn{
                padding: 13px 28px;
                font-size: 14px;
            }
        }
    }
    .introStatGrid{
        padding-left: 30px;
        .row{
            row-gap: 24px;
        }
        .introStatCard{
            display: flex;
            /*===two-up in a half column, so wrap the label under the
                 number rather than let a wide figure spill the card===*/
            flex-wrap: wrap;
            align-items: center;
            gap: 16px;
            height: 100%;
            padding: 30px 24px;
            background-color: #fff;
            border-radius: 16px;
            box-shadow: 0 12px 26px rgb(11 51 85 / 6%);
            transition: transform .4s ease, box-shadow .4s ease;
            &:hover{
                transform: translateY(-5px);
                box-shadow: 0 18px 36px rgb(11 51 85 / 12%);
            }
            .statNum{
                flex-shrink: 0;
                font-size: 44px;
                font-weight: 800;
                line-height: 1;
                color: var(--blue);
            }
            .statLabel{
                font-size: 15px;
                line-height: 1.4;
                color: #1d2a36;
            }
        }
    }
}
@media (max-width: 991px){
    .svcIntroSec{
        .introStatGrid{
            padding-left: 0;
            margin-top: 40px;
        }
    }
}
@media (max-width: 767px){
    .svcIntroSec{
        .introStatGrid{
            .introStatCard{
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
                padding: 22px 18px;
                .statNum{
                    font-size: 34px;
                }
                .statLabel{
                    font-size: 13px;
                }
            }
        }
    }
}

/*===parts catalogue - sidebar tabs + brand card grid===*/
.partsSec{
    .partsRow{
        display: flex;
        gap: 50px;
        align-items: flex-start;
    }
    .partsTabs{
        position: sticky;
        top: 110px;
        flex-shrink: 0;
        width: 285px;
        ul{
            margin: 0;
            li{
                border-left: 3px solid transparent;
                button{
                    display: block;
                    width: 100%;
                    padding: 12px 16px;
                    text-align: left;
                    font-family: inherit;
                    font-size: 18px;
                    line-height: 1.45;
                    letter-spacing: 0.2px;
                    color: #6f7d8a;
                    background-color: transparent;
                    border-radius: 0 10px 10px 0;
                    cursor: pointer;
                    transition: all .3s ease;
                    &:hover{
                        color: var(--blue);
                    }
                }
                &.is-active{
                    border-left-color: var(--blue);
                    button{
                        color: var(--blue);
                        font-weight: 600;
                    }
                }
            }
        }
    }
    .partsContent{
        flex: 1;
    }
    /*===category image (Product Category > Category image) under the overview===*/
    .partsOverviewImg{
        margin: 6px 0 36px;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 10px 26px rgb(11 51 85 / 10%);
        img{
            display: block;
            width: 100%;
            height: auto;
            max-height: 380px;
            object-fit: cover;
        }
    }
    .partsPane{
        .partsOverview{
            margin-bottom: 40px;
            .partsContH{
                font-size: 30px;
                font-weight: 700;
                margin-bottom: 16px;
            }
            p{
                margin: 0;
                color: #4b5a66;
                font-size: 14px;
                line-height: 1.7;
                letter-spacing: 0.2px;
            }
        }
        .partsGroup{
            margin-bottom: 50px;
            &:last-child{
                margin-bottom: 0;
            }
            .groupTitle{
                font-size: 22px;
                font-weight: 700;
                margin-bottom: 8px;
            }
            .groupDesc{
                margin: 0 0 24px;
                color: #4b5a66;
                font-size: 14px;
                letter-spacing: 0.2px;
            }
            .row{
                row-gap: 24px;
            }
        }
        /*===================================================
            The card used to sit on a grey fill with a white
            tile behind the logo. It is white on white now,
            so a hairline and a soft shadow give it its edge,
            and the hover does the rest of the work: it lifts,
            the border picks up the brand blue, the name turns
            blue with it and the logo eases up a touch.
        ===================================================*/
        .partsCard{
            display: flex;
            flex-direction: column;
            align-items: center;
            height: 100%;
            padding: 20px;
            text-align: center;
            background-color: #fff;
            border: 1px solid #e6edf4;
            border-radius: 16px;
            box-shadow: 0 2px 12px rgb(11 51 85 / 5%);
            transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
            .partsLogo{
                display: flex;
                align-items: center;
                justify-content: center;
                width: 100%;
                height: 96px;
                margin-bottom: 16px;
                padding: 16px 24px;
                /*===no tile needed now the card itself is white===*/
                background-color: transparent;
                border-radius: 12px;
                img{
                    max-width: 100%;
                    max-height: 100%;
                    object-fit: contain;
                    object-position: center center;
                    transition: transform .35s ease;
                }
            }
            .partsBrand{
                display: block;
                font-size: 16px;
                font-weight: 700;
                color: #1d2a36;
                margin-bottom: 4px;
                transition: color .3s ease;
            }
            .partsCount{
                display: block;
                font-size: 12px;
                letter-spacing: 0.2px;
                color: #6f7d8a;
                margin-bottom: 14px;
            }
            .exploreLink{
                display: inline-flex;
                align-items: center;
                gap: 8px;
                margin-top: auto;
                padding-top: 12px;
                width: 100%;
                justify-content: center;
                border-top: 1px solid #dfe6ee;
                font-size: 13px;
                font-weight: 600;
                color: #1d2a36;
                i,
                svg{
                    font-size: 11px;
                    width: 1em;
                    height: auto;
                    fill: currentColor;
                    transform: rotate(-45deg);
                    transition: transform .3s ease;
                }
                &:hover{
                    color: var(--blue);
                    i,
                    svg{
                        transform: rotate(0deg);
                    }
                }
            }
            &:hover{
                transform: translateY(-4px);
                border-color: var(--blue);
                box-shadow: 0 16px 34px rgb(11 51 85 / 12%);
                .partsLogo img{
                    transform: scale(1.06);
                }
                .partsBrand{
                    color: var(--blue);
                }
                /* the whole card is the link, so its label answers the card */
                .exploreLink{
                    color: var(--blue);
                    i,
                    svg{
                        transform: rotate(0deg);
                    }
                }
            }
        }
    }
}
@media (max-width: 1199px){
    .partsSec{
        .partsTabs{
            width: 210px;
        }
        .partsRow{
            gap: 30px;
        }
    }
}
/*===================================================
    Parts catalogue as an accordion below 992px.

    custom-service.js moves each pane under its own tab
    and adds .isAccordion to .partsRow; these rules turn
    the sidebar tabs into stacked headers and let the
    panes open in the flow beneath them.
===================================================*/
@media (max-width: 991px){
    .partsSec{
        .partsRow{
            flex-direction: column;
            gap: 0;
        }
        .partsTabs{
            position: static;
            width: 100%;
        }
        .partsRow.isAccordion{
            .partsTabs{
                ul{
                    display: block;
                    /*===direct children only: the panes now live inside these li===*/
                    > li{
                        border-left: 0;
                        margin-bottom: 14px;
                        background-color: #fff;
                        border: 1px solid #dfe6ee;
                        border-radius: 16px;
                        overflow: hidden;
                        transition: border-color .3s ease;
                        > button{
                            position: relative;
                            padding: 16px 52px 16px 20px;
                            font-size: 17px;
                            font-weight: 600;
                            color: #12314a;
                            background-color: transparent;
                            border-radius: 0;
                            /*===chevron drawn from borders so it does not wait on the icon font===*/
                            &::after{
                                content: '';
                                position: absolute;
                                right: 22px;
                                top: 50%;
                                width: 9px;
                                height: 9px;
                                border-right: 2px solid currentColor;
                                border-bottom: 2px solid currentColor;
                                transform: translateY(-70%) rotate(45deg);
                                transition: transform .35s ease;
                            }
                        }
                        &.is-active{
                            border-color: var(--blue);
                            > button{
                                color: var(--blue);
                                background-color: #e8eef8;
                                &::after{
                                    transform: translateY(-30%) rotate(-135deg);
                                }
                            }
                        }
                    }
                }
            }
            /*===panes open underneath their own header===*/
            .partsPane{
                display: none;
                padding: 24px 20px 26px;
                &.is-active{
                    display: block;
                }
                .partsOverview{
                    margin-bottom: 30px;
                }
                .partsGroup{
                    margin-bottom: 36px;
                }
            }
            /*===the desktop content column is empty once the panes move===*/
            .partsContent{
                display: none;
            }
        }
    }
}
@media (max-width: 767px){
    .partsSec{
        .partsPane{
            .partsOverview .partsContH{
                font-size: 24px;
            }
            .partsCard{
                padding: 14px;
                .partsLogo{
                    height: 74px;
                    padding: 12px 16px;
                }
                .partsBrand{
                    font-size: 14px;
                }
                .partsCount{
                    font-size: 11px;
                }
            }
        }
    }
    .tagHolder {
        text-align: center;
    }
    .innerHeroSub{
        text-align: center;
    }
}

/*===service capability - blue panel with icon cards===*/
.svcCapSec{
    .capPanel{
        background-color: #1667a6;
    }
    .headingWrap{
        .tagHolder{
            max-width: 100%;
        }
    }
    .capGrid{
        .row{
            row-gap: 26px;
        }
        .capCard{
            height: 100%;
            padding: 30px 28px;
            border: 1px solid rgb(255 255 255 / 35%);
            border-radius: 18px;
            transition: transform .45s cubic-bezier(.2,.8,.2,1), background-color .4s ease, border-color .4s ease, box-shadow .4s ease;
            /*===a larger icon tile that answers the hover: fills blue, tilts,
                 sends out a ring and the glyph gives a small bounce===*/
            .capIcon{
                position: relative;
                display: flex;
                align-items: center;
                justify-content: center;
                width: 76px;
                height: 76px;
                margin-bottom: 30px;
                background-color: rgb(255 255 255 / 12%);
                border: 1px solid rgb(255 255 255 / 45%);
                border-radius: 18px;
                transition: transform .45s cubic-bezier(.2,.8,.2,1), background-color .4s ease, border-color .4s ease, box-shadow .4s ease;
                &::after{
                    content: '';
                    position: absolute;
                    inset: -1px;
                    border-radius: inherit;
                    border: 2px solid var(--blue);
                    opacity: 0;
                    pointer-events: none;
                }
                i,
                svg{
                    font-size: 45px;
                    width: 1em;
                    height: auto;
                    color: #fff;
                    fill: currentColor;
                    transition: color .4s ease;
                }
            }
            .capTitle{
                display: block;
                font-size: 19px;
                font-weight: 700;
                color: #fff;
                margin-bottom: 12px;
                transition: color .4s ease;
            }
            p{
                margin: 0;
                font-size: 14px;
                line-height: 1.65;
                letter-spacing: 0.2px;
                color: rgb(255 255 255 / 85%);
                transition: color .4s ease;
            }
            &:hover{
                transform: translateY(-6px);
                background-color: #fff;
                border-color: #fff;
                box-shadow: 0 18px 40px rgb(6 32 56 / 30%);
                .capIcon{
                    transform: rotate(-6deg) scale(1.06);
                    background-color: var(--blue);
                    border-color: var(--blue);
                    box-shadow: 0 10px 22px rgb(22 103 166 / 35%);
                    &::after{
                        animation: capIconRing .9s ease-out;
                    }
                    i,
                    svg{
                        color: #fff;
                        animation: capIconBounce .6s ease;
                    }
                }
                .capTitle{
                    color: var(--blue);
                }
                p{
                    color: #1d2a36;
                }
            }
        }
    }
}
@keyframes capIconRing{
    0%{ opacity: .7; transform: scale(1); }
    100%{ opacity: 0; transform: scale(1.45); }
}
@keyframes capIconBounce{
    0%, 100%{ transform: translateY(0) rotate(0); }
    35%{ transform: translateY(-5px) rotate(6deg); }
    65%{ transform: translateY(1px) rotate(6deg); }
}
@media (max-width: 767px){
    .svcCapSec .capGrid .capCard .capIcon{
        width: 64px;
        height: 64px;
        margin-bottom: 24px;
        i,
        svg{
            font-size: 28px;
        }
    }
}
@media (prefers-reduced-motion: reduce){
    .svcCapSec .capGrid .capCard:hover .capIcon{
        transform: none;
        &::after,
        i,
        svg{
            animation: none;
        }
    }
}

/*===authorised refurbishment - light panel, crane art & checklist cards===*/
.refurbSec{
    .refurbPanel{
        background-color: #e8eef8;
        overflow: hidden;
    }
    .refurbHead{
        margin-bottom: 50px;
        .tagHolder{
            max-width: 100%;
            .SecH{
                max-width: calc(100% - 300px);
            }
        }
        .refurbLede{
            max-width: calc(100% - 300px);
            margin: 26px 0 0;
            color: #1d2a36;
            font-size: 15px;
            line-height: 1.7;
            letter-spacing: 0.2px;
        }
        .refurbImg{
            position: absolute;
            right: 0;
            top: -40px;
            width: 295px;
            mix-blend-mode: darken;
            img{
                width: 100%;
                height: auto;
            }
        }
    }
    .refurbGrid{
        .row{
            row-gap: 24px;
        }
        .refurbCard{
            height: 100%;
            padding: 26px 24px;
            background-color: #fff;
            border: 1px solid #e3eaf2;
            border-radius: 18px;
            transition: transform .4s ease, box-shadow .4s ease;
            &:hover{
                transform: translateY(-5px);
                box-shadow: 0 18px 36px rgb(11 51 85 / 12%);
            }
            .refurbBadge{
                display: inline-block;
                padding: 8px 16px;
                margin-bottom: 18px;
                font-size: 11px;
                font-weight: 700;
                letter-spacing: 0.8px;
                text-transform: uppercase;
                color: var(--blue);
                background-color: #eef3f8;
                border-radius: 30px;
            }
            .refurbTitle{
                display: block;
                font-size: 20px;
                font-weight: 700;
                color: var(--blue);
                margin-bottom: 16px;
            }
            .refurbList{
                margin: 0;
                li{
                    display: flex;
                    align-items: flex-start;
                    gap: 12px;
                    margin-bottom: 12px;
                    font-size: 14px;
                    line-height: 1.55;
                    letter-spacing: 0.2px;
                    color: #1d2a36;
                    &:last-child{
                        margin-bottom: 0;
                    }
                    i,
                    svg{
                        flex-shrink: 0;
                        margin-top: 3px;
                        font-size: 14px;
                        width: 1em;
                        height: auto;
                        color: var(--blue);
                        fill: currentColor;
                    }
                }
            }
        }
    }
}
@media (max-width: 1199px){
    .refurbSec{
        .refurbHead{
            /*===the side art shrinks to 190px, so reserve only that much===*/
            .tagHolder .SecH,
            .refurbLede{
                max-width: calc(100% - 200px);
            }
            .refurbImg{
                width: 190px;
                top: 0;
            }
        }
    }
}
@media (max-width: 767px){
    .refurbSec{
        .refurbHead{
            /*===the art drops below the copy here, so the text gets the full width===*/
            .tagHolder .SecH,
            .refurbLede{
                max-width: none;
            }
            /*===decorative only - dropped on phones===*/
            .refurbImg{
                display: none;
            }
        }
    }
}

/*===workshop - copy left, machines art right===*/
.workshopSec{
    .workshopCont{
        p{
            margin: 0 0 20px;
            color: #1d2a36;
            font-size: 18px;
            line-height: 1.75;
            letter-spacing: 0.2px;
            &:last-child{
                margin-bottom: 0;
            }
        }
    }
    .workshopImg{
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0px;
        overflow: hidden;
        background-color: #e8eef8;
        border-radius: 24px;
        img{
            max-width: 100%;
            height: auto;
        }
    }
}
@media (max-width: 991px){
    .workshopSec{
        .workshopImg{
            margin-top: 40px;
        }
    }
}

/*===spyrokab - blue panel with numbered feature cards===*/
.spyroSec{
    .spyroPanel{
        background-color: #1667a6;
    }
    .headingWrap{
        .tagHolder{
            max-width: 100%;
            .SecH{
                max-width:100%;
                margin: 0 auto;
            }
        }
    }
    .spyroSub{
        max-width: 100%;
        margin: 26px auto 50px;
        color: rgb(255 255 255 / 88%);
        font-size: 15px;
        letter-spacing: 0.2px;
    }
    /*===link through to the SpyroKAB page, same button as the home band===*/
    .spyroBtnWrap{
        display: flex;
        justify-content: center;
        margin-top: 44px;
    }
    .spyroBtn{
        display: inline-flex;
        align-items: center;
        gap: 10px;
        i{
            font-size: 13px;
            transition: transform .3s ease;
        }
        &:hover i{
            transform: translateX(4px);
        }
    }
    .spyroGrid{
        .row{
            row-gap: 24px;
        }
        .spyroCard{
            display: flex;
            flex-direction: column;
            height: 100%;
            overflow: hidden;
            background-color: rgb(255 255 255 / 8%);
            border: 1px solid rgb(255 255 255 / 30%);
            border-radius: 18px;
            transition: all .4s ease;
            /*===photo runs the full width across the top, so the card is
                 padded on its content rather than on itself. 16:9 matches
                 the supplied artwork exactly, so the readout badges and the
                 angle scale are never cropped away===*/
            .spyroCardImg{
                margin: 0;
                aspect-ratio: 16 / 9;
                overflow: hidden;
                background-color: rgb(255 255 255 / 10%);
                img{
                    display: block;
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    transition: transform .6s ease;
                }
            }
            .spyroCardCont{
                padding: 24px;
            }
            /*===a card with no photo keeps the old breathing room===*/
            &:not(.hasImg) .spyroCardCont{
                padding: 28px 24px;
            }
            .spyroTitle{
                display: block;
                font-size: 17px;
                font-weight: 700;
                text-transform: uppercase;
                letter-spacing: 0.4px;
                line-height: 1.3;
                color: #fff;
            }
            p{
                margin: 0;
                font-size: 14px;
                line-height: 1.65;
                letter-spacing: 0.2px;
                color: rgb(255 255 255 / 85%);
            }
            &:hover{
                background-color: rgb(255 255 255 / 14%);
                transform: translateY(-5px);
                .spyroCardImg img{
                    transform: scale(1.06);
                }
            }
        }
    }
}

/*===group strength - stat circles, chip marquee & vertical links===*/
.strengthSec{
    .strengthSub{
        max-width: 760px;
        margin: 20px auto 60px;
        color: #4b5a66;
        font-size: 15px;
        letter-spacing: 0.2px;
    }
    .strengthGrid{
        .row{
            row-gap: 50px;
        }
        .strengthItem{
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 24px;
            height: 100%;
            padding: 0 20px;
            text-align: center;
            border-right: 1px solid #dfe6ee;
            .strengthCircle{
                display: flex;
                align-items: center;
                justify-content: center;
                width: 140px;
                height: 140px;
                border-radius: 50%;
                background-color: var(--blue);
                color: #fff;
                font-size: 27px;
                font-weight: 800;
                line-height: 1.1;
                text-align: center;
                padding: 10px;
                transition: transform .4s ease, box-shadow .4s ease;
            }
            .strengthLabel{
                font-size: 17px;
                line-height: 1.35;
                color: #1d2a36;
            }
            &:hover{
                .strengthCircle{
                    transform: scale(1.06);
                    box-shadow: 0 16px 34px rgb(11 51 85 / 25%);
                }
            }
        }
        .col-lg-3:nth-child(4n) .strengthItem{
            border-right: 0;
        }
    }
    /*===capability chips drifting in two rows===*/
    .chipMarqueeWrap{
        overflow: hidden;
        padding: 0;
        .chipMarquee{
            overflow: hidden;
            white-space: nowrap;
            padding: 8px 0;
            ul{
                display: inline-flex;
                margin: 0;
                li{
                    flex-shrink: 0;
                    margin-right: 18px;
                }
            }
        }
        .strengthChip{
            display: inline-block;
            padding: 12px 24px;
            font-size: 14px;
            letter-spacing: 0.2px;
            color: #1d2a36;
            background-color: #eef3f8;
            border: 1px solid #e3eaf2;
            border-radius: 30px;
        }
    }
    /*===vertical link cards===*/
    .strengthLinks{
        margin-top: 40px;
        .row{
            row-gap: 24px;
        }
        .strengthLinkCard{
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            height: 100%;
            padding: 28px 30px;
            background-color: #e8eef8;
            border-radius: 18px;
            transition: all .4s ease;
            .linkTitle{
                display: block;
                font-size: 24px;
                font-weight: 700;
                color: var(--blue);
                margin-bottom: 4px;
                transition: color .4s ease;
            }
            .linkSub{
                display: block;
                font-size: 14px;
                letter-spacing: 0.2px;
                color: #4b5a66;
                transition: color .4s ease;
            }
            .linkArrow{
                flex-shrink: 0;
                i,
                svg{
                    font-size: 18px;
                    width: 1em;
                    height: auto;
                    color: var(--blue);
                    fill: currentColor;
                    transform: rotate(-45deg);
                    transition: transform .4s ease, color .4s ease;
                }
            }
            &:hover{
                background-color: var(--blue);
                .linkTitle{
                    color: #fff;
                }
                .linkSub{
                    color: rgb(255 255 255 / 80%);
                }
                .linkArrow{
                    i,
                    svg{
                        color: #fff;
                    }
                }
            }
            &:hover{
                .linkArrow{
                    i,
                    svg{
                        transform: rotate(0deg);
                    }
                }
            }
            &.darkCard:hover{
                box-shadow: 0 18px 36px rgb(11 51 85 / 25%);
            }
        }
    }
}
@media (max-width: 991px){
    .strengthSec{
        .strengthGrid{
            .strengthItem{
                border-right: 0;
                .strengthCircle{
                    width: 110px;
                    height: 110px;
                    font-size: 21px;
                }
                .strengthLabel{
                    font-size: 14px;
                }
            }
        }
    }
}

/*===part finder - light panel with dark blue enquiry card===*/
.partFinderSec{
    .finderPanel{
        background-color: #e8eef8;
    }
    .finderCont{
        .tagHolder{
            max-width: 100%;
        }
        p{
            max-width: 520px;
            margin: 26px 0 30px;
            color: #1d2a36;
            font-size: 15px;
            line-height: 1.7;
            letter-spacing: 0.2px;
        }
        .finderPoints{
            display: flex;
            flex-direction: column;
            gap: 14px;
            margin: 0;
            max-width: 520px;
            li{
                display: flex;
                align-items: center;
                gap: 16px;
                padding: 16px 22px;
                background-color: #fff;
                border-radius: 14px;
                box-shadow: 0 8px 20px rgb(11 51 85 / 6%);
                .pointIcon{
                    flex-shrink: 0;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    width: 30px;
                    height: 30px;
                    border-radius: 50%;
                    background-color: #e8eef8;
                    i,
                    svg{
                        font-size: 13px;
                        width: 1em;
                        height: auto;
                        color: var(--blue);
                        fill: currentColor;
                    }
                }
                p{
                    margin: 0;
                    max-width: none;
                    font-size: 14px;
                    line-height: 1.5;
                }
            }
        }
    }
    .finderFormCard{
        padding: 45px 40px;
        background-color: var(--blue);
        border-radius: 24px;
        .formGroup{
            position: relative;
            margin-bottom: 28px;
            input,
            select{
                width: 100%;
                background-color: transparent;
                border-bottom: 1px solid rgb(255 255 255 / 45%);
                padding: 10px 0;
                font-size: 15px;
                font-family: inherit;
                color: #fff;
                border-radius: 0;
                &::placeholder{
                    color: rgb(255 255 255 / 85%);
                }
                &:focus{
                    border-bottom-color: #fff;
                }
            }
            select{
                appearance: none;
                -webkit-appearance: none;
                cursor: pointer;
                &:invalid{
                    color: rgb(255 255 255 / 85%);
                }
                option{
                    color: #1d2a36;
                }
            }
            .selectArrow{
                position: absolute;
                right: 5px;
                top: 14px;
                width: 9px;
                height: 9px;
                border-right: 2px solid #fff;
                border-bottom: 2px solid #fff;
                transform: rotate(45deg);
                pointer-events: none;
            }
        }
        .finderBtnWrap{
            display: flex;
            justify-content: flex-end;
            margin-top: 36px;
        }
        .finderBtn{
            display: inline-flex;
            align-items: center;
            gap: 12px;
            padding: 14px 28px;
            border-radius: 30px;
            background-color: #fff;
            border: 1px solid #fff;
            color: #1d2a36;
            font-size: 15px;
            font-weight: 600;
            font-family: inherit;
            cursor: pointer;
            transition: all .3s ease;
            i,
            svg{
                font-size: 14px;
                width: 1em;
                height: auto;
                color: #1d2a36;
                fill: currentColor;
                transform: rotate(-45deg);
                transition: transform .3s ease, color .3s ease;
            }
            &:hover{
                background-color: transparent;
                color: #fff;
                i,
                svg{
                    color: #fff;
                    transform: rotate(0deg);
                }
            }
        }
    }
}
@media (max-width: 991px){
    .partFinderSec{
        .finderFormCard{
            margin-top: 40px;
        }
    }
}
@media (max-width: 767px){
    .partFinderSec{
        .finderFormCard{
            padding: 30px 22px;
        }
    }
}

/*===cta - blue banner with crane art (matches home ctaSec)===*/
.svcCtaSec{
    .ctaSec{
        background-color: var(--blue);
        padding: 90px 80px;
        overflow: hidden;
        .ctaContent{
            max-width: 62%;
            .SecH{
                font-size: 64px;
                margin-bottom: 40px;
            }
        }
        .ctaBtnWrap{
            ul{
                display: flex;
                flex-wrap: wrap;
                gap: 15px;
                li{
                    a{
                        padding: 14px 30px;
                    }
                }
            }
        }
        .btnOne.solidWhiteBtn{
            background-color: #fff;
            border: 1px solid #fff;
            color: #000;
            &:hover{
                background-color: transparent;
                color: #fff;
            }
        }
        /*===crane artwork bleeding off the right edge===*/
        .ctaImg{
            position: absolute;
            right: 0;
            top: 0;
            height: 100%;
            width: 220px;
            img{
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: center top;
            }
        }
    }
}
@media (max-width: 1199px){
    .svcCtaSec .ctaSec .ctaContent .SecH{
        font-size: 50px;
    }
}
@media (max-width: 991px){
    .svcCtaSec .ctaSec{
        padding: 70px 50px;
        .ctaContent{
            max-width: 70%;
            .SecH{
                font-size: 40px;
            }
        }
        .ctaImg{
            width: 160px;
            right: 20px;
        }
    }
}
@media (max-width: 767px){
    .svcCtaSec .ctaSec{
        border-radius: 30px;
        padding: 50px 25px;
        .ctaContent{
            max-width: 100%;
            .SecH{
                font-size: 30px;
                margin-bottom: 30px;
            }
        }
        /*===crane fades behind the copy on small screens===*/
        .ctaImg{
            width: 130px;
            right: -30px;
            opacity: .35;
        }
    }
}

/*===================================================
    Parts catalogue - one pane per category

    Each sidebar tab is its own Part Category post, so only the selected
    category's groups are on screen at a time.
===================================================*/
.partsContent .partsPane{
    display: none;
}
.partsContent .partsPane.is-active{
    display: block;
}
.partsContent .partsEmpty{
    margin: 0;
    padding: 30px 0;
    color: #5c6a78;
    font-size: 16px;
}
/*===the whole card is the link (or, with no details page, the enquiry
     button) - the button has to read exactly like the link===*/
a.partsCard,
button.partsCard{
    width: 100%;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}
button.partsCard{
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    appearance: none;
}

/*===brands we service - greyed out like the home page's client logos,
     full colour on hover===*/
.svcBrandSec .brandLogoBox{
    img{
        filter: grayscale(1);
        opacity: .75;
        transition: filter .3s ease, opacity .3s ease;
    }
    &:hover img{
        filter: grayscale(0);
        opacity: 1;
    }
}
