

/* Start:/local/templates/main/components/bitrix/news.detail/main-slider/style.css?17805869443730*/
.main-banner {
   position: relative;
   min-height: 500px; /* Высота для десктопа */
   background-size: cover;
   background-position: center;
   display: flex;
   align-items: center;
   padding: 0;
   overflow: hidden;
}

/* Блок с градиентом поверх фона */
.banner-overlay {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: 
   /* Нижний переход к цвету #eee */
   linear-gradient(0deg, #eee 0%, rgba(238, 238, 238, 0) 25%),
   /*  боковой градиент*/
   linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 40%, rgba(255,255,255,0) 100%);
   /* чтобы градиенты не конфликтовали */
   background-blend-mode: normal; 
   z-index: 1;
}
.banner-image-overlay {
   background-size: contain;
   background-position-x: left;
   background-position-y: center;
   height: 100%;
   width: 50%;
   position: absolute;
   left: 50%;
   top: 0;
   bottom: 0;
   z-index: 1;
   pointer-events: none;
   background-repeat: no-repeat;
}

.banner-container {
   position: relative;
   z-index: 2;
}
.main-banner .banner-container{
    padding: 60px 0;
}

/* Бейдж*/
.banner-badge {
   display: inline-flex;
   border-bottom: 1px solid #214a7c;
   padding: 9px 10px;
   backdrop-filter: blur(10px);
   background: rgba(255, 255, 255, 0.6);
   font-weight: 400;
   font-size: 18px;
   
   /* line-height: 23px; */ 
   line-height: 130%;
   color: #000;
}

/* Заголовок */
.banner-title {
   font-family: 'Roboto Condensed', sans-serif;
   font-weight: 700;
   font-size: clamp(32px, 5vw, 64px); /* Адаптивный размер шрифта */
   line-height: 1.1;
   color: #000;
   text-transform: uppercase;
}

/* Кнопка основная */
.btn-primary-custom {
   background: #821774;
   color: #fff;
   padding: 12px 30px;
   font-weight: 700;
   font-size: 20px;
   border: none;
   transition: 0.3s;
   text-decoration: none;
}
.btn-primary-custom:hover {
   background: #6a125e;
   color: #fff;
}

/* Кнопка видео */
.btn-video-custom {
   background: rgba(255, 255, 255, 0.5);
   outline: 1px #821774 solid;
   color: #000;
   padding: 12px 30px;
   font-weight: 700;
   font-size: 20px;
   display: flex;
   align-items: center;
   gap: 10px;
   text-decoration: none;
   transition: 0.3s;
}
.btn-video-custom:hover {
   background: rgba(255, 255, 255, 0.8);
}

/* Описание */
.banner-description {
   max-width: 530px;
   font-size: 16px;
   line-height: 1.4;
   color: #000;
}

.banner-description b, 
.banner-description strong {
   color: #214A7C;
}

@media (max-width: 991.99px) {
   .banner-image-overlay {
      left: 60%;
   }
}
/* Адаптивность для мобильных */
@media (max-width: 768px) {
   .main-banner {
       min-height: auto;
       padding: 0;
   }
   .main-banner .banner-container{
       padding: 60px var(--bs-gutter-x,.75rem);
   }
   .banner-overlay {
       /* На мобильных делаем более плотный фон под текстом */
       background: rgba(255, 255, 255, 0.85);
   }
   .banner-image-overlay {
      display: none;
   }
}
.main-banner .bgvideo  {
   position: absolute;
  background-size: cover;
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
  width: 100%;
  left: 0;
   }
.main-banner .video{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 1;
}
/* End */


