/* Страница «Услуги»: 2 колонки × 3 строки с горизонтальным перелистыванием. */
#services .standard-shell{
    align-items:stretch;
}

#services .standard-copy{
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    padding-top:10px;
}

#services .services-pager{
    position:relative;
    margin-top:24px;
    min-height:350px;
}

#services .services-grid{
    margin-top:0;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-rows:repeat(3,minmax(96px,1fr));
    gap:12px;
    min-height:350px;
    transition:opacity .2s ease, transform .2s ease;
}

#services .service-card{
    min-height:0;
    padding:16px 16px 14px;
    display:grid;
    grid-template-columns:42px minmax(0,1fr);
    grid-template-rows:auto auto;
    column-gap:12px;
    align-content:center;
    border:1px solid #d9e9ed;
    border-radius:16px;
    background:rgba(255,255,255,.94);
    box-shadow:0 8px 22px rgba(23,56,76,.035);
}

#services .service-card-icon{
    grid-row:1 / span 2;
    align-self:start;
    width:38px;
    height:38px;
    margin:0;
    display:grid;
    place-items:center;
    color:var(--primary);
}

#services .service-card-icon img{
    width:34px;
    height:34px;
    object-fit:contain;
}

#services .service-card-icon span{
    font-size:12px;
    font-weight:700;
    color:var(--primary);
}

#services .service-card h3{
    margin:0;
    color:#284b5d;
    font-size:14px;
    font-weight:650;
    line-height:1.3;
}

#services .service-card p{
    margin:5px 0 0;
    color:#8398a2;
    font-size:10px;
    line-height:1.45;
}

#services .services-page-arrow{
    position:absolute;
    top:50%;
    z-index:8;
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    border:0;
    border-radius:50%;
    background:var(--primary);
    color:#fff;
    font-size:22px;
    font-weight:300;
    line-height:1;
    cursor:pointer;
    box-shadow:0 10px 28px rgba(23,56,76,.16);
    transform:translateY(-50%);
    transition:transform .18s ease, opacity .18s ease, filter .18s ease;
}

#services .services-page-arrow:hover{
    transform:translateY(-50%) scale(1.05);
    filter:brightness(.95);
}

#services .services-page-arrow[hidden]{
    display:none;
}

#services .services-page-arrow.prev{
    left:-54px;
}

#services .services-page-arrow.next{
    right:-54px;
}

#services .services-page-indicator{
    margin-top:10px;
    min-height:16px;
    display:flex;
    justify-content:center;
    gap:6px;
}

#services .services-page-dot{
    width:6px;
    height:6px;
    border:0;
    border-radius:50%;
    background:#d5e5ea;
    padding:0;
}

#services .services-page-dot.active{
    background:var(--primary);
}

@media(max-height:820px){
    #services .services-pager,
    #services .services-grid{
        min-height:300px;
    }
    #services .services-grid{
        grid-template-rows:repeat(3,minmax(82px,1fr));
        gap:9px;
    }
    #services .service-card{
        padding:12px 13px;
    }
    #services .service-card h3{font-size:12px}
    #services .service-card p{font-size:9px}
}

@media(max-width:1180px){
    #services .services-page-arrow.prev{left:-46px}
    #services .services-page-arrow.next{right:-46px}
}

@media(max-width:900px){
    #services .services-pager{
        min-height:auto;
    }
    #services .services-grid{
        min-height:auto;
        grid-template-columns:1fr;
        grid-template-rows:none;
    }
    #services .services-page-arrow{
        position:static;
        transform:none;
        width:38px;
        height:38px;
    }
    #services .services-page-arrow:hover{transform:scale(1.04)}
    #services .services-mobile-controls{
        margin-top:14px;
        display:flex;
        justify-content:center;
        gap:10px;
    }
}
