/* ==========================================================================
   HERO SECTION STYLES
   ========================================================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-hairline);
    background: radial-gradient(circle at 80% 20%, rgba(126, 174, 200, 0.05) 0%, transparent 50%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.hero-title strong {
    font-weight: 600;
    color: var(--accent-ice);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 3rem;
    font-weight: 300;
    max-width: 580px;
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

/* Правая сторона: визуал */
.hero-visual {
    position: relative;
    height: 580px;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid var(--border-hairline);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(105%) brightness(95%);
    transition: transform 0.8s ease;
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.03);
}

/* Стеклянная плашка B2B / B2C (из референса) */
.hero-glass-badge {
    position: absolute;
    bottom: 2.5rem;
    left: -2.5rem;
    background: rgba(22, 25, 30, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-hairline);
    padding: 1.25rem 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.badge-label {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-ice);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ==========================================================================
   ФИКС МОБИЛЬНОГО ЭКРАНА HERO (УБИРАЕТ ЛЮФТ)
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-section {
        padding-top: 110px; /* Отступ под шапку */
        padding-bottom: 60px;
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-visual {
        height: 380px;
        width: 100%;
        position: relative;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    /* 1. Кнопки выстраиваем вертикально друг под другом, чтобы они не распирали экран */
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .hero-cta-group .btn {
        width: 100%; /* Каждая кнопка во всю ширину */
        text-align: center;
        padding: 0.9rem 1rem;
    }

    /* 2. Высота фото под экран смартфона */
    .hero-visual {
        height: 320px;
        margin-top: 1rem;
    }

    /* 3. УБИРАЕМ ЛЮФТ ОТ ПЛАШКИ: делаем ее строго внутри карточки */
    .hero-glass-badge {
        position: absolute;
        left: 12px !important;
        right: 12px !important; /* Прижимаем с обоих боков с равным отступом */
        bottom: 12px !important;
        width: auto !important; /* Запрещаем ширину шире контейнера */
        padding: 0.85rem 1rem !important;
        text-align: center;
        box-sizing: border-box;
    }

    .badge-label {
        font-size: 0.72rem !important;
        letter-spacing: 0.08em !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}