/* Главная: баннер во всю ширину (chunk main_slider_new.tpl) */
.hero-wide {
    position: relative;
    isolation: isolate;
    margin-top: var(--header-h);
    min-height: clamp(430px, 40vw, 660px);
    display: flex;
    flex-direction: column;
    background: #002b1c;
    color: #fff;
    overflow: hidden;
}

.hero-wide__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    display: block;
}

.hero-wide__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.hero-wide__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(0, 43, 28, 0.97) 0%, rgba(0, 43, 28, 0.9) 22%, rgba(0, 43, 28, 0.45) 46%, rgba(0, 43, 28, 0) 66%),
        linear-gradient(180deg, rgba(0, 43, 28, 0.35) 0%, rgba(0, 43, 28, 0) 35%);
}

.hero-wide__inner {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(2.25rem, 5vw, 3.5rem);
}

.hero-wide__eyebrow {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 1.1rem;
}

p.hero-wide__title,
.hero-wide__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.1rem, 4.4vw, 3.9rem);
    line-height: 1.06;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 1.15rem;
    max-width: 16ch;
    text-wrap: balance;
}

.hero-wide__lead {
    font-size: clamp(1rem, 1.25vw, 1.2rem);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    max-width: 44ch;
}

.hero-wide__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.hero-wide__btn {
    border-radius: 10px;
    padding: 0.95rem 1.75rem;
    font-size: 0.98rem;
}

.hero-wide__btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.25s var(--ease);
}

.hero-wide__btn:hover svg {
    transform: translateX(4px);
}

.hero-wide__btn--ghost {
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

.hero-wide__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: #fff;
    color: #fff;
}

.hero-wide__facts {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: clamp(0.9rem, 2vw, 1.3rem) 0;
    font-family: var(--font-display);
    font-weight: 600;
}

.hero-wide__facts-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-wide__facts-row span + span {
    border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-wide__facts-row span {
    padding-right: clamp(1.25rem, 4vw, 3.5rem);
}

.hero-wide__facts-row span + span {
    padding-left: clamp(1.25rem, 4vw, 3.5rem);
}

/* первый блок после баннера не прижимается вплотную */
.hero-wide + .section {
    padding-top: clamp(2.25rem, 4vw, 3.25rem);
}

.hero-wide + .section--alt {
    box-shadow: none;
}

@media (max-width: 1100px) {
    .hero-wide__shade {
        background:
            linear-gradient(90deg, rgba(0, 43, 28, 0.97) 0%, rgba(0, 43, 28, 0.88) 34%, rgba(0, 43, 28, 0.5) 62%, rgba(0, 43, 28, 0.15) 100%),
            linear-gradient(180deg, rgba(0, 43, 28, 0.4) 0%, rgba(0, 43, 28, 0) 40%);
    }
}

@media (max-width: 760px) {
    .hero-wide {
        min-height: 0;
    }

    .hero-wide__bg img {
        object-position: center 42%;
    }

    .hero-wide__shade {
        background: linear-gradient(180deg, rgba(0, 43, 28, 0.55) 0%, rgba(0, 43, 28, 0.86) 40%, rgba(0, 43, 28, 0.97) 100%);
    }

    .hero-wide__inner {
        padding: 2.25rem 0 2rem;
    }

    p.hero-wide__title,
.hero-wide__title {
        max-width: none;
        font-size: clamp(1.85rem, 8.5vw, 2.5rem);
    }

    .hero-wide__cta .btn {
        width: 100%;
    }

}

/* на узких экранах полоса фактов переносится маркерами, без вертикальных линий */
@media (max-width: 1000px) {
    .hero-wide__facts-row {
        gap: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero-wide__facts-row span,
    .hero-wide__facts-row span + span {
        padding: 0;
        border-left: 0;
    }

    .hero-wide__facts-row span::before {
        content: "";
        display: inline-block;
        width: 6px;
        height: 6px;
        margin-right: 0.6rem;
        border-radius: 50%;
        background: var(--color-accent);
        vertical-align: middle;
    }
}

@media (max-width: 600px) {
    .hero-wide__facts-row {
        display: grid;
        gap: 0.55rem;
    }
}

/* H1 переехал в блок каталога - выглядит так же, как заголовки других секций */
.section__head h1 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.65rem, 3.5vw, 2.35rem);
    margin: 0 0 0.85rem;
    letter-spacing: -0.02em;
    line-height: 1.18;
    color: var(--color-text);
}

@media (max-width: 768px) {
    .section__head h1 {
        overflow-wrap: anywhere;
    }
}