/* Start:/local/templates/main/components/bitrix/news.list/services_list/style.css?17799785312015*/
.services-grid.row{
   --bs-gutter-x: 10px;
   --bs-gutter-y: 0;
}
.services-grid .service-card {
   background: #ffffff;
   border: 1px solid var(--01-purple);
   padding: 7px;
   display: flex;
   flex-direction: column;
   transition: all 0.3s ease;
   min-height: 450px;
   color: #000;
   position: relative;
}
.services-grid .service-card .service-card-top{
   margin-top: 14px;
   margin-bottom: auto;
}
.services-grid .service-card:hover {
   box-shadow: 0 10px 25px rgba(130, 23, 116, 0.15);
   transform: translateY(-3px);
}
.services-grid .service-card:hover a.arrow-btn{
   background-color: var(--deepblue);
}
.services-grid .service-card .arrow-btn{
   margin-left: auto;
   margin-right: auto;
}
.services-grid h3 {
   font-weight: 700;
   font-size: 20px;
   line-height: 1.3;
   color: #000;
   margin-bottom: 15px;
}

.services-grid .service-text {
   font-weight: 300;
   font-size: 16px;
   line-height: 1.35;
   color: #000;
}
.services-grid .service-text b{
   font-weight: 700;
}


.services-grid .service-card-bottom {
   margin-top: auto;
   margin-bottom: 5px;
   text-align: center;
}

.services-grid .service-img-wrapper {
   position: relative;
   overflow: hidden;
}

.services-grid .service-img-bg {
   width: 100%;
   /* Фиксируем пропорции 277/158 */
   aspect-ratio: 277 / 158; 
   
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
   position: relative;
}
.services-grid .service-img-bg img{
   display: none;
}

/* Для старых браузеров (фолбэк), если aspect-ratio не поддерживается */
@supports not (aspect-ratio: 1/1) {
   .services-grid .service-img-bg {
       height: 0;
       padding-top: 57%; /* (158 / 277) * 100 */
   }
}
/* Адаптив для маленьких экранов */
@media (max-width: 575px) {
   .services-grid .service-card {
       min-height: auto;
   }
}

/* End */


/* Start:/local/templates/main/components/bitrix/news.list/points/style.css?17805857053199*/
/* 1. Базовый контейнер карты */
.map-container {
   position: relative;
   width: 100%;
   aspect-ratio: 16 / 10; 
   background-size: contain;
   background-repeat: no-repeat;
}

/* 2. Точки на карте */
.map-point {
   position: absolute;
   width: 24px;
   height: 24px;
   background: var(--redd); 
   border-radius: 50%;
   z-index: 10;
   cursor: pointer;
   text-align: center;
   color: #fff;
   font-weight: 700;
   font-size: 16px;
}

/* 3. SVG Линии (связки) */
.map-lines-svg {
   position: absolute;
   top: 0; 
   left: 0; 
   width: 100%; 
   height: 100%;
   pointer-events: none;
   z-index: 5;
   display: none; /* Включается через JS при активации точки */
}

.map-lines-svg line {
   stroke: var(--redd);
   stroke-width: 1.5;
}

/* 4. Поповеры (окна описания) */
.point-popover {
   display: none;
   position: absolute;
   width: 290px;
   min-width: 200px;
   backdrop-filter: blur(15px);
   background: rgba(255, 255, 255, 0.3);   
   border: 1px solid var(--redd);
   padding: 9px 13px 13px;
   z-index: 100;
   pointer-events: auto;
   font-weight: 300;
   font-size: 16px;   
   line-height: 1.3;
}
.point-popover h6{
   font-weight: 700;
   font-size: 20px;
   line-height: 1.3;
   color: #000;   
}
/* Кнопка закрытия */
.popover-close {
   top:5px; 
   right:10px; 
   cursor:pointer; 
   display: none; /* Только для мобилок */
   position: absolute;
   font-size: 24px;
   cursor: pointer;
   line-height: 1;
   color: var(--redd);
}
.points-list {
   list-style: none;
   padding: 0;
   margin: 0;
   column-count: 3;
   column-gap: 5px; 
   width: 100%; 
}

