

/* Start:/local/templates/general/components/bitrix/news/cases_template_v2/bitrix/news.detail/detailblog/style.css?175559226928415*/
header {
    background: none!important;
    background-size: cover;
    padding: 47px 0 165px 0;
    position: absolute!important;
    z-index: 10!important;
    width: 100%;
}
header .top-menu {
    width: 100%!important;
}
header:after {
    background: none!important;
}
#header-cases h1 {
    letter-spacing: 2px;
}
.h-black h2{
    font-size: 70px;
    line-height: normal;
    color: #222222;
    text-transform: uppercase;
    margin-bottom: 50px;
    margin-top: 0;
    font-family: 'Arsenica Trial', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 500;
}
ul {
    margin-left: 20px;
}
.sub-title {
    color: #fff;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 9.5px;
    margin-bottom: 3px;
}


.page_1 {
    padding: 140px 0 70px 0;
}
.sector-3.slider-cases, .more-cases {
    padding: 70px 0;
}
.sector-3 .slider {
    position: relative;
    margin: 0 auto;
}
.slick-slide img {
    width: 100%;
    height: 100%;
    max-height: 800px;
    object-fit: cover;
}
.sector-3.slider-cases .slider .slick-dots {
    margin: 20px 0 0 0;
}

.case-title a{    font-size: 24px;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 1px 1px 2px rgb(0 0 0 / 50%);
    text-decoration: none;}

@media (max-width: 1630px){
.sector-3.slider-cases .slider .slick-arrow.slick-next {
    right: 10px;}
.sector-3.slider-cases .slider .slick-arrow.slick-prev {
    left: 10px;
}    
}


.box {
    margin: 0 0 45px 0;
}
.back {
    display: block;
    color: #222222;
    border: 1px solid #222222;
    text-decoration: none;
    width: 273px;
    text-transform: uppercase;
    padding: 21px 0 18px 109px;
    letter-spacing: 1px;
    border-radius: 50px;
    position: relative;
    transition: all 0.5s;
    background: transparent;
    cursor: pointer;
}
.back:before {
    content: '';
    background: #8a1e25;
    width: 47px;
    height: 47px;
    border-radius: 50%;
    position: absolute;
    left: 11px;
    top: 0;
    bottom: 0;
    margin: auto;
}
.back:after {
    content: '';
    background: #222222;
    width: 56px;
    height: 1px;
    position: absolute;
    left: 34px;
    top: 0;
    bottom: 0;
    margin: auto;
}





@media (max-width: 768px){
.h-black h2 {
    font-size: 30px;
}
}

.news-detail{padding-top: 90px;}
/*h1 {font-weight: 300;}*/

.news-detail h2 {
    font-family: 'Oranienbaum', sans-serif;
    font-size: 70px;
    color: #383639;
    text-transform: uppercase;
    letter-spacing: -1.2px;
    padding-top: 20px;
    margin-bottom: 30px;
    font-weight: 300;
}

.news-detail h3 {
    font-family: 'Oranienbaum', sans-serif;
    font-size: 60px;
    color: #383639;
    text-transform: uppercase;
    letter-spacing: normal;
    padding-top: 20px;
    margin-bottom: 30px;
    font-weight: 300;
}
.news-detail h4 {
font-family: 'Oranienbaum', sans-serif;
    font-size: 30px;
    color: #383639;
    letter-spacing: normal;
    padding-top: 5px;
    margin-bottom: 10px;
    font-weight: 300;
}
.news-detail ul li, .news-detail ol li, p, .news-date-time {
    color: #383639;
    font-size: 20px;
    line-height: 30px;
    position: relative;
    letter-spacing: 0.4px;
    margin-bottom: 30px;
}
.news-detail ol, .news-detail ul {padding-left: 20px;}
.news-date-time{display: block;}
.b24-form-header-title {
    font-family: 'Oranienbaum', sans-serif!important;
    font-size: 60px!important;
    color: #383639!important;
    text-transform: uppercase;
    letter-spacing: normal!important;
    padding-top: 20px;
    margin-bottom: 30px!important;
}
.b24-form-header-description {
    color: #383639!important;
    font-size: 20px!important;
    line-height: 30px!important;
    position: relative!important;
    letter-spacing: 0.4px!important;
    margin-bottom: 30px!important;
}
.b24-form-btn {
font-family: 'Oranienbaum', sans-serif!important;
    font-size: 26px!important;
    letter-spacing: normal!important;
    font-weight: 300!important;
    text-transform: uppercase;
}
#header-cases{
    position: relative;
}






