* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
    /* Цвета: светло-бежевый -> темно-синий -> медно-оранжевый -> темно-бордовый */
    background: linear-gradient(135deg, #c7b8b2 0%, #252a3d 30%, #d37e61 65%, #3b1d23 100%);
    background-attachment: fixed; /* Чтобы градиент не "плыл" при прокрутке */
    min-height: 100vh;
    margin: 0;
    width: 100%;
    font-family: sans-serif;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-hero {
  position: relative;          /* чтобы видео и контент позиционировались относительно него */
  overflow: hidden;            /* обрезаем видео по границам блока */
  min-height: 600px;           /* подгоните под ваш дизайн */
  /* фоновый цвет — на случай, если видео ещё не загрузилось */
  background-color: #0a0c12;
  /* удалите старые свойства background-image, background-size и т.д. */
}

/* Видео как фон */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;           /* аналог background-size: cover */
  object-position: center;     /* аналог background-position: center */
  z-index: 0;
  pointer-events: none;        /* чтобы клики уходили на контент */
}

/* Контент поверх видео */
.container-hero .hero {
  position: relative;
  z-index: 1;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.6); /* затемнение */
}

.header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('/logo_1_v1.jpeg') center / cover no-repeat;
  filter: blur(15px);
  transform: scale(1.3);
  opacity: 0.8;
  z-index: -1;
}

html {
    scroll-behavior: smooth;
}

.logo a {
    display: inline-block;
    text-decoration: none;
}

/* Header */
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    flex-wrap: wrap;   /* перенос на малых экранах */
}

header nav {
    display: flex;
    align-items: center;
    gap: 24px;          /* отступы между ссылками и кнопкой */
    flex-wrap: wrap;
}

header nav a {
    font-size: 0.9rem;
    white-space: nowrap;   /* чтобы текст не переносился */
}

.btn-glow {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* @media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    header nav {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }
    .logo {
        text-align: center;
    }
} */

/* ===== Кнопка-бургер ===== */
.burger {
  display: none;                 /* скрыт на десктопе */
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 110;
}

.burger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #cdd6f4;
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Анимация в "крестик" */
.burger.active span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* ===== Мобильная адаптация ===== */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  /* Навигация становится фиксированной панелью */
  .header nav {
    position: fixed;
    top: 50px;                  /* высота шапки — подгоните под вашу */
    left: 0;
    right: 0;
    background: #0f111a;
    border-bottom: 1px solid #2a2e3a;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    z-index: 999;               /* поверх контента */
  }

  .header nav.open {
    max-height: 80vh;            /* достаточно места */
    padding: 16px 24px 24px;
    overflow-y: auto;            /* на всякий случай */
  }

  .header nav a {
    padding: 14px 0;
    border-bottom: 1px solid #1e212a;
    width: 100%;
    text-align: left;
  }

  .header nav a:last-of-type {
    border-bottom: none;
  }
C
  .header nav .btn-glow {
    margin-top: 16px;
    width: 100%;
    text-align: center;
  }

  .logo {
        text-align: center;
    }

  /* Логотип не должен растягиваться */
  .header .logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
  }

  .header .logo img {
    height: 50px;
    display: block;
  }
}

/* Бургер прижат к правому краю */
.burger {
  flex: 0 0 auto;
  margin-left: auto; 
}

/* Ссылки в меню */
header nav a {
    color: #c7b8b2; 
    text-decoration: none;
    margin-left: 30px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.logo img {
    height: 50px;
    border-radius: 12px;          /* скругление углов */
    background: #ffffff;          /* белый фон под картинкой */
    padding: 0.5px;                 /* белая окантовка */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    display: block;
}

.logo span {
  color: #00c3ff;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: #cdd6f4;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #2b9aff;
}

.btn-glow {
  background: linear-gradient(105deg, #2b9aff, #7c4dff);
  color: white;
  padding: 10px 24px;
  border-radius: 40px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(43, 154, 255, 0.3);
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-glow:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 16px rgba(43, 154, 255, 0.5);
}

/* Hero */
/* Блок статистики */
.hero-stats {
    display: flex;
    gap: 50px;
    margin: 32px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(7px);
    border-radius: 32px;
    padding: 20px 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 140px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.4s; }

.stat-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(43, 154, 255, 0.15);
}

.stat-number-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 800;
    color: #2b9aff;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.stat-suffix,
.stat-prefix {
    font-size: 1.8rem;
    font-weight: 600;
    color: #93c5fd;
}

.stat-label {
    display: block;
    margin-top: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: #cdd6f4;
    letter-spacing: 0.5px;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 600px) {
    .hero-stats {
        gap: 20px;
        justify-content: center;
    }
    .stat-item {
        min-width: 100px;
        padding: 16px 20px;
    }
    .stat-number {
        font-size: 2.4rem;
    }
    .stat-suffix,
    .stat-prefix {
        font-size: 1.4rem;
    }
}

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  /* padding: 60px 0 80px; */
  /* margin: 0 auto; */
  padding: 60px 24px;
  gap: 40px;
}

