/* ==================== ГЕРОЙ-СЕКЦИЯ ==================== */
.centered-hero-section {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

.hero-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

/* Полное решение с обрезкой низа */
.hero-image-container {
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  overflow: hidden; /* Обрезает все, что выходит за пределы */
  max-height: 600px; /* Максимальная высота контейнера */
}

.hero-image-centered {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: top 0 left 0; /* Жесткое прикрепление к верху и левому краю */
  /* Или object-position: top; - просто к верху по центру */
}

/* Тень снизу (основная) */
.hero-image-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(
        to top,
        transparent 0%
        #1b1b1b 100%,
    );
    opacity: 1;
    pointer-events: none;
    z-index: 12; /* Выше чем hero-bottom-gradient */
}

/* Дополнительный градиент снизу (декоративный) */
.hero-bottom-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, #1b1b1b, transparent);
    opacity: 0.15;
    pointer-events: none;
    z-index: 11; /* Между before и after */
}

/* ==================== АДАПТИВНОСТЬ ==================== */
@media (max-width: 992px) {
    
    .hero-image-container::before,
    .hero-image-container::after {
        height: 150px;
    }
    
    .hero-bottom-gradient {
        height: 80px;
    }
}

@media (max-width: 768px) {
    
    .hero-image-container::before,
    .hero-image-container::after {
        height: 120px;
        opacity: 0.2;
    }
    
    .hero-bottom-gradient {
        height: 70px;
        opacity: 0.12;
    }
}

@media (max-width: 576px) {
    
    .hero-image-container::before,
    .hero-image-container::after {
        height: 90px;
        opacity: 0.15;
    }
    
    .hero-bottom-gradient {
        height: 60px;
        opacity: 0.1;
    }
}

/* ==================== ОПЦИОНАЛЬНО: поддержка старых браузеров ==================== */
@supports not (color-mix(in srgb, #1b1b1b 50%, transparent)) {
    .hero-image-container::before {
        background: linear-gradient(
            to bottom,
            #1b1b1b 0%,
            transparent 100%
        );
    }
    
    .hero-image-container::after {
        background: linear-gradient(
            to top,
            #1b1b1b 0%,
            transparent 100%
        );
    }
}

.hero-image-container {
    position: relative;
    width: 100%;
}

.hero-logo-container {
    position: absolute;
    top: 50%;
    left: 37%;
    transform: translate(-50%, -50%);
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none; /* Чтобы логотип не мешал кликам */
}

.hero-logo {
    width: 300px;
    height: 300px;
    border-radius: 50%; /* Делает изображение круглым */
    object-fit: cover; /* Сохраняет пропорции */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); /* Опционально: тень */
    border: 3px solid rgba(255, 255, 255, 0.3); /* Опционально: обводка */
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .hero-logo {
        max-width: 200px;
        max-height: 200px;
    }
}

@media (max-width: 576px) {
    .hero-logo {
        max-width: 150px;
        max-height: 150px;
    }
}

/* ==================== БЕЛЫЙ БЛОК СПРАВА (НА ВСЮ ВЫСОТУ) ==================== */
.hero-white-block {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 30%; /* Ширина белого блока */
    background-color: var(--text-light);
    z-index: 25;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}

.white-block-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 10px;
}

.white-block-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.white-block-title {
    font-size: 36px;
    font-weight: 700;
    color: #1b1b1b;

}

.white-block-subtitle {
    font-size: 36px;
    font-weight: 700;
    color: #1b1b1b;

}

/* Скрываем на маленьких экранах */
@media (max-width: 1199px) {
    .hero-white-block {
        display: none;
    }

    .hero-logo-container {
        left: 50%;
    }
}

.hero-logo-text {
    display: none !important;
    font-weight: bold;
    margin-bottom: 5px;
    white-space: nowrap;
    padding-top: 40px;
}

/* Мобильные устройства (до 576px) */
@media (max-width: 576px) {
    .hero-logo-text {
        display: block !important;
        font-size: 24px;
        padding-top: 0px;
    }
}

/* Планшеты (577px - 768px) */
@media (min-width: 577px) and (max-width: 768px) {
    .hero-logo-text {
        display: block !important;
        padding-top: 20px;
        font-size: 28px;
    }
}

/* Десктопы (769px - 1999px) */
@media (min-width: 769px) and (max-width: 1198px) {
    .hero-logo-text {
        display: block !important;
        padding-top: 40px;
        font-size: 32px;
    }
}