#header-cases .banner{
    position: relative;
    display: block;
    overflow: hidden;
}
#header-cases .banner:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top right,              /* направление из левого нижнего в правый верхний */
        rgba(0, 0, 0, 0.94) 0%,    /* плотное затемнение внизу слева */
        rgba(0, 0, 0, 0.65) 40%,   /* мягче к центру */
        rgba(0, 0, 0, 0) 100%      /* полностью прозрачный вверху справа */
    );
    z-index: 1;
}


#header-cases .banner .img{
    width: 100%;
    height: 100%;
}
#header-cases .banner .img img{
    width: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
    height: 700px;
}

#header-cases .banner .img:after {
    content: '';
    background: -moz-linear-gradient(top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0) 100%);
    background: -webkit-linear-gradient(top, rgba(0,0,0,0.95) 0%,rgba(0,0,0,0) 100%);
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%,rgba(0,0,0,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=0 );
    width: 100%;
    height: 50%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
}
#header-cases .banner .container {
    top: auto;
    bottom: 64px;
    max-width: 1607px;
    left: 0;
    right: 0;
    padding: 0 30px;
    position: absolute;
    z-index: 1;
}
#header-cases .banner .sub-title{
    color: #fff;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 9.5px;
    margin-bottom: 2px;
}
#header-cases .banner .title{
    font-family: 'Oranienbaum', sans-serif;
    color: #fff;
    font-size: 120px;
    text-transform: uppercase;
    margin-bottom: 22px;
    letter-spacing: 0.2px;
}
#header-cases .banner .text{
    color: #fff;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 4.3px;
}
#header-cases .banner .circles {
    position: absolute;
    bottom: -15vmin;
    right: 0;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    z-index: 2;
}

#header-cases .banner .circle {
    width: 30vmin;                 /* одинаковая ширина и высота */
    aspect-ratio: 1 / 1;           /* гарантирует круг */
    background-color: #D7182ACC;
    border-radius: 50%;
}




#header-cases:before{
    content: '';
    background: -moz-linear-gradient(top,  rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 100%);
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0.15) 0%,rgba(0,0,0,0) 100%);
    background: linear-gradient(to bottom,  rgba(0,0,0,0.15) 0%,rgba(0,0,0,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=0 );
    width: 100%;
    height: 247px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}


@media (min-width: 2400px){
#header-cases{
    /*height: 1706.66px;*/
}
}

@media (max-width: 1500px){
#header-cases{
    /*height: 960px;*/
}
}
@media (max-width: 1440px){
.news-detail .container {
		max-width: 1140px;}
}
@media (max-width: 1380px){
#header-cases{
    /*height: 906px;*/
}
}
@media (max-width: 1199px){
#header-cases{
    height: 100%;
}
    #header-cases .banner .img {
        height: 100%;
    }
    #header-cases .banner .img img {
        height: 500px;
    }
    #header-cases .banner .sub-title {
        font-size: 18px;
    }
    #header-cases .banner .title {
        font-size: 80px;
    }
    #header-cases .banner .text {
        font-size: 18px;
    }
}
@media(max-width: 767px){
    #header-cases .banner .title{
        font-size: 60px;
        margin-bottom: 0;
    }
    #header-cases .banner .text {
        letter-spacing: 0;
    }
}
@media (max-width: 530px){
    .b24-form-header-title {
            line-height: normal!important;
    }
}
@media (max-width: 450px){
    #header-cases .banner .img img {
        height: 400px;
    }
    h1 {
    margin-top: 15px!important;
}
.page_1 {
    padding: 100px 0 0 0!important;
}
.news-detail ul li, .news-detail ol li, p, .news-date-time {
    font-size: 16px;
}
.news-detail {
    padding: 90px 10px 10px;
}
#header-cases h1 {
    font-size: 40px;
}
.news-detail h2 {
    font-size: 30px;
	}
