/* ====================================================================================
SERVICES PAGE — styles only the Services markup you pasted
==================================================================================== */

.page{
    position: relative;
    padding: clamp(2.5rem, 6vw, 4.5rem) 0;
    overflow: hidden;
}

/* soft glow, centered so it won't create horizontal scroll */
.page::before{
    content:"";
    position:absolute;
    left: 50%;
    top: -12rem;
    transform: translateX(-50%);
    width: 1200px;
    max-width: 120%;
    height: 520px;
    background: radial-gradient(closest-side, rgba(255, 77, 227, .16), rgba(0,0,0,0));
    filter: blur(12px);
    pointer-events:none;
    z-index:-1;
}

/* Page heading */
.page h1{
    font-size: clamp(2.1rem, 4.2vw, 3rem);
    line-height: 1.08;
    margin: 0 0 .5rem;
}

.page > .container > .muted{
    max-width: 70ch;
    margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

/* Ensure .grid-3 behaves as a real grid (in case base doesn't define display) */
.grid-3{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
    margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
}

@media (max-width: 900px){
    .grid-3{
        grid-template-columns: 1fr;
        gap: 1.1rem;
    }
}

/* Service cards */
.grid-3 .card{
    padding: 1.5rem 1.6rem;
    transition: transform .15s ease, box-shadow .15s ease;
}

.grid-3 .card:hover{
    transform: translateY(-2px);
    box-shadow: 0 16px 44px rgba(0,0,0,.30);
}

.grid-3 .card h2{
    font-size: 1.15rem;
    margin-bottom: .75rem;
}

/* Lists inside service cards */
.list{
    margin: .25rem 0 0;
    padding-left: 1.1rem;
    color: var(--fg-muted);
}
.list li{
    margin: .3rem 0;
}

/* Add-ons block */
.card.soft{
    padding: clamp(1.25rem, 3vw, 1.75rem);
    border-radius: 22px;
    background: rgba(255,255,255,.02);
}

.card.soft h2{
    margin-bottom: .5rem;
}

.card.soft .btn{
    margin-top: .75rem;
}
