/*SERVICE PAGE==================================*/

/*Hero*/
.service-hero{
    background-color: #1A1A1A;
    padding-top: 200px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.service-hero-grid{
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 48px;
    align-items: center;
}

.service-breadcrumb{
    color: #F2F1E8;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.service-breadcrumb a{
    color: #95c11f;
    text-decoration: none;
}

.service-breadcrumb a:hover{
    text-decoration: underline;
}

.service-breadcrumb span{
    margin: 0 6px;
    color: #E6A21B;
}

.service-hero h1{
    color: #F2F1E8;
    font-size: clamp(36px, 3.4vw, 52px);
    line-height: clamp(46px, 4.2vw, 62px);
}

.service-hero .hero-text{
    color: #F2F1E8;
}

.service-hero-actions{
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.service-hero .service-hero-secondary{
    border: 1px solid #95c11f;
}

.service-hero-img img{
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center top;
    display: block;
    border: 2px solid #95c11f;
    clip-path: polygon(
        0 0,
        100% 0,
        100% calc(100% - 40px),
        calc(100% - 40px) 100%,
        0 100%
    );
}

/*Intro*/
.service-intro{
    background-color: #F2F1E8;
}

.service-intro-content{
    max-width: 900px;
}

/*Related services*/
.service-related{
    position: relative;
    overflow: hidden;
}

.service-related::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.5)),
        url("../img/home/home-service-bg1.webp") center top;
    z-index: -1;
}

.service-related-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.service-related-card{
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
    border: 3px solid #1A1A1A;
}

.service-related-card img{
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform .4s ease;
}

.service-related-card:hover img{
    transform: scale(1.08);
}

.service-related-card::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.75),
        rgba(0,0,0,.2) 55%,
        transparent
    );
}

.service-related-title{
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    color: #F2F1E8;
    font-weight: 700;
    font-size: 17px;
    z-index: 2;
}

/*FAQ without the image column*/
.service-faq .home-faq-info{
    width: 100%;
}

/*Mobile---------------------------------------*/
@media (max-width: 1024px){

    .service-hero{
        padding-top: 160px;
        padding-bottom: 80px;
    }

    .service-hero-grid{
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .service-hero-img img{
        height: 320px;
    }

}

@media (max-width: 576px){

    .service-hero h1{
        font-size: 32px;
        line-height: 42px;
    }

    .service-hero-actions a{
        width: 100%;
    }

    .service-related-grid{
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .service-related-card img{
        height: 160px;
    }

}
