/* Общие стили для всех элементов */
  
    /* Общие стили для всех элементов */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    
    /* Основные стили для всей страницы */
    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: linear-gradient(135deg, #f8f9fa, #e9ecef);
      color: #333;
      line-height: 1.6;
      padding: 20px;
      min-height: 100vh;
    }
    
    /* Основной контейнер для контента */
    .container {
      max-width: 2800px;
      margin: 0 auto;
      background: #fff;
      border-radius: 15px;
      box-shadow: 0 15px 40px rgba(0,0,0,0.12);
      overflow: hidden;
    }
    
    /* Стили для шапки сайта */
    header {
      background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
      color: white;
      padding: 40px 20px;
      text-align: center;
      position: relative;
      overflow: hidden;
      margin-bottom: 5vw;
      border-radius: 30px;
    }
    
    /* Декоративный элемент для шапки */
    header::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
      transform: rotate(30deg);
    }
    
    /* Стили для главного заголовка */
    h1 {
      font-size: 2.8rem;
      margin-bottom: 12px;
      text-shadow: 0 3px 6px rgba(0,0,0,0.25);
      position: relative;
    }
    
    /* Стили для подзаголовка */
    .subtitle {
      font-size: 1.2rem;
      opacity: 0.92;
      max-width: 800px;
      margin: 0 auto;
      position: relative;
    }
    
    /* Контейнер для контактной информации */
    .contact-info {
      display: flex;
      justify-content: center;
      gap: 30px;
      margin-top: 20px;
      flex-wrap: wrap;
    }
    
    /* Элемент контакта */
    .contact-item {
      display: flex;
      align-items: center;
      gap: 10px;
      background: rgba(255,255,255,0.15);
      padding: 10px 20px;
      border-radius: 30px;
      backdrop-filter: blur(5px);
    }
    
    /* Секция с популярными товарами */
    .popular-section {
      padding: 50px 20px;
    }
    
    /* Заголовок секции */
    .popular-section h2 {
      font-size: 32px;
      text-align: center;
      margin-bottom: 45px;
      color: #2c3e50;
      position: relative;
    }
    
    /* Декоративная линия под заголовком */
    .popular-section h2::after {
      content: '';
      display: block;
      width: 100px;
      height: 5px;
      background: linear-gradient(to right, #f46c1e, #fdbb2d);
      margin: 15px auto 0;
      border-radius: 3px;
    }
    
    /* Стили для аккордеона */
    .accordion {
      max-width: 2800px;
      margin: 0 auto;
    }
    
    /* Стили для элемента аккордеона */
    .accordion-item {
      margin-bottom: 15px;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
      background: #fff;
      transition: all 0.3s ease;
    }
    
    /* Эффект при наведении */
    .accordion-item:hover {
      box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }
    
    /* Заголовок элемента аккордеона */
    .accordion-header {
      padding: 18px 25px;
      background: linear-gradient(to right, #f46c1e, #fdbb2d);
      color: white;
      font-size: 18px;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-radius: 15px;
      transition: all 0.3s ease;
    }
    
    /* Эффект при наведении на заголовок */
    .accordion-header:hover {
      background: linear-gradient(to right, #e55c0e, #edab1d);
    }
    
    /* Иконка в заголовке */
    .accordion-icon {
      transition: transform 0.3s ease;
    }
    
    /* Состояние иконки при активном элементе */
    .accordion-item.active .accordion-icon {
      transform: rotate(180deg);
    }
    
    /* Контент элемента аккордеона */
    .accordion-content {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
    }
    
    /* Открытое состояние контента */
    .accordion-item.active .accordion-content {
      max-height: 5000px;
    }
    
    /* Сетка товаров внутри аккордеона */
    .products-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 25px;
      padding: 25px;
    }
    
    /* Карточка товара */
    .product-card {
      background: #fff;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 8px 20px rgba(0,0,0,0.1);
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      border: 1px solid #eee;
    }
    
    /* Эффект при наведении на карточку */
    .product-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 30px rgba(0,0,0,0.18);
    }
    
    /* Ссылка на товар */
    .product-link {
      display: block;
      text-decoration: none;
      color: inherit;
      position: relative;
      overflow: hidden;
    }
    
    /* Контейнер для изображения товара */
    .image-container {
      position: relative;
      overflow: hidden;
      height: 240px;
      background: #f8f9fa;
    }
    
    /* Изображение товара */
    .product-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: all 0.5s ease;
      display: block;
    }
    
    /* Эффект увеличения изображения при наведении */
    .product-link:hover img {
      transform: scale(1.08);
    }
    
    /* Кнопка "Подробнее" */
    .btn-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: rgba(244, 108, 30, 0.95);
      color: white;
      padding: 18px;
      text-align: center;
      transform: translateY(100%);
      transition: transform 0.4s ease;
      font-weight: 700;
      font-size: 18px;
      backdrop-filter: blur(3px);
      z-index: 3;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
    }
    
    /* Показываем кнопку при наведении */
    .product-link:hover .btn-overlay {
      transform: translateY(0);
    }
    
    /* Блок с информацией о товаре */
    .product-info {
      padding: 22px;
      position: relative;
    }
    
    /* Название товара */
    .product-info p {
      margin: 12px 0;
      font-weight: 700;
      font-size: 19px;
      color: #2c3e50;
      min-height: 60px;
    }
    
    /* Индикатор наличия товара */
    .stock {
      color: #27ae60;
      font-size: 16px;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 8px;
    }
    
    /* Иконка перед текстом "В наличии" */
    .stock::before {
      content: '✓';
      font-size: 18px;
    }
    
    /* Ценник товара */
    .price-tag {
      background: linear-gradient(to right, #f46c1e, #fdbb2d);
      color: white;
      position: absolute;
      top: 150px;
      right: 20px;
      padding: 8px 16px;
      border-radius: 25px;
      font-weight: 700;
      font-size: 16px;
      z-index: 2;
      box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    }
    
    /* Метка категории товара */
    .category-label {
      position: absolute;
      top: 100px;
      left: 20px;
      background: rgba(255,255,255,0.95);
      padding: 6px 16px;
      border-radius: 25px;
      font-size: 13px;
      font-weight: 700;
      color: #f46c1e;
      z-index: 2;
      box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    }
    
    /* Список характеристик товара */
    .product-features {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 15px;
    }
    
    /* Отдельная характеристика */
    .feature {
      background: #f1f3f5;
      padding: 6px 12px;
      border-radius: 20px;
      font-size: 13px;
      font-weight: 600;
      color: #495057;
    }
    
    /* Подвал сайта */
    .footer-note {
      text-align: center;
      padding: 35px 20px;
      background: linear-gradient(to right, #2c3e50, #1a2a6c);
      color: #ecf0f1;
      margin-top: 50px;
    }
    
    /* Текст в подвале */
    .footer-note p {
      max-width: 800px;
      margin: 0 auto 20px;
      line-height: 1.8;
      font-size: 17px;
    }
    
    /* Блок с гарантиями */
    .guarantee {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 30px;
      margin-top: 25px;
    }
    
    /* Элемент гарантии */
    .guarantee-item {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 16px;
      font-weight: 600;
    }
    
    /* Иконка гарантии */
    .guarantee-icon {
      background: rgba(255,255,255,0.2);
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
    }
    
    /* Копирайт в подвале */
    .copyright {
      margin-top: 30px;
      opacity: 0.8;
      font-size: 14px;
    }
    
    /* Адаптация для планшетов (992px и меньше) */
    @media (max-width: 992px) {
      .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
      }
      
      .accordion-header {
        padding: 16px 20px;
        font-size: 17px;
      }
    }
    
    /* Адаптация для небольших планшетов (768px и меньше) */
    @media (max-width: 768px) {
      h1 {
        font-size: 2.3rem;
      }
      
      .image-container {
        height: 220px;
      }
      
      .product-info p {
        font-size: 18px;
      }
    }
    
    /* Адаптация для мобильных устройств (576px и меньше) */
    @media (max-width: 576px) {
      .popular-section h2 {
        font-size: 26px;
      }
      
      .accordion-header {
        padding: 14px 18px;
        font-size: 16px;
      }
      
      .products-grid {
        grid-template-columns: 1fr;
      }
      
      .product-info p {
        font-size: 17px;
      }
      
      .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 15px;
      }
    }
  /* Блок специалисты */
