*{
    padding: 0;
    box-sizing: border-box;
    /* font-family: 'Exo 2', sans-serif;    */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    color: #1B222B;
    margin: 0;
    padding: 0;
}

p{
    color: #1B222B;
    margin: 0;
    padding: 0;
}

li {
    list-style-type: none;
  }


body {
    margin: 0;
}

a{
    text-decoration: none;
}

img{
  pointer-events: none;
}

.container {
  width: 100%;          
  max-width: 1200px;    
  margin: 0 auto;        
  padding: 0 10px;       
  box-sizing: border-box; 
}

/* Для экранов меньше 768px (обычно мобильные телефоны) */
@media (max-width: 767px) {
  .container {
    padding: 0 10px; /* Можно увеличить отступы на мобильных */
  }
}

/* Для экранов от 768px до 991px (обычно планшеты) */
@media (min-width: 768px) and (max-width: 991px) {
  .container {
    max-width: 720px; /* Можно задать другую максимальную ширину для планшетов */
  }
}

/* Для экранов от 992px до 1199px (маленькие ноутбуки/десктопы) */
@media (min-width: 992px) and (max-width: 1199px) {
  .container {
    max-width: 960px; /* Максимальная ширина для маленьких экранов */
  }
}

/* Для экранов больше 1200px (большие десктопы) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px; /* Максимальная ширина для больших экранов */
  }
}

@media (max-width: 480px) {
  .container-slider {
    padding: 0 5px; /* Можно увеличить отступы на мобильных */
  }  
} 

section{
  margin-bottom: 30px;
}

@media (max-width: 480px) {
  section{
    margin-bottom: 10px;
  }    
}

.mai_head{
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);    
}

.head_top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;      
}

@media (max-width: 767px) {
  .head_top {
    flex-direction: column; 
    align-items: stretch;  
    padding: 10px;         
  }
}

.head_img img{
    width: 150px;    
}

@media (max-width: 767px) {
  .head_img {   
    text-align: center;
    margin-bottom: 10px;
  }
}

.head_info{
    text-align: center;
}

@media (max-width: 767px) {
  .head_info {     
    margin-bottom: 16px;
  }
}


.head_info_adres{
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1B222B;
}

.head_info_work{
    font-size: 16px;
}

.head_contact_tel{
    display: flex;
    font-size: 18px;
    font-weight: 600;
    align-items: center;
}

@media (max-width: 767px) {
  .head_contact {       
    margin: 0 auto;
  }
}


.head_contact_tel a{
    display: flex;
    align-items: center;    
    color: rgb(37, 37, 37);
}

.icon_telegram{
    width: 30px;
    height: 30px;
    margin-right: 6px;    
}

.head_contact_tel img{
    margin-right: 4px;
}

.head_contact_tel img{    
    width: 36px;
    height: 36px;
}

/* Слайдер */

.slideshowContainer {
  position: relative;
  overflow: hidden;
  margin: 20px 0 30px;
  border-radius: 5px;
  width: 100%;
  height: 500px;
}

.imageSlides {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: -1;
}

.imageSlides img{
  width: 100%;  
  transition: 1s ease-in-out;
}

.imageSlides_ozon{
  display: none;
}

.visible {
  opacity: 1;
}

.openbtm{
  position: absolute;
  display: flex;
  justify-content: center;
  left: 50%;
  bottom: 90px;
  transform: translate(-50%);
  cursor: pointer;  
  z-index: 1000; 
}

/* Адаптивные стили */
@media (max-width: 767px) {
  .openbtm {
    bottom: 30px; /* Меняем положение на мобильных */
  }
}

/* Для самых маленьких экранов (опционально) */
@media (max-width: 480px) {
  .openbtm {
    bottom: 20px; /* Еще ближе к низу */
  }
}

.openbtm img {
  width: 80%;
  animation: pulse 1.5s ease-in-out infinite; /* Изменили имя анимации и длительность */
}

@keyframes pulse {
  0% {
    transform: scale(1); /* Начальный размер */
  }
  50% {
    transform: scale(1.02); /* Увеличение на 2% */
  }
  100% {
    transform: scale(1); /* Возвращаемся к начальному размеру */
  }
}

