

/* Start:/local/templates/agstudio/components/bitrix/news.list/services_list/style.css?17766279687704*/


/* ===== Общая обёртка страницы услуг ===== */

/*
.services-page {
    padding: 48px 0 80px;
}

@media (max-width: 1199px) {
    .services-page {
        padding: 32px 0 64px;
    }
}

@media (max-width: 767px) {
    .services-page {
        padding: 24px 0 48px;
    }
}*/


@media (max-width: 767px) {
    .services-page .text-left{
        font-size: 16px;
    }
}

/* ===== Группа услуг (секция) ===== */

.service-group {
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.service-group:last-of-type {
    border-bottom: none;
}

@media (max-width: 1199px) {
    .service-group {
        padding: 40px 0;
    }
}

@media (max-width: 767px) {
    .service-group {
        padding: 32px 0;
    }
}

.service-group__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

@media (max-width: 767px) {
    .service-group__header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 16px;
    }
}

.service-group__title {
    font-size: 22px;
    font-weight: 600;
    position: relative;
	color: #3b4352;
	margin: 0;
}


/* ===== Стрелки ===== */

.service-group__arrows {
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-group__arrow {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #161626;
}

.service-group__arrow:disabled {
    opacity: 0.4;
    cursor: default;
}

/*
.service-group__arrow {
    border: 1px solid rgba(148, 156, 183, 0.4);
    background: #ffffff;
    border-radius: 999px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #161626;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.service-group__arrow svg {
    display: block;
}

.service-group__arrow:hover:not(:disabled) {
    background: linear-gradient(135deg, #4f00ff, #cf73ff);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-1px);
}

.service-group__arrow:disabled {
    opacity: 0.4;
    cursor: default;
}
*/

.service-group__arrow-stick {
    width: 1px;
    height: 20px;
    background: rgba(148, 156, 183, 0.4);
}

/* ===== Описание группы ===== */

.service-group__description {
    max-width: 640px;
    margin-bottom: 32px;
    color: #3a3c4d;
}

@media (max-width: 1199px) {
    .service-group__description {
        margin-bottom: 24px;
    }
}

@media (max-width: 767px) {
    .service-group__description {
        margin-bottom: 16px;
        font-size: 14px;
    }
}

/* ===== Swiper-слайдер ===== */

.services-slider.swiper {
    width: 100%;
    overflow: visible;
    padding-bottom: 8px;
}

.services-slider .swiper-wrapper {
    /* без gap, отступы за счёт width/spaceBetween */
	padding-bottom: 20px;
}

.services-slider .swiper-slide,
.services-slider__slide {
    width: 280px;
}

@media (max-width: 1199px) {
    .services-slider .swiper-slide,
    .services-slider__slide {
        width: 240px;
    }
}

@media (max-width: 767px) {
}

/* ===== Карточка услуги ===== */

.service-card {
    position: relative;
    height: 320px;
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    background-color: #101120;
    color: #ffffff;
    overflow: hidden;
	transition: all .4s ease;
}

.service-card:hover {
	text-decoration: none;
	color: #fff;
}

.service-card:before{
	opacity: 0.4;
}

@media (max-width: 1199px) {
    .service-card {
        height: 300px;
    }
}



/* главная карточка блока */
.service-card--primary {
    background: radial-gradient(circle at 0% 0%, #cf73ff 0%, #4f00ff 36%, #161626 100%);
}

/* карточки с фоновым изображением — образ менять, но уже по-другому, чем в оригинале */

.service-card--with-image {
    background-color: #080814;
}

a.service-card--with-image:visited{
    color: #fff;
}


.service-card--with-image{
  position: relative;
  overflow: hidden;      /* чтобы "зум" не вылазил за края */
  border-radius: 16px;
}

/* фон */
.service-card--with-image::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: var(--service-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  filter: saturate(1.1);
  z-index: 1;
  transition: transform .4s ease, filter .4s ease, opacity .4s ease;
  transform: scale(1);   /* база */
}

/* мягкий градиент для нижней части карточки */
.service-card--with-image::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 140px;
    background: linear-gradient(to top, #101120 0%, rgba(16, 17, 32, 0.0) 100%);
    z-index: 1;
}


/* зум при наведении */
.service-card--with-image:hover::before{
  transform: scale(1.05);
}

/* чтобы текст/контент был выше фона */
.service-card--with-image > *{
  position: relative;
  z-index: 2;
}

/* карточка "Показать ещё" — светлая, без фона */

.service-card--more {
    background-color: #f5f5fb;
    color: #181828;
    border: 1px dashed rgba(79, 0, 255, 0.4);
    box-shadow: none;
    align-items: flex-start;
    justify-content: flex-end;
}

.service-card--more:hover {
    background-color: #ececff;
    border-style: solid;
    transform: translateY(-2px);
}

.service-card--with-image:hover img{
    transform: scale(1.05);
}

/* ===== Контент карточки ===== */

.service-card__title,
.service-card__meta {
    position: relative;
    z-index: 2;
}

.service-card__title {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 12px;
	text-shadow: 0px 1px 1px black;
}

@media (max-width: 1199px) {
    .service-card__title {
        font-size: 16px;
        margin-bottom: 10px;
    }
}


.service-card__meta {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(230, 232, 240, 0.9);
    padding-top: 10px;
    border-top: 1px solid rgba(148, 156, 183, 0.6);
    max-width: 220px;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-card__meta ul{
    margin: 0;
}

.service-card__meta ul li{
    margin-top: 0;
}

@media (max-width: 1199px) {
    .service-card__meta {
        font-size: 12px;
        max-width: 200px;
    }
}

/* Для карточек с картинкой — сдвигаем текст вниз, чтобы он не залезал на мини-превью */

.service-card--with-image .service-card__title,
.service-card--with-image .service-card__meta {
    margin-top: 85px;
}

@media (max-width: 1199px) {
    .service-card--with-image .service-card__meta {
        margin-top: 5px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}


/* Скроллбар Swiper для услуг */
.services-scrollbar {
    max-width: 1180px;
    margin: 0 auto 0;
    height: 6px;
    background: #eeeeee;
    border-radius: 999px;
}

.services-scrollbar .swiper-scrollbar-drag {
    background: linear-gradient(90deg, #4f00ff, #cf73ff);
    border-radius: 999px;
}


/* End */
/* /local/templates/agstudio/components/bitrix/news.list/services_list/style.css?17766279687704 */