.specialists {
  text-align: center;
  padding: 40px 20px;
  background: #f7f7f7;
  font-family: 'Segoe UI', sans-serif;
}

.specialists h2 {
  font-size: 32px;
  color: #333;
}

.underline {
  width: 100px;
  height: 4px;
  background-color: #f7f7f7;
  margin: 10px auto 30px;
  border-radius: 2px;
}

.specialists-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.specialist-card {
  background: #f7f7f7;
  color: ##100c08;
  border-radius: 8px;
  padding: 20px;
  width: 300px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
}

.specialist-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.specialist-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.specialist-card p {
  font-size: 15px;
  margin-bottom: 15px;
}

.specialist-card button {
  padding: 20px 50px;
  background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d); /* начальный градиент */
  color: #FFFFFF;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.4s ease; /* плавная анимация при наведении */
}

.specialist-card button:hover {
  background: linear-gradient(135deg, #fdbb2d, #b21f1f, #1a2a6c); /* измененный градиент при наведении */
  transform: scale(1.05); /* слегка увеличивает кнопку при наведении */
}
/* Начальный стиль ссылки */
.specialist-card a {
  text-decoration: none;
  font-weight: bold;
  color: #100c08;
  display: inline-block; /* нужно для transform */
  transition: all 0.4s ease;
}

/* Эффекты при наведении */
.specialist-card a:hover {
  background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;

  transform: translateY(-3px); /* поднимаем ссылку */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* добавляем тень */
}
/* Блок специалисты закончен */

/* Блок иконки часы  рулетка рама гарантия */
.advantages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 50px 20px;
  background-color: #fff;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.advantage {
  max-width: 200px;
}

