/* Hero внутренних страниц — по макету sovet-nik.ru/o-kompanii/ */
.inner-hero {
    position: relative;
    overflow: hidden;
    background-color: #396956;
}

.inner-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../../images/inner-hero-leader.png") bottom right / 40% auto no-repeat;
    z-index: 0;
}

.inner-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, #396956 53%, #00000000 100%);
    opacity: 0.73;
    z-index: 1;
}

.inner-hero > .container {
    position: relative;
    z-index: 2;
    min-height: 666px;
    display: flex;
    align-items: center;
    padding-top: 2.5rem;
    padding-bottom: 5.5rem;
}

.inner-hero-content {
    max-width: 36rem;
}

.inner-hero-title {
    font-size: 55px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 0.2rem;
}

.inner-hero-highlight {
    color: #ca9c5e;
    font-size: 55px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.5px;
    display: block;
    margin-bottom: 1.5rem;
}

.inner-hero-subtitle {
    font-size: 20px;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 2.5rem;
}

.btn-inner-hero {
    background: linear-gradient(180deg, #396956 0%, #284b3d 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.9rem 2rem;
    border-radius: 5px;
    border: none;
    transition: opacity 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-inner-hero:hover {
    opacity: 0.9;
    color: #ffffff;
}

.inner-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 3;
    overflow: hidden;
}

.inner-hero-wave svg {
    display: block;
    width: calc(123% + 1.3px);
    height: 81px;
    position: relative;
    left: 50%;
    transform: translateX(-50%) rotateY(180deg);
}

@media (max-width: 1024px) {
    .inner-hero > .container {
        min-height: 700px;
    }

    .inner-hero-title,
    .inner-hero-highlight {
        font-size: 50px;
    }
}

@media (max-width: 767px) {
    .inner-hero::before {
        background-image: url("../../images/inner-hero-mobile.jpg");
        background-position: bottom center;
        background-size: 100% auto;
    }

    .inner-hero > .container {
        min-height: 600px;
        text-align: center;
        justify-content: center;
    }

    .inner-hero-content {
        max-width: none;
    }

    .inner-hero-title,
    .inner-hero-highlight {
        font-size: 42px;
    }

    .inner-hero-subtitle {
        font-size: 18px;
    }
}