.slideshowArrow {
  font-size: 7em;
  color: rgba(1, 159, 232, 0.4);
  cursor: pointer;
  transition: color 0.2s ease-in-out;
}

.slideshowArrow:hover {
  color: #019DE8;
}

#leftArrow {
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: 0.3s;
}

#leftArrow:hover{ 
  left: 28px;
}

#rightArrow {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translate(50%, -50%);
  transition: 0.3s;
}

#rightArrow:hover{
  right: 28px;
}

.slideshowCircles {
  position: absolute;
  bottom: 2%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.circle {
  display: inline-block;
  margin-left: 3px;
  margin-right: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: solid 2px rgba(255, 255, 255, 0.5);
  transition: 1s ease-in-out;
}

.dot {
  background-color: rgba(1, 159, 232, 0.9);
  border: solid 2px rgba(1, 159, 232, 0.7);
}

/* Адаптивные стили */
@media (max-width: 767px) {
  .slideshowContainer {    
    margin: 10px 0 20px;
  }

  .slideshowArrow {
    display: none; /
  }

  .slideshowCircles {
    bottom: 1%;
  }
}

/* Дополнительно: для очень маленьких экранов */
@media (max-width: 480px) {

  .slideshowContainer {    
    margin: 10px 0 0 0;
  }

  .slideshowArrow {
    display: none;
  }

  .slideshowCircles {
    display: none;
  }
}

  .company_title h1{
    margin-bottom: 30px;
  }

  @media (max-width: 480px) {
    .company_title h1{
      font-size: 20px;
      margin-bottom: 10px;
    }
      
  }

  .company_items{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
  }

  .company_description p{
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 30px;
  }

  .alenbi{    
    overflow: hidden;
    user-select: none;
  }

  .alenbi img{
    border-radius: 5px;      
  }

  @media (max-width: 480px) {
    .company_items{
      display: block;
    }
    .company_description p{
      font-size: 16px;      
    }
  }

  /* Почему мы */

  .company-advantages h2{
    font-size: 20px;    
    margin-bottom: 20px;
  }

  @media (max-width: 480px) {
    .company-advantages h2{
      font-size: 18px;      
    }   
  }

  .company-advantages h3{
    font-size: 18px;
    text-align: center;
    margin-bottom: 20px;
  }

  @media (max-width: 480px) {
    .company-advantages h3{
      font-size: 16px;      
    }   
  }

  .company-advantages h5{
    font-size: 24px;
    margin-bottom: 40px;
  }

  @media (max-width: 480px) {
    .company-advantages h5{
      font-size: 20px;
      margin-bottom: 20px;
    }   
  }


  .company-advantages p{    
    margin-bottom: 10px;
  }

  hr{
    margin: 20px 0;
  }

  @media (max-width: 480px) {
    hr{
      margin: 10px 0;
    }
  }

  .company-advantages_items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

  .company-advantages_number{
    display: flex;
    justify-content: center;
    align-items: center;    
    width: 50px;
    height: 80px;
    background-color: #019DE8; 
    clip-path: polygon(50% 0%, 100% 0%, 50% 100%, 0% 100%);
    margin-bottom: 20px;    
  }

  .company-advantages_assortment_items{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
  }

  /* Для экранов меньше 768px (обычно мобильные телефоны) */
@media (max-width: 767px) {
  .company-advantages_assortment_items {
    grid-template-columns: 1fr; /* 1 колонка на мобильных */
    gap: 10px;               /* Уменьшаем отступы */
  }
}

/* Для экранов от 768px до 991px (обычно планшеты) */
@media (min-width: 768px) and (max-width: 991px) {
  .company-advantages_assortment_items {
    grid-template-columns: 1fr 1fr; /* 2 колонки на планшетах */
    gap: 15px;               /* Уменьшаем отступы */
  }
}

/* Для экранов от 992px до 1199px (маленькие ноутбуки/десктопы) */
@media (min-width: 992px) and (max-width: 1199px) {
  .company-advantages_assortment_items {
    grid-template-columns: 1fr 1fr 1fr; /* 3 колонки на небольших десктопах */
  }
}

  .company-advantages_assortment_item_img{
    width: 100%;
    padding: 20px;
  }
  
  .company-advantages_assortment_item img{
    width: 100%;    
    margin-bottom: 20px;
  }
  
  @media (max-width: 480px) {
    .company-advantages_assortment_item_img{
      width: 60%;
      margin: 0 auto;
      padding: 10px;
    }
    
    .company-advantages_assortment_item img{
      width: 100%;    
      margin-bottom: 20px;
    }
  }

  .company-advantages_number_dark{
    display: flex;
    justify-content: center;
    align-items: center; 
    width: 100%;
    height: 100%;
    background-color: #1B222B;    
  }

  .company-advantages-selection{
    display: grid;
    grid-template-columns: 1fr 3fr;
    align-items: center;
    width: 100%;
    gap: 20px;
  }

  @media (max-width: 480px) {
    .company-advantages-selection{
      grid-template-columns: 1fr;
    }
   
  }

  .company-advantages-selection img{
    width: 100%;    
  }

  .company-advantages_number span{    
    font-size: 40px;
    font-weight: 600;
    color: white;    
  }

  /* Партнеры */
  .partner h5{
    font-size: 24px;
    /* margin-bottom: 20px; */
  }

  .partner p {
    font-size: 16px;
    font-weight: 500;
    padding: 0 30px;
    margin-top: -24px;
  }

  .partner_befor_left {   
    font-size: 3em;
    color: rgba(0, 128, 0, 0.7); 
  }
  
  .partner_after_right {    
    font-size: 3em;
    color: rgba(0, 128, 0, 0.7);    
  }


/* Пробный слайдер */
/*Анимация слайдов*/

/*Desktop and Tablet*/
@-webkit-keyframes slide {
  0% { margin:0; }
  5%,50% { margin:0 0 0 -100%; }
  55%, 100% { margin:0; }
}
@-moz-keyframes slide {
  0% { margin:0; }
  5%,50% { margin:0 0 0 -100%; }
  55%,100% { margin:0; }
}
@-ms-keyframes slide {
  0% { margin:0; }
  5%,50% { margin:0 0 0 -100%; }
  55%,100% { margin:0; }
}
@-o-keyframes slide {
  0% { margin:0; }
  5%,50% { margin:0 0 0 -100%; }
  55%,100% { margin:0; }
}
@keyframes slide {
  0% { margin:0; }
  5%,50% { margin:0 0 0 -100%; }
  55%,100% { margin:0; }
}

/*Mobile*/
@-webkit-keyframes slide_mobile {
  0%, 22% { margin:0; }
  25%, 47% { margin:0 0 0 -100%; }  
  50%, 72% { margin:0 0 0 -200%; }
  75%, 97% { margin:0 0 0 -300%; }
  100% { margin:0; }
}

@-moz-keyframes slide_mobile {
  0%, 22% { margin:0; }
  25%, 47% { margin:0 0 0 -100%; }  
  50%, 72% { margin:0 0 0 -200%; }
  75%, 97% { margin:0 0 0 -300%; }
  100% { margin:0; }
}

@-ms-keyframes slide_mobile {
  0%, 22% { margin:0; }
  25%, 47% { margin:0 0 0 -100%; }  
  50%, 72% { margin:0 0 0 -200%; }
  75%, 97% { margin:0 0 0 -300%; }
  100% { margin:0; }
}

@-o-keyframes slide_mobile {
  0%, 22% { margin:0; }
  25%, 47% { margin:0 0 0 -100%; }  
  50%, 72% { margin:0 0 0 -200%; }
  75%, 97% { margin:0 0 0 -300%; }
  100% { margin:0; }
}

@keyframes slide_mobile {
  0%, 22% { margin:0; }
  25%, 47% { margin:0 0 0 -100%; }  
  50%, 72% { margin:0 0 0 -200%; }
  75%, 97% { margin:0 0 0 -300%; }
  100% { margin:0; }
}

.rotator-wrap {
    overflow:hidden;
    position:relative;
    min-height:50px;
    width:100%;
    border-radius:5px;
}

.rotator {
  display: flex;
  align-items: center; 
    width:200%;
    overflow:hidden;
    margin:0;
    list-style:none;
    padding:0;     
    -webkit-animation: slide 10s infinite ease-out 5s;
    -moz-animation:    slide 15s infinite ease-out 5s;
    -ms-animation:     slide 15s infinite ease-out 5s;
    -o-animation:      slide 15s infinite ease-out 5s;
    animation:         slide 15s infinite ease-out 5s;
}

.rotator > li {
    padding:15px;
    width:12.5%;
    float:left;
    margin:0;
    box-sizing:border-box;              
    -webkit-transition:margin .2s ease-out;
    -moz-transition:margin .2s ease-out;
    -ms-transition:margin .2s ease-out;
    -o-transition:margin .2s ease-out;
    transition:margin .2s ease-out;
}

.rotator > li > div {     
    width:100%;
    height:100%;
    line-height: 0;        
    overflow:hidden;                
}

img {
  width:100%;
}

@media only screen and (max-width: 767px) {
    .rotator {
        width:266%;
    }
}

@media only screen and (max-width: 520px) {
    .rotator {
        width:395%;
        -webkit-animation: slide_mobile 25s infinite ease-out;
        -moz-animation:    slide_mobile 25s infinite ease-out;
        -ms-animation:     slide_mobile 25s infinite ease-out;
        -o-animation:      slide_mobile 25s infinite ease-out;
        animation:         slide_mobile 25s infinite ease-out;
    }
}

  /* Форма */

  form {
    max-width: 600px;
    /* height: 100%; */
    margin: 0 auto;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }

  .forma_title h5{
    font-size: 20px;
    margin-bottom: 10px;
  }

  .forma_title p{
    margin-bottom: 20px;
  }
  
  label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
  }
  
  input[type="text"],
  input[type="tel"],
  textarea {
    width: 100%;   
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    resize: vertical;
  } 

  textarea {    
    height: 200px;
  } 

  .form_btn {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
  }
  
  .form_btn:hover {
    background-color: #3e8e41;
  }

  .map_items{
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px; 
  }

  /* Для экранов меньше 768px (обычно мобильные телефоны) */
