/* Общие стили */
* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', 'Open Sans', sans-serif;
  scroll-behavior: smooth;
  background: #ffffff;
}

a{
  text-decoration: none;
}


/* Главный блок с изображением */
.main {
  position: relative;
  margin-top: 0px;
}

.hero-image {
  position: relative;
  width: 100%;
  height: calc(100vh - 80px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Фиксирует (опционально) */
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.06);
}

.main-content {
  position: absolute;
  top: 50%;
  left: 19%;
  transform: translateY(-50%);
  width: 80%;
  max-width: 900px;
  text-align: left;
  color: #fff;
  z-index: 3;
}

#video-progress {
  width: 100%;
  height: 5px;
  background-color: red;
  transition: width linear;
}
.carousel-item video {
  filter: brightness(0.5);
  object-fit: cover;
  position: relative;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Контейнер точек */
.custom-indicators {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 60px;
  z-index: 10;
}

/* Точки */
.custom-indicators .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* Активная точка */
.custom-indicators .dot.active {
  background-color: red;
}

/* 📍 Текст поверх видео в карусели */
.carousel-caption.custom-caption {
  position: absolute;
  top: 60%;        /* по центру по высоте */
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;  /* такие же отступы, как у шапки */
  text-align: left;
  color: #fff;     /* белый текст */
  z-index: 5;      /* поверх видео */
}

/* 🔠 Заголовок */
.hero-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* 🔤 Подзаголовок */
.hero-description {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.95;
  max-width: 600px;
}


/* Блок особенностей */
.features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  background-color: #fff;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.features.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature {
  text-align: center;
  max-width: 250px;
  padding: 0;
}

.feature-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #f34c43;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.feature-description {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #666;
  line-height: 1.5;
}

/* Блок статистики */
.stats-section {
  padding: 100px 0;
  background: #f8f9fa;
  position: relative;
}

.stats-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.stat-item {
  text-align: center;
  padding: 40px 30px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  min-width: 180px;
}

.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.stat-number {
  font-family: 'Roboto', sans-serif;
  font-size: 56px;
  font-weight: 900;
  color: #f34c43;
  margin-bottom: 8px;
  display: block;
  line-height: 1;
}

.stat-label {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

/* Анимация подпрыгивания */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* Блок преимуществ */
.advantages {
  padding: 100px 0;
  background: #fff;
  border-top: 1px solid #eee;
}

.advantages-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.advantage-item {
  text-align: left;
  padding: 0;
  background: transparent;
  transition: all 0.3s ease;
}

.advantage-item:hover {
  transform: translateY(-2px);
}

.advantage-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.3;
}

.advantage-description {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

.advantage-description strong {
  font-weight: 700;
  color: #f34c43;
}

/* Блок продукции */
.products {
  padding: 120px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  background: white;
  position: relative;
}

.section-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 36px; /* как заголовок в карусели */
  color: #333;
  margin-bottom: 80px;
  text-align: center;
  position: relative;
  letter-spacing: -0.5px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #f34c43;
  border-radius: 2px;
}