.advantage img {
  width: 200px;
  height: 200px;
  margin-bottom: 15px;
  opacity: 0.8;
}

.advantage h3 {
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
}

.advantage p {
  font-size: 14px;
  color: #777;
}
/* Блок иконки часы  рулетка рама гарантия закончен */


/* Задний фон (полупрозрачное затемнение) */
.modal-overlay {
  display: none; /* по умолчанию скрыто */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* полупрозрачный чёрный фон */
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 20px; /* отступ на телефонах */
  box-sizing: border-box;
}
.modal-window {
/* Модальное окно */
display: flex;
    background: #fff;
    padding: 5px;
    border-radius: 12px;
    position: relative;
    width: 100%;
    max-width: 340px;
    text-align: center;
    z-index: 1001;
    border: 2px solid transparent;
     background-image:
    linear-gradient(#fff, #fff), /* внутренний фон */
    linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d); /* градиентная рамка */
    background-origin: border-box;
    background-clip: content-box, border-box;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-direction: column
}
modal-window a {
  display: block;
  margin: 12px 0;
  text-decoration: none;
  color: #0077cc;
  font-weight: bold;
  transition: color 0.2s;
  font-size: 20px;
}

/* Крестик (закрытие окна) */
.close-button {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
  color: #999;
  transition: color 0.2s;
}

.close-button:hover {
  color: #333;
}

/* Ссылки внутри окна */


.modal-window a:hover {
  color: #005999;
}
.modal-window h4 {
font-size:1.5em;
}
.wt_btn{
    display: flex;
    align-items: center;
    flex-direction: row;
}
.wt_btn img{
width: 4vw;
}
.tg_btn{
    display: flex;
    align-items: center;
    flex-direction: row;
}
.tg_btn img{
width: 4vw;
}

/* 📱 Мобильная адаптация (ширина до 480px) */
@media (max-width: 480px) {
  .modal-window {
    padding: 5px;
    max-width: 100%;
    font-size: 15px;
  }

  .modal-window a {
    font-size: 20px;
  }

  .close-button {
    font-size: 22px;
    top: 8px;
    right: 10px;
  }
}

/* 💻 Увеличение окна на компьютерах (от 768px) */
@media (min-width: 768px) {
  .modal-window {
    max-width: 850px; /* Увеличили размер */
    padding: 5px;
    font-size: 18px;
  }

  .modal-window a {
    font-size: 17px;
  }

  .close-button {
    font-size: 24px;
    top: 12px;
    right: 18px;
  }
}
/* Кнопка телеграмм*/
   .telegram-button {
      width: 200px;
      height: 200px;
      background: radial-gradient(circle at 30% 30%, #60c7ff, #007acc);
      border: none;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
      cursor: pointer;
      transition: transform 0.2s, box-shadow 0.3s;
    }

    .telegram-button:hover {
      transform: scale(1.08);
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    }

    .telegram-button:active {
      transform: scale(0.95);
    }

    .telegram-button svg {
      width: 60px;
      height: 60px;
    }

.contact-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 50px 65px;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-decoration: none;
  background-color: #f5f5f5;
  color: #000;
  margin-bottom: 10px;
  transition: background-color 0.3s, transform 0.2s;
}

.contact-btn img {
  width: 32px;
  height: 32px;
}

.contact-btn:hover {
  background-color: #e0e0e0;
  transform: scale(1.02);
}



 