/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 100vh;
  background: url('/images/hero-image.png') center center/cover no-repeat;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 4rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  max-width: 800px;
  color: #fff;
  margin-top: 21rem; /* Увеличиваем отступ от верха */
}

.hero-title {
  font-size: 48px;
  line-height: 92%;
  margin-bottom: 0.5rem;
  letter-spacing: 0px;
  font-family: "Unbounded", sans-serif;
  font-weight: 700

; /* Bold */
}

.hero-description {
  margin-top: 1.5rem;
  margin-left: 1rem;
  font-size: 24px;
  line-height: 98%;
  color: #d0d0d0;
  max-width: 600px;
  font-family: "Rothek", sans-serif;
  font-weight: 250;
}

/* ---------- HERO MOBILE ADAPTATION ---------- */

/* Общие стили для всех iPhone */
@media (max-width: 480px) {
  .hero {
    height: 100vh;
    min-height: 100vh;
    padding-top: 0;
    background-position: 18% center; /* Смещаем картинку */
    background-size: cover;
    display: flex;
    align-items: flex-end; /* Текст внизу */
    padding-bottom: 4rem; /* Отступ снизу */
  }
  
  .hero-content {
    margin-top: 0 !important;
    padding: 0 1.5rem;
    text-align: left;
    width: 100%;
    transform: translateY(-10rem);
  }
  
  .hero-title {
    font-size: 22px !important; /* Уменьшаем размер */
    line-height: 1.2;
    margin-bottom: 0.3rem;
    font-family: "Unbounded", sans-serif;
    font-weight: 700;
  }
  
  .hero-description {
    font-size: 14px !important; /* Уменьшаем размер */
    line-height: 1.3;
    margin-top: 0.8rem;
    margin-left: 0;
    max-width: 280px;
    font-family: "Rothek", sans-serif;
    font-weight: 250;
    color: #e0e0e0;
  }
}

/* iPhone 12/13 (390px) */
@media (max-width: 390px) {
  .hero {
    background-position: 42% center;
    padding-bottom: 3rem;
  }
  
  .hero-title {
    font-size: 19px !important;
  }
  
  .hero-description {
    font-size: 11px !important;
    max-width: 260px;
  }
}

/* iPhone 14/15 (393px-430px) */
@media (min-width: 391px) and (max-width: 430px) {
  .hero {
    background-position: 38% center;
    padding-bottom: 4rem;
  }
  
  .hero-title {
    font-size: 20px !important;
  }
  
  .hero-description {
    font-size: 12px !important;
    max-width: 280px;
  }
}

/* iPhone Pro Max (431px-480px) */
@media (min-width: 431px) and (max-width: 480px) {
  .hero {
    background-position: 35% center;
    padding-bottom: 5rem;
  }
  
  .hero-title {
    font-size: 22px !important;
  }
  
  .hero-description {
    font-size: 13px !important;
    max-width: 300px;
  }
}

/* Отключаем предыдущие медиа-запросы которые мешают */
@media (max-width: 768px) {
  .hero {
    align-items: flex-end !important;
  }
  
  .hero-content {
    text-align: left !important;
    margin-top: 0 !important;
  }
}