.points-list li {
   break-inside: avoid; 
   font-weight: 300;
   font-size: 16px;

   /* line-height: 21px; */ 
   line-height: 130%;
   color: #000;
   cursor: pointer;
}
.points-list li:hover{
   color: var(--redd);
}
/* 5. Адаптив под планшеты и телефоны */
@media (max-width: 991px) {
   
   .points-list {
      column-count: 2;
   }
   /* Центрируем окно по экрану (модальный вид) */
   .point-popover {
       position: fixed !important;
       top: 50% !important;
       left: 50% !important;
       transform: translate(-50%, -50%);
       width: 85%;
       max-width: 400px;
       box-shadow: 0 10px 50px rgba(0,0,0,0.4);
   }

   /* Показываем крестик */
   .popover-close {
       display: block;
   }

   /* Скрываем линии на мобилках, чтобы не перегружать интерфейс */
   .map-lines-svg {
       display: none !important;
   }

   /* Затемнение фона при активном окне */
   .map-container.active-popover::after {
       content: '';
       position: fixed;
       top: 0; left: 0; 
       width: 100%; height: 100%;
       background: rgba(255,255,255,0.5);
       z-index: 90;
   }
}

@media (max-width: 600px) {
   
   .points-list {
      column-count: 1;
   }
}
/* End */


/* Start:/local/templates/main/components/bitrix/news.list/blocks-faq/style.css?17755023471104*/
.faq-list .row:not(.g-0,.gy-0){
   --bs-gutter-x: 5px;
   --bs-gutter-y: 5px;  
}
.faq-card {
   border: 1px solid var(--01-purple);
   background: #fff;
   transition: transform 0.3s ease;
   padding: 18px;
   /* line-height: 26px; */ 
   line-height: 130%;
   color: #000;
}
.faq-card .link-over{
   z-index: 2;
}
.faq-card:hover {
   box-shadow: 0 10px 25px rgb(130 23 116 / 15%);
   transform: translateY(-3px);
}
.faq-card:hover .faq-card-bottom a i{
   background-color: var(--deepblue);
}
.faq-card:hover .faq-card-bottom a:hover i{
   background-color: var(--redd);
}

.faq-number {
   position: absolute;
   top: 10px;
   left: 18px;
   font-weight: 300;
   font-size: 100px;
   
   /* line-height: 130px; */ 
   line-height: 130%;
   color: rgba(0, 0, 0, 0.1);   
   z-index: 0;
}

.faq-title {
   position: relative;
   z-index: 1;
   font-weight: 700;
   font-size: 20px;
   
   
}

.faq-text {
   position: relative;
   z-index: 1;
   font-weight: 300;
   font-size: 16px;
}

.faq-card-bottom{
   z-index: 3;
   position: relative;
   width: auto;
   margin-right: 0;
   margin-left: auto;
}
/* End */


/* Start:/local/templates/main/components/bitrix/news.list/carousel-video/style.css?17739314541234*/
.video-item .video-preview-wrapper{
   border: 1px solid var(--01-purple);
   padding: 6px;
   background: #fff;
}
.video-carousel .item{
   padding: 0 5px;
}
.video-item .video-image-overlay{
   opacity: 0.3;
   padding-top: 54%;
   background-position: center;
   background-size: cover;
   width: 100%;
}
.video-carousel {
   margin: 0 -5px; 
   position: relative;
}
.video-carousel .video-preview-wrapper,
.video-carousel .video-item{
   position: relative;
}
.video-carousel .video-item p{
   font-weight: 300;
   font-size: 16px;
   
   /* line-height: 26px; */ 
   line-height: 130%;
   color: #000;
   padding-right: 15px;
}
.video-carousel .video-item p b,
.video-carousel .video-item p strong{
   font-weight: 600;
}
.video-carousel .video-item p.title{
   font-weight: 700;
   font-size: 20px;
}

