:root {
    --home-hero-accent: #fe7250;
    --home-hero-accent-text-on-solid: #f9f9fa;
    --home-hero-text: #292929;
    --home-hero-bg: #ffffff;
}

.home-main,
.home-main * {
    box-sizing: border-box;
}

.home-main {
    width: 100%;
    max-width: none;
}

.home-main a,
.home-main button {
    font-family: 'Raleway', sans-serif;
    font-feature-settings: 'pnum' on, 'lnum' on;
    font-variant-numeric: proportional-nums lining-nums;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.home-main button {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    margin: 0;
    cursor: pointer;
}

.home-hero {
    font-family: 'Raleway', sans-serif;
    width: 100%;
    max-width: none;
    min-height: 496px;
    background-color: var(--home-hero-bg);
    background-image: var(--home-hero-image, none);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
}

.home-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 54.62px;
    min-height: 496px;
    padding: 63px 80px 40px;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

.home-hero__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11.7px;
    max-width: min(720px, 100%);
}

.home-hero__title {
    margin: 0;
    max-width: min(720px, 100%);
    color: #292929;
    font-family: 'Raleway', sans-serif;
    font-size: 52.6708px;
    font-style: normal;
    font-weight: 700;
    line-height: 58px;
    white-space: pre-line;
}

#.home-hero__title-line {
#    display: block;
#}

#.home-hero__title-line--nowrap {
#    white-space: nowrap;
#}

.home-hero__subtitle {
    margin: 0;
    max-width: min(614.49px, 100%);
    color: #292929;
    font-family: 'Raleway', sans-serif;
    font-size: 21.4585px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
    font-feature-settings: 'pnum' on, 'lnum' on;
}

.home-hero__actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 40px;
    width: 614px;
    max-width: 100%;
    box-sizing: border-box;
}

.home-hero__btn {
    display: flex;
    flex-direction: row;
    flex: none;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    width: 287px;
    min-width: 220px;
    max-width: 287px;
    height: 54px;
    padding: 16px;
    gap: 8px;
    border-radius: 16px;
    border-style: solid;
    border-width: 1px;
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 21px;
    text-align: center;
    font-feature-settings: 'pnum' on, 'lnum' on;
    text-decoration: none;
    white-space: nowrap;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.home-hero__btn--primary {
    border-color: #fe7250;
    background: #fe7250;
    color: #f9f9fa;
}

.home-hero__btn--primary:hover,
.home-hero__btn--primary:focus-visible {
    background: transparent;
    border-color: #fe7250;
    color: #fe7250;
    outline: none;
}

.home-hero__btn--primary:active,
.home-hero__btn--primary:focus:not(:focus-visible) {
    background: #fe7250;
    border-color: #fe7250;
    color: #f9f9fa;
    outline: none;
}

@media (max-width: 767px) {
    .home-main {
        margin: 0;
    }

    .home-hero {
        --home-hero-mobile-image-height: clamp(317px, 98.93vw, 425px);
        --home-hero-mobile-content-top: clamp(199px, 62.13vw, 267px);

        position: relative;
        min-height: 0;
        overflow: hidden;
        background-image: var(--home-hero-mobile-image, var(--home-hero-image, none));
        background-position: top center;
        background-size: auto var(--home-hero-mobile-image-height);
    }

    .home-hero::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        height: var(--home-hero-mobile-image-height);
        pointer-events: none;
        background:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, 0) 48%,
                rgba(255, 255, 255, 0.88) 82%,
                var(--home-hero-bg) 100%
            );
    }

    .home-hero__inner {
        position: relative;
        z-index: 1;
        gap: 20px;
        min-height: 0;
        padding: var(--home-hero-mobile-content-top) 16px 0;
    }

    .home-hero__text {
        gap: 11.7px;
        width: 100%;
        max-width: none;
    }

    .home-hero__title {
        width: 100%;
        max-width: none;
        font-size: 22px;
        line-height: 130%;
    }

    .home-hero__subtitle {
        width: 100%;
        max-width: none;
        font-size: 16px;
        font-weight: 600;
        line-height: 150%;
    }

    .home-hero__actions {
        width: 100%;
        max-width: none;
        gap: 0;
    }

    .home-hero__btn {
        width: 100%;
        min-width: 0;
        max-width: none;
        height: 54px;
        transition: none;
    }

    .home-hero__btn--primary:hover,
    .home-hero__btn--primary:focus,
    .home-hero__btn--primary:active {
        background: #fe7250;
        border-color: #fe7250;
        color: #f9f9fa;
        outline: none;
    }
}
