/* =========================================================
   SERVICES SECTION
========================================================= */

.services{
    position:relative;
    min-height:100vh;
    padding:145px 0 35px;
    overflow:hidden;
    isolation:isolate;
}

/* =========================================================
   BACKGROUND
========================================================= */

.services-bg{
    position:absolute;
    inset:0;
    z-index:-2;

    background-image:
        linear-gradient(
            90deg,
            rgba(247,250,255,0.98) 0%,
            rgba(247,250,255,0.95) 22%,
            rgba(247,250,255,0.82) 42%,
            rgba(247,250,255,0.48) 62%,
            rgba(247,250,255,0.12) 82%,
            rgba(247,250,255,0.03) 100%
        ),
        url("images/services.png");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}

.services-bg::after{
    content:"";
    position:absolute;
    inset:0;

    background:
        linear-gradient(
            to bottom,
            rgba(255,255,255,0.12) 0%,
            rgba(255,255,255,0) 30%
        );
}

/* лёгкое затемнение снизу для читаемости */
.services::after{
    content:"";
    position:absolute;
    inset:auto 0 0;
    height:180px;
    z-index:-1;

    background:linear-gradient(
        to top,
        rgba(17,24,39,0.10),
        transparent
    );

    pointer-events:none;
}

/* =========================================================
   CONTAINER
========================================================= */

.services .container{
    position:relative;
    z-index:2;
}

/* =========================================================
   HEADER
========================================================= */

.services-header{
    width:100%;
    max-width:1150px;
    margin:0 0 22px;
}

.services-header .section-label,
.services .section-label{
    display:block;
    margin:0 0 14px;

    color:#d99a55;
    font-size:15px;
    line-height:1.2;
    font-weight:700;
    letter-spacing:4px;
    text-transform:uppercase;
}

.services-header h2{
    margin:0 0 14px;
    color:#111827;
    font-size:48px;
    line-height:1.02;
    font-weight:800;
    letter-spacing:-2px;
}

.services-header p{
    max-width:760px;
    margin:0;
    color:#667085;
    font-size:16px;
    line-height:1.5;
}

/* =========================================================
   LAYOUT
========================================================= */

.services-layout{
    display:block;
    width:100%;
}

.services-image{
    display:none;
}

/* =========================================================
   SERVICES LIST
========================================================= */

.services-list{
    display:flex;
    flex-direction:column;
    gap:10px;
    width:920px;
    max-width:100%;
    margin:0;
}

/* =========================================================
   SERVICE CARD
========================================================= */

.service-card{
    position:relative;
    display:grid;
    grid-template-columns:52px minmax(0,1fr);
    align-items:center;
    gap:16px;

    width:100%;
    min-height:78px;
    padding:12px 20px;

    background:rgba(255,255,255,.95);
    border:1px solid rgba(255,255,255,.82);
    border-radius:20px;
    box-shadow:0 10px 28px rgba(15,23,42,.07);
    backdrop-filter:blur(12px);
}


.service-card:hover{
    transform:translateY(-4px);

    background:rgba(255,255,255,0.98);

    box-shadow:
        0 22px 48px rgba(15,23,42,0.12),
        inset 0 1px 0 rgba(255,255,255,0.95);
}

/* =========================================================
   ICON
========================================================= */

.service-icon{
    width:52px;
    height:52px;
    min-width:52px;
    border-radius:15px;
    background:#edf3ff;
    display:flex;
    align-items:center;
    justify-content:center;
}



.service-card:hover .service-icon{
    transform:scale(1.04);
    background:#e3edff;
}

.service-icon svg,
.service-icon img{
    display:block;
    width:23px;
    height:23px;
    object-fit:contain;
}

/* =========================================================
   CONTENT
========================================================= */

.service-content h3{
    margin:0 0 4px;
    color:#111827;
    font-size:20px;
    line-height:1.15;
    font-weight:700;
}

.service-content p{
    margin:0;
    color:#697386;
    font-size:13px;
    line-height:1.35;
}


/* стрелки полностью убраны */
.service-arrow{
    display:none !important;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width:1200px){

    .services{
        padding:190px 0 85px;
    }

    .services-list{
        width:880px;
    }
}

@media (max-width:992px){

    .services{
        min-height:auto;
        padding:170px 0 80px;
    }

    .services-bg{
        background-image:
            linear-gradient(
                90deg,
                rgba(247,250,255,0.97) 0%,
                rgba(247,250,255,0.90) 48%,
                rgba(247,250,255,0.58) 100%
            ),
            url("images/services.png");

        background-position:center;
    }

    .services-header{
        max-width:680px;
        margin-bottom:28px;
    }

    .services-header h2{
        font-size:44px;
        letter-spacing:-1.5px;
    }

    .services-header p{
        font-size:17px;
    }

    .services-list{
        width:780px;
        max-width:100%;
    }

    .service-card{
        min-height:90px;
        padding:15px 22px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width:768px){

    .services{
        padding:145px 0 65px;
    }

    .services-bg{
        background-image:
            linear-gradient(
                rgba(247,250,255,0.93),
                rgba(247,250,255,0.86)
            ),
            url("images/services.png");

        background-position:center;
    }

    .services-header{
        max-width:100%;
        margin-bottom:24px;
    }

    .services-header .section-label,
    .services .section-label{
        margin-bottom:10px;

        font-size:13px;
        letter-spacing:3px;
    }

    .services-header h2{
        margin-bottom:16px;

        font-size:38px;
        line-height:1.08;
        letter-spacing:-1px;
    }

    .services-header p{
        font-size:15px;
        line-height:1.6;
    }

    .services-list{
        width:100%;
        gap:10px;
    }

    .service-card{
        grid-template-columns:52px minmax(0,1fr);
        gap:14px;

        min-height:auto;
        padding:15px 16px;

        border-radius:19px;
    }

    .service-icon{
        width:52px;
        height:52px;
        min-width:52px;

        border-radius:15px;
    }

    .service-icon svg,
    .service-icon img{
        width:23px;
        height:23px;
    }

    .service-content h3{
        margin-bottom:5px;

        font-size:18px;
        line-height:1.2;
    }

    .service-content p{
        font-size:13px;
        line-height:1.42;
    }

    .service-card:hover{
        transform:none;
    }
}

/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width:480px){

    .services{
        padding:130px 0 55px;
    }

    .services-header h2{
        font-size:32px;
    }

    .services-header p{
        font-size:14px;
    }

    .service-card{
        grid-template-columns:46px minmax(0,1fr);
        gap:12px;

        padding:14px;
        border-radius:18px;
    }

    .service-icon{
        width:46px;
        height:46px;
        min-width:46px;

        border-radius:13px;
    }

    .service-icon svg,
    .service-icon img{
        width:21px;
        height:21px;
    }

    .service-content h3{
        font-size:17px;
    }

    .service-content p{
        font-size:12px;
        line-height:1.4;
    }
}

/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width:360px){

    .services{
        padding-top:120px;
    }

    .services-header h2{
        font-size:29px;
    }

    .service-card{
        grid-template-columns:42px minmax(0,1fr);
        gap:10px;
        padding:12px;
    }

    .service-icon{
        width:42px;
        height:42px;
        min-width:42px;
    }

    .service-content h3{
        font-size:16px;
    }

    .service-content p{
        font-size:11.5px;
    }
}