/* ==================================
   SERVICE PAGE — LIGHT PREMIUM
   SCOPED ONLY TO .service-page
================================== */

.service-page{

    background:#f8f7f3;

    min-height:100svh;

    color:#20252b;

}

/* ==================================
   HERO
================================== */

.service-hero{

    position:relative;

    overflow:hidden;

    min-height:78svh;

    display:flex;

    align-items:flex-end;

    background:#f8f7f3;

}

.service-hero-image{

    position:absolute;

    inset:0;

}

.service-hero-image img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.service-hero::before{
    z-index:1;
    pointer-events:none;

    content:"";

    position:absolute;

    inset:0;

    background:
        linear-gradient(
            to top,
            rgba(15,23,42,.96) 0%,
            rgba(15,23,42,.62) 30%,
            rgba(15,23,42,.20) 58%,
            rgba(15,23,42,0) 80%
        );

}

.service-hero-content{

    position:relative;

    z-index:2;

    padding:
        var(--space-2xl)
        0
        var(--space-xl);

}

.service-category{

    margin-bottom:var(--space-xs);

    color:rgba(255,255,255,.78);

    font-size:var(--text-sm);

    letter-spacing:.08em;

    text-transform:uppercase;

}

.service-location{

    margin-bottom:var(--space-sm);

    color:rgba(255,255,255,.82);

    font-size:var(--text-md);

}

.service-hero h1{

    margin:0;

    max-width:760px;

    color:#fff;

    font-family:var(--font-heading);

    font-size:clamp(42px,7vw,72px);

    font-weight:600;

    line-height:.98;

    letter-spacing:-.045em;

}

/* ==================================
   NO-PHOTO HERO
================================== */

.service-hero:not(:has(.service-hero-image)){

    min-height:300px;

    align-items:flex-end;

    border-bottom:1px solid #e5e1d8;

}

.service-hero:not(:has(.service-hero-image))::before{

    display:none;

}

.service-hero:not(:has(.service-hero-image))
.service-hero-content{

    color:#20252b;

}

.service-hero:not(:has(.service-hero-image))
.service-category{

    color:#77736b;

}

.service-hero:not(:has(.service-hero-image))
.service-location{

    color:#66625b;

}

.service-hero:not(:has(.service-hero-image))
.service-hero h1{

    color:#20252b;

}

/* ==================================
   BACK BUTTON
================================== */

.service-page .back-btn:hover{

    background:#fff;

    border-color:rgba(32,37,43,.24);

    transform:translateY(-1px);

}

/* ==================================
   CONTENT
================================== */

.service-layout{

    max-width:var(--content-narrow);

    margin:0 auto;

}

.service-main{

    width:100%;

}

.service-section{

    margin-bottom:var(--space-xl);

}

.service-section h2{

    margin:
        0
        0
        var(--space-md);

    color:#20252b;

    font-family:var(--font-heading);

    font-size:var(--text-3xl);

    font-weight:600;

    letter-spacing:-.03em;

}

.service-description{

    color:#5f625f;

    font-size:var(--text-lg);

    line-height:1.9;

}

/* ==================================
   GALLERY
================================== */

.service-gallery{

    display:grid;

    grid-template-columns:
        repeat(
            auto-fill,
            minmax(280px,1fr)
        );

    gap:var(--gap-md);

    margin-top:var(--space-md);

}

.service-gallery-item{

    display:block;

    overflow:hidden;

    border-radius:var(--radius-lg);

    box-shadow:var(--shadow-sm);

    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base);

}

.service-gallery-item:hover{

    transform:translateY(-2px);

    box-shadow:var(--shadow-lg);

}

.service-gallery-item img{

    display:block;

    width:100%;

    aspect-ratio:4 / 4.5;

    object-fit:cover;

    transition:transform var(--transition-slow);

}

.service-gallery-item:hover img{

    transform:scale(1.03);

}

/* ==================================
   CONTACT
================================== */

.service-contact-card{

    padding:var(--space-lg);

    border:1px solid var(--card-border);

    border-radius:var(--radius-lg);

    background:var(--card-bg);

    box-shadow:var(--card-shadow);

}

.service-contact-name{

    color:#20252b;

    font-size:var(--text-lg);

    font-weight:600;

}

.service-contact-languages{

    margin-top:var(--space-xs);

    color:#77736b;

    font-size:var(--text-sm);

}

.service-contact-link{

    display:block;

    margin-top:var(--space-sm);

    color:var(--gold);

    font-size:var(--text-md);

    word-break:break-word;

}

.service-contact-link:hover{

    color:var(--gold-light);

}

/* ==================================
   MOBILE
================================== */

@media (max-width:767px){

    .service-hero{

        min-height:78svh;

    }

    .service-hero h1{

        font-size:clamp(38px,11vw,54px);

    }

    .service-gallery{
        display:flex;
        flex-wrap:nowrap;
        overflow-x:auto;
        scroll-snap-type:x mandatory;
        -webkit-overflow-scrolling:touch;
        scrollbar-width:none;
        gap:var(--gap-md);
        grid-template-columns:none;
        padding-bottom:var(--space-xs);
        touch-action:pan-x;
    }

    .service-gallery::-webkit-scrollbar{
        display:none;
    }

    .service-gallery .service-gallery-item{
        flex:0 0 86%;
        width:86%;
        scroll-snap-align:start;
    }

    .service-hero:not(:has(.service-hero-image)){

        min-height:260px;

    }

}

/* ==================================
   HERO MODE
   IMAGE vs NO IMAGE
================================== */

.service-hero.no-cover::before{

    display:none;

}

.service-hero.no-cover .service-category{

    color:#77736b;

}

.service-hero.no-cover .service-location{

    color:#66625b;

}

.service-hero.no-cover .service-hero h1{

    color:#20252b;

}

.service-hero.has-cover .service-category{

    color:var(--gold);

}

.service-hero.has-cover .service-location{

    color:rgba(255,255,255,.82);

}

.service-hero.has-cover .service-hero h1{

    color:#fff;

}


/* ==================================
   FIX — SERVICE HERO WITHOUT PHOTO
================================== */

.service-hero.no-cover{

    background:#f8f7f3;

}



.service-hero.no-cover .service-hero-content{

    color:#20252b;

}





.service-hero.no-cover h1{

    color:#20252b;

}

