:root{
  --richblack: #010B13;
  --red: #c30e0f;
  --red-shadow: 0 0 0 .25rem rgba(195,14,15,.25);
  --dark-red: #9c0101;
  --yellow: #e2e247;
  --dark--yellow: #ebb915;
  --Montserrat-Regular: "Calibri";
  --border-radius: 10px;
  --gold-start: #f5ec9a;
  --gold-mid: #b79653;
  --gold-end: #986b30;
}

body {
  font-family: "Montserrat-Regular", "Calibri", sans-serif;
  font: 18px var(--Montserrat-Regular);
  background-color: #000;
}

a:hover {
  color: var(--gold-start);
}

span.red {
  color: var(--red);
}

span.blue {
  color: #6fa6d6;
}

.main-content {
  background-color: #000;
  color: #fff;
}

div[itemprop="articleBody"] ul li:before, div.content-category ul li:before, .about-us ul li:before {
  content: unset;
}

div[itemprop="articleBody"] ul, .custom ul {
  list-style: inside;
  margin-bottom: 1rem;
}

div[itemprop="articleBody"] h2 {
  font-size: 45px;
}

div[itemprop="articleBody"] p {
  /* text-align: justify; */
  text-indent: 30px; 
  margin-bottom: 15px; 
}

@media (max-width: 768px) {
  div[itemprop="articleBody"] h2 {
  font-size: 25px;
  text-align: center;
}
}
 
.mine-menu-button, .questions-section-form-button {
  border: 2px solid #fff;
  background-color: var(--red);
  color: #fff;
  transition: all 0.2s ease;
}

.mine-menu-button:first-child:after {
  background: url(/templates/microton/img/trending_flat_24dp_FILL0_wght400_GRAD0_opsz24_white.svg);
  height: 27px;
  width: 27px;
}

.mine-menu-button:first-child:hover:after {
  background: url(/templates/microton/img/trending_flat_24dp_FILL0_wght400_GRAD0_opsz24_white.svg);
}

.btn:hover {
  border: 2px solid #fff;
  background-color: var(--dark-red);
  transform: translateY(2px);
}

.btn:active {
  transform: translateY(4px);
}

/* Общие стили для золотых кнопок */
.mine-menu-button,
.mine-top-slider-slide-button {
    background: linear-gradient(90deg, var(--gold-start) 0%, var(--gold-mid) 50%, var(--gold-end) 100%);
    color: var(--richblack) !important;
    border: 2px solid var(--gold-mid) !important;
    border-bottom: 4px solid var(--gold-end) !important;
    box-shadow: 0 4px 0 0 var(--gold-end), 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease, background 0.3s ease;
    border-radius: var(--border-radius);
}

/* Специфичные стили для mine-menu-button */
.mine-menu-button {
    position: relative;
    height: 55px;
}

/* Ховер эффект для обеих кнопок */
.mine-menu-button:hover,
.mine-top-slider-slide-button:hover {
    background: linear-gradient(90deg, var(--gold-end) 0%, var(--gold-mid) 40%, var(--gold-start) 100%); 
    border: 2px solid var(--gold-mid);
    border-bottom: 2px solid var(--gold-mid);
    transform: translateY(2px);
    box-shadow: 0 2px 0 0 var(--gold-end), 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Активное состояние для обеих кнопок */
.mine-menu-button:active,
.mine-top-slider-slide-button:active {
    background: linear-gradient(90deg, var(--gold-end) 0%, var(--gold-mid) 40%, var(--gold-start) 100%); 
    transform: translateY(4px);
    border: 2px solid var(--gold-mid);
    border-bottom: 2px solid var(--gold-mid);
    box-shadow: 0 0 0 0 var(--gold-end), 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Обновляем стиль для иконки */
.mine-menu-button:first-child:after {
    background: url(/templates/microton/img/trending_flat_24dp_FILL0_wght400_GRAD0_opsz24.svg);
    height: 27px;
    width: 27px;
}

.mine-menu-button:first-child:hover:after {
    background: url(/templates/microton/img/trending_flat_24dp_FILL0_wght400_GRAD0_opsz24.svg);
}

.topMenuHeaderFixed {
  border-bottom: solid 1px var(--gold-mid);
}

.topMenuHeaderFixed button {
  background-color: var(--red);
  color: #fff;
  border: unset;
}

.topMenuHeaderFixed button.btn:hover {
  border: unset;
}

.topMenuHeaderFixed .mine-menu-button:first-child:after {
  background: url(/templates/microton/img/trending_flat_24dp_FILL0_wght400_GRAD0_opsz24.svg);
}

.topMenuHeaderFixed button:hover {
  background-color: var(--dark-red);
}

/* .main-menu li {
    font-weight: bold;
}

.main-menu li * {
    font-weight: normal;
} */

.text-block h2, .about-section-company-title span, .about-section-company-text h3, .partners-section h2 {
  color: #fff;
}

@media screen and (max-width: 767px) {
  .delivery-methods {
    flex-direction: column;
  }
}

@media screen and (max-width: 767px) {
  #content {
    margin-top: 0px;
  }

  .social-links {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media screen and (max-width: 800px) {
  .header__wrapper--first {
    line-height: 20px;
  }
  
  .header__wrapper--first .mb-2 {
    margin-bottom: -0.5rem !important;
  }

}
/* Обновленный увеличенный мобильный хедер */
@media screen and (max-width: 767px) {
    /* 1. Увеличиваем общую высоту за счет padding */
    .header__wrapper--first .container_header {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 15px 10px !important; /* Увеличили отступы (было 8px 4px) */
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Скрываем ненужные элементы */
    .container_header > a:nth-child(1), /* Лого */
    .container_header > div:nth-child(4) /* Старая почта */ {
        display: none !important;
    }

    /* 2. Блок АДРЕС - увеличиваем шрифт */
    .container_header > div:nth-child(2) {
        flex: 0 0 42% !important; /* Даем чуть больше места под адрес */
        width: 42% !important;
        max-width: 42% !important;
        font-size: 11px !important; /* Увеличили с 8px до 11px */
        line-height: 1.3 !important; /* Увеличили межстрочный интервал */
        text-align: left !important;
        color: #fff;
        padding-right: 5px !important;
    }

    /* 3. Блок ТЕЛЕФОНЫ - увеличиваем шрифт */
    .container_header > div:nth-child(3) {
        flex: 0 0 38% !important;
        width: 38% !important;
        max-width: 38% !important;
        font-size: 11px !important; /* Увеличили с 8px до 11px */
        line-height: 1.3 !important;
        text-align: center !important;
        color: #fff;
    }

    /* 4. Контейнер для КНОПКИ-ТРУБКИ */
    .container_header > div:nth-child(5) {
        flex: 0 0 20% !important;
        width: 20% !important;
        display: flex !important;
        justify-content: flex-end !important;
    }

    /* Сама кнопка-трубка */
    .header__phones-icon-mobile {
        width: 3.5rem !important; /* Оптимальный размер */
        height: 3.5rem !important;
        background: linear-gradient(130deg, var(--gold-end) 0%, var(--gold-mid) 50%, var(--gold-start) 100%) !important;
        border-radius: 50%;
        border: 1px solid var(--gold-mid);
        display: flex !important;
        align-items: center;
        justify-content: center;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    }
    
    .header__phones-icon-mobile img {
        width: 55% !important;
    }
}

/* Для совсем маленьких экранов (iphone SE), чтобы не было нахлеста */
@media screen and (max-width: 380px) {
    .container_header > div:nth-child(2),
    .container_header > div:nth-child(3) {
        font-size: 10px !important;
    }
    .header__phones-icon-mobile {
        width: 3rem !important;
        height: 3rem !important;
    }
}
.header__phones-icon-mobile {
        width: 3.8rem; 
        height: 3.8rem;
        /* Устанавливаем ваш градиент */
        background: linear-gradient(130deg, var(--gold-end) 0%, var(--gold-mid) 50%, var(--gold-start) 100%) !important;
        border-radius: 50%;
        border: 1px solid var(--gold-mid); /* Добавим тонкую рамку для четкости */
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); /* Добавим тень, чтобы кнопка "объёмно" выделялась */
        transition: all 0.2s ease;
        -webkit-appearance: none;
        outline: none;
    }
/* Фикс для микро-экранов (iphone SE и т.д.) */
@media screen and (max-width: 370px) {
    .container_header div:nth-child(2),
    .container_header div:nth-child(3),
    .container_header .mine-menu-button {
        font-size: 7px !important;
    }
}
.header_logo {
  font-size: 17px;
  color: white;
  text-align: center;

}

.header_logo img {
  width: auto;
  max-height: 115px;
}

.logo_footer {
  width: 100%;
}
.logo_item {
  justify-content: center;
}
.gallery.row .thumb {
  margin-bottom: 15px;
}

.gallery.row .img-responsive {
  justify-content: center;
}

.img-responsive {
  width: 100%;
  height: 230px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius);
  cursor: pointer;
}

.category-card:not(div):hover .category-card__text:before,
.category-card__after > * {
  width: 40% !important;

}

.advantages-section-item-btn {
    background-image: url(/templates/microton/img/advantages-icon/bg8.jpg);
    background-size: cover;
}

[class^="advantages-section-item-"]::before {
    background-color: rgba(0, 0, 0, 0.1);
}

/* top-slider */

.mine-top-slider-slide_1 {
  background:  url(/templates/microton/img/top-slider/teplovos_slider_1.jpg) center / cover no-repeat ;
  position: relative;
}

.perechen {
  font-size: 20px;
  font: 20px
}

.mine-top-slider-slide_1 > * {
  position: relative;
  z-index: 2; 
}

.mine-top-slider-slide_2 {
  background: url(/templates/microton/img/top-slider/top_slider_3.jpg) center / cover no-repeat ;
}

.mine-top-slider-slide_3 {
  background: url(/templates/microton/img/top-slider/top_slider_2.jpg) center / cover no-repeat ;

}
/* Полностью убрать затемнение */
.swiper-top-slider [class*="mine-top-slider-slide_"]::before,
.swiper-top-slider [class*="mine-top-slider-slide_"]::after {
  content: none !important;
  background: none !important;
  opacity: 0 !important;
  display: none !important;
}


.mine-top-slider-slide_content,
.mine-top-slider-slide_content_subtitle {
  background: transparent !important;
}

/* Отключаем возможные фильтры */
.swiper-top-slider .swiper-slide,
.swiper-top-slider [class*="mine-top-slider-slide_"] {
  filter: none !important;
  background-blend-mode: normal !important;
}

/* top-slider end */

.container_header {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 1635px;
    align-items: center;
     text-align: justify; 
}

.col-12.d-none.d-lg-flex.align-items-center.justify-content-center.col-lg-2.col-xl-3.px-0 {
    padding-right: 45px !important;
}

.partners_h2 {
    text-align: left;
    margin-left: -20px;
    font-size: 40px;
    color: #0b53b3;
}

.advantages-section-title h2 {
  font-weight: unset;
  padding: 30px 0 0px;
  color: #fff;
  text-align: center;
}
.text_container {
  text-align: justify;
}





.rf-button-send {
        font-size: 16px !important; 
        padding: 20px !important;
    }
.rf-button-send::after {
    transform: scale(1.5); 
    margin-left: 20px !important;
}

.modal-footer .rf-button-send {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 55px;
    padding: 5px 30px;
    
    font-size: 16px; 
    font-weight: 600;
    text-transform: uppercase;
    color: var(--richblack) !important;
    
    background: linear-gradient(90deg, var(--gold-start) 0%, var(--gold-mid) 50%, var(--gold-end) 100%) !important;
    border: 2px solid var(--gold-mid) !important;
    border-bottom: 4px solid var(--gold-end) !important;
    border-radius: var(--border-radius);
    
    box-shadow: 0 4px 0 0 var(--gold-end), 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease, background 0.3s ease;
    cursor: pointer;
}

.modal-footer .rf-button-send:hover {
    filter: brightness(1.1);
    transform: translateY(1px);
    box-shadow: 0 3px 0 0 var(--gold-end), 0 6px 12px rgba(0, 0, 0, 0.3);
}

.modal-footer .rf-button-send:active {
    transform: translateY(3px);
    border-bottom-width: 1px !important;
    box-shadow: 0 1px 0 0 var(--gold-end), 0 4px 8px rgba(0, 0, 0, 0.3);
}
    
@media screen and (max-width: 767px) {
  .advantages .col-12.col-sm-3.d-flex.justify-content-center {
    width: 47%;
    margin: 3px;
  }
   .mine-top-slider-slide_content {
        height: 320px !important; /* Уменьшили с 450px до 320px */
    }

  .advantages-section-item, .advantages-section-item-btn {
    height: 225px;
  }
  
  .advantages-section-item-btn-block {
    height: unset;
  }
}

.about-section-company-title h2 {
    font-weight: unset;
}

.about-section-company-title span {
    font-weight: unset;
}

.slides {
    height: 600px;
}

.o-kompanii-gl {
    max-width: 620px;
    height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.row-category {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
}
.mine-reviews-slider-slide_content_width {
    position: relative;
    border-radius: var(--border-radius);
}

.mine-reviews-slider-slide {
    min-height: 100%;
}

.mine-reviews-section {
  margin: 40px 0 0;
  padding-bottom: 30px;
}

/* clients slider */

.swiper-slide img.logo {
    width: 150px !important;
}
 
/* window zakluchenie dogovora */

.contract-highlight {
  border: 2px solid var(--gold-mid); 
  border-radius: 10px;
  padding: 20px;
  margin: 30px 0;
  background-color: #fef9e7;
  font-size: 18px;
  line-height: 1.0;
  color: #333;
}

.partner {
  position: relative;
  padding: 0px 70px;
  box-sizing: border-box;
  /* width: 100%; */
  margin: 0 auto;
  background: transparent;
  border-bottom: 3px dashed #e1b86559;
  border-top: 3px dashed #e1b86559;
}
.partner_detail {
   position: relative;
  padding: 0px 70px;
  box-sizing: border-box;
  /* width: 100%; */
  margin: 0 auto;
  background: transparent;
  border-bottom: 3px dashed #e1b86559;
  border-top: 3px dashed #e1b86559;
  max-width: 900px;
}

.partner__wrapper {
  position: relative;
  margin: 50px 0; }
.partner .slick-list {
  margin: 0 30px; }
.partner .slick-slide {
  padding: 0 17px; }
.partner .slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  cursor: pointer; }

.partner_detail .slick-list {
  margin: 0 -30px; }
.partner_detail .slick-slide {
  padding: 0 17px; }
.partner_detail .slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  cursor: pointer; }
.partner__prev {
  left: -55px;
  background: url("../img/icon/icon-arrow-prev.svg") center/contain no-repeat; }
.partner__next {
  right: -55px;
  background: url("../img/icon/icon-arrow-next.svg") center/contain no-repeat; }

.obtochka__img img{
    height: 250px; 
  width: 100%; 
  display: flex;
  justify-content: center;
  align-items: center;
  object-fit: contain;
  overflow: hidden;
}

.partner__img {
  height: 250px; 
  width: 350px; 
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; 
}
@media (max-width: 768px) {
    .partner {
        padding: 0 15px !important;
    }

    .partner__img {
        width: 100% !important;
        height: 250px !important;
        max-width: 100%;
        overflow: visible; 
    }

    .partner__img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important; 
        border-radius: 8px;
    }

    .partner .slick-list {
        margin: 0 !important; 
        padding: 0 !important;
        overflow: hidden; 
    }

    .partner__prev {
        left: 5px !important;
        z-index: 10;
    }
    .partner__next {
        right: 5px !important;
        z-index: 10;
    }
}