.news-detail h3 {
    font-size: 26px;
	}
#header-cases .banner .container {
		bottom: 50px;}
}



/* Стили */
.case-detail {
/*    padding: 60px 0;*/
    margin: 132px auto 0 auto;
}

.detail-slider {
    position: relative;
    background-color: #BEA592;
}

.slick {
    position: relative;
    overflow: hidden;
}

.slide {
    position: relative;
    min-height: 600px;
}

.slide-bg {
    width: 100%;
    height: 100%;
/*    height: 960px;*/
    object-fit: cover;
}

.content-logo {
position: absolute;
    right: 0;
    bottom: -100px;
    z-index: 2;
}
@media (max-width: 1441px){

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

}
.logo {
}

.content-logo img {
    max-width: 200px;
    background-color: white;
}

.text-content {
    /*max-width: 600px;
    padding: 50px 90px;*/
    max-width: 650px;
    padding: 0 90px;
}
.cases-section .slick-arrow {border-radius: 5%;}


@media (max-width: 768px) {
.content-logo {
    bottom: -50px;
}    
.content-logo img {
    width: 100px;
}
}








.info-blocks {
    margin: 40px 0;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 24px;
    line-height: 30px;
    color: #fff;
}
.info-item span{
    
    font-weight: 700;
}

.info-item img {
    width: 50px;
    height: 50px;
    margin-right: 30px;
}

.dual-images {
    height: 100%;
    display: flex;
}

.image-left, .image-right {
    flex: 1;
    background-size: cover;
    background-position: center;
}

.image-left {
    background-position: left;
}

.image-right {
    background-position: right;
}

.reversed .image-left {
    order: 2;
}

.reversed .image-right {
    order: 1;
}


.rezult{
    align-items: flex-start;
    padding-top: 10px;
}


@media (max-width: 768px) {
    .slide {
        min-height: 400px;
    }
    
    .text-content {
        max-width: 100%;
padding: 0;
    }
}


/* Стили для третьего слайда */
.slide-3 {
    position: relative;
}
.dual3, .dual4 {
    position: relative;
/*    height: 960px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.dual3 .image-right {
position: absolute;
    top: 25%;
    right: -40px;
    width: 40%;
    height: auto;
    border-radius: 25px;
}

.dual3 .image-left {
position: absolute;
    bottom: -40px;
    left: -40px;
    width: 60%;
    height: auto;
    border-radius: 25px;
}

.dual3 .logo-wrapper {
    position: absolute;
    bottom: 58%;
    left: 20%;
    z-index: 2;
}

.dual3 .case-logo {
    max-width: 200px;
    height: auto;
    /* background: white; */
    padding: 15px;
/*    border-radius: 25px;*/
}

@media (max-width: 768px) {
    .dual3 .image-right {
        width: 200px;
        top: 30px;
        right: 20px;
    }
    
    .dual3 .image-left {
        width: 300px;
        bottom: 30px;
        left: 20px;
    }
    
    .dual3 .case-logo {
        max-width: 150px;
    }
}

/* Стили для четвертого слайда */
.slide-4 {
    position: relative;
}