.video-item .video-icon-circle,
.video-item .pulse-waves{
   opacity: 0;
}
.video-item:hover .video-preview-wrapper{
   background: var(--redd);
   border-color: var(--redd);
}
.video-item:hover .video-icon-circle,
.video-item:hover .pulse-waves{
   opacity: 1;
}
.video-item:hover .video-image-overlay{
   opacity: 1;

}
.video-item .pulse-waves{
   z-index: 1;
}

/* End */


/* Start:/local/templates/main/components/bitrix/news.detail/about-section/style.css?1773931051940*/
.about-grid {
   display: flex;
   gap: 40px;
   align-items: stretch;
}

/* Левая часть */
.about-visual {
   position: relative;
}
.about-image-wrap{
   width: 100%;
   border: 1px solid var(--01-purple);
   padding: 7px;
}
.about-image {
   width: 100%;
   aspect-ratio: 1 / 1; /* Квадрат */
   background-size: cover;
   background-position: center;
   position: relative;
   overflow: hidden;
}

/* Правая часть (текст) */
.about-content {
   display: flex;
   flex-direction: column;
   justify-content: space-between; /* Прибивает кнопку к низу */
}

/* Адаптивность */
@media (max-width: 768px) {
   .about-grid {
       grid-template-columns: 1fr;
   }
   .about-image {
       aspect-ratio: 16 / 9; /* На мобилках лучше прямоугольник */
   }
   .about-actions {
       margin-top: 20px;
   }
}

/* End */


/* Start:/local/templates/main/components/bitrix/news.list/map2/style.css?17781154145099*/

#map .ymaps-2-1-79-ground-pane,
#map .ymaps-layers-pane {
   -webkit-filter: grayscale(100%);
   /*-webkit-transition: filter 2s ease;
   -moz-transition: filter 2s ease;
   -ms-transition: filter 2s ease;
   -o-transition: filter 2s ease;*/
   transition: filter 2s ease;
}
#map:active .ymaps-2-1-79-ground-pane,
#map:active .ymaps-layers-pane{
   -webkit-filter: grayscale(0%);
}
.page-contact .contain-map{
   height: 440px;
}
@media (min-width: 1200px) {
   .contain-map{
      height: 600px;
      width: 100%;
      max-height: calc(100vh - 100px);
   }
   .page-contact .contain-map{
      height: 400px;
   }
}
.page-contact #map .ymaps-2-1-79-controls__toolbar{
    opacity: 0;
}
.page-contact #map .ymaps-2-1-79-inner-panes:before{
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    top: 0;
    height: 100%;
    
  background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(245, 245, 245, 1) 100%);
    pointer-events: none;
    z-index: 620;
   -webkit-transition: all .3s ease;
   -moz-transition: all .3s ease;
   -ms-transition: all .3s ease;
   -o-transition: all .3s ease;
   transition: all .3s ease;
}
.page-contact #map:hover .ymaps-2-1-79-inner-panes:before{
   opacity: 0;
}
.page-contact #map.color .ymaps-2-1-79-ground-pane{
   -webkit-filter: grayscale(0%);
}
.page-contact #map:hover .ymaps-2-1-79-controls__toolbar{
    opacity: 1;
}



.contain-map{
    position: relative;
}

/* Оформление меню (начало)*/
.map-filter{
   position: absolute;
   top: 48px;
   bottom: 48px;
   left: 0;
   right: 0;
   pointer-events: none;
   z-index: 10;
}
.map-filter > div{
    height: 100%;
}
.map-filter .city_list-wrap{
   width: 310px;
   height: 100%;
   overflow-y: hidden;
   backdrop-filter: blur(10px);
   box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.25);
   background: rgba(255, 255, 255, 0.39);
   border: 1px solid var(--01-purple);
   pointer-events: all;
   margin-left: auto;
   margin-right: 0;
    position: relative;
    padding: 18px 10px;
}