@media (max-width: 480px) {
    .partner__img {
        height: 200px !important; 
    }
}
.partner__img img {
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .partner {
    padding: 30px; } }

@media (max-width: 576px) {
  .partner .slick-slide {
    padding: 0 25px;
}
  .partner {
    padding: 15px; }
    .partner__prev {
      left: 10px; }
    .partner__next {
      right: 10px; }
  .partner .slick-arrow {
    top: 110%;
  }
}
@media (max-width: 768px) {
  
  .partner_detail {
    padding: 0 15px !important;
    border-width: 1px !important;
  }

  .partner__wrapper {
    margin: 50px 0 !important; 
  }

  .obtochka__img img {
    height: 200px !important;
    object-fit: cover !important;
    border-radius: 10px;
  }

  /* 3. Исправляем стрелки */
  .partner_detail .slick-arrow {
    width: 35px !important; 
    height: 35px !important;
    z-index: 10;
    top: 50% !important; 
  }

  .partner_detail .partner__prev {
    left: 5px !important; 
  }

  .partner_detail .partner__next {
    right: 5px !important;
  }
}

@media (max-width: 480px) {
  .obtochka__img img {
    height: 180px !important;
  }

  .partner_detail .slick-arrow {
    top: auto !important;
    bottom: -45px !important;
    transform: none !important;
  }
  .partner_detail .partner__prev { left: 35% !important; }
  .partner_detail .partner__next { right: 35% !important; }
}
/* our works slider */