.dual4 {
    position: relative;
/*    height: 960px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Темный прямоугольник в правой верхней части */
.slide-2 .dark-overlay2{
/*    position: absolute;
    top: 0;
    left: -20px;
    width: 100%;
    height: 80%;
    border-radius: 25px;
    opacity: 0.9;
    z-index: 1;
    background-color: #BEA592;*/
}
.slide-2 .text-block {z-index: 10000;
    position: relative;
    width: 100%;
    border-radius: 25px;
    opacity: 0.9;
    z-index: 1;
    background-color: #BEA592;
    padding: 60px 120px;
    left: -120px;}
.dark-overlay3 {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 35%;
    height: 300px;
    background: #383639;
    border-radius: 25px;
    opacity: 0.9;
    z-index: 1;
}
.dark-overlay4 {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 35%;
    height: 300px;
    background: #383639;
    border-radius: 25px;
    opacity: 0.9;
    z-index: 1;
}

.dual4 .image-left {
    z-index: 2;
    position: absolute;
    top: 25%;
    left: -40px;
    width: 50%;
    height: auto;
    border-radius: 25px;
}

.dual4 .image-right {
z-index: 1;
    position: absolute;
    bottom: -80px;
    right: -40px;
    width: 70%;
    height: auto;
    border-radius: 25px;
}

@media (max-width: 768px) {
/*    .slide-3, .slide-4 {display: none!important;}*/
    .slide-bg {
/*        height: 750px!important;*/
    }
    .slide-2 .dark-overlay2 {height: 95%;}
    .content .logo img {
    max-width: 200px;
    max-height: 200px;
}
.info-item img {
/*    width: 24px;
    height: 24px!important;
    margin-right: 10px;*/
}
    .dual4 .image-left {
        width: 200px;
        top: 30px;
        left: 20px;
    }
    
    .dual4 .image-right {
        width: 300px;
        bottom: 30px;
        right: 20px;
    }
    
    .dark-overlay {
        width: 150px;
        height: 100px;
        top: 30px;
        right: 30px;
    }
}



/* Стили для кнопок prev/next */
.detail-slider .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.8);
    border: none;
    font-size: 0;
    cursor: pointer;
    transition: background 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.detail-slider .slick-arrow:hover {
    background: rgba(255,255,255,1);
}

.detail-slider .slick-prev {
    left: 15px;
}

.detail-slider .slick-next {
    right: 15px;
}

/* Стрелки с использованием псевдоэлементов */
.detail-slider .slick-prev::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    width: 12px;
    height: 12px;
    border-left: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: translateY(-50%) rotate(45deg);
}

.detail-slider .slick-next::before {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    width: 12px;
    height: 12px;
    border-right: 2px solid #333;
    border-top: 2px solid #333;
    transform: translateY(-50%) rotate(45deg);
}
.detail-slider .slick-dots .slick-active button {
    background: #ff3366; /* Активный цвет точек */
}

.detail-slider .slick-arrow {
    background: rgba(0,0,0,0.5); /* Темные кнопки */
}

.detail-slider .slick-arrow::before {
    border-color: #bf94a0; /* Белые стрелки */
}

.detail-slider .slick-arrow {
    transition: all 0.3s ease;
}

.detail-slider .slick-dots button {
    transition: transform 0.2s, background 0.3s;
}

.detail-slider .slick-dots button:hover {
    transform: scale(1.2);
}
.cases .btn {border-radius: 8px;
    padding: 10px 30px;}

@media (max-width: 768px) {
    .detail-slider .slick-arrow {
        width: 30px;
        height: 30px;
    }
    
    .detail-slider .slick-prev::before {
        left: 10px;
        width: 10px;
        height: 10px;
    }
    
    .detail-slider .slick-next::before {
        right: 10px;
        width: 10px;
        height: 10px;
    }
}


/* Стили для галереи */
.gallery-section {
    padding: 60px 0;
}

.section-title {
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
    color: #2c2c2c;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-radius: 20%;
}

.gallery-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-content {
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
}

.gallery-item:hover .overlay {
    background: rgba(0, 0, 0, 0.5);
}

.gallery-item:hover .overlay-content {
    opacity: 1;
}

.overlay span {
    display: inline-block;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.95);
    color: #2c2c2c;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.overlay span:hover {
    background: #bea592;
    color: white;
}

