.hero-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  background-color: #339933; 
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* ===== СТИЛИ ДЛЯ ДЕСКТОПА (Больше 760px) ===== */
.hero-text {
  background-color: rgba(45, 90, 25, 0.4); /* Темный фон для видео */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: clamp(20px, 5%, 40px);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  color: #ffffff; /* Белый текст для контраста с видео */
  position: relative;
  z-index: 2;
}

.hero-text p, .hero-text h1 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); 
}

/* ===== АДАПТИВНОСТЬ (max-width: 760px) ===== */
@media (max-width: 760px) {
  /* 1. Гарантированно скрываем видео */
  .background-video, 
  .hero-banner video {
    display: none !important;
  }
  
  /* 2. Настраиваем баннер */
  .hero-banner {
    height: auto;
    min-height: auto;
    padding: 40px 0;
    background: #66cc33; /* Однотонный фон вместо видео */
  }

  .hero-content-wrapper {
    padding: 0 15px;
  }

  /* 3. Стилизация текста ПОД БЛОК "ФАБРИКА-КУХНЯ" */
  .hero-text {
    background: rgba(150, 255, 150, 0.9) !important; /* Светло-зеленый как в фабрике */
    backdrop-filter: blur(4px);
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    padding: 30px 20px !important;
    width: 95%;
    color: #0b2706 !important; /* Темно-зеленый текст */
  }

  /* Убираем темные тени текста и ставим светлые, как в фабрике */
  .hero-text h1 {
    color: #1e3b14 !important;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.4) !important;
    font-size: clamp(1.4rem, 6vw, 2rem);
    margin-bottom: 15px;
  }

  .hero-text p {
    color: #173c0e !important;
    text-shadow: none !important;
    font-size: 1rem;
    line-height: 1.5;
  }
}

/* Прочие элементы */
.hero-content-wrapper {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
}

.buttons-container {
  display: flex;
  justify-content: center; 
  margin-top: 25px; 
  position: relative;
}

.buttons-container svg {
  position: absolute; 
  width: 0;
  height: 0;
}