.ourWorksSwiper2 .swiper {
    width: 100%;
    height: 100%;
  }

  .ourWorksSwiper2 .swiper-slide {
    text-align: center;
    font-size: 18px;
    /* background: #fff; */
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .ourWorksSwiper2 .swiper-slide img {
    display: block;
    width: 100%;
    
    height: 500px;
    object-fit: contain;
    transition: transform 0.3s ease;
  }

  .ourWorksSwiper2 .swiper {
    width: 100%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .ourWorksSwiper2 .swiper-slide {
    background-size: cover;
    background-position: center;
      overflow: hidden;
  }

  .ourWorksSwiper2 {
    height: 80%;
    width: 100%;
  }

  .ourWorksSwiper {
    /* height: 20%; */
    box-sizing: border-box;
    padding: 10px 0;
    height: 100px;
  }

  .ourWorksSwiper .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
  }

  .ourWorksSwiper .swiper-slide-thumb-active {
    opacity: 1;
      transform: scale(1.03);
  transition: all 0.15s;
  }

  .ourWorksSwiper .swiper-slide img {
    /* display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; */
    width: 100px;
    height: 75px;
    object-fit: cover;
    margin: 0 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  
.inner-catalog-card-img img {
    display: block;
    height: 330px;
    object-fit: cover;
}

.inner-catalog-card-properties h2 {
  font-size: 24px;
  color: #1e73be;
  font-weight: bold;
  margin-bottom: 32px;
}

/* mine examples */

.in-card-slider-section-title h2 {
  font-size: 40px !important;
  text-transform: uppercase;
  padding: 30px 0 0 0;
  color: var(--black);
  font-weight: 700;
}

.in-card-slider-tab {
  height: 40px;
  padding: 30px 0;
  font-weight: 700;
  text-align: center;
  /* color: var(--white);
  background-color: var(--gray-dark); */
}

.in-card-slider-tab {
  color: var(--white);
  background-color: #353839;
  border-right: var(--white) 1px solid;
}

.in-card-slider-tab div {
  cursor: pointer;
}

.in-card-slider-tab-active {
  background-color: var(--gray-lightest);
  color: var(--gray-dark);
}

.in-card-slider-area-wrapper {
  background-color: var(--gray-lightest);
  padding: 30px 30px;
}

.in-card-slider-area {
  display: none;
  width: 100%;
  background-color: var(--gray-lightest);
  padding: 30px 30px;
}

.in-card-slider-area-active {
  display: block;
}

.in-card-slider-card {
  background-image: unset;
  background-color: var(--grayest);
  padding: 25px 25px 0px 25px;
  overflow: hidden;
}

.in-card-slider-card:hover {
  background-image: unset;
  background-color: var(--white);
  padding: 25px 25px 0px 25px;
  overflow: hidden;
}

.in-card-slider-card img {
  display: block;
  height: 50vh;
  object-fit: cover;
}

.inner-catalog-card-tabs {
  margin-top: 15px;
}

.inner-catalog-card-price-btn {
  height: 40px;
  padding: 30px 0;
  font-weight: 700;
  text-align: center;
  color: var(--white);
  background-color: var(--blue);
}

.in-card-slider-tab-link {
  position: absolute;
  height: 100%;
  width: 100%;
}

.in-card-slider-tab-link-header {
  font-size: 2.1rem;
  font-weight: 700;
}


/* category card */
/* Рамка вокруг картинки */
.img-frame {
  border: 3px solid #e53935;    /* красная рамка */
  border-radius: 8px;           /* по желанию */
  padding: 8px;                 /* отступ от картинки до рамки */
  background: #fff;             /* фон внутри рамки */
}

/* Адаптивность картинки */
.img-frame img {
  display: block;
  width: 100%;
  height: auto;
}


/* slider in card */

.tb_standart_500 {
  text-align: center;
  width: 100%;
  margin-bottom: 30px;
}

.tb_standart_500 th {
  padding: 3px;
  /* border-width: 1px;
  border-color: #000000; */
}

.tb_standart_500 td {
  padding: 3px;
  /* border-width: 1px;
  border-color: #000000; */
}

.tb_standart_500-div {
  width: 75%;
  display: inline-block;
}

.tb_standart_500-1-td {
  text-align: left;
}

@media screen and (max-width: 1100px) {
  .tb_standart_500-div {
    width: 100%;
  }
}

@media screen and (max-width: 900px) {
  .tb_standart_500 tr {
    display: block;
  }

  .tb_standart_500 th {
    display: none;
  }

  .tb_standart_500 td {
    display: block;
  }

  .tb_standart_500-1-td {
    font-weight: 700;
  }

  .tb_standart_500-1-td {
    text-align: center;
  }
  
}



@media screen and (max-width: 767px) {
  .header__wrapper--second .img-fluid {
    max-height: 90px !important; 
    width: auto !important;
    margin: 0 auto;
  }

  .header__wrapper--second .row.d-md-none {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
    padding: 0 10px !important;
    display: flex !important;
    align-items: center !important;
  }

  .header__wrapper--second .header_logo {
    position: relative !important; 
    left: 0 !important;
    transform: none !important;
    text-align: center;
  }
  
  .burger {
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
@media screen and (max-width: 767px) {
  .mine-top-slider-slide_content_title .main-menu-logo {
    display: none;
  }

  .mine-top-slider-slide_content_title {
    font-size: 30px;
    color: var(--white);
  }
  .header__wrapper--second .row.d-md-none { position: relative; }
  .header__wrapper--second .header_logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
   
  }
  .header__wrapper--second {
    background-color: black;

  }
  .mine-top-slider-slide_content_subtitle {
    
    font-size: 30px;
  }

  .mine-top-slider-slide_content_width {
    /* max-width: 400px !important; */
    margin-left: 30px;
    margin-right: 30px;
  }

  .mine-top-slider-slide_callback-btn {
    padding-right: 21px;
  }

  .mine-top-slider-slide_content_width .mine-top-slider-slide_content_subtitle .row {
    margin-right: calc(4.5* var(--bs-gutter-x));
    margin-left: calc(0.5* var(--bs-gutter-x));
  }

  .mine-top-slider-slide_content_subtitle .col-xs-12.col-md-3 {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    width: auto;
  }

  .mine-top-slider-slide_content_subtitle .mine-top-slider-slide-button {
    width: 200px;
    display: inline-block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .mine-top-slider-slide-button {
    height: 45px;
  }



  .row-category {
    display: flex;
    flex-wrap: wrap;
    width: calc(100% + 30px);
    justify-content: space-between;
  }

  .category-card__text {
    position: absolute;
    z-index: 1;
    text-shadow: 1px 1px 5px black;
    
  }

  .category-card__text:before, .link-show-more:before {
    top: 95%;
    position: absolute;
      font-size: 5px;
  }

  .about-section-company-text li {
    margin-bottom: 10px;
  }

  .partners_h2 {
    font-size: 35px;
  }

  .partner-logo img {
    height: 90px;
  }

  .ourWorksSwiper .swiper-slide img {
    max-width: 35px;
    height: 35px;
  }

  .footer-contacts {
    text-align: center;
  }
}

/* .in-card-tab {
  width: 325px;
} */

.sidebar-left .nav-child .nav-child {
  display: block;
}

.nav-child .nav-child {
  left: 90%;
  top: 10%;
}

.sidebar-left-col ul.nav a {
  font-size: 22px;
}

.sidebar-left-col ul.nav li ul.nav-child a {
  font-size: 18px;
}

.sidebar-left-col ul.nav li ul li a {
  /* font-weight: 700; */
}

.sidebar-left-col ul.nav li ul li ul a {
  font-weight: 500;
}

@media (max-width: 768px) {
  .sidebar-left .nav-child .nav-child {
    display: none;
  }

  .nav-child .deeper:hover > .nav-child {
    display: none;
  }

  .nav-child .deeper:hover > .product__title + ul.nav-child {
    display: none;
  }

  .catalog__card.catalog__card--main .tile-card__content:last-child {
    margin: 18px;
    font-size: 16px;
  }
}

/* main menu */

.main-menu a:hover,
.main-menu > li.active > a,
.main-menu li.current > a {
	color: var(--gold-start);
}

.main-menu-logo {
  border: 2px solid #fff;
  border-radius: var(--border-radius);
  width: 400px;
  color: white
}

.logo_item {
    display: block;
    border: 2px solid ;      
    background-color: var(--red);     
    color: #fff;                
    padding: 10px 15px;         
    border-radius: 6px;         
    text-decoration: none;      
    margin-left: 100px;
}
.main-menu a {
  font-size: 18px;
}

.main-menu ul a {
  padding: 5px 15px;
  color: #fff;
}

.main-menu li {
  margin-top: auto;
  margin-bottom: auto;
  text-align: center;
}

.main-menu li ul li {
  max-width: unset;
}

.main-menu li ul {
  border: 1px solid var(--gold-start);
  border-radius: var(--border-radius);
  background-color: #000;
  width: auto;
    min-width: 270px;
    max-width: 470px;
}

/*ul.main-menu li.deeper a.main-menu-arrow:first-child:after {
  top: 8px;
}*/

/* sidebar menu */
.main-menu-arrow {
  width: 150px;
}
.sidebar-left a {
  color: #fff;
  text-decoration: none;
}

.sidebar-left a:hover {
  color: black;
  text-decoration: none;
}

.sidebar-left-col ul.nav li {
  margin-top: 10px;
}

@media screen and (max-width: 400px) {
  .catalog__card.catalog__card--main .tile-card__img {
      width: unset;
      height: 155px;
  }
}

.new-year-promo {
  padding: 150px 0 0 0;
  height: 350px;
}

.new-year-promo__header {
  text-align: center;
  font-size: 40px;
  color: #0b53b3;
  text-transform: uppercase;
  margin: 0 0 15px 0;
}

.new-year-promo__text {
  text-align: center;
}

/* kontakty */

@media screen and (max-width: 767px) {
  .kontakty-hide-text {
    display: none;
  }

  .contacts-section-company-text .contacts-section-form-title {
      text-align: left;
  }

  .contacts-section-form-title {
    margin: 5px 0 0px 0;
  }
  
  .contacts-section-company-text p {
    margin: 5px 0;
  }

  .contacts-section-form-label {
    line-height: 0px;
  }

  .contacts-section-form-input {
    line-height: 0px;
  }

  .contacts-section-form-button {
    margin: 10px 0 !important;
  }

  .rf-form .col-12 .row .col .contacts-section-form-input {
    line-height: 25px;
  }
}

/* feedback section */

.questions-section-wrapper {
  position: sticky; 
  bottom: 0;        
  /* z-index: 999; */
  background-image: url(/templates/microton/img/questions/questions.webp);
  width: 100%;
  height: 500px;
  min-height: 300px;
  align-items: center;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.questions-section-wrapper::before {
  content: "";
  position: absolute;
  inset: 0; 
  background: rgba(0, 0, 0, 0.281); 
  z-index: 1;
}
.questions-section-wrapper > * {
  position: relative;
  z-index: 2;
}
.questions-section-container {

  width: 100%;
  height: 500px;
  margin: 0;
  padding: 0;
}

.questions-section-inner {
  min-height: 100%;
}

.questions-section-question {
  padding: 80px;
  color: var(--white);
  /* font-size: 20px; */
}

.questions-section-question span {
  font-weight: 700;
}


.questions-section-wrapper .col-12 {
  margin: 0;
  padding: 0;
  align-items: center
}

.questions-section-contacts-wrapper {
  /* position: relative; */
  background-color: var(--white);
  padding: 10px 50px;
  height: 300px;
}

.questions-section-contacts-card {
  /* position: absolute; */
}

.questions-section-contacts-card h2 {
  font-size: 40px !important;
  text-transform: uppercase;
}

.questions-section-contacts-card .col-2 {
  height: 50px;
  margin: 10px 0;
}

.questions-section-contacts-card .col-10 {
  height: 50px;
  margin: 10px 0;
}

.questions-section-contacts-card .col-12 {
  height: 50px;
  margin: 10px 0;
}

.questions-section-contacts-card .form-check-label {
  color: #000;
}

.questions-section-contacts-card-icon {
  /* background-image: url(/templates/microton/img/contacts-icon/phone.png); 
  min-width: 100%;
  min-height: 100%;*/
}

.questions-section-contacts-card-icon img {
  width: 50px;
}

.questions-section-contacts-card____check {
  padding: 10px 0 0 32px !important;
}

.questions-section-form-button {
  position: relative;
  height: 65px;
  width: 100%;
  margin: 10px 0 0 0 !important;
  border-radius: var(--border-radius)
}
@media (max-width: 768px) {
    /* 1. Основной контейнер секции */
    .questions-section-wrapper {
        height: auto !important;
        min-height: auto !important;
        padding: 40px 0 !important;
        display: block !important; /* Убираем flex, если он мешает */
    }

    /* 2. Текстовый блок (Остались вопросы?) */
    .questions-section-question {
        padding: 20px 15px !important;
        text-align: center !important;
        color: #fff !important; /* Текст вопроса остается белым */
    }

    /* 3. БЕЛЫЙ БЛОК С ФОРМОЙ (Самое важное) */
    .questions-section-contacts-wrapper {
        background-color: #ffffff !important; /* Принудительно белый фон */
        height: auto !important;
        padding: 30px 20px !important;
        margin: 0 15px 30px 15px !important;
        border-radius: 15px !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3); /* Добавим тени для объема */
        display: block !important;
    }

    /* 4. ТЕКСТ ВНУТРИ БЕЛОЙ ФОРМЫ */
    /* Делаем заголовки полей темными, чтобы их было видно на белом фоне */
    .about-section-form-label {
        color: #333333 !important; 
        font-weight: 600 !important;
        text-align: left !important;
        padding-left: 0 !important;
        margin-top: 10px;
        display: block;
    }

    /* 5. ПОЛЯ ВВОДА (Инпуты) */
    .about-section-form-input {
        background-color: #f8f9fa !important;
        border: 1px solid #ced4da !important;
        color: #333 !important; /* Текст внутри инпута черный */
        margin-bottom: 15px !important;
    }

    /* 6. ИСПРАВЛЕНИЕ СЕТКИ (чтобы Имя и Телефон были друг под другом) */
    .questions-section-contacts-wrapper .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .questions-section-contacts-wrapper .col {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }

    .questions-section-form-button {
        width: 100% !important;
        margin: 20px 0 0 0 !important;
        background: var(--gold-start) !important;
        color: #000 !important;
        height: 55px !important;
    }
    .questions-section-wrapper {
        overflow: visible !important; 
        height: auto !important;
    }
    .questions-section-container {
        height: auto !important;
    }
    .questions-section-contacts-wrapper {
        height: auto !important; 
        min-height: 400px;
        display: flex !important;
        flex-direction: column !important;
    }
}

@media (max-width: 480px) {
    .questions-section-contacts-wrapper {
        margin: 0 10px 20px 10px !important;
        padding: 20px 15px !important;
    }
}

/* questions-section */

.questions-section-wrapper {
  background: url(/templates/microton/img/questions/fos.jpg) center / cover no-repeat;
  height: 500px;
  align-items: center;

}

.questions-section-contacts-wrapper {
    width: 538px;
    height: 350px;
}

.questions-section-contacts-card .col-12 {
    height: 80px;
}

/* @media screen and (max-width: 991px) {
  .questions-section-question {
      padding: 30px;
      color: var(--white);
      font-size: 20px;
      min-height: 1200px;
  }
} */

@media screen and (max-width: 991px) {
  .questions-section-contacts-wrapper {
      width: auto;
      height: 350px;
  }

  .questions-section-contacts-card .col-12 {
      height: 100px;
  }
}

.modal-fields {
  display: flex;
}

/* contacts form */

.contacts-section-form-check {
  padding: 15px 0 0 35px !important;
}

.contacts-section-form-button:hover {
  border: unset;
}

.contacts-section-form-button {
  margin: 15px 0 !important;
  height: 62px;
}

/* privacy policy link footer */

.privacy-policy-footer-link1 {
  margin-left: 150px;
}

.privacy-policy-footer-link2 {
  margin-left: 15px;
}

.privacy-policy-footer a {
  color: #fff;
}

@media screen and (max-width: 991px) {
.privacy-policy-footer-link1 {
  margin: 0 30px 10px 30px;
}

.privacy-policy-footer-link2 {
  margin: 0 30px 0 30px;
}
}

/* header */ 

.header__wrapper--first {
  background-color: #000;
}

.header__second .main-menu-logo, .header__second .mine-menu-button {
  display: none !important;
}

.header__second.topMenuHeaderFixed .main-menu-logo {
  display: block !important;
}

.header__second.topMenuHeaderFixed .mine-menu-button {
  display: flex !important;
  border-radius: var(--border-radius);
}

.social-links {
  justify-content: center;
}

a.platform img {
  width: 100%;
  height: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: var(--border-radius);
}

a.platform img:hover {
  transform: translateY(-2px) scale(1.1);
}

.container_header .col-12.col-md-2.d-flex {
  display: block !important;
}

.container_header .col-12.col-md-2.d-flex .mine-menu-button {
  width: 90%;
  border-radius: var(--border-radius);
}
@media (max-width: 991px) {
    /* 1. Скрываем первую шапку */
    .header__wrapper--first {
        display: none !important;
    }

    /* 2. Подтягиваем слайдер вверх к новой компактной шапке */
    /* Убедитесь, что здесь 60px-70px, а не 120px */
    .mine-top-slider-wrapper {
        margin-top: 60px !important; 
    }

    /* 3. Убираем отступы у строки с логотипом (те самые my-4) */
    .header__wrapper--second .row.d-md-none.my-4 {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }

    /* 4. Фиксируем шапку при открытом меню */
    body.scroll-off .header__wrapper--second {
        position: fixed !important;
        top: 0 !important;
        left: 0;
        right: 0;
        z-index: 10002 !important;
        background: #000 !important;
        height: 60px !important;
    }

    /* Выравниваем содержимое фиксированной шапки */
    body.scroll-off .header__wrapper--second .row.d-md-none {
        margin: 0 !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
    }

    /* 5. Настройка выпадающего меню */
    .header__second.active {
        position: fixed !important;
        top: 60px !important; 
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        height: calc(100vh - 60px) !important;
        background-color: #000 !important;
        z-index: 10001 !important;
        overflow-y: auto !important;
        display: block !important;
        padding: 20px 15px 100px 15px !important; 
    }
}
/* На десктопе кнопка нам не нужна */
@media (min-width: 992px) {
    .header__phones-icon-mobile {
        display: none !important;
    }
}
/* topMenuHeader */

.main-menu > li.active, .main-menu li.current, nav.topMenuHeader {
  background-color: #000;
}

.main-menu > li.active > a, .main-menu li.current > a {
  color: var(--gold-start);
}

.main-menu a {
  color: #fff;
}

.topMenuHeader img {
  display: none;
}

.topMenuHeaderFixed img {
  width: 100%;
  max-height: 100px;
  display: block;
}

@media (max-width: 991px) {
    /* 1. Скрываем верхнюю панель с контактами */
    .main-content {
        padding-top: 90px !important; 
    }
    .header__wrapper--first {
        display: none !important;
    }

    /* 2. Настраиваем вторую шапку (лого + бургер) */
     .header__wrapper--second {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 10050 !important; /* Максимальный приоритет, чтобы была поверх всего */
        background-color: #000 !important; /* Убеждаемся, что фон черный */
        box-shadow: 0 2px 10px rgba(0,0,0,0.5); /* Можно добавить легкую тень для объема */
    }

    /* Убираем все лишние отступы у строк внутри шапки, которые создают "дыры" */
   .header__wrapper--second .row.d-md-none {
        border: none !important;
        margin: 0 !important;
    }
    .mine-top-slider-wrapper {
        margin-top: 10px !important; 
        padding-top: 0 !important;
    }

    .mine-top-slider-slide_1, 
    .mine-top-slider-slide_2, 
    .mine-top-slider-slide_3 {
        background-position: center !important;
        background-size: cover !important;
    }

    /* 5. Когда меню ОТКРЫТО (scroll-off на body) */
    body.scroll-off .header__wrapper--second {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
    }

    .header__second.active {
        position: fixed !important;
        top: 100px !important; 
        height: calc(100vh - 60px) !important;
    }
}

/* category */

.category-card:not(div):hover {
  /* background: linear-gradient(130deg, var(--gold-start) 0, var(--gold-mid) 50%, var(--gold-end) 100%); */
}

.category-card {
  border-radius: var(--border-radius);
  margin-top: 20px;
  width: 90%;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.category-card__text {
  max-width: unset;
}

.sertification-test {
  margin-left: 22px;
}

/* about-section */

.about-section {
  background: url(/images/complex.jpg) center;
  background-size: cover;
  padding: 1px 0;
  text-align: justify;
}

.about-section-inner {
  margin: 40px 0 35px;
  width: 100%;
}

.about-section-column-left {
  padding-right: 30px;
  border-right: 2px solid var(--gold-start);

  text-indent: 30px; 
  text-align: justify; 
}
@media screen and (max-width: 991px) {
  .about-section-inner {
    margin: 20px 0;
  }

  .about-section-column-left {
    padding-right: 0;
    border-right: none;
    border-bottom: 2px solid var(--gold-start);
    padding-bottom: 20px;
    margin-bottom: 25px;
    text-indent: 0; 
  }

  .o-kompanii-gl {
    width: 100%;
    max-width: 100%;
    height: auto; 
    min-height: 250px; 
    object-fit: cover;
    display: block;
    margin: 0 auto;
  }
}

@media screen and (max-width: 480px) {
  .about-section-column-left {
    text-align: left; 
    font-size: 14px;
    line-height: 1.5;
  }
  
  .about-section {
    padding: 20px 10px;
  }
}
/* top_advantage */

.features-row {
    display: flex;
    gap: 10px; /* Расстояние между элементами */
    padding: 15px 0;
    align-items: center;
}

.feature-item {
    display: flex;
    align-items: center;
    text-align: center;
    flex: 1; /* Равномерное распределение по ширине */
}
.feature-item--kachestvo {
  width: 70px;
  height: 70px;
    display: flex;
    align-items: center;
    text-align: center;
    flex: 1; /* Равномерное распределение по ширине */
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 8px;
    margin-right: 10px;
    object-fit: contain;
}
.feature-icon--kachestvo {
    width: 70px;
    height: 70px;
    margin-bottom: 8px;
    margin-right: 8px;
    object-fit: contain;
}

.feature-text {
    font-size: 14px;
    margin: 0;
    font-weight: 500;
}

/* Адаптивность для мобилок */
@media (max-width: 768px) {
    .features-row {
        flex-wrap: wrap;
        justify-content: center;
    }
    .feature-item {
        flex: 0 0 45%; /* 2 элемента в ряд на мобилках */
        margin-bottom: 15px;
    }
}

/* advantages */

.advantages {
  margin: 20px 0 0;
}

.advantages__list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.advantage-item {
  flex: 1;
  min-width: 180px;
  text-align: center;
  padding: 20px 15px;
  transition: transform 0.3s ease;
  position: relative;
}

.advantage-item__icon {
  width: 100%;
  max-height: 130px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-item__icon img {
  /* max-width: 100%; */
  /* width: 100%; */
  /* height: auto; */
  height: 60px;
  width: 60px;
}

.advantage-item__text {
  line-height: 1.4;
  margin: 0;
}

.advantage-item--separator::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  height: 60px;
  width: 1px;
  background-color: #f5ec9a;
}
/* Адаптация для мобильных: сетка 2 в ряд */
@media (max-width: 768px) {
  .advantages__list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important; 
    justify-content: center !important; 
    gap: 20px 0 !important;
    padding: 0 !important;
  }

 .advantage-item--separator::before {
    display: none !important;
  }

  .advantage-item {
    flex: 0 0 50% !important; 
    max-width: 50% !important;
    width: 50% !important;
    
    padding: 10px 10px !important;
    box-sizing: border-box !important;
    border-bottom: none !important; 
    margin: 0 !important;
  }



  .advantage-item:nth-child(-n+4) {
    border-bottom: 1px solid rgba(245, 236, 154, 0.2);
  }

  .advantage-item:last-child {
    border-right: none !important;
    flex: 0 0 100% !important; 
    max-width: 280px !important;
  }

  .advantage-item__icon {
    margin-bottom: 10px !important;
  }

  .advantage-item__icon img {
    height: 45px !important;
    width: 45px !important;
  }

  .advantage-item__text {
    font-size: 14px !important;
    line-height: 1.2 !important;
    padding: 0 5px;
  }
}
/* stages */

.stages-section {
  margin: 0px 0 50px;
}

.stages-title {
  font-size: 40px !important;
  text-transform: uppercase;
  padding: 30px 0 30px 0;
  color: #fff;
  font-weight: unset;
}

.stages-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.stage-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 225px;
  text-align: center;
  background-color: white;
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.stage-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.stage-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: unset;
}

.stage-text {
  color: black;
  font-size: 18px;
  font-weight: 500;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* gallery-main */

.works {
  background: unset;
}

/* gallery */

.works-gallery {
  padding: 0px 0 40px;
  background: #f2f2f2;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
  gap: 15px;
  margin-top: 25px;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  aspect-ratio: 4/3;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.gallery-link {
  display: block;
  /* height: 100%; */
  
}

.gallery-link:hover {
  display: block;
  /* height: 100%; */
}

.gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.gallery-thumb:hover {
  opacity: 0.9;
}

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

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  }
  
  .works-gallery {
    padding: 25px 0;
  }
}

/* reviews */

.mine-reviews-slider-wrapper .swiper-button-prev, .mine-reviews-slider-wrapper .swiper-button-next {
  color: #fff;
}

.map-section-container {
  position: relative;
  height: 500px;
  margin: 0;
  padding: 0;
}

.map-background {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
}

.map-section-contacts-card_under {
  background-color: var(--red);
  height: 400px;
  padding: 60px 60px;
  border-radius: var(--border-radius);
  pointer-events: auto;
  position: relative;
   z-index: 3; 
}

.map-section-contacts-wrapper {
  background: linear-gradient(130deg, var(--gold-end) 0, var(--gold-mid) 62%, var(--gold-start) 100%);
  height: 450px;
  display: none;
  padding: 60px 60px;
  border-radius: var(--border-radius);
  pointer-events: auto;
  position: relative;
  z-index: 3;
  color: #000;
}

@media (max-width: 767.98px) {
  .map-background {
        height: 300px !important;
    }

   .map-section-container {
    flex-direction: column;
  }
  .map-section-container {
    position: relative;
    height: 350px;
    margin: 0;
    padding: 0;
}
  .map-background {
    height: 300px; 
  }

  .d-xl-none {
    margin-top: 250px !important; 
  }

  
}

.map-content .d-none.d-xl-flex.align-items-center.col-xl-4{
  position: absolute;
  left: 16%;
}
.map-content {
  position: absolute;      /* растянем поверх карты */
  inset: 0;                /* top/right/bottom/left: 0 */
  z-index: 2;
  pointer-events: none !important;  /* пропускаем события к карте */
}

/* footer */

footer {
  background-color: #000;
}

.footer__first {
  margin-bottom: 0px;
}

.section-footer .container {
  display: flex;
  gap: 15px;
}

.section-footer .social-links {
  justify-content: end;
}

.section-footer .text-md-start.col-md-4 p img {
  max-height: 125px;
  border-radius: var(--border-radius);
}

/* left-menu */

.sidebar-left .nav.menu.mod-list {
  flex-direction: column;
}

.sidebar-left {
  width: 100%;
}

.nav a:hover {
  color: var(--gold-start);
}

/* main-category */

.complex {
    padding: 50px 0;
    margin-bottom: 0px;
    background: #000;
}

.text-block h2 {
  color: #fff;
}

.category-card {
    border-radius: var(--border-radius);
    margin-top: 20px;
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.category-card:hover::before {
    left: 100%;
}

.category-main .category-card {
    padding-left: 0px;
    padding-top: 6px;
    min-width: unset;
    width: 100%;
    height: 300px;
    /* background: linear-gradient(130deg, var(--gold-end) 0, var(--gold-mid) 50%, var(--gold-start) 100%); */
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
}

.category-card__text {
    font-size: 32px;
    color: #fff;
    display: inline-block;
    vertical-align: top;
    max-width: unset;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
    background: linear-gradient(130deg, var(--gold-end) 0, var(--gold-mid) 50%, var(--gold-start) 100%);
    padding: 2px 10px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    max-width: 93%;
}

.category-card:hover .category-card__text {
    transform: scale(1.05);
}

.category-card:not(div):hover {
    /* background: linear-gradient(130deg, var(--gold-start) 0, var(--gold-mid) 50%, var(--gold-end) 100%); */
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(152, 107, 48, 0.3);
}

.category-main .category-card__text:before, .category-main .link-show-more:before {
  display: none;
}

.category-main .category-card:not(div):hover .category-card__text:before,
.category-main .category-card__after > * {
  width: 55% !important;
}

/* catalog card */

@media screen and (min-width: 1260px) {
  .catalog__card.catalog__card--main:not(:nth-child(4n)) {
    border-right: 1px solid var(--dark--yellow);
  }
}

@media (min-width: 768px) and (max-width: 1259px) {
  .catalog__card.catalog__card--main:not(:nth-child(3n)) {
    border-right: 1px solid var(--dark--yellow);
  }
}

@media screen and (max-width: 767px) {
  .catalog__card.catalog__card--main:nth-child(1), .catalog__card.catalog__card--main:nth-child(2n+1) {
    border-right: 1px solid var(--dark--yellow);
  }

  .complex {
    padding: 0px 0;
}
}

.catalog_title {
  font-size: 35px;
  font-weight: 400;
}

.tile-card__content a {
  color: var(--red);
}

/* card */

.card-wrapper .row.mt-5 {
  margin-bottom: 15px;
}

.inCardSwiperWidthSet .row.h-100 div {
  border: 2px solid var(--red);
  border-radius: var(--border-radius);
}

.inCardSwiperWidthSet {
  max-width: 325px !important;
  margin-right: 15px;
}

.inner-catalog-card-properties h2 {
  color: var(--red);
}

.description .table {
  width: 100%;
  border-collapse: collapse;
}
.description .table td {
  padding: 10px;
  text-align: center;
  vertical-align: middle;
}

.description .table tr:nth-child(1) td {
  vertical-align: top;
  font-size: 11px;
}

.description .table td:nth-child(1), .description .table td:nth-child(8) {
  width: 20%;
}

.description .table td:nth-child(n+2):nth-child(-n+7) {
  width: 10%;
}

.description table td img {
  width: 40px;
  height: 40px;
}

/* left-menu */

.sidebar-left-col {
  position: relative;
  min-height: 100vh;
}

.sidebar-left {
  position: absolute;
  width: 100%;
  transition: transform 0.3s ease;
}

.sidebar-left.sticky {
  position: fixed;
  top: 120px;
  width: calc(18% - 30px);
}

.sidebar-left.sticky-bottom {
  position: absolute;
  transform: none !important;
}

.product__title {
  text-transform: unset;
}

.download_prais-div {
  margin-top: 20px;
  margin-bottom: 20px;
}

.download_prais-div a {
  background: linear-gradient(130deg, var(--gold-end) 0, var(--gold-mid) 50%, var(--gold-start) 100%);
  color: #000;
  padding: 10px 7px 15px 6px;
  border-radius: var(--border-radius);
}

.download_prais-div a:hover {
  color: #000;
}

.download_prais {
  max-width: 30px;
}

/* form */

.form-check-input:focus {
  border-color: #e65e65;
  outline: 0;
  box-shadow: var(--red-shadow);
}

.form-check-input:checked {
  background-color: var(--red);
  border-color: var(--red);
}

.rf-form button {
  background-color: var(--red);
  color: #fff;
  transition: all 0.2s ease;
}

.rf-form button:hover {
  background-color: var(--dark-red);
  color: #fff;
}

.form-control:focus {
  border-color: var(--red);
  box-shadow: var(--red-shadow);
}

/* gallery__o-nas */

.custom-gallery-slider {
  width: 100%;
  padding: 0 15px 15px;
}

.custom-gallery-container {
  overflow: hidden;
  position: relative;
  padding: 10px 0;
}

.custom-gallery-wrapper {
  display: flex;
  box-sizing: border-box;
}

.custom-gallery-slide {
  width: calc(20% - 12px); /* 5 images in row with gap */
  margin-right: 15px;
  flex-shrink: 0;
  transition: all 0.3s ease; /* Добавляем плавный переход для всех изменений */
}

.custom-gallery-slide:last-child {
  margin-right: 0;
}

.custom-gallery-slide a {
  display: block;
  overflow: hidden;
  border-radius: var(--border-radius);
  height: 186px;
  position: relative;
  transition: all 0.3s ease; /* Добавляем плавный переход */
}

.custom-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* доставка  */
 .delivery .delivery_image{
    justify-content: center;
    gap: 30px; 
}

/*

.delivery_text {
    flex: 1;
}


.delivery_side {
    flex: 0 0 350px; 
    display: flex;
    flex-direction: column;
    align-items: center;
} */


.delivery_image {
  margin-top: 50px;
  max-width: 100%;
  height: 100%;
  align-items: center;
  display: flex;
}

.delivery_image img {
    /* max-width: 100%; */
    width: auto;
    height: 500px;
    display: block;
    margin-bottom: 20px;
}

/* Новые стили при наведении */
.custom-gallery-slide:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.custom-gallery-button-prev,
.custom-gallery-button-next {
  position: absolute;
  top: 58%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.custom-gallery-button-prev:hover,
.custom-gallery-button-next:hover {
  opacity: 1;
}

.custom-gallery-container:hover .swiper-button-prev,
.custom-gallery-container:hover .swiper-button-next {
  opacity: 1;
}

.custom-gallery-slide:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.custom-gallery-button-prev {
  left: 0;
}

.custom-gallery-button-next {
  right: 0;
}

.custom-gallery-button-prev::after,
.custom-gallery-button-next::after {
  font-family: swiper-icons;
  font-size: 20px;
  color: #333;
}

.custom-gallery-button-prev::after {
  content: 'prev';
}

.custom-gallery-button-next::after {
  content: 'next';
}

@media (max-width: 1200px) {
  .custom-gallery-slide {
    width: calc(25% - 12px); /* 4 images in row */
  }
}

@media (max-width: 992px) {
  .custom-gallery-slide {
    width: calc(33.333% - 12px); /* 3 images in row */
  }
}

@media (max-width: 768px) {
  .custom-gallery-slide {
    width: calc(50% - 12px); /* 2 images in row */
  }
}

@media (max-width: 576px) {
  .custom-gallery-slide {
    width: 100%; /* 1 image in row */
    margin-right: 0;
  }
}


/* o nas */

/* partners */

.partners {
  background: #f2f2f2;
}

.partners-section {
  padding: 5px 0 40px;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
}

.partner-item {
  flex: 0 0 calc((100% - 120px) / 7);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  padding: 15px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  border: 1px solid #eee;
  overflow: hidden;
}

.partner-item:hover {
  transform: scale(1.75) translateY(-5px); /* Увеличение рамки */
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  border-color: #ddd;
  z-index: 1; /* Поднимаем над соседними элементами */
}

.partner-logo {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.8;
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.partner-item:hover .partner-logo {
  opacity: 1;
  transform: scale(1.1); /* Увеличение картинки больше чем рамка */
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Адаптация */
@media (max-width: 1200px) {
  .partner-item {
    flex: 0 0 calc((100% - 100px) / 6);
  }
  
}

@media (max-width: 992px) {
  .partner-item {
    flex: 0 0 calc((100% - 80px) / 5);
  }


  .logo_item {
      display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
      border: 2px solid var(--red);    
    background-color: var(--red);
  }
 
  .delivery_image {
    margin-top: 50px;
    align-items: center;
    display: flex;
    flex-direction: column;
  }
  .delivery_image img {
    width: 100%; 
    max-width: 400px; 
    height: auto; 
    margin-left: auto;
    margin-right: auto;
  }

  /* .questions-section-wrapper {
    background:  url(/templates/microton/img/questions/fos.jpg) center / cover no-repeat;
    height: 1200px;
    align-items: center
  } */


  /* o companii image */
  .right-image {
    float: right;
    width: 100%;
    margin-left: 25px;
    margin-bottom: 15px;
    max-width: 400px;
  }
@media screen and (max-width: 768px) {
  .partner {
    padding: 30px 10px !important;
  }

  .advantages-section-title h2 {
    font-size: 24px !important;
    margin-bottom: 20px !important;
    text-align: center;
  }

  .partner__wrapper .swiper-slide img, 
  .partner__wrapper img {
    height: 250px !important;
    width: 100%;
    object-fit: cover; 
    border-radius: 8px;
  }

  .partner .swiper-button-next,
  .partner .swiper-button-prev {
    width: 35px !important;
    height: 35px !important;
    background-size: 12px !important; 
  }

  .partner .swiper-button-prev {
    left: 5px !important;
  }
  .partner .swiper-button-next {
    right: 5px !important;
  }
  
  .partner .swiper-button-next:after, 
  .partner .swiper-button-prev:after {
    font-size: 18px !important;
  }
}

@media screen and (max-width: 480px) {
  .partner__wrapper .swiper-slide img, 
  .partner__wrapper img {
    height: 200px !important; 
  }
}

@media (max-width: 768px) {
  .partner-item {
    flex: 0 0 calc((100% - 20px) / 2);
    height: 80px;
  }
  
  .partner-grid {
    gap: 10px;
    padding: 0 10px;
  }
}

  /* form */
  .contacts-section-form-label {
    font-size: 1rem; 
  }

  .contacts-section-form-input {
    font-size: 1rem; 
    padding: 12px; 
  }

  textarea.contacts-section-form-input {
    min-height: 120px; 
  }

  .contacts-section-form-button {
    font-size: 1.1rem; 
    padding: 14px 20px;
    width: 100%; 
  }

  .form-check-label {
    font-size: 0.95rem; 
  }

  /* map  */
   .map-section-contacts-wrapper {
 
    width: 90%;      
    height: 70%;     
    padding: 16px;    
    border-radius: var(--border-radius);
    display: block;
    flex: 0 0 auto;   
    overflow: auto;    
  }

  .map-section-contacts-card h2 {
      font-size: 1.3rem;
  }

  .map-section-contacts-card-icon img {
      width: 20px;
  }


  /* catalog main  */


  .category-card__img {
      height: 150px; 

  }
  
  category-card__img img {
      max-height: 80px;
      max-width: 60%;

  }

  .category-card__text {
      font-size: 10px;
      padding: 15px 8px;
  }

  .category-main .category-card:not(div):hover .category-card__text:before {
      width: 0 !important;
      display: none; 
  }
   .category-main .category-card__after > * {
        width: 0 !important;
        display: none;
    }

  /* footer */

  .section-footer .container {
    flex-direction: column;
    gap: 30px;
    align-items: center; 
    text-align: center; 
  }

  .section-footer .col-md-4,
  .section-footer .col-md-6,
  .section-footer .col-md-2 {
    width: 100%;
    max-width: 100%;
    text-align: center; 
  }

  
  .section-footer img {
    width: 160px;
    height: auto;
    border: 2px solid #fff;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
  }

}

@media (max-width: 768px) {
  .partner-item {
    flex: 0 0 calc((100% - 60px) / 4);
  }
  .row-category {
    width: 100%;
    display: flex;
    flex-direction: row;
     flex-wrap: wrap; 
  }
  .category-main .category-card__text:before, .category-main .link-show-more:before {
    top: 90%;
  }
  
  
  .category-main .category-card__text {
    font-size: 15px;
  }

  /* доставка */
  .delivery {
        flex-direction: column;
    }
  .delivery_side {
      flex: 1 1 auto;
      width: 100%;
  }
  .delivery_image,
  .contacts-section-column-right {
      width: 100%;
  }

  
}

@media (max-width: 576px) {
  
  .partner-item {
    flex: 0 0 calc((100% - 40px) / 3);
    height: 80px;
    padding: 10px;
  }
  .category-card-wrap {
      width: 20%; 
      margin-bottom: 20px;
      flex: 0 0 100%; 
  }

  .perechen {
    font-size: 20px;
    font: 20px;
    width: 90%;
  }

  .category-main .category-card__text:before, .category-main .link-show-more:before {
    top: 90%;
  }
  
  
  .partner-item:hover {
    transform: scale(1.05) translateY(-3px);
  }
  
  .partner-item:hover .partner-logo {
    transform: scale(1.1);
  }
  
  .partners-title {
    font-size: 1.5rem;
  }
}

/* Лицензии и сертификаты */

  .licenses-certificates-section {
      padding: 0px 0 40px;
  }
  .licenses-certificates__slider-container {
      position: relative;
      padding: 0 40px;
  }
  .licenses-certificates-slider {
      overflow: hidden;
      padding: 10px;
  }
  .licenses-certificates__wrapper {
      align-items: center;
  }
  .licenses-certificates__slide {
      text-align: center;
      padding: 0 10px;
  }
  .licenses-certificates__img {
      width: auto;
      object-fit: contain;
      border: 1px solid #eee;
      transition: transform 0.3s ease;
  }
  .licenses-certificates__link:hover .licenses-certificates__img {
      transform: scale(1.03);
  }
  
  /* Стили для навигации */
  .licenses-certificates__nav {
      display: flex;
      justify-content: center;
      gap: 15px;
      margin-top: 20px;
  }
  
  .licenses-certificates__button {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      border: 1px solid #ddd;
      background: #fff;
      color: #333;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s ease;
  }
  
  .licenses-certificates__button:hover {
      background: #f0f0f0;
      border-color: #ccc;
  }
  
  .licenses-certificates__button svg {
      width: 20px;
      height: 20px;
  }
  
  .licenses-certificates__button.swiper-button-disabled {
      opacity: 0.5;
      cursor: not-allowed;
  }
/* 1. ОБЩИЕ СТИЛИ (ДЛЯ ВСЕХ) */
.footer-column {
    margin-bottom: 0;
}

/* Ограничиваем логотип */
.footer-content img {
    max-width: 200px;
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.footer-content span.header_logo {
    display: block;
    font-size: 16px;
    color: #fff;
    margin-top: 5px;
}

/* 2. ТОЛЬКО ДЛЯ ДЕСКТОПА (Экраны шире 768px) */
@media (min-width: 769px) {
    .footer-header {
        display: none !important; /* Прячем заголовки-кнопки */
    }
    .footer-content {
        display: block !important; /* Контент всегда виден */
    }
}

/* 3. ТОЛЬКО ДЛЯ МОБИЛЬНЫХ (Экраны 768px и меньше) */
@media (max-width: 768px) {
    .section-footer .container {
        display: block !important;
        padding: 0;
    }

    .footer-column {
        border-bottom: 1px solid #333;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }

    /* Стили заголовка-кнопки */
    .footer-header {
        display: flex !important; /* Показываем заголовки */
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        font-size: 18px;
        font-weight: 500;
        color: #fff;
        cursor: pointer;
        background: #111;
        text-align: left;
    }

    /* Иконка + / - */
    .footer-header::after {
        content: '+';
        font-size: 20px;
        transition: transform 0.3s;
    }

    .footer-column.active .footer-header::after {
        content: '−';
    }

    /* КОНТЕНТ В МОБИЛКЕ */
    .footer-content {
        display: none; /* УБРАЛИ !IMPORTANT, чтобы JS мог открыть блок */
        padding: 15px 20px;
        background: #000;
        text-align: left !important;
    }

    .footer-content a, 
    .footer-content p {
        text-align: left !important;
        color: #ccc;
    }

    .section-footer img {
        width: 140px;
        border: 2px solid #fff;
        margin: 0 0 15px 0 !important;
    }
}

/* prajs-list */

.teh_info_p {
  text-indent: 30px;
  text-align: justify;
}

.prajs-list__item { 
  /* background: linear-gradient(90deg, var(--gold-end) 0, var(--gold-mid) 50%, var(--gold-start) 100%); */
  /* background-color: rgb(0, 0, 0); */
  border-radius: var(--border-radius);
  padding: 3px 8px 8px 8px;
  min-height: 50px;
  text-indent: 30px;
  text-align: justify;
  /* text-align: center; */
  margin-bottom: 20px;
  /* display: flex; */
  /* justify-content: center;
  align-items: center; */
  color: rgb(255, 255, 255);
  transition: all 0.3s ease-in-out; 


  width: 100%;
}

.strong_continue {
  color: rgb(255, 255, 255);
  padding: 3px;
  text-align: center;
  animation: goldFlow 2s linear infinite;
   background: linear-gradient(130deg, var(--gold-end) 0, var(--gold-mid) 50%, var(--gold-start) 100%);
   border-radius: var(--border-radius);
}
.strong_continue:active {
  transform: scale(0.98) translateY(2px);
}
.prajs-list__row {
  display: flex;
  gap: 24px; 
  /* align-items: flex-start; */
}
.prajs-list__container {
  /* flex: 1 1 0; */

  /* grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); */
  gap: 16px;
}
.prajs-list__media {
   flex: 0 0 clamp(260px, 28vw, 420px); 
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* align-items: center; */
  /* justify-content: flex-start; */
}
.prajs-list__item:hover {
  /* cursor: pointer;   */
   /* transform: scale(1.1);    */
}

.prajs-list__item:active {
  /* transform: scale(0.98) translateY(2px); */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.prajs-list__item:hover {
  /* cursor: pointer; */
  /* transform: scale(1.05); */
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  animation: goldFlow 2s linear infinite;
}
.prajs-list__video {
aspect-ratio: 16 / 9;
 /* flex: 0 0 360px;    */
  width: 750px;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid rgba(0,0,0,0.06);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  background: #000;
}
.prajs-list__video { min-height: 160px; }

.prajs-list__item p {
  margin-bottom: 5px;
  /* font-size: 20px; */
}

.prajs-list__item a {
  color: #000;
  
  padding: 3px 8px 8px 8px;
}

.prajs-list__item a img {
  max-width: 24px;
}

@media (max-width: 900px) {
  .prajs-list__row {
    flex-direction: column-reverse; 
    align-items: stretch;
  }

  .prajs-list__video {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    aspect-ratio: 16/9;
    min-height: 200px; 
  }
}

@media (max-width: 480px) {
  .prajs-list__container { grid-template-columns: 1fr; gap: 12px; }
  .prajs-list__video { min-height: 180px; aspect-ratio: 4/3; }
}


/* contacts-section */ 

.contacts-section-inner {
  margin: 0px;
}

.contacts-section-form-title {
  margin: 10px 0 10px 0;
}

.contacts-section-company-text p {
  margin: 5px 0;
}

.contacts-section-form-label {
  margin: 5px 0 0 0;
}

.contacts-section-form-input {
  padding: 5px 0 5px;
}

/* section-clients */

.section-clients {
  background: url(/images/clients.jpg) center / cover no-repeat;
}

/* produktsiya-category */

.category-cards-wrap-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;

    
}

@media (max-width: 768px) {
  .category-cards-wrap-section {
      display: ;
      grid-template-columns: 1fr;
      gap: 20px;
      width: 100%;
      
  }

}
.category-cards-wrap-item {
    display: contents; 
    border-radius: 7px;
}

.revers_image {
  background: center / 100% 100% no-repeat url("/templates/microton/img/uslugi/IMG-20250901-WA0034.jpg");
}

.disel_image {
    background: center / cover no-repeat url("/templates/microton/img/uslugi/IMG-20250702-WA0000.jpg");
}

.compressor_image {
    background: center / 100% 100% no-repeat url("/templates/microton/img/uslugi/compressor_compressed.png");
}
.current_image {
    background: center / 100% 100% no-repeat url("/templates/microton/img/uslugi/tekushi.png");
}
.repaire_image {
    background: center / 100% 100% no-repeat url("/templates/microton/img/uslugi/kaptalni.png");

}

.ekipazh_image {
      background: center / 100% 100%   no-repeat url("/templates/microton/img/uslugi/image_kolesa.jpg");

}

.provod_image {
      background: center / 100% 100% no-repeat url("/templates/microton/img/uslugi/IMG-20250825-WA0000.jpg");

}

.kolesa_image {
      background: center / cover no-repeat url("/templates/microton/img/uslugi/IMG-20250901-WA0035.jpg");
}


.tgk_2_image {
    background: center / cover no-repeat url("/templates/microton/img/tgk_2/tgk_2_image.jpg");

}
.tgm_40_image {
    background: center / cover no-repeat url("/templates/microton/img/katalog_zapchastei/IMG-20250901-WA0028.jpg");

}

.tgm_23_image {
    background: center / cover no-repeat url("/templates/microton/img/katalog_zapchastei/E8Ful4idFymbhgGdhNKoaO6jioalNyE3I906SQCo.jpg");

}
.tgm_4_image {
    background: center / cover no-repeat url("/templates/microton/img/katalog_zapchastei/tgm_4.jpg");
}

.tgm_6_image {
    background: center / cover no-repeat url("/templates/microton/img/katalog_zapchastei/tgm_6.jpg");
}

.category-item {
    border-radius: var(--border-radius);
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    
    /* border-radius: 16px; */
}



.category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.category-item:hover::before {
    left: 100%;
}

.category-item {
    padding-left: 0px;
    padding-top: 6px;
    min-width: unset;
    width: 100%;
    height: 275px;
    /* background: linear-gradient(130deg, var(--gold-end) 0, var(--gold-mid) 50%, var(--gold-start) 100%); */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.category-item__label {
    font-size: 24px;
    color: #fff;
    display: inline-block;
    vertical-align: top;
    text-align: center;
    position: absolute;
    bottom: 0;
    margin-bottom: 20px;
    z-index: 2;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
    background: linear-gradient(130deg, var(--gold-end) 0, var(--gold-mid) 50%, var(--gold-start) 100%);
    padding: 2px 10px;
    border-radius: var(--border-radius);
    max-width: 93%;
}

.category-item__text {
   font-size: 15px;
    color: #fff;
    display: inline-block;
}

.category-item:hover .category-item__label {
    transform: scale(1.05);
}

.category-item:not(div):hover {
    /* background: linear-gradient(130deg, var(--gold-start) 0, var(--gold-mid) 50%, var(--gold-end) 100%); */
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(152, 107, 48, 0.3);
}

@media (max-width: 768px) {
    .category-cards-wrap {
        grid-template-columns: 1fr; 
    }
}

.repair-h2 {
  margin-bottom: 25px;
}

.repair-types-nav {
  width: 100%;
  display: flex;
  gap: 0;
  justify-content: center;
  flex-wrap: nowrap;
}

.repair-type-btn {
  font-family: var(--Montserrat-Regular, "Calibri");
  font-size: 40px;
  font-weight: bold;
  color: #fff;
  display: flex;
  justify-content: center; 
  align-items: center;    
  text-decoration: none;
  padding: 17px 40px;
  background: linear-gradient(90deg, var(--gold-end) 0, var(--gold-mid) 50%, var(--gold-start) 100%);
  border: 3px solid;
  border-image: linear-gradient(90deg, var(--gold-end) 0, var(--gold-mid) 50%, var(--gold-start) 100%) 1;
  box-shadow: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  min-width: 20%;
  min-height: 90px;
  position: relative;
  margin: 0 -2px;
}

.repair-type-btn:first-child {
  clip-path: polygon(0% 0%, 78% 0%, 100% 50%, 78% 100%, 0% 100%);
  padding-left: 25px;
  padding-right: 35px;
  margin-right: 20%;
}


@media (max-width: 768px) {
  .repair-type-btn:first-child {
     margin-right: 5%;
  }
  .repair-type-btn:last-child {
    margin-left: 5% !important; 
  }

  .repair-type-btn:nth-child(2) {
    width: ;
  }

  .table-repair-nav {
    padding: 20px !important;
  }
}

.repair-type-btn:nth-child(2) {
  clip-path: polygon(0% 0%, 100% 0%, 80% 50%, 100% 100%, 0% 100%, 20% 50%);
  padding-left: 35px;
  padding-right: 35px;
  z-index: 1;
}

.repair-type-btn:last-child {
  clip-path: polygon(22% 0%, 100% 0%, 100% 100%, 22% 100%, 0% 50%);
  padding-left: 35px;
  padding-right: 25px;
  margin-left: 20%;
}

.repair-type-btn:hover {
  color: #fff;
  font-size: 40px;
}

.repair-section {
    padding-top: 188px;
    margin-top: -188px;
    box-sizing: border-box;
    width: 100%;
}

.electro_images {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  gap: 20px;
   flex-wrap: wrap;
  padding: 10px;

}



.current_repair img {
  height: 250px;
  max-height: 250px;
  max-width: 250px;
  border-radius: 7px;
  object-fit: fill;
}


.electro_images img {
  width: auto;
  height: auto;
  max-height: 540px;
  max-width: 600px;
  border-radius: 7px;
}
/* Адаптив для изображений в услугах */
@media (max-width: 768px) {
  
  /* Секция с электропроводкой и общие изображения */
  .electro_images {
    text-align: center;
    padding: 10px;
  }

  .electro_images img {
    width: 100% !important; /* Растягиваем на всю ширину экрана */
    max-width: 100% !important;
    height: auto !important; /* Высота подстраивается пропорционально */
    max-height: 300px !important; /* Ограничиваем высоту, чтобы не скроллить вечно */
    object-fit: cover; /* Картинка заполняет область красиво */
    display: block;
    margin: 0 auto 20px;
  }

  /* Секция текущего ремонта */
  .current_repair img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 250px !important;
    object-fit: cover;
    margin-bottom: 15px;
  }

  /* Исправляем текст в услугах для мобильных */
  .repair-section p {
    text-align: left; /* По левому краю (justify на мобильных выглядит плохо) */
    text-indent: 0;   /* Убираем отступ первой строки */
    padding: 0 15px;  /* Добавляем боковые отступы тексту */
    font-size: 15px;
    line-height: 1.5;
  }

  /* Если есть списки (ul), их тоже стоит подправить */
  .repair-section ul {
    padding-left: 25px;
    padding-right: 15px;
  }
}

/* Для маленьких телефонов (до 480px) */
@media (max-width: 480px) {
  .electro_images img {
    max-height: 220px !important; /* Еще чуть меньше высота */
  }
}
.repair-section p {
  text-align: justify;
  text-indent: 30px; 
  margin-bottom: 15px;
}




.repair-section li {
  text-align: justify;
}

#tp-1 {
    margin-top: 25px;
    text-align: justify;
}

.table-repair-nav {
  display: flex;
  justify-content: center;
  padding: 0 25px;
  background: rgba(0, 0, 0, 0.02);
  margin-bottom: -188px;
}

.table-repair-nav .repair-types-nav {
  margin: 0;
  padding: 5px;
}



@media (max-width: 768px) {
  
  .current_repair {
    display: flex;
    flex-direction: column !important; 
    align-items: center;
    gap: 15px !important;
  }

  .current_repair img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 300px !important;
    object-fit: cover;
    margin-bottom: 0; 
  }

  .table-repair-nav {
    flex-direction: column; 
    margin-bottom: 20px;
    padding: 0 10px;
  }
  
}
@media (max-width: 768px) {
    .table-repair-nav {
        position: fixed !important;
        top: 80px !important; 
        left: 0;
        right: 0;
        z-index: 999;
        padding: 5px !important;
        background: #000;
        margin-bottom: 0 !important;
    }

    .repair-type-btn {
        font-size: 18px !important;
        min-height: 50px !important; 
        padding: 5px 15px !important;
        min-width: 30% !important;
    }

    .repair-type-btn:first-child {
        padding-left: 10px !important;
        padding-right: 20px !important;
        margin-right: 2% !important;
        clip-path: polygon(0% 0%, 85% 0%, 100% 50%, 85% 100%, 0% 100%) !important;
    }

    .repair-type-btn:nth-child(2) {
        padding-left: 20px !important;
        padding-right: 20px !important;
        clip-path: polygon(0% 0%, 100% 0%, 85% 50%, 100% 100%, 0% 100%, 15% 50%) !important;
    }

    .repair-type-btn:last-child {
        padding-left: 20px !important;
        padding-right: 10px !important;
        margin-left: 2% !important;
        clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 15% 100%, 0% 50%) !important;
    }

    .repair-section {
        padding-top: 130px !important; 
        margin-top: -130px !important;
    }
}
/* tech-table */

.tech-table {
  width: 100%;
  border-collapse: collapse;
  font-family: inherit;
}

.tech-table th, .tech-table td {
  border: 1px solid var(--gold-start);
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
}

.tech-table th {
  color: #000;
  background-color: var(--gold-start);
  font-weight: bold;
}

.equipment-name {
  font-weight: 500;
}
@media (max-width: 768px) {
  .tech-table thead th:nth-child(3),
  .tech-table thead th:nth-child(4) {
    display: none;
  }

  .tech-table thead th {
    width: 50%;
    box-sizing: border-box; 
  }

  .tech-table tbody tr {
    display: flex;
    flex-wrap: wrap;
    
    border: 1px solid #e0e0e0;
    border-radius: 4px;
  }
 

  .tech-table tbody td {
    flex-basis: 50%; 
    width: 50%;
    box-sizing: border-box; 
    overflow-wrap: break-word;
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
    border-right: 1px solid #f0f0f0;
  }
  
 
  .tech-table tbody td:nth-child(2n) {
    border-right: none;
  }
  .tech-table tr:first-child th:nth-child(3),
  .tech-table tr:first-child th:nth-child(4) {
    display: none;
  }
}

/* o-nas */

.company-ul {
  font-style: italic;
}

.loader {
  width: 48px;
  height: 48px;
  background: linear-gradient(130deg, var(--gold-end) 0, var(--gold-mid) 50%, var(--gold-start) 100%);
  display: block;
  margin: 20px auto;
  position: relative;
  box-sizing: border-box;
  animation: rotationBack 1s ease-in-out infinite ;
}
.loader::before {
  content: '';  
  box-sizing: border-box;
  left: 0;
  top: 0;
  transform: rotate(45deg);
  position: absolute;
  width: 48px;
  height: 48px;
  background: linear-gradient(130deg, var(--gold-end) 0, var(--gold-mid) 50%, var(--gold-start) 100%);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}
.loader::after {
  content: '';  
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 50%;
  background: linear-gradient(130deg, var(--gold-end) 0, var(--gold-mid) 50%, var(--gold-start) 100%);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}
@keyframes rotationBack {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}



.loader_2 {
  width: 48px;
  height: 48px;
  background: linear-gradient(130deg, var(--gold-end) 0, var(--gold-mid) 50%, var(--gold-start) 100%);
  display: block;
  margin: 20px auto;
  position: relative;
  box-sizing: border-box;
  animation: rotationBack 1s ease-in-out infinite reverse;
}
.loader_2::before {
  content: '';  
  box-sizing: border-box;
  left: 0;
  top: 0;
  transform: rotate(45deg);
  position: absolute;
  width: 48px;
  height: 48px;
  background: linear-gradient(130deg, var(--gold-end) 0, var(--gold-mid) 50%, var(--gold-start) 100%);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}
.loader_2::after {
  content: '';  
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 50%;
  background: linear-gradient(130deg, var(--gold-end) 0, var(--gold-mid) 50%, var(--gold-start) 100%);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}
@keyframes rotationBack {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

.options  {
  display: flex;
  gap: 15px;
  margin-top: 10px;
  list-style: none;
}


.options li {
  display: flex;
  margin-top: 10px;
  list-style: none;
}
.mine-arenda-slider-wrapper {
  width: 620px;
  height: 400px;
  border-radius: 7px;
}
/* 
.contacts-section-inner {
    background: center / cover no-repeat url("/templates/microton/img/contacti/kontakti.jpg");

} */

.top-slider-arenda-slide_1 {

  background: center / 100% 100% no-repeat url("/templates/microton/img/tgm_40/IMG-20250901-WA0028.jpg");

}
.top-slider-arenda-tgk-2-slide_1 {
    background: center / 100% 100% no-repeat url("/templates/microton/img/tgk_2/tgk_2_image.jpg");
}

.top-slider-arenda-tgk-2-slide_2 {
  background: center / 100% 100% no-repeat url("/templates/microton/img/tgk_2/tgk_2_from_site.jpg");
}

.top-slider-arenda-tgk-2-slide_3 {
  background: center / 100% 100% no-repeat url("/templates/microton/img/tgk_2/IMG_20251203_100029_719.jpg");
}

.top-slider-arenda-slide_3 {
  background: center / 100% 100% no-repeat url("/templates/microton/img/tgm_40/IMG-20250901-WA0029.jpg");

}
.top-slider-arenda-slide_4 {
  background: center / 100% 100% no-repeat url("/templates/microton/img/tgm_40/IMG-20250901-WA0045.jpg");

}
/* .top-slider-arenda-slide_5 {
  background: center / cover no-repeat url("/templates/microton/img/tgm_40/IMG-20250901-WA0046.jpg");

} */
/* .top-slider-arenda-slide_6 {
  background: center / 100% 100% no-repeat url("/templates/microton/img/tgm_40/IMG-20250901-WA0047.jpg");

} */

.top-slider-arenda-slide_7 {
  background: center / cover no-repeat url("/templates/microton/img/tgm_40/IMG-20250901-WA0050.jpg");

}

.top-slider-arenda-slide_8 {
  background: center / 100% 100% no-repeat url("/templates/microton/img/tgm_40/IMG-20250901-WA0049.jpg");

}


.top-slider-arenda-slide {
  height: 400px;
}

.slider_setion_arenda {
  display: flex;
  flex-wrap: wrap;       
  gap: 30px;
  align-items: flex-start; 
}

.arenda {
  flex: 1 1 48%;
  display: flex;
  flex-direction: column;
  gap: 15px;        
  align-items: center;    
  margin: 50px 0 0;
  padding: 0;
  list-style: none;
  /* text-align: center; */
}

.arenda li {
  list-style: none;
  display: block;        
}

.arenda li h2 { margin: 0; }

.arenda > li:first-child {
  place-items: center;
}

/* .arenda > li:last-child {
  text-align: center;
} */

.swiper-top-slider {
  width: 100%;
}


@media (min-width: 768px) {

  .licenses-certificates__nav {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        justify-content: space-between;
        margin-top: 0;
        transform: translateY(-50%);
        pointer-events: none;
    }
    
    .licenses-certificates__button {
        pointer-events: auto;
        position: relative;
        z-index: 1;
    }
    
    .licenses-certificates__button--prev {
        left: -10px;
    }
    
    .licenses-certificates__button--next {
        right: -10px;
    }

  

  

    
}

@media (max-width: 768px) {
  
    .questions-section-wrapper {
      background: url(/templates/microton/img/questions/fos.jpg) center / cover no-repeat;
      padding: 0;
      height: 1000px;
      align-items: center;
    }
    .questions-section-question {
      padding: 30px;
    }

    /* .swiper-wrapper {
      display: flex;
      flex-wrap: wrap;
    } */
}

@media (max-width: 768px) {

  .slider_setion_arenda .arenda {
    display: flex;           
    flex-direction: column;  
    align-items:  flex-start;     
    padding: 0;
    list-style: none;
  }
  .slider_setion_arenda .swiper-top-slider.arenda-slider { 
    width: 47%; 
    margin-left: 0;   
    margin-right: auto; 
  }
  
  .slider_setion_arenda .arenda li {
    width: 50%;             
    max-width: 50%;         
    margin-bottom: 25px;     
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;  
  }
  .slider_setion_arenda .arenda li {
    overflow-wrap: break-word;
    word-wrap: break-word;
    text-align: left; 
  }

  .slider_setion_arenda .arenda h2 {
    text-align: center; 
  }

  .slider_setion_arenda .arenda li:last-child {
    margin-bottom: 0;
  }
  .arenda-slider .swiper-slide,
  .arenda-slider .top-slider-arenda-slide,
  .arenda-slider [class*="top-slider-arenda-slide_"] { 
      width: 100%;
      min-width: 0;
      box-sizing: border-box;
  }
}
@media (max-width: 768px) {
    .slider_setion_arenda {
        display: block !important; 
        padding: 0 10px !important;
        width: 100% !important;
    }

    .arenda {
        width: 100% !important;
        max-width: 100% !important;
        margin: 20px 0 !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .arenda li {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin-bottom: 20px !important;
        display: block !important;
    }

    .mine-arenda-slider-wrapper {
        width: 100% !important;
        height: 350px !important; 
        max-width: 100% !important;
        margin: 0 auto !important;
        border-radius: 10px;
        overflow: hidden;
    }

    .top-slider-arenda-slide, 
    .arenda-slider .swiper-slide,
    .arenda-slider .swiper-slide > div[class*="top-slider-arenda-"] {
        height: 350px !important;
        width: 100% !important;
        background-size: cover !important; 
        background-position: center !important;
    }

    .arenda li h2 {
        text-align: center !important;
        font-size: 26px !important;
        width: 100%;
        margin: 10px 0 !important;
    }

    .arenda li:last-child {
        text-align: left !important;
        padding: 0 10px !important;
        font-size: 16px;
        line-height: 1.6;
    }

    .arenda-slider .swiper-button-prev,
    .arenda-slider .swiper-button-next {
        color: #fff !important;
        background-color: rgba(0,0,0,0.3); 
        width: 40px;
        height: 40px;
        border-radius: 50%;
    }
    
    .arenda-slider .swiper-button-prev:after,
    .arenda-slider .swiper-button-next:after {
        font-size: 18px !important;
    }
}

@media (max-width: 480px) {
    .mine-arenda-slider-wrapper,
    .top-slider-arenda-slide,
    .arenda-slider .swiper-slide > div {
        height: 280px !important; 
    }
}

@media (max-width: 768px) {
    .slider_setion_arenda .swiper-top-slider.arenda-slider {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .arenda-slider .swiper-slide {
        width: 100% !important;
    }

    .arenda-slider .swiper-slide > div[class*="top-slider-arenda-"] {
        width: 100% !important;
        height: 350px !important;
        background-size: cover !important;
        background-position: center !important;
        border-radius: 10px;
    }

    .mine-arenda-slider-wrapper {
        width: 100% !important;
        height: auto !important;
        padding: 0 !important;
    }

    .slider_setion_arenda .arenda li {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .arenda-slider .swiper-button-prev { left: 10px !important; }
    .arenda-slider .swiper-button-next { right: 10px !important; }
}

@media (max-width: 480px) {
    .arenda-slider .swiper-slide > div[class*="top-slider-arenda-"] {
        height: 250px !important; 
    }
}

@media screen and (max-width: 767px) {
    h2, 
    .text-block h2, 
    div[itemprop="articleBody"] h2, 
    .partners_h2, 
    .in-card-slider-section-title h2, 
    .stages-title, 
    .about-section-company-title h2,
    .questions-section-contacts-card h2 {
        font-size: 25px !important; /* Для телефонов делаем еще компактнее */
    }
}

@media (max-width: 991px) {
  /* 1. ШАПКА (Лого и Бургер) */
  .header_wrapper--second .row.d-md-none {
    position: relative !important;
    z-index: 10002 !important;
    background: #000 !important;
    height: 70px; /* Если шапка выше, измените это число */
    display: flex !important;
    align-items: center;
  }

  /* 2. КОНТЕЙНЕР МЕНЮ (Выпадающая часть) */
  .header__second.active {
    position: fixed !important;
    top: 70px !important; /* Должно совпадать с высотой шапки */
    left: 0 !important;
    width: 100% !important;
    height: calc(100vh - 70px) !important;
    background-color: rgba(0, 0, 0, 0.98) !important;
    z-index: 10001 !important;
    overflow-y: auto !important; /* Скролл если пунктов много */
    display: block !important;
    padding: 20px 15px 100px 15px !important;
    box-sizing: border-box !important;
  }

  /* 3. СБРОС СЕТКИ ВНУТРИ МЕНЮ */
  .header__second.active .row,
  .header__second.active .col-12 {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* 4. САМО МЕНЮ (Список) */
  .main-menu {
    display: block !important;
    height: auto !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .main-menu li {
    width: 100% !important;
    text-align: left !important; /* Текст слева лучше читается на мобильных */
    margin-bottom: 5px;
  }

  .main-menu a {
    display: block !important;
    width: 100% !important;
    font-size: 18px !important;
    line-height: 1.4 !important;
    padding: 12px 0 !important;
    white-space: normal !important; /* Позволяет длинным названиям переноситься */
    word-wrap: break-word;
    border-bottom: 1px solid #222; /* Легкая разделительная полоса */
  }

  /* 5. ПОДМЕНЮ (Вложенные пункты) */
  .main-menu li ul.nav-child {
    position: static !important;
    display: block !important;
    width: 100% !important;
    /* Убираем фиксированные ширины, которые вызывали вылет за края */
    min-width: 0 !important; 
    max-width: 100% !important;
    
    background: transparent !important;
    margin: 5px 0 15px 0 !important;
    padding-left: 15px !important; /* Отступ слева для иерархии */
    
    /* Красивая золотая полоса слева вместо рамки вокруг */
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-left: 2px solid var(--gold-start) !important;
    border-radius: 0 !important;
  }

  .main-menu li ul.nav-child li a {
    font-size: 16px !important;
    font-weight: 400 !important;
    padding: 8px 0 !important;
    border-bottom: none !important; /* У подпунктов убираем лишние линии */
    color: #ccc !important;
  }

  /* Убираем стрелочки, если они мешают верстке */
  ul.main-menu li.deeper a.main-menu-arrow:after {
    display: none !important;
  }
}