/* ======================================================================
   04. Hero — külön kép, képre simuló gradiens, címsor és bevezető
   object-fit: cover = aránytartó kivágás; a fotó soha nem nyúlik meg.
   A --hero-image-focus változóval változtatható a kivágás fókusza.
   ====================================================================== */

.sl-hero {
    --hero-image-focus: 61% 40%;
    --hero-height: 565px;
    position: relative;
    isolation: isolate;
    min-height: var(--hero-height);
    overflow: hidden;
    background: radial-gradient(ellipse at 51% 0%, rgb(0 208 207 / 63%) 0%, transparent 35%), radial-gradient(ellipse at 0% 115%, rgb(0 140 158 / 65%) 0%, transparent 44%), linear-gradient(110deg, #0b2244 0%, #085298 55%, #07aaba 100%);
    color: #fff;
}

.sl-hero__media {
    position: absolute;
    inset: 0 0 0 auto;
    z-index: -2;
    width: 55%;
    mask-image: linear-gradient(90deg, transparent 0%, #000 26%, #000 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%, #000 100%);
}

.sl-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--hero-image-focus);
}

.sl-hero__photo-blend {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(90deg, transparent 43%, rgb(0 142 174 / 18%) 50%, transparent 64%);
}

.sl-hero__inner {
    position: relative;
    padding-top: 85px;
    padding-bottom: 185px;
}

.sl-hero__content {
    max-width: 740px;
}

.sl-hero__title {
    font-size: clamp(42px, 4.3vw, 62px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.028em;
    text-wrap: balance;
}

.sl-hero__title-line {
    display: block;
}

.sl-hero__lead {
    margin-top: 22px;
    font-size: clamp(20px, 1.9vw, 27px);
    line-height: 1.38;
    font-weight: 400;
}

.sl-hero__lead-line {
    display: block;
}

.sl-hero__benefits {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px 30px;
    margin-top: 37px;
    list-style: none;
}

.sl-hero__benefit {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sl-hero__benefit-icon {
    width: 32px;
    height: 32px;
    padding: 7px;
    border-radius: 50%;
    background: #3be2d2;
    color: #073c51;
    stroke-width: 2.5;
}

.sl-hero__benefit-text {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.35;
}

@media (min-width: 701px) and (max-width: 1100px) {
    .sl-hero {
        --hero-height: 505px;
        --hero-image-focus: 60% 50%;
    }

    .sl-hero__inner {
        padding-top: 68px;
        padding-bottom: 170px;
    }

    .sl-hero__content {
        max-width: 620px;
    }

    .sl-hero__media {
        width: 55%;
    }

    .sl-hero__title {
        font-size: 45px;
    }

    .sl-hero__lead {
        font-size: 21px;
    }

    .sl-hero__benefits {
        gap: 18px;
        margin-top: 30px;
    }

    .sl-hero__benefit-text {
        font-size: 15px;
    }

    .sl-hero__benefit-icon {
        width: 28px;
        height: 28px;
        padding: 6px;
    }

}

@media (max-width: 700px) {
    .sl-hero {
        display: flex;
        flex-direction: column;
        min-height: 0;
        padding-bottom: 61px;
    }

    .sl-hero__inner {
        order: 0;
        padding-top: 33px;
        padding-bottom: 27px;
    }

    .sl-hero__content {
        max-width: none;
    }

    .sl-hero__title {
        font-size: clamp(29px, 8.8vw, 43px);
        line-height: 1.13;
        letter-spacing: -.03em;
    }

    .sl-hero__lead {
        margin-top: 18px;
        font-size: clamp(16px, 4.4vw, 20px);
        line-height: 1.45;
    }

    .sl-hero__lead-line {
        display: inline;
    }

    .sl-hero__lead-line + .sl-hero__lead-line::before {
        content: " ";
    }

    .sl-hero__benefits {
        gap: 13px 18px;
        margin-top: 22px;
    }

    .sl-hero__benefit {
        gap: 8px;
    }

    .sl-hero__benefit-text {
        font-size: 12px;
    }

    .sl-hero__benefit-icon {
        width: 26px;
        height: 26px;
        padding: 6px;
    }

    .sl-hero__media {
        position: relative;
        order: 1;
        mask-image: none;
        -webkit-mask-image: none;
        inset: auto;
        z-index: 0;
        width: 100%;
    }

/* Mobilon a teljes önálló fotó látszik, természetes oldalaránnyal. */

    .sl-hero__image {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .sl-hero__photo-blend {
        display: none;
    }

}
