/* ===== HERO-БЛОК ===== */
.hero {
    text-align: center;
    padding: 12rem 1rem;
    background: linear-gradient(45deg, #191919, #282420);
    color: rgb(0, 0, 0);
    border-radius: 5px;
    margin: 2rem auto;
}


/*.hero {
    height: 100vh;
}*/
.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* чтобы красиво заполняло */
}


.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.0);
}


/* ограничение ширины */
/*.hero-inner {
    max-width: 900px;
    margin: 0 auto;
}
.hero-inner {
  position: relative;
  z-index: 2;
}*/
/* заголовок */
.hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

/* подзаголовок */
/*.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    opacity: 0.9;
}
*/
/* Объёмный текст */
.hero-volume {
    font-size: clamp(1rem, 4vw, 2rem);
    font-weight: 800;
    letter-spacing: 0.05em;

    color: #089ccc;
    text-shadow:
        3px 3px 3px rgba(0,0,0,2.25),
        2px 2px 2px rgba(49, 15, 9, 0.6);
        
        
        
        display: inline-block;
    padding: 10px 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, #6cbfd865, #6cbfd865);
    color: #fff;
}
.hero-volume {
    position: relative;
    display: inline-block;
}

/*.hero-volume::before {
    content: "";
    position: absolute;
    left: -10px;
    right: -10px;
    bottom: 0;
    height: 40%;
    background: rgba(0, 150, 255, 0.3);
    border-radius: 2px;
    z-index: -1;
}*/




/* 🖥 Desktop */
/*@media (min-width: 769px) {
  .hero {
    background: url("../img/fon.png") center 15% / cover no-repeat;
    /* filter: brightness(1.1) contrast(1.5);*/
    /* background-color: #000; /* чтобы не было белых полей */
     
   /*  
  }
}*/

/* 📱 Mobile */
/*@media (max-width: 768px) {
  .hero {
    background: url("../img/fon.png") center center / cover no-repeat;
     /*filter: brightness(1.1) contrast(1.5);*/
    /* background-color: #000; /* чтобы не было белых полей *//*
  }
}*/

/*.hero-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* вся картинка видна *//*
}*/

/* ===== SLIDER ===== */

.hero {
  position: relative;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

/* затемнение поверх слайдов */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

/* контент поверх */
.hero-inner {
  position: relative;
  z-index: 2;
}