.menu-avtoservice {
   list-style: none;
   padding: 0;
   margin: 0;
}
.avtoservice-point{
   font-weight: 300;
   font-size: 16px;
   /* line-height: 21px; */ 
   line-height: 130%;
   color: #000;
}
.avtoservice-point .avtoservice-name,
.avtoservice-point .avtoservice-phone{
   font-weight: 600;
}
.avtoservice-point.active .avtoservice-name{
   color: var(--redd)
}
.submenu {
   list-style: none;
   margin: 0 0 0 0;
   padding: 0;
   display: none;
}
.avtoservice-city > span{
    color: #000;
}

.avtoservice-city > span:hover{
   color: var(--redd);
}
li.avtoservice-city:before {
    content: "•";
    float: left;
    padding: 0 0.5em 0 0;
    margin-left: -15px;
    padding-right: 10px;
    font-size: 14px;
}
.menu-avtoservice li {
    display: block;
    float: left;
    width: 100%;
    border-bottom: 1px solid var(--deepblue);
    padding: 10px 0;
}
.avtoservice-point:hover{
   cursor: pointer;
   color: var(--01-purple);
}
.menu-avtoservice li:hover{
    border-color:  var(--redd);
}

.avtoservice-city{
cursor: pointer;
 padding-left: 25px;
 color: #000;
}
.avtoservice-city .submenu.active{
display: block;
}
.avtoservice-point .avtoservice-name{
   font-weight: bold;
}
.map-filter .filtered-hidden{
   display: none;
}

/* Оформление меню (конец)*/

.city_list-wrap.scroller-baron.h-mode .list-scroller{
    /*height: calc(100% - 70px);*/
    position: relative;
    padding-top: 10px;
}
.city_list-wrap h3{
   margin-bottom: 0;
}

.scroller-baron.h-mode .scroller,
.scroller-baron.h-mode .list-scroller {
	height: 100%;
	overflow-y: auto;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.scroller-baron.h-mode .scroller__content {
   display: block;
   float: left;
}

.scroller-baron.h-mode .scroller::-webkit-scrollbar {
	width: 0;
}

.scroller-baron.h-mode .scroller__content {
	position: relative;
	padding-right: 30px;
	overflow: hidden;
}

.scroller-baron.h-mode .scroller__bar-wrapper {
	position: absolute;
	z-index: 2;
	top: 10px;
	bottom: 10px;
	right: 15px;
	width: 3px;
	border-radius: 4px;
	background-color: rgba(0, 0, 0, 0.25);
	pointer-events: none;
	-webkit-transition: all 0.2s linear 0s;
	-moz-transition: all 0.2s linear 0s;
	-o-transition: all 0.2s linear 0s;
	transition: all 0.2s linear 0s;
	opacity: 0;
}

.scroller-baron.h-mode .scroller__bar {
	position: absolute;
	z-index: 1;
	width: 4px;
   left: -2px;
	border-radius: 4px;
   
   background-color: var(--01-purple);
	-webkit-transition: opacity 0.2s linear 0s;
	-moz-transition: opacity 0.2s linear 0s;
	-o-transition: opacity 0.2s linear 0s;
	transition: opacity 0.2s linear 0s;
	pointer-events: auto;
	opacity: 0;
}

.scroller-baron.h-mode .baron:hover .scroller__bar-wrapper {
	opacity: 1;
}

.scroller-baron.h-mode .baron:hover .scroller__bar {
	opacity: 1;
}
/* End */
/* /local/templates/main/components/bitrix/news.detail/main-slider/style.css?17805869443730 */
/* /local/templates/main/components/bitrix/news.list/services_list/style.css?17799785312015 */
/* /local/templates/main/components/bitrix/news.list/points/style.css?17805857053199 */
/* /local/templates/main/components/bitrix/news.list/blocks-faq/style.css?17755023471104 */
/* /local/templates/main/components/bitrix/news.list/carousel-video/style.css?17739314541234 */
/* /local/templates/main/components/bitrix/news.detail/about-section/style.css?1773931051940 */
/* /local/templates/main/components/bitrix/news.list/map2/style.css?17781154145099 */