.no-gallery {
    text-align: center;
    color: #7a7a7a;
    font-size: 18px;
    padding: 40px;
    background: #f8f8f8;
    border-radius: 8px;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .overlay span {
        padding: 10px 20px;
        font-size: 14px;
    }
}





.section-f {position: relative;
    display: block;
    background: #000;
    padding-top: 120px;
    padding-bottom: 120px;}
/* ===== СЕКЦИЯ С ФОНОМ ===== */
.section-f-bg{
    /* Геометрия через переменные */
    --D: clamp(560px, 80vw, 1180px);   /* диаметр красного круга */
    --R: clamp(420px, 70vw, 1000px);   /* диаметр правого круга  */
    --shiftY: 50%;                     /* общий центр по вертикали (чуть выше 50%) */

    position: relative;
    overflow: hidden;

    /* высота секции зависит от круга: держим пропорции на широких экранах */
    min-height: clamp(520px, calc(var(--D) * 0.62), 860px);

    background-image: var(--bg);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 90% auto;
}

/* тонкая подстройка фона по ширинам */
@media (min-width:1600px){ .section-f-bg{ background-size: 68% auto; } }
@media (max-width:1200px){ .section-f-bg{ background-size: 80% auto; } }
@media (max-width: 992px) { .section-f-bg{ background-size: cover; background-position:center; } }

/* диагональная вуаль */
.section-f-bg::after{
    content:"";
    position:absolute; inset:0;
    background: linear-gradient(to top right,
        rgba(0,0,0,.55) 0%,
        rgba(0,0,0,.20) 40%,
        rgba(0,0,0,0) 100%);
    z-index: 0;
}

/* ===== ЛЕВЫЙ КРАСНЫЙ КРУГ (декор) ===== */
.red-circle{
    position: absolute;
    top: var(--shiftY);
    transform: translateY(-50%);
    width: var(--D);
    height: var(--D);
    /* правый край круга — ровно по центру экрана */
    left: calc(58vw - var(--D));
    background: #D7182A;
    border-radius: 50%;
    z-index: 1; /* ниже контента */
}

/* контент поверх круга, внутри контейнера */
.section-f-bg .on-red{
    position: relative;
    z-index: 3;
    color: #fff;
    padding: 56px 24px 72px;
    max-width: 760px;
}
@media (max-width:1200px){
    .section-f-bg .on-red{ max-width: 680px; }
}
@media (max-width:992px){
    .red-circle{ /* на планшетах делаем круг крупнее, но центр оставляем общий */
        --D: clamp(520px, 120vw, 1400px);
        left: calc(50vw - var(--D));
    }
    .section-f-bg .on-red{ max-width: none; padding: 8vw 5vw; }
}

/* ===== СПИСОК СВОЙСТВ ===== */
.info-blocks .info-item{
    align-items: center;
    margin: 12px 0;
    color: #fff;
    font-family: 'Arsenica Trial', sans-serif;
    letter-spacing: 2px;}

.info-blocks .info-item img{ width:32px; height:auto; }
.info-blocks .info-item span{ font-weight:500;font-family: 'Montserrat', sans-serif; padding-right: 10px;}

/* ===== ПРАВЫЙ ТЁМНЫЙ ПОЛУКРУГ + ЛОГО/УЗОР ===== */
.right-ornament{
    position: absolute; inset: 0;
    pointer-events: none;
    z-index: 2;
}
.text-block-1 {
    width: 70%;
    text-align: center;
}
p {
    margin-bottom: 15px;
    font-size: 22px;
}



/* Сам полукруг: половина круга всегда "за экраном" справа */
.right-ornament::before{
    content: "";
    position: absolute;
    width: var(--R);
    height: var(--R);
    right: calc(-0.4 * var(--R));   /* половина скрыта за правым краем */
    top: var(--shiftY);
    transform: translateY(-50%);
    background: rgba(20,20,20,.6);
    border-radius: 50%;
    z-index: 1;
}

