@charset "UTF-8";
/* ============================================================
   SERVICES
   ============================================================ */

.services {
    background: url('/wp-content/uploads/2026/05/fon2.png') center / cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-top: 300px;
    margin-top: -200px;
}

/* ── Шапка ── */
.services__head {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}

.services__head-inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    padding-bottom: 45px;
}

.services__title {
    background: var(--gradient-svetlyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-family: var(--font-bebas);
    font-size: 50px;
    line-height: 54px;
    font-weight: 700;
    align-self: stretch;
    margin: 0;
}

.services__subtitle {
    background: var(--gradient-svetlyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-family: var(--font-myriad);
    font-size: 20px;
    line-height: 26px;
    font-weight: 400;
    align-self: stretch;
    margin: 0;
}

/* ── Сетка ── */
.services__grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin-top: 0 auto ;
    
   
}

/* Ряды */
.services__row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    align-items: stretch;
    margin-top: -1px; /* перекрываем бордер */
}

.services__row--4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ── Карточка ── */
.services__card {
    flex: 1;
    border: 1px solid var(--linii);
    padding: 40px 38px;
    display: flex;
    flex-direction: column;
    gap: 26px;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    background: rgba(0,0,0,.32);
    overflow: hidden;
    transition: border-color .3s ease;
}

/* Убираем двойной бордер между карточками */
.services__card + .services__card {
    margin-left: -1px;
}

/* Свечение при ховере */

.services__card:hover {
    background: #151515 url('/wp-content/uploads/2026/05/frame-hover2-1.png') center center / 100% auto no-repeat;


}

/* Контент поверх свечения */
.services__card-photo,
.services__card-body,
.services__card-btns {
    position: relative;
    z-index: 1;
}

/* Фото */
.services__card-photo {
    border-radius: 20px;
    width: 100%;
    height: auto;
    object-fit: contain;
    aspect-ratio: 1;
    flex-shrink: 0;
    box-shadow: var(--ten-box-shadow, 0px 4px 136px 0px rgba(12,12,12,.31));
}

/* Текст */
.services__card-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    align-self: stretch;
    flex-grow: 1;
}

.services__card-title {
    background: var(--gradient-svetlyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-family: var(--font-bebas);
    font-size: 28px;
    line-height: 29px;
    font-weight: 700;
    align-self: stretch;
    margin: 0;
}

.services__card-desc {
    background: var(--gradient-svetlyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-family: var(--font-myriad);
    font-size: 18px;
    line-height: 21px;
    font-weight: 400;
    align-self: stretch;
    margin: 0;
}

/* Кнопки */
.services__card-btns {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.services__btn {
    border-radius: 5px;
    padding: 13px 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-shrink: 0;
    border: none;
    cursor: pointer;
    font-family: var(--font-bebas);
    font-size: 20px;
    line-height: 20px;
    font-weight: 700;
    color: var(--color-black);
    -webkit-text-fill-color: var(--color-black);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform .15s;
    width: auto;
    
}

.services__btn:hover {
    background: linear-gradient(180deg, #C7A21B 0%, #FFDB73 100%);
    color: var(--color-black);
    -webkit-text-fill-color: var(--color-black);
}

.services__btn--gold {
    background: var(--gradient-zheltyj);

}



.services__btn--gold > * {
    position: relative;
    z-index: 1;
}

.services__btn--light {
    background: var(--gradient-svetlyj);
}

/* ── Блок гарантии ── */
.services__guarantee {
    margin-top: -1px;
    width: 100%;
}

.services__guarantee-inner {
    background: #151515;
    border: 1px solid var(--linii);
    padding: 40px 0 54px;
    display: flex;
    flex-direction: column;
    gap: 21px;
    align-items: center;
    width: 100%;
}

.services__guarantee-head {
    display: flex;
    flex-direction: column;
    gap: 7px;
    align-items: center;
    align-self: stretch;
}

.services__guarantee-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
}

.services__guarantee-title {
    text-align: center;
    font-family: var(--font-bebas);
    font-size: 38px;
    line-height: 41px;
    font-weight: 700;
    align-self: stretch;
    margin: 0;
}

.services__guarantee-title .gold {
    background: var(--gradient-zheltyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services__guarantee-title .light {
    background: var(--gradient-svetlyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services__guarantee-text {
    background: var(--gradient-svetlyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-family: var(--font-myriad);
    font-size: 18px;
    line-height: 21px;
    font-weight: 400;
    align-self: stretch;
    margin: 0;
}

/* ── Адаптив ── */
@media (max-width: 1500px) {
    .services__btn {
       width: 100%;
    }
}


@media (max-width: 1200px) {
    .services__card {
        padding: 30px 20px;
    }

}

@media (max-width: 1024px) {
    .services__title {
        font-size: clamp(28px, 4vw, 50px);
        
    }
    .services__subtitle {
        font-size: clamp(18px, 2vw, 20px);
        line-height: 117%;
    }
    .services__row--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services__row--3{
        grid-template-columns: 1fr;
     
    }

    .services__card + .services__card {
        margin-left: 0;
        margin-top: -1px;
    }
    .services__card-photo {
        height: auto;
        width: 226px;
    }
    .services__btn--gold {
        padding: 13px 20px;
    }

    .services__guarantee-title {
        font-size: clamp(26px, 6vw, 38px);
    }
}

@media (max-width: 480px) {
    .services {
        margin-top: -230px;
    }
    .services__row--4, .services__row--3 {
        grid-template-columns: 1fr;
    }
    .services__btn {
        max-width: 203px;
    }

    .services__card-btns {
        justify-content: center;
    }

    .services__guarantee-inner {
        margin-top: 30px;
    }
}