.products-intro {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #666;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

.product-categories {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-bottom: 30px;
  justify-content: flex-start;
  align-items: center;
}

.category-btn {
  padding: 12px 24px;
  border-radius: 6px;
  border: 1px solid #f34c43;
  background-color: transparent;
  color: #f34c43;
  font-family: 'Open Sans', sans-serif;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-btn:hover {
  background-color: rgba(243, 76, 67, 0.05);
}

.category-btn.active {
  background-color: #f34c43;
  color: #fff;
}

.arrow-btn {
  justify-content: start;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}

.arrow-btn img {
  width: 30px;
  height: 30px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.product-card {
  display: flex;
  background: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-align: left;
  height: 450px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.product-image-container {
  width: 50%;
  height: 100%;
  overflow: hidden;
  flex-shrink: 0;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  width: 50%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
}

.product-name {
  font-weight: 700;
  font-size: 22px;
  color: #000;
  margin-bottom: 25px;
  line-height: 1.3;
}

.product-name span {
  font-weight: 700;
}

.product-description {
  font-weight: 600;
  font-size: 16px;
  color: #1a1a1a;
  opacity: 1;
  margin-bottom: 25px;
  line-height: 1.7;
  flex-grow: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.product-details-btn {
  padding: 14px 36px;
  background-color: #f34c43;
  border-radius: 6px;
  border: none;
  color: white;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
  margin-top: auto;
  flex-shrink: 0;
}

.product-details-btn:hover {
  background-color: #e63946;
  transform: translateY(-1px);
}

.all-products-btn {
  padding: 18px 50px;
  background-color: transparent;
  border: 2px solid #f34c43;
  border-radius: 6px;
  color: #f34c43;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  margin-top: 60px;
  transition: all 0.3s ease;
}

.all-products-btn:hover {
  background-color: #f34c43;
  color: white;
  transform: translateY(-1px);
}

/* Блок о компании */
.about {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.about-content {
  flex: 1;
  min-width: 300px;
}

.about-text {
  margin-bottom: 30px;
}

.about-text p {
  font-weight: 500;
  font-size: 16px;
  color: #000;
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-text strong {
  font-weight: 700;
  color: #f34c43;
}

.about-more-btn {
  padding: 12px 24px;
  background-color: #f34c43;
  border: none;
  border-radius: 6px;
  color: white;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.about-more-btn:hover {
  background-color: #e63946;
  transform: translateY(-1px);
}

.about-downloads {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 300px;
}

.certificate {
  width: 200px;
  height: 275px;
  object-fit: cover;
  margin-bottom: 10px;
}

.download-btn {
  width: 200px;
  padding: 12px 0;
  background-color: transparent;
  border: 2px solid #f34c43;
  border-radius: 6px;
  color: #f34c43;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.download-btn:hover {
  background-color: #f34c43;
  color: white;
  transform: translateY(-1px);
}

/* Блок достижений */
.achievements {
  padding: 100px 0;
  background: #fff;
  border-top: 1px solid #eee;
}

.achievements-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.achievement-item {
  text-align: center;
  padding: 40px 20px;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.achievement-item:hover {
  transform: translateY(-5px);
  border-color: #f34c43;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.achievement-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}

.achievement-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.3;
}

.achievement-description {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

/* Блок технологий */
.technologies {
  padding: 100px 0;
  background: #f8f9fa;
}

.technologies-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.technologies-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.technology-item {
  text-align: center;
  padding: 40px 20px;
  background: white;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.technology-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.technology-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}

.technology-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.3;
}

.technology-description {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

/* Блок партнеров */
.partners {
  padding: 100px 0;
  background-color: #fff;
}

.partners-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 150px;
  margin: 40px auto 0;
  max-width: 1200px;
  padding: 0 20px;
}

.partners-row {
  display: flex;
  justify-content: center;
  gap: 150px;
}

/* Контейнер для каждого партнера */
.partner-item {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.partners-logos img {
  height: 80px;   /* крупнее логотипы на десктопе */
  width: auto;
  object-fit: contain;
  opacity: 1;
  position: relative;
  z-index: 2;
}


/* Размытый круг под логотипом */
.blurred-circle1 {
  position: absolute;
  width: 200px;
  height: 200px;
  background-color: #3498db;
  border-radius: 50%;
  filter: blur(15px);
  opacity: 0.1;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.blurred-circle2 {
  position: absolute;
  width: 200px;
  height: 200px;
  background-color: #389d;
  border-radius: 50%;
  filter: blur(15px);
  opacity: 0.1;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.blurred-circle3 {
  position: absolute;
  width: 200px;
  height: 200px;
  background-color: #3db;
  border-radius: 50%;
  filter: blur(15px);
  opacity: 0.1;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.blurred-circle4 {
  position: absolute;
  width: 200px;
  height: 200px;
  background-color: #f3f3;
  border-radius: 50%;
  filter: blur(15px);
  opacity: 0.1;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.blurred-circle5 {
  position: absolute;
  width: 200px;
  height: 200px;
  background-color: #e00984;
  border-radius: 50%;
  filter: blur(15px);
  opacity: 0.1;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


/* Футер */
.footer {
  background-color: #fff;
  padding: 60px 20px 30px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

.contacts-row {
  display: flex;
  justify-content: center;
  gap: 100px;
  margin-bottom: 20px;
}

.contact-item {
  gap: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-item span {
  font-weight: 400;
  font-size: 14px;
  color: #000;
}

.contact-item a {
  font-weight: 600;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.62);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #f34c43;
}

.divider {
  width: 100%;
  height: 1px;
  background-color: #d9d9d9;
  margin: 20px 0;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.footer-logo img {
  width: 40px;
  height: 50px;
  object-fit: cover;
}

.logo-text {
  text-align: left;
}

.footer-logo-title {
  font-weight: 700;
  font-size: 18px;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.2;
}

.footer-logo-subtitle {
  font-weight: 500;
  font-size: 10px;
  color: rgba(0, 0, 0, 0.6);
  letter-spacing: 0.6px;
}

.footer-copyright {
  font-weight: 500;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.52);
}

/* Адаптивность */
@media (max-width: 1024px) {
  .carousel-caption.custom-caption {
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
  }
 
  .feature-title {
    font-size: 30px;
  }

  .feature-description {
    font-size: 14px;
  }

  .contacts-row {
    gap: 50px;
  }
}

@media (max-width: 1024px) {
  .achievements-grid,
  .advantages-grid,
  .technologies-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .carousel-caption.custom-caption {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .advantage-item {
    text-align: center;
  }

  .achievements-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .technologies-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .categoty-btn{
    padding: 7px 10px;
    font-size: 12px;
  }
  

  .features {
    flex-direction: column;
    align-items: center;
  }

  .product-categories {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
    flex-wrap: nowrap;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    flex-direction: column;
    height: auto;
  }

  .product-image-container {
    width: 100%;
    height: 200px;
  }

  .product-info {
    width: 100%;
  }

  .about {
    flex-direction: column;
    align-items: center;
  }

  .about-content, .about-downloads {
    text-align: center;
  }

  .about-more-btn {
    margin: 0 auto;
  }

  .contacts-row {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .contact-item {
    align-items: center;
  }

  .partners-row {
    flex-direction: column;
    gap: 70px;
  }

  .partner-item {
    transform: none !important;
  }

  .partners-logos {
    flex-direction: column;  /* весь блок партнёров в одну колонку, как на мобилке */
    gap: 70px;
    align-items: center;
  }

  .partners-logos img {
    height: 50px; /* слегка увеличили логотипы в мобильной версии */
  }

  /* Убираем змейку на мобильных, чтобы всё было ровно */
  .partner-item:nth-child(2),
  .partner-item:nth-child(4) {
    transform: none;
  }

  .blurred-circle1 {
    display: none;
  }

  .blurred-circle2 {
    display: none;
  }

  .blurred-circle3 {
    display: none;
  }

  .blurred-circle4 {
    display: none;
  }

  .blurred-circle5 {
    display: none;
  }
}

@media (max-width: 480px) {
  .logo-title {
    font-size: 16px;
  }

  .logo-subtitle {
    font-size: 8px;
  }


  .section-title {
    font-size: 20px;
  }

  .footer-logo {
    flex-direction: column;
    text-align: center;
  }

  .logo-text {
    text-align: center;
  }


  
}