.hero-badge {
  background: #1e293b;
  color: #2b9aff;
  display: inline-block;
  padding: 6px 16px;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  text-align: center;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff, #93c5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 1.4rem;
  color: #fcfafa;
  margin-bottom: 32px;
  max-width: 90%;
}

/* Секции */
.section-dark {
  background-color: #0f111a;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  color: #f0f3ff;
}

/* О компании */
.about-text-full {
  max-width: 900px;
  margin: 0 auto 48px auto;
  text-align: center;
}

.about-text-full p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: #cdd6f4;
}

.values-horizontal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.values-horizontal .value-card {
  flex: 1;
  min-width: 220px;
  background: #131722;
  padding: 28px 20px;
  border-radius: 28px;
  border: 1px solid #2a2e3a;
  text-align: center;
  transition: 0.2s;
}

.values-horizontal .value-card i {
  font-size: 2.2rem;
  color: #2b9aff;
  margin-bottom: 16px;
}

/* Преимущества */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.adv-card {
  background: #131722;
  border: 1px solid #252b3b;
  border-radius: 28px;
  padding: 32px 24px;
  text-align: center;
}

.adv-card i {
  font-size: 2.5rem;
  color: #2b9aff;
  margin-bottom: 20px;
}

/* Контакты без формы */
.contact-info-block {
  background: #0f111a;
  border-radius: 40px;
  padding: 48px;
  border: 1px solid #2a2e3a;
  margin-bottom: 60px;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-top: 20px;
}

.contact-details p {
  margin: 16px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.map-container {
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid #2a2e3a;
  margin-top: 32px;
  height: 320px;
  background: #1a1f2b;
}

/* CTA блок */
.cta-section {
  background: linear-gradient(135deg, #0a0c12 0%, #131722 100%);
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid #2a2e3a;
  border-bottom: 1px solid #2a2e3a;
}

.cta-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff, #93c5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta-text {
  font-size: 1.2rem;
  color: #9ca3af;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* Модальное окно */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #0f111a;
  border-radius: 40px;
  max-width: 500px;
  width: 90%;
  padding: 32px;
  border: 1px solid #2a2e3a;
  position: relative;
  animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 28px;
  cursor: pointer;
  color: #9ca3af;
  transition: color 0.2s;
}

.close-modal:hover {
  color: #f87171;
}

.modal h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: #fff;
}

.modal input,
.modal textarea {
  width: 100%;
  padding: 14px 18px;
  background: #1a1f2b;
  border: 1px solid #2d3442;
  border-radius: 32px;
  color: #fff;
  font-family: inherit;
  margin-bottom: 16px;
}

.modal button[type="submit"] {
  width: 100%;
  background: #2b9aff;
  color: #0a0c12;
  font-weight: bold;
  padding: 14px;
  border: none;
  border-radius: 40px;
  cursor: pointer;
}

/* Футер */
.footer {
  /* Темный градиент для футера (низ страницы) */
    background: linear-gradient(to top, #221a1c, #2c2638);
    color: #c7b8b2;
    padding: 50px;
  /* background: #05070c;
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid #1e212a;
  color: #6c727f; */
}

/* Адаптивность */
@media (max-width: 800px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .contact-details {
    flex-direction: column;
  }
}

/* Общие цвета для тёмных секций */
.section-dark,
.contact-info-block,
.adv-card,
.value-card,
.modal-content {
    color: #eef2ff; /* светлый цвет текста */
}

/* Дополнительно для параграфов в контактах */
.contact-details p {
    color: #cdd6f4;
}

/* Заголовки внутри тёмных блоков */
.adv-card h3,
.value-card h3 {
    color: #f0f3ff;
}

/* Для всех текстовых элементов в модалке */
.modal-content p,
.modal-content h3 {
    color: #fff;
}

/* ===== Блок «Производители» (карусель) ===== */
#partners {
    background: #0f111a;
}

.partners-swiper {
    padding: 20px 0 60px; /* место для пагинации */
    overflow: hidden;
}

/* ===== Обёртка карусели ===== */
.partners-slider-wrapper {
    position: relative;
    padding: 0 50px; /* отступы для стрелок */
    margin: 0 -20px; /* компенсация отступов контейнера, чтобы стрелки не упирались в края */
}

/* ===== Карусель ===== */
.partners-swiper {
    overflow: hidden; /* важно, чтобы слайды не вылезали */
}