/* ЛОГО (высота привязана к ширине экрана, с ограничением) */
.right-ornament .logo{
    position: absolute;
    right: 2.2vw;
    top: calc(var(--shiftY) - 40%);    /* синхронно с общим центром */
    transform: translateY(-50%);
    height: clamp(280px, 36vw, 520px);
    z-index: 2;
    will-change: transform;
}

/* ВЕТКА */
.right-ornament .branch{
position: absolute;
    right: 4vw;
    bottom: 6%;
    width: clamp(360px, 34vw, 720px);
    opacity: .85;
    z-index: 2;
    will-change: transform;
}

/* НЕМНОГО ВЫШЕ НА ОЧЕНЬ ШИРОКИХ */
@media (min-width:1920px){
    .section-f-bg{ --shiftY: 44%; }
}
@media (min-width:2560px){
    .section-f-bg{ --shiftY: 42%; }
}

/* Планшеты и ниже */
@media (max-width:992px){
    .section-f-bg{ --shiftY: 48%; }
    .right-ornament .logo{ right: 4vw; top: calc(var(--shiftY) - 14%); height: clamp(220px, 38vw, 420px); }
    .right-ornament .branch{ right: 8vw; width: clamp(160px, 26vw, 320px); }
}



/* 2 блок - базовые размеры через переменные — устойчиво на любых разрешениях */
.section2{
  --D: clamp(420px, 62vw, 980px);     /* диаметр большого круга (и контурных) */
  --R: calc(var(--D) / 2);
  --redSize: clamp(220px, calc(var(--D) * 0.30), 460px); /* диаметр маленьких красных */
  --sideInset: calc(var(--D) * 0.35); /* насколько «внутрь» от края контурного круга стоят красные */
  --stroke: 2px;

  position: relative;
  background: #000;
  min-height: calc(var(--D) + 40px);
  display: grid;
  place-items: center;
  overflow: hidden;
}

/* центральный круг с картинкой */
.section2 .photo-circle{
  position: relative;
  width: var(--D);
  height: var(--D);
  border-radius: 50%;
  overflow: hidden;
  z-index: 2; /* поверх боковых кругов */
}
.section2 .photo-circle img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== боковые группы ===== */
.section2 .side{
  position: absolute;
  top: 50%;
  width: var(--D);
  height: var(--D);
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;               /* под центральным кругом */
}

/* контурные большие круги (белая обводка) — СНИЗУ */
.section2 .side::before{
  content: "";
  position: absolute;
  inset: 0;
  border: var(--stroke) solid #fff;
  border-radius: 50%;
  opacity: .9;
  z-index: 0;
}

/* сами красные круги */
.section2 .side .side-dot{
  position: absolute;
  width: var(--redSize);
  height: var(--redSize);
  border-radius: 50%;
  background: #D7182AE5 !important;
  z-index: 1;               /* выше ::before */
}

/* расположение левой/правой группы */
.section2 .side--left  { left: calc(50% - var(--D)); }
.section2 .side--right { left: 50%; }

/* горизонтальные отступы — ближе к центральному кругу */
.section2 .side--left  .side-dot{ right: var(--sideInset); }
.section2 .side--right .side-dot{ left:  var(--sideInset); }

/* вертикальное расположение пары */
.section2 .side .side-dot.top    { top:    16%; }
.section2 .side .side-dot.bottom { bottom: 16%; }



/* лёгкие коррекции на очень широких/узких экранах */
@media (min-width: 1920px){
  .section2{ --redSize: calc(var(--D) * 0.28); --sideInset: calc(var(--D) * 0.10); }
}
@media (max-width: 768px){
  .section2{ --D: 88vw; --redSize: calc(var(--D) * 0.26); }
  .section2 .side .red.top    { top:  18%; }
  .section2 .side .red.bottom { bottom: 18%; }
}