@media (max-width: 767px) {
  .map_items {
    grid-template-columns: 1fr; /* 1 колонка на мобильных */
    grid-template-rows: auto auto; /* 2 строки auto высоты */
    gap: 10px;
  }
}

/* Для экранов от 768px до 991px (обычно планшеты) */
@media (min-width: 768px) and (max-width: 991px) {
  .map_items {
    grid-template-columns: 1fr;  /* 1 колонка на планшетах */
    grid-template-rows: auto auto; /* 2 строки auto высоты */
    gap: 15px;
  }
}

  .map{    
    border-radius: 5px;
    overflow: hidden;
  }

  @media (max-width: 767px) {
    .map {
      display: flex;
      align-items: center;
      max-height: 300px;
    }
  }

  footer{
    background-color: #1B222B;
	margin-top: 30px;
    padding: 10px 0;    
    box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.1); 
  }

  .foot_adres p,h6{
    color: white;
    text-align: center;
  }

  .foot_adres h6{    
    font-size: 16px;
  }

  .foot_adres_mag{
    margin-bottom: 20px;
  }

  @media (max-width: 767px) {
    .foot_adres_serv {
      margin-bottom: 30px;
    }
  }

  .footer_telegramm{
    margin-top: 2px;
  }

  .email_items{
    display: flex;
    align-items: center;
  }


  .email_item{
    display: flex;
    margin-bottom: 3px;
    margin-left: 5px;    
  }

  .email_img{
    width: 30px;
    height: 30px;
    margin-right: 8px;
  }

  .email_text{
    font-size: 20px;
    color: white;
  }

  .footer_contact{
    display: flex;
    align-items: center;
  }

  .product-title {
    text-align: center;
    margin: 30px 0;
  }

  .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .product {
    border: 1px solid #ccc;
    padding: 15px;
    text-align: center;
  }
  
  .product img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
  }
  
  .product h2 {
    font-size: 1.2em;
    margin-bottom: 5px;
  }
  
  .product .price {
    font-weight: bold;
    color: green;
  }