

/* Start:/local/templates/nikovit.ru/components/bitrix/news/services/bitrix/news.list/service_section/style.css?17771384022753*/
div.news-list
{
	word-wrap: break-word;
}
div.news-list img.preview_picture
{
	float:left;
	margin:0 4px 6px 0;
}
.news-date-time {
	color:#486DAA;
}

.services-section{
	margin-top: 40px;
}

.services-grid{
	margin: 20px 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.services-section-question{
	text-align: center;
}

.service-card-title{
	font-size: 18px;
	font-weight: 600;
	text-align: center;
}

.service-card{
	display: grid;
	grid-template-rows: 1fr 1fr;
	border: 1px solid #E2E2E2;
	padding: 20px;
	border-radius: 10px;
    transition: 0.25s ease;
}

.service-card-txt{
	text-align: center;
	font-size: 14px;
}

.service-cart-link{
	margin-top: 20px;
	display: inline-block;
	text-align: center;
	text-decoration: none;
	color: #fff;
	font-size: 14px;
	background-color: #6708C7;
	border-radius: 10px;
	padding: 10px 20px;
	transition: all 0.3s ease;
}

.service-img img{
	max-width: 100%;
	width: auto;
	height: auto;
}

.service-section-btn{
	display: inline-block;
	bottom: 20px;
  background-color: #6708C7;
  color: white;
  padding: 5px 20px;
  cursor: pointer;
  border-radius: 10px;
	text-decoration: none;
}

.service-section-btn-wrap{
	margin-top: 30px;
}

.service-about-item{
	border-bottom: 1px solid #E2E2E2;
	padding-bottom: 30px;
}

.services-section.work {
    padding: 60px 0;
}

.services-section.work h2 {
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 700;
    color: #1a1a1a;
}

/* контейнер шагов */
.work-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* карточка шага */
.work-steps .step {
    background: #fff;
    border: 1px solid rgba(103, 8, 199, 0.15);
    border-radius: 14px;
    padding: 20px;
    position: relative;
    transition: 0.25s ease;
}

/* hover эффект */
.work-steps .step:hover {
    transform: translateY(-3px);
    border-color: #6708C7;
    box-shadow: 0 10px 25px rgba(103, 8, 199, 0.12);
}

.service-card:hover{
    transform: translateY(-3px);
    border-color: #6708C7;
    box-shadow: 0 10px 25px rgba(103, 8, 199, 0.12);
}

/* номер шага */
.work-steps .step span {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    background: #6708C7;
    margin-bottom: 12px;
}

/* текст */
.work-steps .step p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
}

/* адаптив */
@media (max-width: 992px) {
    .work-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .work-steps {
        grid-template-columns: 1fr;
    }
}













/* End */


/* Start:/local/templates/nikovit.ru/components/bitrix/news.list/main_portfolio/style.css?17704824191841*/

.main-portfolio-item{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    height: 300px;
    border: 1px solid #6708C7;
    margin-bottom: 40px;
}

.main-portfolio-item-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.main-portfolio-item {
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

/* overlay */
.main-portfolio-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: flex-end;
    justify-content: left;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-portfolio-item-text {
    color: #fff;
    font-size: 16px;
    padding: 20px;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* заголовок */
.main-portfolio-item-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
    padding: 10px;
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
}

/* эффекты при наведении */
.main-portfolio-item:hover .main-portfolio-item-overlay {
    opacity: 1;
}

.main-portfolio-item:hover .main-portfolio-item-text {
    transform: translateY(0);
    opacity: 1;
}

/* скрываем заголовок при hover */
.main-portfolio-item:hover .main-portfolio-item-content {
    opacity: 0;
    transform: translateY(-10px); /* лёгкий уход вверх */
}

/* End */
/* /local/templates/nikovit.ru/components/bitrix/news/services/bitrix/news.list/service_section/style.css?17771384022753 */
/* /local/templates/nikovit.ru/components/bitrix/news.list/main_portfolio/style.css?17704824191841 */