/* ===== Секция ===== */
.section3{
  /* круг чуть меньше и левее центра */
  --D: clamp(480px, 42vw, 980px);
  --R: calc(var(--D) / 2);
  --cx: 36%;                 /* центр круга по X */
  --cy: 50%;
  --stroke: 2px;

  position: relative;
  background:#000;
  min-height: calc(var(--D) + 140px);
  overflow: hidden;
  display: flex;
    flex-direction: column;
    justify-content: center;
}

/* общий вид картинки для обоих слоёв */
.section3 .image-left,
.section3 .circle-window{
  background-image: var(--img);
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
}

/* слева фото до вертикального диаметра круга */
.section3 .image-left{
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--cx)) 0 0);
  z-index: 0;
}

/* то же фото внутри круга */
.section3 .circle-window{
  position: absolute;
  inset: 0;
  clip-path: circle(var(--R) at var(--cx) var(--cy));
  z-index: 1;               /* под белой окантовкой */
}

/* белая окружность поверх всего */
.section3::after{
  content:"";
  position:absolute;
  left: calc(var(--cx) - var(--R));
  top:  calc(var(--cy) - var(--R));
  width: var(--D);
  height: var(--D);
  border: var(--stroke) solid #fff;
  border-radius: 50%;
  z-index: 3;
}

/* правый блок */
.section3 .right-box{
  position: relative;
  z-index: 4;
  margin-left: calc(var(--cx) + var(--R) + 4vw);
  padding: 3rem 4vw 3.5rem 0;
  color:#fff;
  max-width:560px;
}
.section3 .logo{
  width: clamp(220px, 24vw, 380px);
  height:auto;
  display:block;
  margin-bottom:1rem;
}
.section3 .right-text{
  font-size: clamp(14px, 1.2vw, 18px);
  line-height:1.5;
  opacity:.9;
}

/* узор — чуть больше и развёрнут */
.section3 .branch{
position: absolute;
    right: 14.5vw;
    top: -30.5rem;
    width: clamp(260px, 36vw, 600px);
    height: auto;
    opacity: .35;
    transform-origin: 100% 0%;
    transform: rotate(320deg) scale(1.5);
    z-index: 2;
}

/* адаптация */
@media (max-width:1024px){
  .section3{ --cx: 50%; } /* круг по центру */
  .section3 .right-box{
    margin-left:auto; margin-right:auto;
    max-width:86%; text-align:center;
    padding:2rem 0 3rem;
  }
  .section3 .logo{ margin:0 auto 1rem; }
}




@media(max-width: 767px){
.info-blocks .info-item img {
    width: 20px;
    height: auto;}
    .info-blocks .info-item span {
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    padding-right: 5px;
}
    .info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 20px;
    color: #fff;
    margin-right: 10px;
}
.sector-3.slider-cases, .more-cases {
    padding: 30px 0;
}
.page_1 {
    padding: 70px 0 0 0!important;
}
.more-cases .h-black h2 {
    font-size: 70px;
    line-height: normal;
    color: #222222;
    text-transform: uppercase;
    margin-bottom: 0;
    margin-top: 0;
}
.cases-section {
    margin-bottom: 0;
}
.cases-section .slide-container {
    height: 300px;
}
.back {
    width: auto;}

}
@media (max-width: 450px){
    #header-cases .banner .img img {
        height: 400px;
    }
.page_1 {
    padding: 70px 0 0 0!important;
}
}
/* End */


/* Start:/local/templates/general/components/bitrix/news.list/cases-more/style.css?17555570226681*/
/* style.css */

/*    .banner{
    display: none;
}*/
.cases .page_13.preim .box .left {
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;    
}
.cases-section {
    padding: 60px 0;
margin-bottom: 60px;
}

.cases-grid {
    display: grid;
/*    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));*/
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-card {
    position: relative;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}
.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
.slide-container {
    position: relative;
    width: 100%;
    height: 350px;
}

.slide-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/*.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.5s;
}


.case-card:hover .slider-overlay {background: linear-gradient(to bottom, rgb(0 0 0 / 0%), rgb(0 0 0 / 40%));transition: all 0.5s;}
*/
.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
    overflow: hidden;
}

