/* ===============================
   Services page
   =============================== */
body.page-services{
    background:
            radial-gradient(circle at top right, rgba(13,110,253,.08), transparent 35%),
            radial-gradient(circle at bottom left, rgba(255,131,39,.08), transparent 35%),
            linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

body.page-services .services-hero{
    padding: clamp(2rem, 4vw, 3rem) 0 1.5rem;
    background:
            radial-gradient(circle at top left, rgba(13,110,253,.08), transparent 28%),
            radial-gradient(circle at bottom right, rgba(255,131,39,.10), transparent 24%),
            linear-gradient(180deg, #f8fbff 0%, #ffffff 40%, #f8fafc 100%);
}

body.page-services .services-hero-shell{
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background:
            radial-gradient(circle at top right, rgba(13,110,253,.10), transparent 35%),
            radial-gradient(circle at bottom left, rgba(255,131,39,.10), transparent 35%),
            linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.92));
    border: 1px solid rgba(15,23,42,.06);
    border-radius: 1.75rem;
    box-shadow: 0 20px 48px rgba(15,23,42,.06);
}

body.page-services .services-title{
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1.08;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: .75rem;
}

body.page-services .services-intro{
    color: #64748b;
    font-size: clamp(1rem, 1.15vw, 1.08rem);
    line-height: 1.7;
    max-width: 62ch;
}

body.page-services .services-cta-stack{
    display: flex;
    flex-direction: column;
    gap: .65rem;
    align-items: center;
}

body.page-services .services-cta-line{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .65rem;
}

body.page-services .services-cta-label{
    font-weight: 600;
    color: #495057;
}

body.page-services .services-cta-btn{
    font-size: .92rem;
    padding: .5rem .95rem;
    border-radius: .55rem;
    line-height: 1.25;
    box-shadow: 0 2px 6px rgba(0,0,0,.06);
}

/* Responsive Services grid with a maximum width */
body.page-services .services-grid {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}
/* Allow the Services card section to expand on wide screens */
@media (min-width: 1400px) {
    body.page-services .services-stage.container {
        max-width: none;
        width: 94%;
    }
}

body.page-services .services-grid .card{
    border: none;
    border-radius: 1.25rem;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,.96);
}

/* ==========================================
   Services - Cards
   ========================================== */

/* Consistent image dimensions across all service cards */
body.page-services .services-grid .services-card .card-img-top {
    display: block;
    width: 100%;
    height: 320px;
    min-height: 0;
    object-fit: cover;
    object-position: center;
    background-color: #f8fafc;
    border-radius: 0;
}

/* Adjust Evenings photo framing */
body.page-services .services-grid .services-card .service-img-evening {
    object-position: center 65%;
}

/* Center service information vertically */
body.page-services .services-grid .services-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
}

@media (hover: hover){
    body.page-services .services-grid .card:hover{
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(0,0,0,.08);
    }
}

body.page-services .services-grid .card-title{
    font-weight: 700;
    color: #0f172a;
    margin-bottom: .35rem;
    font-size: 1.08rem;
    line-height: 1.3;
}

body.page-services .services-grid .card-text{
    color: #475569;
    margin-bottom: .35rem;
    line-height: 1.5;
    font-size: .96rem;
}

body.page-services .services-grid .fw-bold{
    margin-bottom: 0;
    font-size: 1rem;
}

body.page-services .services-grid .card-body > .mt-3{
    margin-top: .75rem !important;
}

body.page-services .services-grid .btn{
    font-size: .82rem;
    padding: .42rem .72rem;
    border-radius: .75rem;
    line-height: 1.15;
    min-height: auto;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(15,23,42,.06);
}

/* ===============================
   Services page mobile polish
   =============================== */
@media (max-width: 991.98px) {

    body.page-services .services-grid .services-card .card-img-top {
        height: 300px;
        min-height: 0;
        object-fit: cover;
    }

    body.page-services .services-grid .services-card .card-body {
        padding: 1.25rem;
    }

    body.page-services .services-hero{
        padding-top: 1rem;
    }

    body.page-services .services-hero-shell{
        border-radius: 1.25rem;
        padding: 1.1rem;
    }

    body.page-services .services-title{
        font-size: clamp(2rem, 8vw, 2.7rem);
    }

    body.page-services .services-cta-line{
        flex-direction: column;
        gap: .45rem;
    }

    body.page-services .services-cta-btn{
        width: 100%;
        max-width: 260px;
    }

    body.page-services .services-grid .card-title{
        font-size: 1.02rem;
        margin-bottom: .45rem;
    }

    body.page-services .services-grid .card-text{
        font-size: .93rem;
        line-height: 1.4;
    }

    body.page-services .services-grid .btn{
        min-height: auto;
        font-size: .8rem;
        padding: .42rem .68rem;
    }
}