/* ===== Стрелки навигации ===== */
.partners-slider-wrapper .swiper-button-next,
.partners-slider-wrapper .swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none; /* запрет выделения текста */
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: background 0.3s, transform 0.2s;
    z-index: 10;
    color: #fff;
}

.partners-slider-wrapper .swiper-button-prev {
    left: 0;
}

.partners-slider-wrapper .swiper-button-next {
    right: 0;
}

.partners-slider-wrapper .swiper-button-next:hover,
.partners-slider-wrapper .swiper-button-prev:hover {
    background: rgba(43, 154, 255, 0.7);
    transform: translateY(-50%) scale(1.05);
}

/* Переопределяем стандартные иконки Swiper (стрелки) */
.partners-slider-wrapper .swiper-button-next::after,
.partners-slider-wrapper .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}

/* ===== Пагинация (точки) ===== */
.partners-swiper .swiper-pagination {
    bottom: 0;
}

.partners-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
}

.partners-swiper .swiper-pagination-bullet-active {
    background: #2b9aff;
}

/* ===== Карточки партнёров ===== */
.partner-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(2px);
    border-radius: 20px;
    padding: 20px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    cursor: default;
    aspect-ratio: 1 / 0.8;
    width: 100%;
    height: 100%;
}

.partner-card img {
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
    display: block;
    filter: none;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.partner-card:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: #2b9aff;
    box-shadow: 0 8px 25px rgba(43, 154, 255, 0.3);
    transform: translateY(-6px);
}

.partner-card:hover img {
    transform: scale(1.05);
}

/* ===== Адаптивность ===== */
@media (max-width: 768px) {
    .partners-slider-wrapper {
        padding: 0 30px;
        margin: 0 -10px;
    }
    .partners-slider-wrapper .swiper-button-next,
    .partners-slider-wrapper .swiper-button-prev {
        width: 36px;
        height: 36px;
    }
    .partners-slider-wrapper .swiper-button-next::after,
    .partners-slider-wrapper .swiper-button-prev::after {
        font-size: 14px;
    }
    .partner-card {
        padding: 14px 8px;
    }
}

@media (max-width: 480px) {
    .partners-slider-wrapper {
        padding: 0 20px;
    }
    .partners-slider-wrapper .swiper-button-next,
    .partners-slider-wrapper .swiper-button-prev {
        width: 30px;
        height: 30px;
    }
    .partners-slider-wrapper .swiper-button-next::after,
    .partners-slider-wrapper .swiper-button-prev::after {
        font-size: 12px;
    }
}




/* ===== Каталог ===== */
.catalog-description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  color: #cdd6f4;
  font-size: 1.1rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(182px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.category-item {
  background: #131722;
  border: 1px solid #2a2e3a;
  border-radius: 28px;
  padding: 20px 12px;
  text-align: center;
  transition: 0.2s;
}

.category-item:hover {
  border-color: #2b9aff;
  transform: translateY(-4px);
}

.category-item img {
  width: 100%;
  max-height: 120px;
  object-fit: contain;
  margin-bottom: 12px;
}

.category-item h4 {
  font-size: 1rem;
  color: #eef2ff;
}

.catalog-actions {
  text-align: center;
  margin-top: 20px;
}

/* Дополнительные стили для страницы каталога */
.catalog-page {
  padding: 80px 0;
}
.catalog-page .category-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.back-link {
  display: inline-block;
  margin-bottom: 30px;
  color: #2b9aff;
  text-decoration: none;
}
.back-link:hover {
  text-decoration: underline;
}

/* Стиль для кнопки "На главную" на странице каталога */
.back-link {
  display: inline-block;
  padding: 10px 24px;
  background: transparent;
  border: 2px solid #2b9aff;
  border-radius: 40px;
  color: #2b9aff;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-bottom: 30px;
}
.back-link i {
  margin-right: 8px;
}
.back-link:hover {
  background: #2b9aff;
  color: #0a0c12;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(43, 154, 255, 0.4);
}


hr.gradient-hr {
  border: none;              /* убираем рамку */
  height: 3px;               /* толщина линии */
  background-image: linear-gradient(to right, 
    rgba(0,0,0,0) 0%, 
    rgba(0,195,255,1) 50%, 
    rgba(0,0,0,0) 100%
  );
}

/* Чекбокс согласия */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 16px 0;
  font-size: 0.9rem;
  color: #cdd6f4;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #2b9aff;
  flex-shrink: 0;
  cursor: pointer;
}

.checkbox-group label {
  cursor: pointer;
  line-height: 1.4;
}

.checkbox-group a {
  color: #2b9aff;
  text-decoration: underline;
}

.checkbox-group a:hover {
  color: #7c4dff;
}