/* Псевдоэлемент с градиентом */
.slider-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
    z-index: -1;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

/* При ховере — уменьшаем прозрачность градиента */
.case-card:hover .slider-overlay::before {
    opacity: 0.3;
}

.slider-overlay .top-overlay {
    display: flex;
    justify-content: space-between;
/*    align-items: center;*/
}
.detail-type .text{
    background: #ffffffcf;
    padding: 5px 10px;
/*    border-radius: 15px;*/
    color: #383639;
}

.logo-overlay {
/*    margin-bottom: 20px;*/
    width: 100px;
    height: 100px;
/*    background-color: #383639;*/
    display: flex;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}
.case-card:hover .logo-overlay {
opacity: 0;
}

.logo-overlay .logo-img {
    max-width: 100px;
    max-height: 100px;
    height: auto;
    background-color: white;

}

.slider-content {
    position: relative;
    z-index: 2;
}

.case-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.case-details {
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.detail-item .icon {
    margin-right: 10px;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
}

.detail-item .icon img {
    /*width: 20px;
    height: 20px;*/
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #0056b3;
}

.slick-dots {
    bottom: 10px;
}

.slick-dots li button:before {
    color: #fff !important;
}


.cases-section .slide-container {height: 500px;}
.cases .nav {
    padding: 59px 0;
}
@media (max-width: 768px) {
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .slide-container {
        height: 250px;
    }
    
    .logo-img {
        max-width: 120px;
    }
}











/* Стили для кнопок prev/next */
.cases-section .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.8);
    border: none;
    font-size: 0;
    cursor: pointer;
    transition: background 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.cases-section .slick-arrow:hover {
    background: rgba(255,255,255,1);
}

.cases-section .slick-prev {
    left: 15px;
}

.cases-section .slick-next {
    right: 15px;
}

/* Стрелки с использованием псевдоэлементов */
.cases-section .slick-prev::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    width: 12px;
    height: 12px;
    border-left: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: translateY(-50%) rotate(45deg);
}

.cases-section .slick-next::before {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    width: 12px;
    height: 12px;
    border-right: 2px solid #333;
    border-top: 2px solid #333;
    transform: translateY(-50%) rotate(45deg);
}
.cases-section .slick-dots .slick-active button {
    background: #ff3366; /* Активный цвет точек */
}

.cases-section .slick-arrow {
    background: rgba(0,0,0,0.5); /* Темные кнопки */
}

.cases-section .slick-arrow::before {
    border-color: #bf94a0; /* Белые стрелки */
}

.cases-section .slick-arrow {
    transition: all 0.3s ease;
}

.cases-section .slick-dots button {
    transition: transform 0.2s, background 0.3s;
}

.cases-section .slick-dots button:hover {
    transform: scale(1.2);
}
.cases .btn {border-radius: 8px;
    padding: 10px 30px;}

@media (max-width: 768px) {
    .cases-section .slick-arrow {
        width: 30px;
        height: 30px;
    }
    
    .cases-section .slick-prev::before {
        left: 10px;
        width: 10px;
        height: 10px;
    }
    
    .cases-section .slick-next::before {
        right: 10px;
        width: 10px;
        height: 10px;
    }
}


/* Анимация появления */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease-out forwards;
    opacity: 0;
}

/* Стили для кнопки */
.show-more-wrapper {
    text-align: center;
    margin-top: 40px;
}

.btn.btn-secondary {
    background: #f0f0f0;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn.btn-secondary:hover {
    background: #e0e0e0;
}

p {
    margin-bottom: 15px;
    font-size: 22px;
}

.text-block-1{width: 70%;text-align: center;}
/* End */
/* /local/templates/general/components/bitrix/news/cases_template_v2/bitrix/news.detail/detailblog/style.css?175559226928415 */
/* /local/templates/general/components/bitrix/news.list/cases-more/style.css?17555570226681 */
