.hero {
    position: relative;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-color: var(--color-dark-950);
    padding-top: 160px;
    padding-bottom: 60px;
    color: #fff;
    display: flex;
    flex-direction: column;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 10, 15, 0.85) 0%, rgba(7, 10, 15, 0.55) 35%, rgba(7, 10, 15, 0.4) 60%, rgba(7, 10, 15, 0.9) 100%),
                linear-gradient(90deg, rgba(7, 10, 15, 0.75) 0%, rgba(7, 10, 15, 0.15) 55%);
}

.hero__container {
    position: relative;
    z-index: 1;
    flex: 1;
    justify-content: space-between;
    gap: 40px;
}

/* ===== Верхний блок: контент + статистика ===== */

.hero__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    width: 100%;
}

.hero__content {
    max-width: 700px;
}

.hero__label {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-gold-500);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
}

.hero__label-line {
    width: 28px;
    height: 1px;
    background: var(--color-gold-500);
}

.hero__heading {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.15;
    margin: 0 0 24px;
}

.hero__heading span {
    display: block;
}

.hero__description {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    max-width: 560px;
    margin: 0 0 32px;
}

/* ===== Поиск ===== */

.hero__search {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 8px 8px 8px 20px;
    max-width: 640px;
    margin-bottom: 20px;
}

.hero__search-icon {
    display: flex;
    color: rgba(255, 255, 255, 0.5);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.hero__search-icon svg { width: 100%; height: 100%; }

.hero__search-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 15px;
    min-width: 0;
}
.hero__search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.hero__search-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-gold-500);
    color: var(--color-dark-950);
    border: none;
    border-radius: 12px;
    padding: 12px 22px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.hero__search-btn svg { width: 16px; height: 16px; }

.hero__search-btn:hover {
    box-shadow: var(--shadow-glow);
    transform: translateX(2px);
}

/* ===== Популярные теги ===== */

.hero__popular {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.hero__popular-label {
    font-family: var(--font-sans);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    margin-right: 4px;
}

.hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-sans);
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.hero__tag:hover {
    background: rgba(255, 255, 255, 0.12);
}

.hero__tag--cta {
    color: var(--color-gold-500);
    border-color: rgba(229, 168, 83, 0.4);
}
.hero__tag--cta svg { width: 14px; height: 14px; }

/* ===== Карточка статистики ===== */

.hero__stats {
    flex-shrink: 0;
    width: 300px;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hero__stat {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero__stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(229, 168, 83, 0.12);
    color: var(--color-gold-500);
    flex-shrink: 0;
}
.hero__stat-icon svg { width: 20px; height: 20px; }

.hero__stat-text {
    display: flex;
    flex-direction: column;
}

.hero__stat-number {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.2;
}

.hero__stat-label {
    font-family: var(--font-sans);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.hero__stats-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ===== Нижняя плашка преимуществ ===== */

.hero__features {
    width: 100%;
    border-radius: 20px;
    padding: 28px 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.hero__feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.hero__feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(229, 168, 83, 0.3);
    color: var(--color-gold-500);
    flex-shrink: 0;
}
.hero__feature-icon svg { width: 22px; height: 22px; }

.hero__feature-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero__feature-title {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.hero__feature-desc {
    font-family: var(--font-sans);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.4;
}

/* ===== Индикатор прокрутки ===== */

.hero__scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-sans);
    font-size: 13px;
}

.hero__scroll-chevron {
    display: flex;
    width: 18px;
    height: 18px;
    animation: hero-bounce 1.8s ease-in-out infinite;
}
.hero__scroll-chevron svg { width: 100%; height: 100%; }

@keyframes hero-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ===== Адаптив ===== */

@media (max-width: 1199px) {
    .hero__top {
        flex-direction: column;
    }
    .hero__stats {
        width: 100%;
    }
    .hero__features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 130px;
    }
    .hero__search {
        flex-wrap: wrap;
        border-radius: 16px;
    }
    .hero__search-btn {
        width: 100%;
        justify-content: center;
    }
    .hero__features {
        grid-template-columns: 1fr;
    }
}